<?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 to unblock a vm for reversion of snapshot]]></title><description><![CDATA[<p dir="auto">I am using a pre-built xo VM running on my pool master created from a script by Ronivay and it has been working well. I had the VM set to prevent accidental deletion and shutdown and with autostart. No problem.</p>
<p dir="auto">I took a snapshot of it and upgraded the kernel to hwe (6.x) and upon reboot it never came back up on the network.</p>
<p dir="auto">I tried to revert to the snapshot via xe...</p>
<pre><code>xe snapshot-revert snapshot-uuid=1a91d725-65b0-7bb7-f70f-0be5903e8d44
You attempted an operation that was explicitly blocked (see the blocked_operations field of the given object).
ref: e8d5def9-e079-d7a6-e106-fe8d96f55cac (xo-ce)
code: false
</code></pre>
<p dir="auto">And so I attempted to set all the blocked-operations vm-parameters to false, and I got all of them except one.</p>
<pre><code>xe vm-param-list uuid=e8d5def9-e079-d7a6-e106-fe8d96f55cac | fgrep blocked

blocked-operations (MRW): destroy: false; pause: false; clean_reboot: false; suspend: false; hard_reboot: false; hard_shutdown: false; clean_shutdown: false; (unknown operation): true
</code></pre>
<p dir="auto">I can't revert to the snapshot and I am still unable to set the "(unknown operation)" parameter to false.</p>
<p dir="auto">I have a backup of the XO-Config so i could start over but it would be nice to not have to do that.</p>
<p dir="auto">Any pointers would be most welcome.</p>
<p dir="auto">Thanks<br />
Danny</p>
]]></description><link>https://xcp-ng.org/forum/topic/9175/unable-to-unblock-a-vm-for-reversion-of-snapshot</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 03:48:35 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9175.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Jun 2024 05:38:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to unblock a vm for reversion of snapshot on Tue, 11 Jun 2024 17:40:58 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> I tried some of the xe commands listed in that post like xe vm-param-clear and xe vm-param-remove and wasn't successful.</p>
]]></description><link>https://xcp-ng.org/forum/post/78539</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78539</guid><dc:creator><![CDATA[dsiminiuk]]></dc:creator><pubDate>Tue, 11 Jun 2024 17:40:58 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to unblock a vm for reversion of snapshot on Tue, 11 Jun 2024 17:12:45 GMT]]></title><description><![CDATA[<p dir="auto">I'm not sure, are we still affected? Should it be fixed in XO?</p>
]]></description><link>https://xcp-ng.org/forum/post/78536</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78536</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 11 Jun 2024 17:12:45 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to unblock a vm for reversion of snapshot on Tue, 11 Jun 2024 17:10:34 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> See prior discussion <a href="https://xcp-ng.org/forum/topic/3885/cli-ssh-delete-vms-that-were-set-as-protect-from-accidental-deletion-in-xo/9?_=1718125586498">here</a></p>
]]></description><link>https://xcp-ng.org/forum/post/78535</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78535</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Tue, 11 Jun 2024 17:10:34 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to unblock a vm for reversion of snapshot on Tue, 11 Jun 2024 16:21:56 GMT]]></title><description><![CDATA[<p dir="auto">The unknown operation thing is weird. Pinging <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mathieura" aria-label="Profile: MathieuRA">@<bdi>MathieuRA</bdi></a> if we can reproduce.</p>
]]></description><link>https://xcp-ng.org/forum/post/78530</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78530</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 11 Jun 2024 16:21:56 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to unblock a vm for reversion of snapshot on Tue, 11 Jun 2024 16:11:12 GMT]]></title><description><![CDATA[<p dir="auto">Additional observations...</p>
<p dir="auto">When a VM is set to prevent accidental deletion (only)...</p>
<pre><code>blocked-operations (MRW): destroy: true
</code></pre>
<p dir="auto">When set to prevent accidental shutdown (only)...</p>
<pre><code>blocked-operations (MRW): clean_shutdown: true; (unknown operation): true; pause: true; hard_reboot: true; suspend: true; hard_shutdown: true; clean_reboot: true
</code></pre>
<p dir="auto">And of course with both options enabled, it is the aggregation of both sets.</p>
<pre><code>blocked-operations (MRW): destroy: true; clean_shutdown: true; (unknown operation): true; pause: true; hard_reboot: true; suspend: true; hard_shutdown: true; clean_reboot: true
</code></pre>
<p dir="auto">Danny</p>
]]></description><link>https://xcp-ng.org/forum/post/78521</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78521</guid><dc:creator><![CDATA[dsiminiuk]]></dc:creator><pubDate>Tue, 11 Jun 2024 16:11:12 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to unblock a vm for reversion of snapshot on Tue, 11 Jun 2024 05:57:20 GMT]]></title><description><![CDATA[<p dir="auto">I figured out another way around it. I imported a new xo VM with the same script and connected it to my pool master just long enough to revert to the snapshot of the XO I wanted to keep.<br />
I was able to login and delete the temporary XO VM.<br />
I would still like to understand what the<br />
blocked-operations (MRW): (unknown operation): true;<br />
means.</p>
<p dir="auto">Anyway, not urgent.<br />
Thanks<br />
Danny</p>
]]></description><link>https://xcp-ng.org/forum/post/78488</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78488</guid><dc:creator><![CDATA[dsiminiuk]]></dc:creator><pubDate>Tue, 11 Jun 2024 05:57:20 GMT</pubDate></item></channel></rss>