From e5bf43c7911407a652220b70baa5357508ff0244 Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Thu, 31 Mar 2022 18:36:42 -0300 Subject: [PATCH] Add multipath-io element This commits introduces a new element `multipath-io` that should be used when the system contains multipath devices. Change-Id: I52761aecf0e17ed7482897b50a9b64ee514edfbe --- dib/multipath-io/README.md | 6 ++++++ dib/multipath-io/element-deps | 2 ++ dib/multipath-io/package-installs.yaml | 2 ++ dib/multipath-io/static/etc/modules-load.d/iscsi.conf | 9 +++++++++ releasenotes/notes/multipath-0eb6a4f3b2ee22a3.yaml | 6 ++++++ 5 files changed, 25 insertions(+) create mode 100644 dib/multipath-io/README.md create mode 100644 dib/multipath-io/element-deps create mode 100644 dib/multipath-io/package-installs.yaml create mode 100644 dib/multipath-io/static/etc/modules-load.d/iscsi.conf create mode 100644 releasenotes/notes/multipath-0eb6a4f3b2ee22a3.yaml diff --git a/dib/multipath-io/README.md b/dib/multipath-io/README.md new file mode 100644 index 0000000..057dad4 --- /dev/null +++ b/dib/multipath-io/README.md @@ -0,0 +1,6 @@ +============ +multipath-io +============ +Updates the ironic agent, installing multipath and iscsi packages, +and enabling needed modules by default, to execute a modprobe for +the needed drivers before it is started. \ No newline at end of file diff --git a/dib/multipath-io/element-deps b/dib/multipath-io/element-deps new file mode 100644 index 0000000..0bf68f7 --- /dev/null +++ b/dib/multipath-io/element-deps @@ -0,0 +1,2 @@ +install-static +package-installs \ No newline at end of file diff --git a/dib/multipath-io/package-installs.yaml b/dib/multipath-io/package-installs.yaml new file mode 100644 index 0000000..03b5474 --- /dev/null +++ b/dib/multipath-io/package-installs.yaml @@ -0,0 +1,2 @@ +iscsi-initiator-utils: +device-mapper-multipath: \ No newline at end of file diff --git a/dib/multipath-io/static/etc/modules-load.d/iscsi.conf b/dib/multipath-io/static/etc/modules-load.d/iscsi.conf new file mode 100644 index 0000000..f3e12b4 --- /dev/null +++ b/dib/multipath-io/static/etc/modules-load.d/iscsi.conf @@ -0,0 +1,9 @@ +qla4xxx +cxgb3i +cxgb4i +bnx2i +be2iscsi +iscsi_boot_sysfs +iscsi_ibft +iscsi_tcp +target_core_mod \ No newline at end of file diff --git a/releasenotes/notes/multipath-0eb6a4f3b2ee22a3.yaml b/releasenotes/notes/multipath-0eb6a4f3b2ee22a3.yaml new file mode 100644 index 0000000..61ad895 --- /dev/null +++ b/releasenotes/notes/multipath-0eb6a4f3b2ee22a3.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Adds a new element ``multipath-io`` for configuring setups + using multipath. +