The cinder.volume.drivers.kaminario.kaminario_common Module

The cinder.volume.drivers.kaminario.kaminario_common Module

Volume driver for Kaminario K2 all-flash arrays.

class KaminarioCinderDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

VENDOR = 'Kaminario'
after_volume_copy(*args, **kwargs)
check_for_setup_error(*args, **kwargs)
create_cloned_volume(*args, **kwargs)

Create a clone from source volume.

  • attach source volume
  • create and attach new volume
  • copy data from attached source volume to attached new volume
  • detach both volumes
create_export(context, volume, connector)
create_snapshot(*args, **kwargs)

Create a snapshot from a volume_group.

create_volume(*args, **kwargs)

Volume creation in K2 needs a volume group.

  • create a volume group
  • create a volume in the volume group
create_volume_from_snapshot(*args, **kwargs)

Create volume from snapshot.

  • search for snapshot and retention_policy
  • create a view from snapshot and attach view
  • create a volume and attach volume
  • copy data from attached view to attached volume
  • detach volume and view and finally delete view
delete_snapshot(*args, **kwargs)

Delete a snapshot.

delete_volume(*args, **kwargs)

Volume in K2 exists in a volume group.

  • delete the volume
  • delete the corresponding volume group
do_setup(*args, **kwargs)
ensure_export(context, volume)
extend_volume(*args, **kwargs)

Extend volume.

failover_host(*args, **kwargs)

Failover to replication target.


Return the initiator host name or unique ID.

Unique ID when configuration’s unique_fqdn_network is false will be the reversed IQN/WWPNS.

Valid characters: 0-9, a-z, A-Z, ‘-‘, ‘_’ All other characters are replaced with ‘_’. Total characters in initiator host name: 32


Return the retention policy.


Return the corresponding replication names.


Return the volume name.


Return the snapshot name.


Return the view name.


Return the volume group name.


Return the volume name.

get_volume_stats(*args, **kwargs)
initialize_connection(volume, connector)
k2_initialize_connection(*args, **kwargs)
manage_existing(*args, **kwargs)
manage_existing_get_size(*args, **kwargs)
remove_export(context, volume)
retype(*args, **kwargs)
stats = {}
terminate_connection(*args, **kwargs)

Terminate connection of volume from host.

class Replication(config, *args, **kwargs)

Bases: object

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.