You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Xcp-ng 8.2.1 - issues reverting to vm snapshot #6941
@AlexanderKgr you can revert a disk to a disk snapshot and a vm to a vm snapshot. It seems you are trying to revert a vm to a disk snapshot. Is that correct?
Also you are describing in both examples restoring a powered off vm to a disk snapshot .
Am I misunderstanding your scenarios?
Let me clear this.
1st scenario tried to restore a disk snapshot while the instance is off (from cloudstack and from xen orchestra)
Received the error that hypervisor doesn't support guest os - while the instance was working normaly if booted.
It was for a colleague that he wanted to revert his instance to a previous state.
So tried the 2nd scenario.
Shuted down the instance only from console and tried to restored it from xen orchestra, where there wasn't any snapshot.
Tried from cloudstack to restore and i had the error that i couldn't restore disk in a running instance which is normal.
Tried scenarios with disk and memory and everything is working.
Summing up "disk" snapshots with xcp-ng does not work!
Please try it.
@AlexanderKgr
guest os mappings for 'Ubuntu 20.04 LTS" are missing for xenserver and vmware.
please update the template guest os type to "Ubuntu 18.04 LTS" and retry.
We will create a fix
I experienced this with ACS 4.18.1 and XCP-ng as a hypervisor.
(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.
Could you reopen the issue? Or shall I create a new one?
Activity
AlexanderKgr commentedon Dec 2, 2022
snapshot with memory works as it should
DaanHoogland commentedon Dec 2, 2022
@AlexanderKgr you can revert a disk to a disk snapshot and a vm to a vm snapshot. It seems you are trying to revert a vm to a disk snapshot. Is that correct?
Also you are describing in both examples restoring a powered off vm to a disk snapshot .
Am I misunderstanding your scenarios?
AlexanderKgr commentedon Dec 2, 2022
Let me clear this.
1st scenario tried to restore a disk snapshot while the instance is off (from cloudstack and from xen orchestra)
Received the error that hypervisor doesn't support guest os - while the instance was working normaly if booted.
It was for a colleague that he wanted to revert his instance to a previous state.
So tried the 2nd scenario.
Shuted down the instance only from console and tried to restored it from xen orchestra, where there wasn't any snapshot.
Tried from cloudstack to restore and i had the error that i couldn't restore disk in a running instance which is normal.
Tried scenarios with disk and memory and everything is working.
Summing up "disk" snapshots with xcp-ng does not work!
Please try it.
AlexanderKgr commentedon Dec 19, 2022
Anyone?
DaanHoogland commentedon Dec 20, 2022
@AlexanderKgr it might help to ask on the users mailing list
weizhouapache commentedon Jan 13, 2023
@AlexanderKgr
guest os mappings for 'Ubuntu 20.04 LTS" are missing for xenserver and vmware.
please update the template guest os type to "Ubuntu 18.04 LTS" and retry.
We will create a fix
weizhouapache commentedon Jan 13, 2023
the os mappings were added in #4672, but it was broken by #5911
fix: #7095
MartinEmrich commentedon Oct 20, 2023
I experienced this with ACS 4.18.1 and XCP-ng as a hypervisor.
The message is IMHO wrong, the VM with Debian 12 worked fine before.
Could you reopen the issue? Or shall I create a new one?
weizhouapache commentedon Oct 20, 2023
@MartinEmrich
please create a new issue and link to this. thanks
MartinEmrich commentedon Oct 20, 2023
@weizhouapache done: #8123