Activity log for bug #2056187

Date Who What changed Old value New value Message
2024-03-05 13:26:29 Alexsander de Souza bug added bug
2024-03-05 13:27:03 Alexsander de Souza bug task added open-iscsi (Ubuntu)
2024-03-05 13:35:37 Launchpad Janitor initramfs-tools (Ubuntu): status New Confirmed
2024-03-05 13:35:37 Launchpad Janitor open-iscsi (Ubuntu): status New Confirmed
2024-03-06 12:43:54 Benjamin Drung attachment added 0001-Fix-configuring-BOOTIF-when-using-iSCSI.patch https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2056187/+attachment/5753358/+files/0001-Fix-configuring-BOOTIF-when-using-iSCSI.patch
2024-03-06 12:44:25 Benjamin Drung initramfs-tools (Ubuntu): importance Undecided High
2024-03-06 12:44:29 Benjamin Drung initramfs-tools (Ubuntu): status Confirmed Triaged
2024-03-06 12:44:38 Benjamin Drung open-iscsi (Ubuntu): status Confirmed Invalid
2024-03-06 16:15:14 Ubuntu Foundations Team Bug Bot tags patch
2024-03-07 02:27:15 Fabio Augusto Miranda Martins bug added subscriber Fabio Augusto Miranda Martins
2024-03-07 17:01:47 Benjamin Drung initramfs-tools (Ubuntu): status Triaged Fix Committed
2024-03-11 12:48:45 Benjamin Drung nominated for series Ubuntu Jammy
2024-03-11 12:48:45 Benjamin Drung bug task added initramfs-tools (Ubuntu Jammy)
2024-03-11 12:48:45 Benjamin Drung bug task added open-iscsi (Ubuntu Jammy)
2024-03-13 21:43:13 Ubuntu Archive Robot bug added subscriber Benjamin Drung
2024-03-15 09:49:40 Launchpad Janitor merge proposal linked https://code.launchpad.net/~vanvugt/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/462481
2024-03-15 09:57:26 Daniel van Vugt merge proposal unlinked https://code.launchpad.net/~vanvugt/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/462481
2024-03-18 17:34:15 Benjamin Drung description we have a bad interaction between initramfs-tools and open-iscsi, resulting in the boot interface not being configured. when the iscsi has a static address, the script `local-top/iscsi` from open-iscsi creates a /run/net-$DEVICE.conf file for the iscsi interface. The existence of this file makes configure_networking() skip configuring the BOOTIF later due to this code in `scripts/functions`: for x in /run/net-"${DEVICE}".conf /run/net-*.conf ; do if [ -e "$x" ]; then IP=done break fi done [ Impact ] * MAAS cannot PXE-boot a machine that has iSCSI disks * Focal is the default Ubuntu distribution deployed by MAAS, so we should back-port this to ensure it works out-of-the-box. [ Test Plan ] * reproducing this issue requires a machine with iSCSI disks (Cisco UCS Manager in the original report), and a MAAS controller (3.4 or better) * the issue can be observed by simply enlisting the machine in MAAS. It will fail to boot due to the missing BOOTIF configuration. [ Where problems could occur ] * the problematic code was an attempt to fix LP#2037202, so we should watch out for regressions. [ Original report ] we have a bad interaction between initramfs-tools and open-iscsi, resulting in the boot interface not being configured. when the iscsi has a static address, the script `local-top/iscsi` from open-iscsi creates a /run/net-$DEVICE.conf file for the iscsi interface. The existence of this file makes configure_networking() skip configuring the BOOTIF later due to this code in `scripts/functions`:         for x in /run/net-"${DEVICE}".conf /run/net-*.conf ; do             if [ -e "$x" ]; then                 IP=done                 break             fi         done
2024-03-18 17:36:04 Benjamin Drung attachment added initramfs-tools_0.140ubuntu13.5.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2056187/+attachment/5756863/+files/initramfs-tools_0.140ubuntu13.5.debdiff
2024-03-18 20:22:05 Benjamin Drung nominated for series Ubuntu Focal
2024-03-18 20:22:05 Benjamin Drung bug task added initramfs-tools (Ubuntu Focal)
2024-03-18 20:22:05 Benjamin Drung bug task added open-iscsi (Ubuntu Focal)
2024-03-19 12:10:54 Benjamin Drung attachment added initramfs-tools_0.140ubuntu13.5_v2.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2056187/+attachment/5757173/+files/initramfs-tools_0.140ubuntu13.5_v2.debdiff
2024-03-19 12:23:30 Benjamin Drung attachment added initramfs-tools_0.136ubuntu6.8.debdiff https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2056187/+attachment/5757181/+files/initramfs-tools_0.136ubuntu6.8.debdiff
2024-03-27 17:59:27 Launchpad Janitor initramfs-tools (Ubuntu): status Fix Committed Fix Released
2024-04-03 06:36:34 Chris Halse Rogers initramfs-tools (Ubuntu Jammy): status New Fix Committed
2024-04-03 06:36:37 Chris Halse Rogers bug added subscriber Ubuntu Stable Release Updates Team
2024-04-03 06:36:39 Chris Halse Rogers bug added subscriber SRU Verification
2024-04-03 06:36:45 Chris Halse Rogers tags patch patch verification-needed verification-needed-jammy
2024-04-03 06:47:18 Chris Halse Rogers initramfs-tools (Ubuntu Focal): status New Fix Committed
2024-04-03 06:47:28 Chris Halse Rogers tags patch verification-needed verification-needed-jammy patch verification-needed verification-needed-focal verification-needed-jammy