The cinder.volume.drivers.glusterfs Module

class GlusterfsDriver(execute=<function execute at 0x7fbe700b6c08>, *args, **kwargs)

Bases: cinder.volume.drivers.remotefs.RemoteFSSnapDriver, cinder.volume.driver.ExtendVD

Gluster based cinder driver.

Creates file on Gluster share for using it as block device on hypervisor.

Operations such as create/delete/extend volume/snapshot use locking on a per-process basis to prevent multiple threads from modifying qcow2 chains or the snapshot .info file simultaneously.

VERSION = '1.3.0'
backup_volume(context, backup, backup_service)

Create a new backup from an existing volume.

Allow a backup to occur only if no snapshots exist. Check both Cinder and the file on-disk. The latter is only a safety mechanism to prevent further damage if the snapshot information is already inconsistent.

check_for_setup_error()

Just to override parent behavior.

create_export(ctx, volume, connector)

Exports the volume.

create_volume(inst, *args, **kwargs)
delete_volume(inst, *args, **kwargs)
do_setup(context)

Any initialization the volume driver does while starting.

driver_prefix = 'glusterfs'
driver_volume_type = 'glusterfs'
ensure_export(ctx, volume)

Synchronously recreates an export for a logical volume.

extend_volume(inst, *args, **kwargs)
initialize_connection(inst, *args, **kwargs)
remove_export(ctx, volume)

Removes an export for a logical volume.

terminate_connection(volume, connector, **kwargs)

Disallow connection from connector.

validate_connector(connector)
volume_backend_name = 'GlusterFS'

Previous topic

The cinder.volume.drivers.fujitsu.eternus_dx_iscsi Module

Next topic

The cinder.volume.drivers.hgst Module

Project Source

This Page