diff --git a/daemon-common/ceph.py b/daemon-common/ceph.py index ea0a1697..4e9ec66d 100644 --- a/daemon-common/ceph.py +++ b/daemon-common/ceph.py @@ -1012,7 +1012,7 @@ def remove_volume(zk_conn, pool, name): # 1. Remove volume snapshots for snapshot in zkhandler.listchildren(zk_conn, '/ceph/snapshots/{}/{}'.format(pool, name)): - remove_snapshot(zk_conn, pool, volume, snapshot) + remove_snapshot(zk_conn, pool, name, snapshot) # 2. Remove the volume retcode, stdout, stderr = common.run_os_command('rbd rm {}/{}'.format(pool, name))