cannot revert a container snapshot on RBD

kifeo

Active Member
Oct 28, 2019
108
10
38
I found that reverting a container snapshot fails and cannot be done.

replication scenario :
- deploy a debian template on proxmox ceph
- snapshot the CT
- touch toto in the vm
- shutdown th CT
- revert (rollback) : rbd snapshot vm-103-disk-0 to 'test' error: Rolling back to snapshot: 0% complete...failed.

Wanted to raise this, maybe I'm doing it wrong ?
 
Hi,

is the cluster healthy?
 
Hi,

I can confirm this is a Bug.
The poststop-hookscripts are not applied and so the rbd image stays mapped.
as a temporary workaround, you can unmap the rbd image manually.

Code:
rbd device unmap <Image>

https://bugzilla.proxmox.com/show_bug.cgi?id=2512
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!