<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Reid,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks for the feedback and suggestions. Sorry for delayed answer, I was away on vacation.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
For now I'll try to use SBD fencing since I haven't been able to figure out the issue. It definitely wasn't nftables since I disabled it prior to doing configurations. I haven't touched any of the configuration in Proxmox for Apparmor, so that's running in
 its default settings. It seems some programs have an active profile in enforcing mode, but it doesn't seem like they are programs that would interact with KVM (although I may be wrong). I'll try to focus my efforts on SBD fencing and I'll circle back to fence_vxm
 once I get it working with SBD.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks again,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Pierre</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Reid Wahl <nwahl@redhat.com><br>
<b>Sent:</b> Thursday, July 10, 2025 4:44 PM<br>
<b>To:</b> Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org>; pierrecharles.dussault@outlook.com <pierrecharles.dussault@outlook.com><br>
<b>Subject:</b> Re: [ClusterLabs] Fencing agent fence_xvm using multicast</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Mon, Jul 7, 2025 at 12:12 PM Pierre C. Dussault<br>
<pierrecharles.dussault@outlook.com> wrote:<br>
><br>
> Hi all,<br>
><br>
> I am trying to get a working fencing device on a single Proxmox 8 host (not using the Proxmox tools) with fence_virtd and fence_virt/vxm. I can't get the command<br>
>     # fence_xvm -o list<br>
> to output anything, it keeps failing via timeout despite many attempts at finding the fault. The exact return message is:<br>
>     Timed out waiting for response<br>
>     Operation failed<br>
><br>
> I am trying to configure it using the multicast Listener with the Libvirt backend. All settings were left to defaults except the listening interface which was set to the Linux bridge connecting the host and the guests. The fence_xvm.key file was copied in
 the /etc/cluster/ directory on the host and on the guests.<br>
><br>
> I followed this: <a href="https://projects.clusterlabs.org/w/fencing/guest_fencing/">
https://projects.clusterlabs.org/w/fencing/guest_fencing/</a> which didn't work,<br>
> then this: <a href="https://kevwells.com/it-knowledge-base/how-to-install-cluster-fencing-using-libvert-on-kvm-virtual-machines/">
https://kevwells.com/it-knowledge-base/how-to-install-cluster-fencing-using-libvert-on-kvm-virtual-machines/</a> which also didn't work.<br>
><br>
> I read the man pages for fence_virt, fence_xvm, fence_virtd and fence_virt.conf.<br>
> I read the README and doc files in "agents/virt" and "agent/virt/docs" from the source repository.<br>
><br>
> I am at a loss here. Is there a better guide out there (or more up to date)?<br>
><br>
> Thanks.<br>
> _______________________________________________<br>
> Manage your subscription:<br>
> <a href="https://lists.clusterlabs.org/mailman/listinfo/users">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
><br>
> ClusterLabs home: <a href="https://www.clusterlabs.org/">https://www.clusterlabs.org/</a><br>
<br>
Can you try with the firewall disabled on both the host and the<br>
guests? If it works, then we know it's a firewall issue. You probably<br>
need to allow traffic through 1229/udp on the host, in addition to<br>
1229/tcp on the guests, if you are not already doing so. (Not sure if<br>
1229/tcp is needed on the host.)<br>
<br>
You can also try with SELinux (or AppArmor or whatever) disabled or<br>
not-enforcing.<br>
<br>
I haven't configured or troubleshot fence_xvm or fence_virt in a long<br>
time. Firewall issues have been the most common problem for me though.<br>
<br>
-- <br>
Regards,<br>
<br>
Reid Wahl (He/Him)<br>
Senior Software Engineer, Red Hat<br>
RHEL High Availability - Pacemaker<br>
<br>
</div>
</span></font></div>
</body>
</html>