[Bug 1444992] Re: fastpath install duplicates iSCSI initiator names, blocking iSCSI HW
Nish Aravamudan
nish.aravamudan at canonical.com
Fri Mar 31 00:02:11 UTC 2017
Note that even with this fix, end users if they use their own image based off
an instance that used a cloud image to start will probably trigger: https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1677726.
I am thinking we should revisit the overall design a bit and ensure that
behavior makes sense and is necessary for all use cases. I'll try and
set something up but will follow-up in the other bug, FYI.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1444992
Title:
fastpath install duplicates iSCSI initiator names, blocking iSCSI HW
Status in cloud-images:
New
Status in curtin:
Triaged
Status in MAAS:
Triaged
Status in maas-images:
Triaged
Status in livecd-rootfs package in Ubuntu:
Fix Released
Bug description:
When using fastpath install, each host is given an identical iSCSI
initiator name. This does not happen with Debian install mode. The
result is HW SANs that use iSCSI get confused. This is an actual
customer/partner issue at present.
It would appear to be fallout of the image based approach to installation.
The /etc/iscsi/initiatorname.iscsi file contains something like:
## DO NOT EDIT OR REMOVE THIS FILE!
## If you remove this file, the iSCSI daemon will not start.
## If you change the InitiatorName, existing access control lists
## may reject this initiator. The InitiatorName must be unique
## for each iSCSI initiator. Do NOT duplicate iSCSI InitiatorNames.
InitiatorName=iqn.1993-08.org.debian:01:dcafddf1c8b
That is what gets used as the initiator, and is seemingly generated at
package-install time. It needs to be re-created
uniquely per installed host.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1444992/+subscriptions
More information about the foundations-bugs
mailing list