Comment 14 for bug 1524898

Revision history for this message
Kashyap Chamarthy (kashyapc) wrote :

Lee points out on IRC (#openstack-nova) that the Ubuntu Xenial machines have a pre-populated 'InitiatorName':

-----
$ wget https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
$ virt-cat -a xenial-server-cloudimg-amd64-disk1.img /etc/iscsi/initiatorname.iscsi
## 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:56aff7b418d
-----

And that it ought to be auto-generated to get a unique name, by providing: "GenerateName=yes" (Source: https://wiki.debian.org/SAN/iSCSI/open-iscsi)