[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-04-06 Thread Benjamin Drung
clevis/18-1ubuntu1 ran into a timeout. I retried the test. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To manage notifications about

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-04-03 Thread Chris Halse Rogers
Hello Alexsander, or anyone else affected, Accepted initramfs-tools into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/initramfs- tools/0.136ubuntu6.8 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-04-03 Thread Chris Halse Rogers
Hello Alexsander, or anyone else affected, Accepted initramfs-tools into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/initramfs- tools/0.140ubuntu13.5 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-27 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.142ubuntu23 --- initramfs-tools (0.142ubuntu23) noble; urgency=medium [ Daniel van Vugt ] * hooks/framebuffer: Only add simple/tiny framebuffer drivers. This is to limit the size of initrd when FRAMEBUFFER=y is soon

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-19 Thread Benjamin Drung
And here is the diff for focal (which I also tested in my PPA). ** Patch 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 -- You received this bug

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-19 Thread Benjamin Drung
Updated jammy patch to include the increased timeout on arm64/armhf from the upcoming 0.142ubuntu23 release. ** Patch added: "initramfs-tools_0.140ubuntu13.5_v2.debdiff"

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-18 Thread Benjamin Drung
** Also affects: initramfs-tools (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: open-iscsi (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-18 Thread Benjamin Drung
Attached the uploaded diff for jammy. Besides the few lines changed in scripts/functions I backported the improvements of the autopkgtest to increase the test coverage and to test on all architectures. See https://code.launchpad.net/~ubuntu-core-dev/ubuntu/+source/initramfs-

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-15 Thread Daniel van Vugt
** Merge proposal unlinked: https://code.launchpad.net/~vanvugt/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/462481 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title:

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-15 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~vanvugt/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/462481 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title:

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-11 Thread Victor Sartori
nice! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To manage notifications about this bug go to:

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-11 Thread Alexsander de Souza
I think you can continue with your current kernel. We should back-port this to all LTS -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-11 Thread Victor Sartori
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To manage notifications about this bug go to:

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-11 Thread Victor Sartori
Something I forgot to mention, and it may be relevant after seeing the comment above: I'm using the HWE kernel for Jammy. Is it better to rollback to Focal with the default kernel? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-11 Thread Alexsander de Souza
[ 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

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-11 Thread Victor Sartori
Definitely, I'm doing something very wrong. I deployed a new VM (VMware) through MaaS, using the original initrd. Applied the patch and did the same things I mentioned in my comment above. This time, the keyboard does not work (seems to be stuck; I'm not able to scroll up to see what happens).

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-11 Thread Benjamin Drung
** Also affects: initramfs-tools (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: open-iscsi (Ubuntu Jammy) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-08 Thread Victor Sartori
Bingo! I'm running this on my host. Yes, the problem was solved. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To manage notifications

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-08 Thread Alexsander de Souza
did you execute this procedure in your host? or in a VM deployed by MAAS? if you did the former, I think your initrd doesn't have the support to netboot from squashfs images. anyway, if you can confirm that we got past the original issue, I think it's enough to merge this. -- You received this

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-08 Thread Victor Sartori
Hello all, I'm currently testing a patch to generate an initrd image for MAAS with partial success. The fix for the network is working well. However, when attempting to start a server via PXE using MAAS, strange errors are raised: Warning: Type of the root file system is unknown, so skipping

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-07 Thread Fabio Augusto Miranda Martins
It seems 0.142ubuntu19 would be exposed to the bug. To test whether or not my use case would be affected by it, I've booted a Jammy instance with initramfs-tools 0.142ubuntu19, and I can't hit the problem. It is booting well through iscsi. My cmdline is as below, so it might not be exposed to the

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-07 Thread Benjamin Drung
** Changed in: initramfs-tools (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To manage

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-07 Thread Fabio Augusto Miranda Martins
I've tested launching a Oracle Cloud baremetal instance (which boots from iSCSI) using such patch, and all worked well: https://pastebin.ubuntu.com/p/3cdFdYBVFG/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-06 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To manage notifications about this bug go to:

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-06 Thread Benjamin Drung
Please test the attached patch. (My initial patch was shorter. It was using grep but grep is only available in the initramfs when using busybox). ** Patch added: "0001-Fix-configuring-BOOTIF-when-using-iSCSI.patch"

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-05 Thread Benjamin Drung
So BOOTIF is set which should translate to DEVICE being set. Let me come up with a patch. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-05 Thread Alexsander de Souza
network interfaces: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000\link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp6s0: mtu 9000 qdisc mq state UP mode DEFAULT group default qlen 1000\link/ether 00:25:b5:21:a5:2c brd ff:ff:ff:ff:ff:ff

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-05 Thread Alexsander de Souza
BOOT_IMAGE=http://10.107.72.10:5248/images/ubuntu/amd64/hwe-22.04/jammy/stable/boot- kernel nomodeset ro root=squash:http://10.107.72.10:5248/images/ubuntu/amd64/hwe-22.04/jammy/stable/squashfs ip=crack-gnu:BOOTIF:dhcp ip6=off overlayroot=tmpfs overlayroot_cfgdisk=disabled

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-05 Thread Benjamin Drung
Commit 4e7e25c4f ("configure_networking: move the "are we done" check to end of loop body") from 0.142ubuntu15 allows this bug to appear. This patch was for fixing bug #2037202. Can you provide the content of /proc/cmdline? -- You received this bug notification because you are a member of

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-05 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: open-iscsi (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title:

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-05 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: initramfs-tools (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187

[Bug 2056187] Re: fails to configure BOOTIF when using iscsi

2024-03-05 Thread Alexsander de Souza
original Discourse thread: https://discourse.maas.io/t/maas-cisco-ucs- iscsi/7942 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056187 Title: fails to configure BOOTIF when using iscsi To manage