cinder oceanstor #0

Supports: xenial bionic focal

Description

Cinder is the block storage service for the Openstack project. . This charm provides a oceanstor backend for Cinder


Overview

Apache 2.0 License

This is the base layer for all reactive Charms. It provides all of the standard Juju hooks and starts the reactive framework when these hooks get executed. It also bootstraps the charm-helpers and charms.reactive libraries, and all of their dependencies for use by the Charm.

Usage

Go read the layer-basic documentation for more info on how to use this layer. It is now hosted together with the charms.reactive documentation in order to reduce the amount of places a charmer needs to search for info.


Configuration

alua
(int) 0: Huawei UltraPath (default value) 1: third-party multipathing software
1
enforce-multipath-image-xfer
(boolean) If this is set to True, attachment of volumes for image transfer will be aborted, when multipathd is not running. Otherwise, it will fallback to single path.
True
failovermode
(int) Initiator switchover mode. This parameterneeds to be delivered only when third-party multipathing software is used. 0: early-version ALUA 1: common ALUA 2: ALUA not used 3: special ALUA
1
fchostname
(string) Regular expression of the Nova or Cinder node host name "Host[0-9]" or "*" or "compute.*" for example
hypermetro
(boolean) This parameter describes, whether the HyperMetro sync is enabled on the driver side or not. Prior to enabling this option in the charm, the HyperMetro domain should be configured on the storage array side.
hypersyncspeed
(int) HyperMetro pair synchronization speed. The value can be 1 (low speed), 2 (mediumspeed), 3 (high speed), or 4 (highest speed).
3
iscsidefaulttargetip
(string) Default IP address of the iSCSI target that is provided for compute nodes.
iscsiinitiators
(string) List of iSCSI initiators names, separated by the semicolons. Can be acquired from the /etc/iscsi/initiatorname.iscsi on the compute host.
iscsiportgroupname
(string) Port Group name on the storage array side. This has to be configured in order to use the iSCSI multipathing.
lunclonemode
(string) LUN clone mode. The value can be fastclone or luncopy. Only Dorado supports fastclone. Dorado V300R001C20 and later versions support luncopy. Other storage devicessupport only luncopy
fastclone
luncopyspeed
(int) LUN copy speed. The value can be 1 (low speed), 2 (mediumspeed), 3 (high speed), or 4 (highest speed)
3
luntype
(string) Type of the LUNs to be created. The value can be Thick or Thin. Dorado series only support Thin LUNs.
Thin
metrodomain
(string) Hypermetro domain name
domain
pathtype
(int) Initiator path type. This parameter needs to be delivered only when third-party multipathing software is used. 0: optimal path 1: non-optimal path
product
(string) Type of a storage product. Possible values are TV2, 18000, V3 and Dorado.
Dorado
protocol
(string) Type of a connection protocol. The possible value is either 'iSCSI' or 'FC'.
iSCSI
resturl
(string) Access address of the REST interface, https://x.x.x.x/devicemanager/rest/. The value x.x.x.x indicates the management IP address. OceanStor 18000 uses the preceding setting, and V2 and V3 requires you to add port number 8088, for example, https://x.x.x.x:8088/deviceManager/rest/. If you need to configure multiple RestURL, separate them by semicolons (;).
storagepool
(string) Name of a storage pool to be used. Multiple pools are allowed, separated by the semicolons (;).
use-multipath-for-image-xfer
(boolean) Determines, whether a volume attach/detach in cinder will happen using multipath for volume to image and image to volume transfers.
True
username
(string) User name of a storage administrator.
userpassword
(string) Password of a storage administrator.
volume-backend-name
(string) Service name to present to Cinder
oceanstor
vstorename
(string) Vstore name
store