iscsi connector #6

Supports: bionic focal
Add to new model

Description

The ISCSI Connector charm is an open-source charm that can be installed as a subordinate to any VM or baremetal machine. It configures the node to connect to a specific ISCSI target.


None

Configuration

discovery-and-login
(boolean) If set to True (default), the charm will configure the iscsid.conf and multipathd.conf configuration files, and then run a iscsiadm discovery and login against the target. If set to False, the charm will simply configure the unit but not run the discovery and login against the target.
True
initiator-dictionary
(string) 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-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) 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'.
Yes
iscsi-node-session-scan
(string) 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'.
auto
iscsi-node-startup
(string) Startup setting for sessions. Either 'automatic' or 'manual'
automatic
multipath-conf-devices
(string) In multipath.conf, add a device specific configuration. String should be of json dictionary format. Example: value : '{"vendor":"PURE","product": "FlashArray","fast_io_fail_tmo": "10", "path_grouping_policy":"group_by_prio"}' will produce this configuration: device { vendor "PURE" product "FlashArray" fast_io_fail_tmo 10 path_grouping_policy "group_by_prio" }
port
(string) ISCSI target port
target
(string) ISCSI target IP