The cinder.volume.drivers.storpool Module

The cinder.volume.drivers.storpool Module

StorPool block device driver

class StorPoolDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

The StorPool block device driver.

Version history:

0.1.0   - Initial driver
0.2.0   - Bring the driver up to date with Kilo and Liberty:
          - implement volume retyping and migrations
          - use the driver.*VD ABC metaclasses
          - bugfix: fall back to the configured StorPool template
1.0.0   - Imported into OpenStack Liberty with minor fixes
1.1.0   - Bring the driver up to date with Liberty and Mitaka:
          - drop the CloneableVD and RetypeVD base classes
          - enable faster volume copying by specifying
            sparse_volume_copy=true in the stats report
1.1.1   - Fix the internal _storpool_client_id() method to
          not break on an unknown host name or UUID; thus,
          remove the StorPoolConfigurationMissing exception.
1.1.2   - Bring the driver up to date with Pike: do not
          translate the error messages
1.2.0   - Inherit from VolumeDriver, implement get_pool()
1.2.1   - Implement interface.volumedriver, add CI_WIKI_NAME,
          fix the docstring formatting
1.2.2   - Reintroduce the driver into OpenStack Queens,
          add ignore_errors to the internal _detach_volume() method
CI_WIKI_NAME = 'StorPool_CI'
VERSION = '1.2.1'
backup_volume(context, backup, backup_service)
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, connector)
create_volume_from_snapshot(volume, snapshot)
ensure_export(context, volume)
extend_volume(volume, new_size)
initialize_connection(volume, connector)
remove_export(context, volume)
retype(context, volume, new_type, diff, host)
terminate_connection(volume, connector, **kwargs)
update_migrated_volume(context, volume, new_volume, original_volume_status)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.