From 2b1082590e4c46a3a1738f4093ece29e07497f17 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 21 May 2024 15:04:47 -0400 Subject: [PATCH] Fix bug in snapshot removal --- daemon-common/vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon-common/vm.py b/daemon-common/vm.py index 6a8084a6..5cfb99f9 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -1401,7 +1401,7 @@ def remove_vm_snapshot(zkhandler, domain, snapshot_name, remove_backup=False): rbd_snapshots = _snapshots.split(",") for snap in rbd_snapshots: name, rbd = snap.split("@") - pool, volume = rbd.split("/") + pool, volume = name.split("/") ret, msg = ceph.remove_snapshot(zkhandler, pool, volume, name) if not ret: return False, msg