'Remove RBD volume
:name: Name of RBD volume'

def remove_image(self, name):

    with RADOSClient(self, self.pool) as client:
        try:
            RbdProxy().remove(client.ioctx, name)
        except rbd.ImageNotFound:
            LOG.warning('image    %(volume)s    in    pool    %(pool)s    can    not    be    found,    failed    to    remove', {'volume': name, 'pool': self.pool})
        except rbd.ImageHasSnapshots:
            LOG.error('image    %(volume)s    in    pool    %(pool)s    has    snapshots,    failed    to    remove', {'volume': name, 'pool': self.pool})
