[Bug 1639202] Re: Cannot enlist/commission machines in MAAS 2.1 with usb network adapter
Spyderdyne
1639202 at bugs.launchpad.net
Thu Feb 9 03:27:13 UTC 2017
root at juju-rack2:/var/log/maas# maas refresh
root at juju-rack2:/var/log/maas# netstat -untap | grep 3260
tcp 0 0 0.0.0.0:3260 0.0.0.0:* LISTEN 26516/tgtd
tcp6 0 0 :::3260 :::* LISTEN 26516/tgtd
spyderdyne at juju-rack2:~$ service tgt status
‚óè tgt.service - (i)SCSI target daemon
Loaded: loaded (/lib/systemd/system/tgt.service; enabled; vendor preset: enabled)
Active: deactivating (stop-sigterm) (Result: exit-code)
Docs: man:tgtd(8)
Process: 5557 ExecStartPost=/usr/sbin/tgt-admin -e -c /etc/tgt/targets.conf (code=exited, status=22)
Process: 5554 ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v offline (code=exited, status=0/SUCCESS)
Main PID: 5552 (tgtd)
Status: "Starting event loop..."
CGroup: /system.slice/tgt.service
└─5552 /usr/sbin/tgtd -f
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgtd[5552]: tgtd: bs_thread_open(437) stopped the worker thread 4
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgtd[5552]: tgtd: bs_thread_open(437) stopped the worker thread 3
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgtd[5552]: tgtd: bs_thread_open(437) stopped the worker thread 2
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgtd[5552]: tgtd: bs_thread_open(437) stopped the worker thread 1
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgtd[5552]: tgtd: bs_thread_open(437) stopped the worker thread 0
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgt-admin[5557]: tgtadm: out of memory
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgt-admin[5557]: Command:
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgt-admin[5557]: tgtadm -C 0 --lld iscsi --op new --mode logicalunit --ti
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net tgt-admin[5557]: exited with code: 22.
Feb 08 22:25:24 juju-rack2.home.spyderdyne.net systemd[1]: tgt.service: Control process exited, code=exited status=22
Out of memory. Mystery solved. ;)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1639202
Title:
Cannot enlist/commission machines in MAAS 2.1 with usb network adapter
Status in MAAS:
Invalid
Status in maas-images:
Invalid
Status in initramfs-tools package in Ubuntu:
Invalid
Status in linux package in Ubuntu:
Invalid
Bug description:
After upgrade from MAAS 2.0 to MAAS 2.1:
Cannot enlist/commission client machines via network boot (or pre-
staging machine) when using usb-c network adapter D59GG (e.g.
Precision 5510). This was working ok with MAAS 2.0.
Using the Xenial 16.04 base image for enlist/commission (no minimum
kernel set).
Enlist/Commission/Deploy works fine with other laptop and desktop
models which have a built in NIC.
From an already deployed Precision 5510 system (16.04.1) I can see the
following module is loaded when the usb-c adapter is connected (and
working):
$ lsmod
usbnet 45056 1 cdc_ether
Errors received on client during enlisting with MAAS:
no /run/net-bootif.conf
lvmetad is not activated
...invalid path for logical volume.
gave up waiting for root device
common problems: boot args (cat /proc/cmdline)
check rootdelay = (did system wait long enough)
check root = (did the system wait for the right device?)
missing modules (cat /proc/modules)
ALERT! /dev/disk/by-path/ip-<ipaddress>:3260-iscsi-iqn,2004.05.com.ubuntu:maas:ephemeral-ubuntu-amd64-generic-xenial-daily-lun-1 does not exist. Dropping to shell!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
- cat /proc/cmdline shows mac address that of usb-c network adapter.
- cat /proc/modules includes “usbnet 45056 cdc_ether, Live 0xffffffffc009c000”
- cat /proc/modules | grep usb … includes “ usbnet 45056 and usbhid 49152”
I've tried enlisting with older boot image and different kernel versions (14.04 and 16.04 with ga-16.04, hwe-16.04 set) but get the same problem.
It seems like the usb-c network adapter isn't loading properly or
maybe just not quickly enough?
Please let me know if you require any more info. I can provide info
from /var/log/maas/* and dpkg -l '*maas*'|cat if need be.
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1639202/+subscriptions
More information about the foundations-bugs
mailing list