[Bug 1600311] Re: Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

2016-07-22 Thread Stéphane Graber
Marking invalid for LXD as we don't support running on kernels without
seccomp support. Upgrading to linux-generic-lts-xenial should fix this
issue for you (confirmed on a test system).

** Changed in: lxd (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600311

Title:
  Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1600311/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1600311] Re: Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

2016-07-18 Thread Anastasia
** Changed in: juju-core
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600311

Title:
  Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1600311/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1600311] Re: Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

2016-07-18 Thread Stéphane Graber
Oh, you said on a trusty host. Then that's your problem.

The release kernel for trusty (3.13) isn't capable of seccomp and so
containers just fail to start.

Upgrade to the 4.4 kernel and things should start working again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600311

Title:
  Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1600311/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1600311] Re: Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

2016-07-18 Thread Matt Bruzek
Since this seems to be a LXD problem please pastebin the following
commands:

sudo lxc list
sudo lxc remote add images images.linuxcontainers.org
sudo lxc launch images:ubuntu/trusty/ppc64el ubuntu-test
sudo lxc list 
sudo lxc stop ubuntu-test
sudo lxc delete ubuntu-test

If those commands fail, pastebin: 
   /var/lib/lxd/security/apparmor/profiles/lxd-ubuntu-test
  "grep 'apparmor' /var/log/syslog"
  /var/log/lxd/ubuntu-test/lxc.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600311

Title:
  Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1600311/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1600311] Re: Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

2016-07-18 Thread Stéphane Graber
3.16 (lts-utopic) and 3.19 (lts-vivid) also are lacking seccomp support,
4.2 (lts-wily) has it I believe but it wasn't tested. 4.4 is what we
test ppc64el with and has been confirmed to have seccomp support.

We have no plans to support other kernels on ppc64el as it'd mean
turning off a critical security feature, making our security story
inconsistent depending on kernel version and architecture.

We have a change coming in the next LXD bugfix release which will better
surface such LXC errors and should help diagnosing that kind of thing in
the future.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600311

Title:
  Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1600311/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1600311] Re: Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

2016-07-18 Thread Martin Packman
The interesting problems here all seem to be at the lxd level, from the
second log in comment #2:

lxc 20160714064249.306 INFO lxc_apparmor - 
lsm/apparmor.c:apparmor_process_label_set:238 - changed apparmor profile to 
lxd-juju-47a009-0_
lxc 20160714064249.306 ERRORlxc_seccomp - seccomp.c:lxc_seccomp_load:615 - 
Error loading the seccomp policy
lxc 20160714024249.306 ERRORlxc_sync - sync.c:__sync_wait:57 - An error 
occurred in another process (expected sequence number 5)
lxc 20160714024249.306 ERRORlxc_start - start.c:__lxc_start:1353 - failed 
to spawn 'juju-47a009-0'
lxc 20160714024249.306 INFO lxc_conf - conf.c:run_script_argv:367 - 
Executing script '/usr/share/lxcfs/lxc.reboot.hook' for container 
'juju-47a009-0', config section 'lxc'
lxc 20160714024249.812 INFO lxc_conf - conf.c:run_script_argv:367 - 
Executing script '/usr/bin/lxd callhook /var/lib/lxd 3 stop' for container 
'juju-47a009-0', config section 'lxc'
lxc 20160714024249.963 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 
- command get_cgroup failed to receive response
lxc 20160714024249.964 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 
- command get_cgroup failed to receive response

** Also affects: lxd (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1600311

Title:
  Juju 2.0 Bootstrap Fails on Ubuntu Trusty Power machine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1600311/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs