[Bug 1300026] [NEW] Enlistment/commissioning boot no longer works
Jeroen T. Vermeulen
1300026 at bugs.launchpad.net
Mon Mar 31 06:17:15 UTC 2014
Public bug reported:
In my MAAS test setup, nodes now fail to enlist or commission. They
used to work, I think before we changed to the new import script.
Both for enlistment and commissioning the nodes netboot properly, as far
as I can see, but they fail to do what they booted for. They never
contact the region controller API, and don't rsyslog.
Here's what I see on the console:
«
Begin: loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: running /scripts/local-top ... [ 16.420144] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
IP-Config: eth0 hardware address 00:1e:0b:a2:c9:c7 mtu 1500 DHCP RARP
IP-Config: no response after 2 secs - giving up
[ 18.548882] e1000e: eth0 NIC Link is up 1000 Mbps Full Duplex. Flow Control: Rx/Tx
[ 18.549039] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IP-Config: eth0 hardware address 00:1e:0b:a2:c9:c7 mtu 1500 DHCP RARP
hostname maas-enlist hostname maas-enlist IP-Config: eth0 complete (dhcp from 10.99.99.1):
address: 10.99.99.100 broadcast: 10.99.99.255 netmask: 255.255.255.0
gateway: 10.99.99.1 dns0 : 10.99.99.1 dns : 0.0.0.0
domain: maas
rootserver: 10.99.99.1 rootpath:
filename: :
[ 19.637333] Loading iSCSI transport class v2.0-870.
[ 19.644738] iscsi: registered transport (tcp)
iscsistart: Logging into iqn.2004.05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily 10.99.99.1:3260,1
iscsistart: version 2.0-873
[ 19.899127] scsi6 : iSCSI Initiator over TCP/IP
[ 37.100041] random: nonblocking pool is initialized
[ 169.948039] session1: session recovery timed out after 120 secs
iscsistart: Connection1:0 to [target: iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily, portal: 10.99.99.1,3260] through [iface: default] is shutdown.
iscsistart: initiator reported error(11 - iSCSI PDU timed out)
iscsistart: Logging into iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily 10.99.99.1:3260,1
iscsistart: version 2.0-873
[ 921.584828] scsi7 : iSCSI Initiator over TCP/IP
[ 1072.348035] session2: session recovery timed out after 120 secs
»
Eventually it drops me into a busybox-style shell. There's some lspci-
style output, followed by:
«
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-path/ip-10.99.99.1:3260-iscsi-iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily-lun-1 does not exist. Dropping to a shell!
»
Here's what I get from /proc/cmdline:
«
(initramfs) cat /proc/cmdline
nomodeset iscsi_target_name=iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily iscsi_target_ip=10.99.99.1 iscsi_target_port=3260 iscsi_initiator=maas-enlist ip=::::maas-enlist:BOOTIF ro root=/dev/disk/by-path/ip-10.99.99.1:3260-iscsi-iqn.2004-05.com.ubuntu:maas:ephemeral-amd64-generic-trusty-daily-lun-1 overlayroot=tmpfs cloud-config-url=http://10.99.99.1/MAAS/metadata/latest/enlist-preseed/?op=get_enlist_preseed log_host=10.99.99.1 log_port=514 initrd=amd64/generic/trusty/daily/boot-initrd BOOT_IMAGE=amd64/generic/trusty/daily/boot-kernel BOOTIF=01-00-1e-0b-a2-c9-c7
»
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1300026
Title:
Enlistment/commissioning boot no longer works
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1300026/+subscriptions
More information about the Ubuntu-server-bugs
mailing list