booting with multiple nics broken due to ip=::::hostname

Bug #1052660 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned

Bug Description

my changes for kernel cmdline cleanup changed:
 ip=dhcp
to
 ip=::::<hostname>

caused issue if there were multiple network interfaces. The new format tries to bring up all avialable interfaces.

The short fix here is to just do:
 ip=::::<hostname>:eth0

However, then we're hard-coding the device name, and nothing is going to cause BOOTIF to be eth0. AFAIK, there is no way to do effectively:
 ip=::::<hostname>:BOOTIF

http://www.cctech.sk/doc/packages/udev/README.klibc.ipconfig

Related branches

Revision history for this message
Scott Moser (smoser) wrote :

I'm reverting to:
   ip=dhcp
because that ends up doing:
 ipconfig -t ${ROUNDTTT} -c ${IP} -d "${DEVICE}"

where DEVICE the device that maps to BOOTIF.

We had moved to 'ip=:::<hostname>' because ipconfig in the kernel then uses 'hostname' in its dhcp request. The end result being that maas can send such a thing on the cmdline, and then ddns would magically know about the system (bug 1046405).

Changed in maas:
status: New → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
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.