project-new using lxc fails in artful due to symbol lookup error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Attempts to create a new project fail, but calling lxc-create command directly works.
This fails
» mojo project-new django18
2017-11-03 14:05:33 [INFO] Checking django18 project path at /srv/mojo/django18 ... 2017-11-03 14:05:33 [INFO] Checking django18 project container at /var/lib/
2017-11-03 14:05:33 [INFO] Running command: lxc-create -t ubuntu-cloud -n django18.xenial -B dir --dir /srv/mojo/
-release xenial --arch amd64
lxc-create: symbol lookup error: lxc-create: undefined symbol: is_valid_bdev_type
This works
» sudo lxc-create -t ubuntu-cloud -n django18.xenial -B dir --dir /home/codersqui
ubuntu-
wget is /usr/bin/wget
Extracting container rootfs
Parallel unsquashfs: Using 4 processors
28597 inodes (31401 blocks) to write
created 24124 files
created 2893 directories
created 4387 symlinks
created 79 devices
created 0 fifos
/var/lib/
Current default time zone: 'Etc/UTC'
Local time is now: Mon Nov 6 21:11:30 UTC 2017.
Universal Time is now: Mon Nov 6 21:11:30 UTC 2017.
Container django18.xenial created.
Versions of liblxc1 and lxc1
» dpkg -s lxc1
Package: lxc1
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1756
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: lxc
Version: 2.1.0-0ubuntu1
Replaces: lxc (<< 2.0.0~rc2-
Depends: adduser, bridge-utils, dnsmasq-base, iptables, liblxc1 (= 2.1.0-0ubuntu1), python3, python3-lxc (= 2.1.0-0ubuntu1), init-system-helpers (>= 1.18~), libc6 (>= 2.17)
Recommends: libpam-cgfs, lxc-templates (= 2.1.0-0ubuntu1)
Suggests: btrfs-tools, lvm2, lxctl
Breaks: lxc (<< 2.0.0~rc2-
Conffiles:
/etc/default/lxc 8fe199d37e37801
/etc/dnsmasq.
/etc/lxc/
Description: Linux Containers userspace tools
Containers are insulated areas inside a system, which have their own namespace
for filesystem, network, PID, IPC, CPU and memory allocation and which can be
created using the Control Group and Namespace features included in the Linux
kernel.
.
This package provides the lxc-* tools, which can be used to start a single
daemon in a container, or to boot an entire "containerized" system, and to
manage and debug your containers.
Homepage: https:/
» dpkg -s liblxc1
Package: liblxc1
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 766
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: lxc
Version: 2.1.0-0ubuntu1
Replaces: liblxc0, lxc (<< 0.9.0~alpha3-
Provides: liblxc0
Depends: cgroup-lite | systemd, lxc-common (= 2.1.0-0ubuntu1), rsync, libapparmor1 (>= 2.6~devel), libc6 (>= 2.17), libcap2 (>= 1:2.10), libgnutls30 (>= 3.5.0), libseccomp2 (>= 1.0.1), libselinux1 (>= 1.32)
Recommends: lxcfs, uidmap
Breaks: lxc (<< 0.9.0~alpha3-
Conflicts: liblxc0
Description: Linux Containers userspace tools (library)
Containers are insulated areas inside a system, which have their own namespace
for filesystem, network, PID, IPC, CPU and memory allocation and which can be
created using the Control Group and Namespace features included in the Linux
kernel.
.
This package contains the libraries.
Homepage: https:/
Version of mojo snap
mojo 0.4.5 3 kuhlman classic
I'm wondering if the snap has pulled in a conflicting version somehow, but I don't know snaps well enough to say.
https:/ /bazaar. launchpad. net/~mojo- maintainers/ mojo/trunk/ view/head: /snap/snapcraft .yaml#L48
It's got lxc-templates there