<?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[Unable remove VM]]></title><description><![CDATA[<p dir="auto">I have a couple of VM that have got stuck in a paused state, on different hosts.<br />
Force shutdown in XO eventually times out.</p>
<p dir="auto">I've tried following the instructions here -<br />
<a href="https://support.citrix.com/article/CTX220777" target="_blank" rel="noopener noreferrer nofollow ugc">https://support.citrix.com/article/CTX220777</a></p>
<p dir="auto">HA is not enabled on the pool</p>
<pre><code>[11:33 LP1-XS-002 ~]# xe vm-shutdown uuid=4f81b4ce-c681-dec2-e147-090036de1a47 force=true
^C[11:34 LP1-XS-002 ~]# xe vm-reset-powerstate uuid=4f81b4ce-c681-dec2-e147-090036de1a47 force=true
This operation cannot be completed because the server is still live.
host: b72027de-5c53-4ebe-a324-60c1af946d52 (LP1-XS-002)
[11:34 LP1-XS-002 ~]# list_domains | grep 4f8
73 | 4f81b4ce-c681-dec2-e147-090036de1a47 | D P  H
[11:34 LP1-XS-002 ~]# xl destroy 73
libxl: error: libxl_xshelp.c:201:libxl__xs_read_mandatory: xenstore read failed: `/libxl/73/type': No such file or directory
libxl: warning: libxl_dom.c:54:libxl__domain_type: unable to get domain type for domid=73, assuming HVM
</code></pre>
<p dir="auto">Anyone got any clues how to resolve this - I don't need these vm's they are just getting deleted, so a hard kill on them is fine.</p>
]]></description><link>https://xcp-ng.org/forum/topic/4823/unable-remove-vm</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 23:50:39 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/4823.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Jul 2021 11:39:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable remove VM on Fri, 30 Jul 2021 07:49:59 GMT]]></title><description><![CDATA[<p dir="auto">This looks like it was a problem with the VDI's on a network shared storage.<br />
Unpausing the VM's would "start" them but they never actually boot - no console would appear.</p>
<p dir="auto">In the end, migrating all other VM off the host and then rebooting the host cleared whatever was causing these VMs to be stuck and we were able to delete them</p>
<p dir="auto">We're currently trialing a new storage provider, so this is definitely something we'll be looking into more with their support.</p>
]]></description><link>https://xcp-ng.org/forum/post/41270</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41270</guid><dc:creator><![CDATA[d1rtym0nk3y]]></dc:creator><pubDate>Fri, 30 Jul 2021 07:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Fri, 30 Jul 2021 03:39:49 GMT]]></title><description><![CDATA[<p dir="auto">Are they using network storage or local storage? Can you see their consoles in XO?</p>
]]></description><link>https://xcp-ng.org/forum/post/41258</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41258</guid><dc:creator><![CDATA[tony]]></dc:creator><pubDate>Fri, 30 Jul 2021 03:39:49 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Thu, 29 Jul 2021 16:16:51 GMT]]></title><description><![CDATA[<p dir="auto">What about unpause?</p>
]]></description><link>https://xcp-ng.org/forum/post/41248</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41248</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 29 Jul 2021 16:16:51 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Thu, 29 Jul 2021 13:41:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/darkbeldin" aria-label="Profile: darkbeldin">@<bdi>darkbeldin</bdi></a></p>
<p dir="auto">I have tried on one of the hosts, but makes no difference</p>
]]></description><link>https://xcp-ng.org/forum/post/41239</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41239</guid><dc:creator><![CDATA[d1rtym0nk3y]]></dc:creator><pubDate>Thu, 29 Jul 2021 13:41:53 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Thu, 29 Jul 2021 13:16:06 GMT]]></title><description><![CDATA[<p dir="auto">Have you tried restarting the toolstack for the host could clear a bad VM state?</p>
]]></description><link>https://xcp-ng.org/forum/post/41237</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41237</guid><dc:creator><![CDATA[Darkbeldin]]></dc:creator><pubDate>Thu, 29 Jul 2021 13:16:06 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Thu, 29 Jul 2021 12:56:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a></p>
<p dir="auto">I've tried that - i think this is the correct way ..</p>
<pre><code>[12:54 LP1-XS-002 log]# xe vm-reset-powerstate uuid=4f81b4ce-c681-dec2-e147-090036de1a47 force=true
This operation cannot be completed because the server is still live.
host: b72027de-5c53-4ebe-a324-60c1af946d52 (LP1-XS-002)
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/41236</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41236</guid><dc:creator><![CDATA[d1rtym0nk3y]]></dc:creator><pubDate>Thu, 29 Jul 2021 12:56:49 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Thu, 29 Jul 2021 12:47:00 GMT]]></title><description><![CDATA[<p dir="auto">VM is paused, only a running VM can be shutdown.</p>
<p dir="auto">You can try to unpause it, but I suppose if it's paused it's because it crashed somehow.</p>
<p dir="auto">Alternatively, you can do a reset VM power state.</p>
]]></description><link>https://xcp-ng.org/forum/post/41233</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41233</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 29 Jul 2021 12:47:00 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Thu, 29 Jul 2021 12:35:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/danp" aria-label="Profile: danp">@<bdi>danp</bdi></a> said in <a href="/forum/post/41230">Unable remove VM</a>:</p>
<blockquote>
<blockquote>
<p dir="auto">I have a couple of VM that have got stuck in a paused state, on different hosts.</p>
</blockquote>
<ul>
<li>How did you confirm that the VM is in the wrong power state? Could be VDI instead.</li>
</ul>
</blockquote>
<p dir="auto">By looking at the UI and seeing power state paused, and it failing to remove. I'm not sure how to check the state of a VDI.  the VDI's are there, but the VM's won't boot or delete</p>
<blockquote>
<ul>
<li>Have you <a href="https://xcp-ng.org/docs/troubleshooting.html#log-files" target="_blank" rel="noopener noreferrer nofollow ugc">checked the logs</a> for more details?</li>
</ul>
</blockquote>
<p dir="auto">yes, not entirely sure what might indicate a root cause. These relate to one of the VMs in question</p>
<pre><code>Jul 29 10:52:09 LP1-XS-002 xenopsd-xc: [ info||22 ||xenops_server] Caught Xenops_interface.Xenopsd_error([S(Cancelled);S(4397606)]) executing ["VM_reboot",["4f81b4ce-c681-dec2-e147-090036de1a47",[]]]: triggering cleanup actions
Jul 29 11:18:22 LP1-XS-002 xenopsd-xc: [ info||16 ||xenops_server] Caught Xenops_interface.Xenopsd_error([S(Cancelled);S(4398131)]) executing ["VM_poweroff",["4f81b4ce-c681-dec2-e147-090036de1a47",[]]]: triggering cleanup actions
Jul 29 11:53:55 LP1-XS-002 xenopsd-xc: [ info||31 ||xenops_server] Caught Xenops_interface.Xenopsd_error([S(Cancelled);S(4398834)]) executing ["VM_poweroff",["4f81b4ce-c681-dec2-e147-090036de1a47",[]]]: triggering cleanup actions
Jul 29 12:17:34 LP1-XS-002 xapi: [ warn||7833402 INET :::80|Async.VM.unpause R:c20f65c0d932|xenops] Potential problem: VM 4f81b4ce-c681-dec2-e147-090036de1a47 in power state 'paused' when expecting 'running'
</code></pre>
<blockquote>
<ul>
<li>Have you checked under Dashboard &gt; Health to ensure there aren't any VDIs attached to the Control Domain?</li>
</ul>
</blockquote>
<p dir="auto">No VDI's attached to the control domain</p>
<blockquote>
<p dir="auto">P.S. I previously used the method shown <a href="https://discussions.citrix.com/topic/399028-paused-vdi/#comment-2025338" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> to clear up this issue with a VDI</p>
</blockquote>
]]></description><link>https://xcp-ng.org/forum/post/41231</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41231</guid><dc:creator><![CDATA[d1rtym0nk3y]]></dc:creator><pubDate>Thu, 29 Jul 2021 12:35:20 GMT</pubDate></item><item><title><![CDATA[Reply to Unable remove VM on Thu, 29 Jul 2021 12:00:33 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">I have a couple of VM that have got stuck in a paused state, on different hosts.</p>
</blockquote>
<ul>
<li>
<p dir="auto">How did you confirm that the VM is in the wrong power state? Could be VDI instead.</p>
</li>
<li>
<p dir="auto">Have you <a href="https://xcp-ng.org/docs/troubleshooting.html#log-files" target="_blank" rel="noopener noreferrer nofollow ugc">checked the logs</a> for more details?</p>
</li>
<li>
<p dir="auto">Have you checked under Dashboard &gt; Health to ensure there aren't any VDIs attached to the Control Domain?</p>
</li>
</ul>
<p dir="auto">P.S. I previously used the method shown <a href="https://discussions.citrix.com/topic/399028-paused-vdi/#comment-2025338" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> to clear up this issue with a VDI</p>
]]></description><link>https://xcp-ng.org/forum/post/41230</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/41230</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Thu, 29 Jul 2021 12:00:33 GMT</pubDate></item></channel></rss>