<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HA  causes reboot of xcp-ng nodes]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I need some help regarding HA.<br />
I have a 3 node cluster running xcp-ng 8.3  (002 is the master)</p>
<pre><code>[13:55 dacshyp002 ~]# xe host-list
uuid ( RO)                : 6b99f1ab-6f4c-4a8d-b766-d16a8a942bdf
          name-label ( RW): dacshyp003
    name-description ( RW): Default install


uuid ( RO)                : d99e150c-079a-4092-8909-ad1a36e07dec
          name-label ( RW): dacshyp001
    name-description ( RW): Default install


uuid ( RO)                : 41a2a448-a5dc-44c6-be44-c07540d75c60
          name-label ( RW): dacshyp002
    name-description ( RW): Default install
</code></pre>
<p dir="auto">Last Thursday I enabled HA on the pool and also on some om the VM's. On Friday I also did an "rolling pool update"<br />
Today I had a "spontaneous"  reboot of the dacshyp001 and dacshyp003.<br />
Boot time of dacshyp001:</p>
<pre><code>[Mon Sep 21 11:21:31 2026] Linux version 4.19.0+1 (mockbuild@1efe98ffea2245bcb4c11893890153ac) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)) #1 SMP Thu Aug 13 13:06:11 UTC 2026
</code></pre>
<p dir="auto">Around that time I also see the following message in the xensource.log:</p>
<pre><code>Sep 21 11:21:08 dacshyp002 xapi: [debug||20398 ha_monitor|HA monitor D:7b5068fa6bfc|xapi_ha_vm_failover] Setting host dacshyp001 to dead
Sep 21 11:21:28 dacshyp002 xapi: [debug||20398 ha_monitor|HA monitor D:7b5068fa6bfc|xapi_ha_vm_failover] Setting host dacshyp001 to dead
Sep 21 11:21:48 dacshyp002 xapi: [debug||20398 ha_monitor|HA monitor D:7b5068fa6bfc|xapi_ha_vm_failover] Setting host dacshyp001 to dead
</code></pre>
<p dir="auto">I will attached all logging around this time.<br />
I am trying to understand what triggered the reboot and how I can troubleshoot this.</p>
<p dir="auto">I am running XO community commit 6a441 . I am aware this is not the latest version. Before upgrading I want to know the cause of the reboot.</p>
<p dir="auto">Also ignore the error:</p>
<pre><code>/var/lib/xcp/xapi|dispatch:VDI.get_by_uuid D:1f5b4c8d329e|backtrace] VDI.get_by_uuid D:9df5c0255224 failed with exception Db_exn.Read_missing_uuid("VDI", "", "9219113f-65e4-4368-b42d-1b8bdc7614a9")
</code></pre>
<p dir="auto">I will create another ticket for this.<br />
<a href="/forum/assets/uploads/files/1789992383754-ha-problem.txt">HA-problem.txt</a><br />
Thanks in advance.<br />
Carlo</p>
]]></description><link>https://xcp-ng.org/forum/topic/12483/ha-causes-reboot-of-xcp-ng-nodes</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 13:35:30 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/12483.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Sep 2026 12:06:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HA  causes reboot of xcp-ng nodes on Mon, 21 Sep 2026 13:21:45 GMT]]></title><description><![CDATA[<p dir="auto">From what I read in the docs (HA isn't my strong suit), a host in an HA pool that loses its heartbeat in certain ways is designed to reboot itself, which they call self-fencing, so this may well be HA doing its job rather than something crashing. <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=2d1219998ab" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
<p dir="auto">The log you attached is from the master and starts at 11:21:00, and dacshyp001 is already marked as not live in the very first liveset at 11:21:08, so I think whatever triggered it happened just before that and isn't in this file. <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=2d1219998ab" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title=":shrug:" alt="🤷" /></p>
<p dir="auto">The three <code>Setting host dacshyp001 to dead</code> lines look to me like one event being re-checked every 20 seconds while 001 was still coming back, though I could be misreading that.</p>
<p dir="auto">I also suspect 003 went down at a different moment, because it still shows as alive in that same liveset. There's a doc section for this case, <a href="https://docs.xcp-ng.org/troubleshooting/troubleshooting-ha#my-host-rebooted-why-did-it-reboot" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.xcp-ng.org/troubleshooting/troubleshooting-ha#my-host-rebooted-why-did-it-reboot</a>, which points at <code>/var/log/xha.log</code> on the host that rebooted.</p>
<p dir="auto">Could you post that file from dacshyp001 and dacshyp003 for the few minutes before each reboot, plus 003's boot time?</p>
]]></description><link>https://xcp-ng.org/forum/post/108595</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/108595</guid><dc:creator><![CDATA[poddingue]]></dc:creator><pubDate>Mon, 21 Sep 2026 13:21:45 GMT</pubDate></item></channel></rss>