rackerlabs / genestack

Where Flex cloud brings infrastructures to where you are.
https://docs.rackspacecloud.com/
Apache License 2.0
29 stars 32 forks source link

Add support for iscsi multipath #311

Closed timolow closed 4 months ago

timolow commented 4 months ago

Adding support for multipath and iscsi

timolow commented 4 months ago

Can we make the iscsid changes conditional if iscsi is required, ie depending on a override. I also recall that the iqn name is also not configured consistently depending on OS and version so we should set one also

iscsi and multipath ship with default qcow2 images of ubuntu, this play will enable and start existing packages. I included the install bit in case those packages are not there already, turning them on wont harm any operations.

for the iqn, the name is configured to be generated on first start of iscsid service: root@ubuntu-jammy-22:~# cat /etc/iscsi/initiatorname.iscsi GenerateName=yes

BjoernT commented 4 months ago

Can we make the iscsid changes conditional if iscsi is required, ie depending on a override. I also recall that the iqn name is also not configured consistently depending on OS and version so we should set one also

iscsi and multipath ship with default qcow2 images of ubuntu, this play will enable and start existing packages. I included the install bit in case those packages are not there already, turning them on wont harm any operations.

for the iqn, the name is configured to be generated on first start of iscsid service: root@ubuntu-jammy-22:~# cat /etc/iscsi/initiatorname.iscsi GenerateName=yes

Sure but I would not like to have services enabled I don't use from a security perspective and long term we also look at multi distro support down the road so I would appreciate the flexibility