<?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[VM_BAD_POWER_STATE]]></title><description><![CDATA[<p dir="auto">Re: <a href="/forum/topic/6773/restore-delta-backup-with-ram">Restore Delta Backup with RAM</a><br />
HI team,<br />
I'm trying to restore a linux vm from a delta backup with ram.<br />
Backup went fine but when i start restore, it stop immediatly with VM_BAD_POWER_STATE error message.<br />
If I do a full backup "with ram" restore goes to then end but vm stay in halted state, is it a normal behavior ?</p>
<p dir="auto">I'm using orchestra from source and xcp-ng 8.2, both up to date.</p>
<p dir="auto">thank's</p>
<p dir="auto">JM</p>
]]></description><link>https://xcp-ng.org/forum/topic/9026/vm_bad_power_state</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 03:16:41 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9026.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 May 2024 15:10:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Thu, 13 Jun 2024 17:06:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jmm" aria-label="Profile: jmm">@<bdi>jmm</bdi></a> Can you check to see if the health check is turned off? In your backup config, it'll be in the schedule just under the "Replication Retention" section. I've found that you can leave it on, but it will "fail" (despite the recovery working fine, unchecking it will get rid of the error on subsequent backups).</p>
]]></description><link>https://xcp-ng.org/forum/post/78670</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78670</guid><dc:creator><![CDATA[nick.lloyd]]></dc:creator><pubDate>Thu, 13 Jun 2024 17:06:01 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Thu, 30 May 2024 07:23:41 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> Sorry for the late answer.<br />
I think version is 5.94 (from source)<br />
In about menu I only have "Xen Orchestra,commit 68219"</p>
]]></description><link>https://xcp-ng.org/forum/post/78128</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/78128</guid><dc:creator><![CDATA[jmm]]></dc:creator><pubDate>Thu, 30 May 2024 07:23:41 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Fri, 17 May 2024 15:05:21 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><br />
Yes it was a mistake, I did a full backup, snapshot with ram<br />
thank's</p>
]]></description><link>https://xcp-ng.org/forum/post/77546</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77546</guid><dc:creator><![CDATA[jmm]]></dc:creator><pubDate>Fri, 17 May 2024 15:05:21 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Thu, 16 May 2024 13:14:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jmm" aria-label="Profile: jmm">@<bdi>jmm</bdi></a> Did you try a power state reset?:<br />
xe vm-reset-powerstate uuid=&lt;uuid_of_vm&gt; force=true</p>
]]></description><link>https://xcp-ng.org/forum/post/77459</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77459</guid><dc:creator><![CDATA[tjkreidl]]></dc:creator><pubDate>Thu, 16 May 2024 13:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Thu, 16 May 2024 12:45:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jmm" aria-label="Profile: jmm">@<bdi>jmm</bdi></a> said in <a href="/forum/post/77445">VM_BAD_POWER_STATE</a>:</p>
<blockquote>
<p dir="auto">2-full backup,snapshot without ram<br />
Restore ok but at the end vm is in halted state, i think the vm should be in suspended state<br />
I can start vm, not sure where the ram is gone</p>
</blockquote>
<p dir="auto">Was the "without ram" above a typo? If not, then halted is the correct state since the memory wasn't captured during the backup.</p>
]]></description><link>https://xcp-ng.org/forum/post/77458</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77458</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Thu, 16 May 2024 12:45:00 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Thu, 16 May 2024 09:44:42 GMT]]></title><description><![CDATA[<p dir="auto">"About" in the menu</p>
]]></description><link>https://xcp-ng.org/forum/post/77450</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77450</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 16 May 2024 09:44:42 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Thu, 16 May 2024 09:09:53 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><br />
Hi olivier,<br />
Sorry for this question, but where can I find the XO version ?<br />
I'm testing orchestra from source, installed from fresh ubuntu 20 and jarl01 install and updater script.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://xcp-ng.org/forum/post/77447</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77447</guid><dc:creator><![CDATA[jmm]]></dc:creator><pubDate>Thu, 16 May 2024 09:09:53 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Thu, 16 May 2024 08:56:47 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><br />
Hi dan,<br />
Yes i find it in settings / logs<br />
this vm was imported from vmware with orchestra's tool, all went fine.<br />
I've done three tests : all 3 backups ended succesfully<br />
1-delta backup, snapshot with ram<br />
Restore don't even start, error message<br />
2-full backup,snapshot without ram<br />
Restore ok but at the end vm is in halted state, i think the vm should be in suspended state<br />
I can start vm, not sure where the ram is gone<br />
3-full backup, offline snapshot<br />
Restore, boot ok</p>
<p dir="auto">I didn't test with another, i'll do this test asap</p>
<p dir="auto">thanks</p>
]]></description><link>https://xcp-ng.org/forum/post/77445</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77445</guid><dc:creator><![CDATA[jmm]]></dc:creator><pubDate>Thu, 16 May 2024 08:56:47 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Wed, 15 May 2024 20:37:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jmm" aria-label="Profile: jmm">@<bdi>jmm</bdi></a> said in <a href="/forum/post/77383">VM_BAD_POWER_STATE</a>:</p>
<blockquote>
<p dir="auto">If I do a full backup "with ram" restore goes to then end but vm stay in halted state, is it a normal behavior ?</p>
</blockquote>
<p dir="auto">Yes. The VM will be in a suspended state unless you select the option to start the VM after restoration.</p>
<blockquote>
<p dir="auto">Here is the message from ui</p>
</blockquote>
<p dir="auto">Are you finding this under <code>Settings &gt; Logs</code> or somewhere else?</p>
<p dir="auto">FWIW, I can't replicate on this side. Does this happen with all VMs or only those migrated from ESXi?</p>
<p dir="auto">Dan</p>
]]></description><link>https://xcp-ng.org/forum/post/77417</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77417</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Wed, 15 May 2024 20:37:57 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Wed, 15 May 2024 16:10:52 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></p>
<p dir="auto">Hi dan,</p>
<p dir="auto">Here is the message from ui</p>
<pre><code>{"code":"VM_BAD_POWER_STATE","params":["OpaqueRef:5b175c21-7cd3-49f7-9291-d4e13ee6ed6f","halted","suspended"],"call":{"method":"VM.create","params":[{"actions_after_crash":"restart","actions_after_reboot":"restart","actions_after_shutdown":"destroy","affinity":"OpaqueRef:NULL","HVM_boot_params":{"firmware":"uefi","order":"cdn"},"HVM_boot_policy":"BIOS order","is_a_template":false,"memory_dynamic_max":25769803776,"memory_dynamic_min":25769803776,"memory_static_max":25769803776,"memory_static_min":25769803776,"other_config":{"mac_seed":"3c7339e7-ee0e-e574-f694-7dea837f45fc","vgpu_pci":"","base_template_name":"Other install media","install-methods":"cdrom"},"PCI_bus":"","platform":{"timeoffset":"0","device-model":"qemu-upstream-uefi","nx":"true","acpi":"1","apic":"true","pae":"true","hpet":"true","viridian":"true"},"PV_args":"","PV_bootloader_args":"","PV_bootloader":"","PV_kernel":"","PV_legacy_args":"","PV_ramdisk":"","recommendations":"&lt;restrictions&gt;&lt;restriction field=\"memory-static-max\" max=\"137438953472\" /&gt;&lt;restriction field=\"vcpus-max\" max=\"32\" /&gt;&lt;restriction property=\"number-of-vbds\" max=\"255\" /&gt;&lt;restriction property=\"number-of-vifs\" max=\"7\" /&gt;&lt;restriction field=\"has-vendor-device\" value=\"false\" /&gt;&lt;/restrictions&gt;","user_version":1,"VCPUs_at_startup":4,"VCPUs_max":4,"VCPUs_params":{"weight":"256"},"appliance":"OpaqueRef:NULL","blocked_operations":{"start":"Importing…","start_on":"Importing…"},"domain_type":"hvm","generation_id":"6391528241554766200:5274075896544882950","ha_restart_priority":"","hardware_platform_version":0,"has_vendor_device":false,"is_vmss_snapshot":false,"name_description":"from esxi","name_label":"[Importing…] GBC-P-VT-ORA-24","NVRAM":{"EFI-variables":"VkFSUwEAAAAUAAAAAAAAAFkMAAAAAAAABgAAAAAAAABNAFQAQwAEAAAAAAAAAAgAAAARQHDrAhTTEY53AKDJaXI7BwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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OApQq11gRuAAQ6u2PdgQ3YsjAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAQgBvAG8AdAAwADAAMAA0AHYAAAAAAAAAAQAAAGIAcgBlAGQAaABhAHQAAAAEASoAAQAAAAAIAAAAAAAAAMASAAAAAABSCMwW9HrbSoBJNAoqcSetAgIEBDQAXABFAEYASQBcAHIAZQBkAGgAYQB0AFwAcwBoAGkAbQB4ADYANAAuAGUAZgBpAAAAf/8EAGHf5IvKk9IRqg0A4JgDK4wHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAABIAEQARABQAFgAAAAAAAAAAgEMANBBAwoAAAAAAQEGAAADAQQYAJCiPD2lueMRt124rG99ZeYBAAADBAEqAAEAAAAACAAAAAAAAADAEgAAAAAAUgjMFvR620qASTQKKnEnrQICf/8EAOHpt/rdOStPhAjiDpBstt4DAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAABCAG8AbwB0ADAAMAAwADUAagAAAAAAAAABAAAALgBVAEUARgBJACAATQBpAHMAYwAgAEQAZQB2AGkAYwBlACAAMgAAAAIBDADQQQMKAAAAAAEBBgAAAwEEGACQojw9pbnjEbdduKxvfWXmAQBAA3//BABOrAiBEZ9ZTYUO4hpSLFmyYd/ki8qT0hGqDQDgmAMrjAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="},"order":0,"reference_label":"","shutdown_delay":0,"snapshot_schedule":"OpaqueRef:NULL","start_delay":0,"suspend_SR":"OpaqueRef:NULL","tags":[],"version":0,"xenstore_data":{"vm-data/mmio-hole-size":"268435456","vm-data":""},"last_boot_CPU_flags":{"vendor":"GenuineIntel","features":"1fcbfbff-f7fa3223-2c100800-00000121-0000000f-219c0fab-0240070c-00000000-00001000-bc000400-00000000-00000000-00000000-00000001-00000000-00000000-0c08e163-00000000-00000000-00000000-00000000-00000000"},"last_booted_record":"","power_state":"Suspended","suspend_VDI":"OpaqueRef:0526f889-ce21-4d01-a562-aeb3012726f4"}]},"message":"VM_BAD_POWER_STATE(OpaqueRef:5b175c21-7cd3-49f7-9291-d4e13ee6ed6f, halted, suspended)","name":"XapiError","stack":"XapiError: VM_BAD_POWER_STATE(OpaqueRef:5b175c21-7cd3-49f7-9291-d4e13ee6ed6f, halted, suspended)\n    at Function.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)\n    at file:///opt/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:38:21"}
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/77389</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77389</guid><dc:creator><![CDATA[jmm]]></dc:creator><pubDate>Wed, 15 May 2024 16:10:52 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Wed, 15 May 2024 15:47:30 GMT]]></title><description><![CDATA[<p dir="auto">Can you post the full error message? FWIW, I just tested this with XOA and it worked correctly for me.</p>
]]></description><link>https://xcp-ng.org/forum/post/77387</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77387</guid><dc:creator><![CDATA[Danp]]></dc:creator><pubDate>Wed, 15 May 2024 15:47:30 GMT</pubDate></item><item><title><![CDATA[Reply to VM_BAD_POWER_STATE on Wed, 15 May 2024 15:18:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We lack a bit of context, especially on the XO version you are using.</p>
]]></description><link>https://xcp-ng.org/forum/post/77385</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77385</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 15 May 2024 15:18:02 GMT</pubDate></item></channel></rss>