xenial containers on trusty host need lxc packages from trusty-backports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
High
|
Unassigned | ||
juju-core |
Expired
|
Undecided
|
Unassigned | ||
1.25 |
Expired
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce with Juju 1.25.5, given an environments.yaml with default-series: trusty. Reproduced on MAAS 1.9.2.
$ juju bootstrap
# wait for it to finish, noting we have a Trusty machine
$ juju deploy cs:xenial/ubuntu --to lxc:0
Note that we're stuck allocating the container, "Waiting for agent initialization to finish".
Looking on the machine in the console log of the Xenial template container, we can see
"
Failed to mount cgroup at /sys/fs/
[!!!!!!] Failed to mount API filesystems, freezing.
Freezing execution.
"
This is because lxc needs to be installed from trusty-backports. By tearing down the failed attempts, killing the stuck template container then
"sudo apt install -t trusty-backports lxc lxc-templates"
and trying the deploy again, it worked successfully.
See bug 1590547 for why you need to explicitly install lxc-templates
Upstream issue: https:/
tags: | added: cdo-qa-blocker |
description: | updated |
tags: | removed: kanban-cross-team |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.0.0 |
Changed in juju: | |
status: | Triaged → Invalid |
Changed in juju: | |
milestone: | 2.0.0 → none |
Changed in juju-core: | |
status: | Won't Fix → Triaged |
importance: | High → Critical |
Changed in juju-core: | |
milestone: | none → 1.25.11 |
Changed in juju-core: | |
status: | Triaged → Incomplete |
importance: | Critical → Undecided |
milestone: | 1.25.11 → none |
tags: | added: sts |
Also this one: https:/ /bugs.launchpad .net/juju/ +bug/1656027