iscsi root without authentication tries to use bogus authentication

Bug #752071 reported by wfaulk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: debian-installer

During installation onto an iscsi root, the user can make a choice to use or not use username/password authentication for the iscsi mount. If no auth is used, and that works for the iscsi target, installation continues normally. However, when booting from the created initrd.img, the iscsi target fails to be mounted properly, generating the error message "encountered non-retryable iscsi login failure". It turns out that the installer creates the file /etc/iscsi/iscsi.initramfs, which includes options for iscsistart, and which is used in creating the initrd.img. In this file, it sets ISCSI_USERNAME, ISCSI_PASSWORD, ISCSI_IN_USERNAME, and ISCSI_IN_PASSWORD all to "(null)" instead of to "", or not setting them at all. Manually fixing iscsi.initramfs and regenerating initrd.img corrects this problem.

Revision history for this message
wfaulk (wfaulk) wrote :

I forgot to mention that this is with the Ubuntu 10.10 Server installation ISO.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.