Sadly no. I have used it on test Clusters with KVM VMs.
If you manage to use oVirt as a nested setup, fencing works quite well with ovirt.
Best Regards,
Strahil Nikolov
В четвъртък, 17 декември 2020 г., 11:16:47 Гринуич+2, Alex K
<rightkicktech(a)gmail.com> написа:
Hi Strahil,
Do you have a working setup with fence_xvm for ovirt 4.3?
On Mon, Dec 14, 2020 at 8:59 PM Strahil Nikolov <hunter86_bg(a)yahoo.com> wrote:
> Fence_xvm requires a key is deployed on both the Host and the VMs in order to
succeed. What is happening when you use the cli on any of the VMs ?
> Also, the VMs require an open tcp port to receive the necessary output of each
request.
>
> Best Regards,
> Strahil Nikolov
>
>
>
>
>
>
> В понеделник, 14 декември 2020 г., 10:57:11 Гринуич+2, Alex K
<rightkicktech(a)gmail.com> написа:
>
>
>
>
>
> Hi friends,
>
> I was wondering what is needed to setup fence_xvm in order to use for power
management in virtual nested environments for testing purposes.
>
> I have followed the following steps:
>
https://github.com/rightkick/Notes/blob/master/Ovirt-fence_xmv.md
>
> I tried also engine-config -s
CustomFenceAgentMapping="fence_xvm=_fence_xvm"
> From command line all seems fine and I can get the status of the host VMs, but I was
not able to find what is needed to set this up at engine UI:
>
>
> At username and pass I just filled dummy values as they should not be needed for
fence_xvm.
> I always get an error at GUI while engine logs give:
>
>
> 2020-12-14 08:53:48,343Z WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-4)
[07c1d540-6d8d-419c-affb-181495d75759] EVENT_ID: VDS_ALERT_FENCE_TEST_FAILED(9,001), Power
Management test failed for Host kvm0.lab.local.Internal JSON-RPC error
> 2020-12-14 08:53:48,343Z INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (default task-4)
[07c1d540-6d8d-419c-affb-181495d75759] FINISH, FenceVdsVDSCommand, return:
FenceOperationResult:{status='ERROR', powerStatus='UNKNOWN',
message='Internal JSON-RPC error'}, log id: 2437b13c
> 2020-12-14 08:53:48,400Z WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-4)
[07c1d540-6d8d-419c-affb-181495d75759] EVENT_ID:
FENCE_OPERATION_USING_AGENT_AND_PROXY_FAILED(9,021), Execution of power management status
on Host kvm0.lab.local using Proxy Host kvm1.lab.local and Fence Agent
fence_xvm:225.0.0.12 failed.
> 2020-12-14 08:53:48,400Z WARN [org.ovirt.engine.core.bll.pm.FenceAgentExecutor]
(default task-4) [07c1d540-6d8d-419c-affb-181495d75759] Fence action failed using proxy
host 'kvm1.lab.local', trying another proxy
> 2020-12-14 08:53:48,485Z ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator]
(default task-4) [07c1d540-6d8d-419c-affb-181495d75759] Can not run fence action on host
'kvm0.lab.local', no suitable proxy host was found.
> 2020-12-14 08:53:48,486Z WARN [org.ovirt.engine.core.bll.pm.FenceAgentExecutor]
(default task-4) [07c1d540-6d8d-419c-affb-181495d75759] Failed to find another proxy to
re-run failed fence action, retrying with the same proxy 'kvm1.lab.local'
> 2020-12-14 08:53:48,582Z WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-4)
[07c1d540-6d8d-419c-affb-181495d75759] EVENT_ID: VDS_ALERT_FENCE_TEST_FAILED(9,001), Power
Management test failed for Host kvm0.lab.local.Internal JSON-RPC error
> 2020-12-14 08:53:48,582Z INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (default task-4)
[07c1d540-6d8d-419c-affb-181495d75759] FINISH, FenceVdsVDSCommand, return:
FenceOperationResult:{status='ERROR', powerStatus='UNKNOWN',
message='Internal JSON-RPC error'}, log id: 8607bc9
> 2020-12-14 08:53:48,637Z WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-4)
[07c1d540-6d8d-419c-affb-181495d75759] EVENT_ID:
FENCE_OPERATION_USING_AGENT_AND_PROXY_FAILED(9,021), Execution of power management status
on Host kvm0.lab.local using Proxy Host kvm1.lab.local and Fence Agent
fence_xvm:225.0.0.12 failed.
>
>
> Any idea?
>
> Thanx,
> Alex
>
>
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/B7IHC4MYY5L...
>