storage-connector

  • Canonical BootStack Charmers
Channel Revision Published Runs on
latest/stable 13 01 Nov 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/stable 0 26 Aug 2021
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/candidate 13 01 Nov 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/edge 13 01 Nov 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
juju deploy bootstack-charmers-storage-connector
Show information

Platform:

Ubuntu
22.04 20.04 18.04

Learn about configurations >

  • enable-auto-restarts | boolean

    Allow the charm and packages to restart services automatically when required.

  • fc-lun-alias | string

    Default: data1

    LUN alias to give to the WWID for the mapping of the device. It is used in the path of the new mounted device, i.e /dev/mapper/<FC-LUN-ALIAS>.

  • initiator-dictionary | string

    Default: {}

    Dictionary of hostnames (FQDN) and initiator names, surrounded by single quotes. The charm compares the machine hostname to the list, and provide the correct initiator associated to it. If not defined, the initiator name will be provided randomly. Format : '{"hostname1": "iqn.yyyy-mm.naming-authority:uniquename1", "hostname2": "iqn.yyyy-mm.naming-authority:uniquename2}'

  • iscsi-discovery-and-login | boolean

    Default: True

    If set to True (default) and storage-type is iscsi, the charm will run an iscsiadm discovery and login against the target after charm-managed iscsi services restart (triggered by either config changes or by the restart-services action). If set to False, the charm will not automatically run the discovery and login against the target.

  • iscsi-node-session-auth-authmethod | string

    Authentication method (CHAP or None). Default is None.

  • iscsi-node-session-auth-password | string

    CHAP password for initiator authentication by the target

  • iscsi-node-session-auth-password-in | string

    CHAP password for target authentication by the initiator

  • iscsi-node-session-auth-username | string

    CHAP username for initiator authentication by the target

  • iscsi-node-session-auth-username-in | string

    CHAP username for target authentication by the initiator

  • iscsi-node-session-iscsi-fastabort | string

    Default: Yes

    Some targets like IET prefer after an initiator has sent a task management function like an ABORT TASK or LOGICAL UNIT RESET, that it does not respond to PDUs like R2Ts. To enable this behavior, set this config option to 'Yes'. To disable it, set it to 'No'.

  • iscsi-node-session-scan | string

    Default: auto

    Automatic scans are performed on startup, on login, and on AEN/AER reception on devices supporting it. To prevent doing automatic scans that would add unwanted luns to the system, set to 'manual'. Default is 'auto'.

  • iscsi-node-startup | string

    Default: automatic

    Startup setting for sessions. Either 'automatic' or 'manual'

  • iscsi-port | string

    ISCSI target port

  • iscsi-target | string

    ISCSI target IP

  • multipath-blacklist | string

    In multipath config, add a blacklist device section to exclude local disks from being handled by multipath-tools. It is possible to blacklist by vendor/product, by devnode or WWID. String should be of JSON dictionary format. Double quotes are essential to the correct format of this JSON string. Example: value: '{"vendor": "QEMU", "product": ""}' Which will produce this configuration: blacklist { device { vendor "QEMU" product "" } }

  • multipath-defaults | string

    Default: {"user_friendly_names": "yes"}

    In multipath config, sets the defaults configuration. String should be of JSON dictionary format. Double quotes are essential to the correct format of this JSON string. Example: value : '{"user_friendly_names":"yes", "find_multipaths":"yes", "polling_interval":"10"}' Which will produce this configuration: defaults { user_friendly_names yes find_multipaths yes polling_interval 10 }

  • multipath-devices | string

    In multipath config, add a device specific configuration. String should be of JSON dictionary format. Double quotes are essential to the correct format of this JSON string. Example: value : '{"vendor":"PURE","product": "FlashArray","fast_io_fail_tmo": "10", "path_grouping_policy":"group_by_prio"}' Which will produce this configuration: device { vendor "PURE" product "FlashArray" fast_io_fail_tmo 10 path_grouping_policy "group_by_prio" }

  • nagios_context | string

    Default: juju

    A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • nagios_multipath_paths_per_volume | int

    Default: 4

    Number of expected paths per volume. Any number other than this will raise a CRITICAL nagios alert.

  • storage-type | string

    Default: None

    Type of storage connection. Can either be "iscsi" or "fc" for fibre channel. The storage type cannot be changed after deployment.