LXD bootstrap issues on xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
High
|
Stéphane Graber |
Bug Description
I'm using lxd with zfs block storage on xenial, and having issues with trusty containers. I've witnessed this problem when trying to bootstrap as well as after rebooting the host and a container failed to start.
In the latter case, the container that failed to start was the juju controller:
c@mawhrin-
+------
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------
| juju-5f4bd172-
+------
| juju-5f4bd172-
+------
| juju-5f4bd172-
+------
| juju-5f4bd172-
+------
| juju-5f4bd172-
+------
| juju-5f4bd172-
+------
| juju-5f4bd172-
+------
| juju-5f4bd172-
| | | 10.0.4.1 (lxcbr0) | | | |
+------
I manually started it, but found that no upstart services were started. Remembering this thread, https:/
root@juju-
mount: permission denied
mountall: mount /sys/kernel/debug [187] terminated with status 32
mountall: Filesystem could not be mounted: /sys/kernel/debug
The problem persists if I stop and start the container. If I remount /sys/kernel/debug on the host, then stop and start the container, upstart succeeds and the juju controller starts up.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-8-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: MATE
Date: Tue Mar 1 10:52:45 2016
EcryptfsInUse: Yes
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-02-28 (2 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
MachineType: LENOVO 2306CTO
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.156
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/22/2014
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ETA1WW (2.61 )
dmi.board.
dmi.board.name: 2306CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2306CTO
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
affects: | linux (Ubuntu) → lxd (Ubuntu) |
Changed in lxd (Ubuntu): | |
assignee: | nobody → Stéphane Graber (stgraber) |
status: | Incomplete → Fix Committed |
I also confirmed that the mountall error message was duplicated every time I restarted the machine-0 container -- until remounting on the host.