RADOS Block Device Driver
-
class RBDDriver(*args, **kwargs)
Bases: cinder.volume.driver.VolumeDriver
Implements RADOS block device (RBD) volume commands
-
check_for_setup_error()
Returns an error if prerequisites aren’t met
-
clone_image(volume, image_location)
-
copy_image_to_volume(context, volume, image_service, image_id)
-
copy_volume_to_image(context, volume, image_service, image_meta)
-
create_cloned_volume(volume, src_vref)
-
create_export(context, volume)
Exports the volume
-
create_snapshot(snapshot)
Creates an rbd snapshot
-
create_volume(volume)
Creates a logical volume.
-
create_volume_from_snapshot(volume, snapshot)
Creates a volume from a snapshot.
-
delete_snapshot(snapshot)
Deletes an rbd snapshot
-
delete_volume(volume)
Deletes a logical volume.
-
ensure_export(context, volume)
Synchronously recreates an export for a logical volume.
-
get_volume_stats(refresh=False)
Return the current state of the volume service. If ‘refresh’ is
True, run the update first.
-
initialize_connection(volume, connector)
-
local_path(volume)
Returns the path of the rbd volume.
-
remove_export(context, volume)
Removes an export for a logical volume
-
terminate_connection(volume, connector, **kwargs)