@classmethod
def delete_volume(cls, volume_id):
    'Deletes the given volume and waits for it to be gone.'
    try:
        cls.volumes_client.delete_volume(volume_id)
        cls.volumes_client.wait_for_resource_deletion(volume_id)
    except lib_exc.NotFound:
        LOG.warning("Unable to delete volume '%s' since it was not found. Maybe it was already deleted?", volume_id)
Deletes the given volume and waits for it to be gone.
@classmethod
def delete_volume(cls, volume_id):
    
    try:
        cls.volumes_client.delete_volume(volume_id)
        cls.volumes_client.wait_for_resource_deletion(volume_id)
    except lib_exc.NotFound:
        LOG.warning("Unable to delete volume '%s' since it was not found. Maybe it was already deleted?", volume_id)