You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "MartinEmrich (via GitHub)" <gi...@apache.org> on 2023/10/20 09:45:32 UTC

[I] Cannot restore VM snapshot on XenServer [cloudstack]

MartinEmrich opened a new issue, #8123:
URL: https://github.com/apache/cloudstack/issues/8123

   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   Management Server/Hypervisor
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.18.1
   ~~~
   
   ##### CONFIGURATION
   Single Host Pool with XCP-ng 7.5
   
   
   ##### OS / ENVIRONMENT
   Management Server: CentOS 7
   
   ##### SUMMARY
   Web UI presents this message when trying to revert a snapshot:
   
   ````
   (i-39-6822-VM_VS_20231020072617) Revert VM: i-39-6822-VM to snapshot: i-39-6822-VM_VS_20231020072617 failed due to Hypervisor com.cloud.hypervisor.xenserver.resource.XenServer650Resource doesn't support guest OS type Debian GNU/Linux 12 (64-bit). you can choose 'Other install media' to run it as HVM
   ````
   
   The message is IMHO wrong, the VM with Debian 12 worked fine before.
   
   
   ##### STEPS TO REPRODUCE
   Import Debian 12 netinst ISO image
   Create VM from it (Type "Debian GNU/Linux 12 (64 Bit)")
   Take a VM Snapshot (no Quiesce, no RAM) (works fine)
   Shutdown VM
   Restore snapshot
   
   
   ##### EXPECTED RESULTS
   I expected it to restore all Volumes to the snapshot state.
   
   ##### ACTUAL RESULTS
   Above error message popped up shortly after trying to restore the snapshot.
   
   Looks similar to #6941, but I was asked to create a new issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cannot restore VM snapshot on XenServer [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8123:
URL: https://github.com/apache/cloudstack/issues/8123#issuecomment-1772431322

   thanks @MartinEmrich 
   
   can you share the results of mysql queries ?
   
   ```
   select * from guest_os_hypervisor where guest_os_id in (select id from guest_os where display_name like 'Ubuntu 20.04 LTS') and hypervisor_type ='Xenserver';
   
   select * from guest_os_hypervisor where guest_os_id in (select id from guest_os where display_name like 'Debian GNU/Linux 12 (64%');
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cannot restore VM snapshot on XenServer [cloudstack]

Posted by "AlexanderKgr (via GitHub)" <gi...@apache.org>.
AlexanderKgr commented on issue #8123:
URL: https://github.com/apache/cloudstack/issues/8123#issuecomment-1780453361

   i am facing the same issue with xcp-ng 8.2.1
   ![image](https://github.com/apache/cloudstack/assets/25532758/abed36ca-7fca-49f6-a4ee-a6bbb37c39e3)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cannot restore VM snapshot on XenServer [cloudstack]

Posted by "MartinEmrich (via GitHub)" <gi...@apache.org>.
MartinEmrich commented on issue #8123:
URL: https://github.com/apache/cloudstack/issues/8123#issuecomment-1772448707

   The first:
   
   ```` 
   id;hypervisor_type;guest_os_name;guest_os_id;hypervisor_version;uuid;created;removed;is_user_defined
   7402;Xenserver;Ubuntu Focal Fossa 20.04;305;8.2.0;03c0f7f7-5ec9-464f-88dc-aaed9eabb26a;2023-09-05 16:14:24;\N;0
   7802;Xenserver;Ubuntu Focal Fossa 20.04;323;8.2.0;2e3d7eb0-8cb7-411c-a08b-0216b352cc0e;2023-09-06 11:57:33;\N;0
   ````
   (Though I don't use Ubuntu 20.04)
   
   
   The second:
   
   ````
   id;hypervisor_type;guest_os_name;guest_os_id;hypervisor_version;uuid;created;removed;is_user_defined
   7677;VMware;debian12_64Guest;367;8.0;5e3385eb-05e4-4163-b242-9bc7789fbd9f;2023-09-06 11:57:33;\N;0
   7793;VMware;debian12_64Guest;367;8.0.1;a065c24b-3e5e-4ecd-aa66-2e8b6bd3b353;2023-09-06 11:57:33;\N;0
   ````
   (No VMWare here either)
   
   Hypervisor is XCP-ng 7.5, but installing and running Debian 12 worked flawlessly. (We plan to upgrade to XCP-ng latest, but no timeframe yet)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org