Somebody else showed up on IRC with similar symptoms, so I've been making progress on this. So far, I've found three underlying problems:
* initramfs-tools' configure_networking function is hardcoded (by means of /etc/initramfs-tools/initramfs.conf) to default to bringing up eth0. partman-iscsi needs to remember which device was configured in netcfg, and open-iscsi needs to make use of that in its initramfs script.
* /etc/udev/rules.d/70-persistent-net.rules is not copied into the initramfs, so network device order in the initramfs is not deterministic. I'm not sure right now whether to do that in open-iscsi or centrally in udev, given that a similar problem is likely to afflict NFS-root and NBD-root cases.
Somebody else showed up on IRC with similar symptoms, so I've been making progress on this. So far, I've found three underlying problems:
* initramfs-tools' configure_ networking function is hardcoded (by means of /etc/initramfs- tools/initramfs .conf) to default to bringing up eth0. partman-iscsi needs to remember which device was configured in netcfg, and open-iscsi needs to make use of that in its initramfs script. rules.d/ 70-persistent- net.rules is not copied into the initramfs, so network device order in the initramfs is not deterministic. I'm not sure right now whether to do that in open-iscsi or centrally in udev, given that a similar problem is likely to afflict NFS-root and NBD-root cases.
* /etc/udev/