The cinder.volume.drivers.glusterfs Module

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

Bases: cinder.volume.drivers.remotefs.RemoteFSSnapDriverDistributed, 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.

CI_WIKI_NAME = 'Cinder_Jenkins'
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(*a, **k)

Creates a volume.

delete_volume(*a, **k)

Deletes a logical volume.

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(*a, **k)
initialize_connection(*a, **k)

Allow connection to connector and return connection info.

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.fusionstorage.fspythonapi Module

Next topic

The cinder.volume.drivers.hgst Module

This Page