I've verified this change fixes the issue with initramfs mounting iscsi targets
. I did this inside of maas.
* basically set up functional maas with some nodes, and daily images of utopic
imported.
from there
### repro
# get some tools
$ apt-get install cloud-image-utils --no-install-recommends --assume-yes
# find the directory that has the image we're interested in
$ imgd=$(for d in /var/lib/maas/boot-r*/snapshot-*/*/amd64/*/utopic/*; do :;
done; echo $d)
img=${imgd}/root-image
kernel=${imgd}/boot-kernel
initrd=${imgd}/boot-initrd
$ echo $imgd
/var/lib/maas/boot-resources/snapshot-20141210-025929/ubuntu/amd64/hwe-u/utopic/daily
## back some things up
$ for f in $img $kernel $initrd; do [ -f "$f.dist" ] || cp "$f" "$f.dist"; done
## run the 'fix' script attached inside the mounted root-image
$ mount-image-callback --system-resolvconf "$img" \
chroot _MOUNTPOINT_ /bin/bash < fix > update-kernels.tar
## just for reference
$ tar tvf update-kernels.tar
-rw-r--r-- root/root 26262410 2014-12-10 02:54 initrd.img-3.16.0-25-generic
-rw-r--r-- root/root 6402112 2014-12-10 02:54 vmlinuz-3.16.0-25-generic
$ d=$(mktemp -d)
$ tar -C "$d" -xf - < update-kernels.tar
cp $d/initrd* $initrd
** Attachment added: "script run inside mounted image to update it"
https://bugs.launchpad.net/maas/+bug/1391354/+attachment/4277323/+files/fix-image
** Tags removed: verification-failed verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1391354
Title:
Failure to boot ephemeral image for Utopic Fast Installer deployment:
no ID_PATH for iSCSI device any more
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1391354/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs