The thing is I'd not necessarily expect the path to be stable; as I said in
comment 2, I'd expect the iqn to be
stable, but I wouldn't bet on the IP of the SAN staying stable - it's normal
for a SAN to have multiple IPs for multiple controllers
etc, and by the magic of multipath stuff often moves around.
Your line of:
"ro root=/dev/disk/by-path/ip-%s:%s-iscsi-%s-lun-1" % (
params.fs_host, "3260", tname
is thus OK if the IP address %s is expanded inside the initramfs at boot
time to see where it's connection is currently coming from, but it's not
safe if that expansion is done when the initramfs is built; and I don't
understand the python or the script your modifying to know which of
those happens.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1075313
Title:
no reliable way to boot from iscsi root
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1075313/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs