[Bug 1677726] [NEW] snapshots of cloud images will share an iSCSI initiator name
Nish Aravamudan
nish.aravamudan at canonical.com
Thu Mar 30 20:08:15 UTC 2017
Public bug reported:
After fixing LP: #1444992, smoser pointed out that there is still a gap
if a cloud-image is booted and then the once-run instance is used as a
template for future instances, as the iSCSI initiator name has been
generated.
>From IRC:
11:35 < smoser> nacc, there is 'machine-id' which is systemd's attempt at something pretty similar to what an instance-id woudl provide.
11:38 < nacc> smoser: ah so we could, in theory, store /etc/machine-id in the initiatorname.iscsi file (in a comment) and say it only applies to that config. then on startup
in the script, check if /etc/machine-id matches what's in the iscsi initiator file and leave it if so, re-gen otherwise?
11:41 < smoser> yeah, tahts kind of what i was suggesting.
11:41 < smoser> that doesnt really fix the issue of having to clean though
** Affects: cloud-images
Importance: Undecided
Status: New
** Affects: open-iscsi (Ubuntu)
Importance: Undecided
Status: New
** Also affects: cloud-images
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1677726
Title:
snapshots of cloud images will share an iSCSI initiator name
Status in cloud-images:
New
Status in open-iscsi package in Ubuntu:
New
Bug description:
After fixing LP: #1444992, smoser pointed out that there is still a
gap if a cloud-image is booted and then the once-run instance is used
as a template for future instances, as the iSCSI initiator name has
been generated.
From IRC:
11:35 < smoser> nacc, there is 'machine-id' which is systemd's attempt at something pretty similar to what an instance-id woudl provide.
11:38 < nacc> smoser: ah so we could, in theory, store /etc/machine-id in the initiatorname.iscsi file (in a comment) and say it only applies to that config. then on startup
in the script, check if /etc/machine-id matches what's in the iscsi initiator file and leave it if so, re-gen otherwise?
11:41 < smoser> yeah, tahts kind of what i was suggesting.
11:41 < smoser> that doesnt really fix the issue of having to clean though
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1677726/+subscriptions
More information about the foundations-bugs
mailing list