LXD Power8 container hangs and slow creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
High
|
Stéphane Graber |
Bug Description
system is a new fresh clean install of Ubuntu Wily ppc64le. Issues below are able to be duplicated 100% of the time.
yjetbq@sovmp151:~$ uname -a
Linux sovmp151 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:48:03 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
yjetbq@sovmp151:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
yjetbq@sovmp151:~$
Following instructions at https:/
1st issue: running newgrp lxd does not work:
running newgrp lxd as user prompts for a password, enter password and nothing happens, no output from command and user is not added to LXD group
Manually added user to LXD group and rebooted.
2nd issue: container creation takes upward of 3 minutes ., after container is created prompt never comes back when trying to get a shell via lxc exec <containername> -- /bin/bash . I waited as long as 30 minutes no prompt comes back however lxc list shows container running with an IP.
steps below
yjetbq@sovmp151:~$ lxc image list images:
+------
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCH | SIZE | UPLOAD DATE |
+------
| centos/6/amd64 (1 more) | bc1b6c71b6ed | yes | Centos 6 (amd64) (20160218_02:16) | x86_64 | 49.23MB | Jan 1, 1970 at 12:00am (UTC) |
| centos/6/i386 (1 more) | ec65cfd4be93 | yes | Centos 6 (i386) (20160218_02:16) | i686 | 49.71MB | Jan 1, 1970 at 12:00am (UTC) |
| centos/7/amd64 (1 more) | 4dfde108d4e0 | yes | Centos 7 (amd64) (20160218_02:16) | x86_64 | 59.08MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/jessie/amd64 (1 more) | 0d07f11f3f2a | yes | Debian jessie (amd64) (20160217_22:42) | x86_64 | 96.88MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/jessie/armel (1 more) | f9e3a6c02f0b | yes | Debian jessie (armel) (20160111_22:42) | armv7l | 91.92MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/jessie/armhf (1 more) | 5dad30f84459 | yes | Debian jessie (armhf) (20160111_22:42) | armv7l | 92.17MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/jessie/i386 (1 more) | 7020ebc24eb5 | yes | Debian jessie (i386) (20160217_22:42) | i686 | 98.36MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/sid/amd64 (1 more) | 12e4d47e3751 | yes | Debian sid (amd64) (20160217_22:42) | x86_64 | 100.76MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/sid/armel (1 more) | 8546e65f55e7 | yes | Debian sid (armel) (20160111_22:42) | armv7l | 93.71MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/sid/armhf (1 more) | 7fa1020546f1 | yes | Debian sid (armhf) (20160111_22:42) | armv7l | 94.77MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/sid/i386 (1 more) | 0d53989306a4 | yes | Debian sid (i386) (20160217_22:42) | i686 | 103.20MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/
| debian/
| debian/squeeze/i386 (1 more) | b263e5b7e5c2 | yes | Debian squeeze (i386) (20160217_22:42) | i686 | 89.68MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/wheezy/amd64 (1 more) | 79f641e0a6a8 | yes | Debian wheezy (amd64) (20160217_22:42) | x86_64 | 91.88MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/wheezy/armel (1 more) | 888627d08642 | yes | Debian wheezy (armel) (20160111_22:42) | armv7l | 88.59MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/wheezy/armhf (1 more) | 56c1c1907f4f | yes | Debian wheezy (armhf) (20160111_22:42) | armv7l | 87.02MB | Jan 1, 1970 at 12:00am (UTC) |
| debian/wheezy/i386 (1 more) | 6a28c6df23c9 | yes | Debian wheezy (i386) (20160217_22:42) | i686 | 92.10MB | Jan 1, 1970 at 12:00am (UTC) |
| gentoo/
| gentoo/
| gentoo/current/i386 (1 more) | b1b13c2939fe | yes | Gentoo current (i386) (20160217_14:12) | i686 | 212.63MB | Jan 1, 1970 at 12:00am (UTC) |
| oracle/6.5/amd64 (1 more) | 71f64d86ae69 | yes | Oracle 6.5 (amd64) (20160217_11:40) | x86_64 | 141.76MB | Jan 1, 1970 at 12:00am (UTC) |
| oracle/6.5/i386 (1 more) | 21ce6b9492e2 | yes | Oracle 6.5 (i386) (20160217_11:40) | i686 | 135.21MB | Jan 1, 1970 at 12:00am (UTC) |
| plamo/5.x/amd64 (1 more) | 20c62d4f98fd | yes | Plamo 5.x (amd64) (20160217_21:36) | x86_64 | 241.17MB | Jan 1, 1970 at 12:00am (UTC) |
| plamo/5.
| plamo/5.x/i386 (1 more) | 7c9e03a16794 | yes | Plamo 5.x (i386) (20160217_21:36) | i686 | 236.68MB | Jan 1, 1970 at 12:00am (UTC) |
| plamo/5.x/i386/mini | 13485a47f459 | yes | Plamo 5.x i386 (mini) (20160217_21:36) | i686 | 474.19MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/
| ubuntu/
| ubuntu/
| ubuntu/precise/i386 (1 more) | 63df08d0a0d4 | yes | Ubuntu precise (i386) (20160218_03:49) | i686 | 50.97MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/trusty/amd64 (1 more) | 7c0b8de47a5b | yes | Ubuntu trusty (amd64) (20160218_03:49) | x86_64 | 63.67MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/trusty/arm64 (1 more) | 87275c954b84 | yes | Ubuntu trusty (arm64) (20150604_03:49) | aarch64 | 60.78MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/trusty/armhf (1 more) | 5bcdbbfe4e4b | yes | Ubuntu trusty (armhf) (20160216_03:49) | armv7l | 59.84MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/trusty/i386 (1 more) | 505f1a4ed054 | yes | Ubuntu trusty (i386) (20160218_03:49) | i686 | 62.03MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/
| ubuntu/vivid/amd64 (1 more) | ae7db5904dad | yes | Ubuntu vivid (amd64) (20160218_03:49) | x86_64 | 64.04MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/vivid/arm64 (1 more) | 4f4129a1a9aa | yes | Ubuntu vivid (arm64) (20150604_03:49) | aarch64 | 60.84MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/vivid/armhf (1 more) | c90ec07aa250 | yes | Ubuntu vivid (armhf) (20160216_03:49) | armv7l | 62.68MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/vivid/i386 (1 more) | 0272f8af8a2f | yes | Ubuntu vivid (i386) (20160218_03:49) | i686 | 64.08MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/
| ubuntu/wily/amd64 (1 more) | b03f56d3075a | yes | Ubuntu wily (amd64) (20160218_03:49) | x86_64 | 72.40MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/wily/arm64 (1 more) | ebb96aeaaff0 | yes | Ubuntu wily (arm64) (20150604_03:49) | aarch64 | 61.05MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/wily/armhf (1 more) | 8c2bd13b8675 | yes | Ubuntu wily (armhf) (20160216_03:49) | armv7l | 67.37MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/wily/i386 (1 more) | 57fec1f071fe | yes | Ubuntu wily (i386) (20160218_03:49) | i686 | 71.70MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/wily/ppc64el (1 more) | baacad0fb914 | yes | Ubuntu wily (ppc64el) (20160201_03:49) | ppc64le | 72.77MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/xenial/amd64 (1 more) | 0594dbb54ade | yes | Ubuntu xenial (amd64) (20160218_03:49) | x86_64 | 64.87MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/xenial/armhf (1 more) | 5e17b32651c3 | yes | Ubuntu xenial (armhf) (20160216_03:49) | armv7l | 66.32MB | Jan 1, 1970 at 12:00am (UTC) |
| ubuntu/xenial/i386 (1 more) | 714086967c74 | yes | Ubuntu xenial (i386) (20160218_03:49) | i686 | 65.33MB | Jan 1, 1970 at 12:00am (UTC) |
| | 699842bd5864 | yes | Plamo 5.x (i386) (20160215_21:36) | i686 | 236.66MB | Jan 1, 1970 at 12:00am (UTC) |
#######
+------
yjetbq@sovmp151:~$ lxd-images import ubuntu wily ppc64el --alias ubuntu-wily
Downloading the GPG key for http://
Validating the GPG signature of /tmp/tmpyorywls
Downloading the image.
Image manifest: http://
Image imported as: 695fa9e0d0d5f40
Setup alias: ubuntu-wily
yjetbq@sovmp151:~$ lxd-images import ubuntu trusty ppc64el --alias ubuntu-trusty
Downloading the GPG key for http://
Validating the GPG signature of /tmp/tmpyvvgpm4
Downloading the image.
Image manifest: http://
Image imported as: cea72328430e7ff
Setup alias: ubuntu-trusty
yjetbq@sovmp151:~$ lxc launch ubuntu-wily ubwilytest
Creating ubwilytest done.
Starting ubwilytest done.
yjetbq@sovmp151:~$ lxc exec ubwilytest -- /bin/bash
##this is where It just hangs forever
for grins here is a list to show it is running:
yjetbq@sovmp151:~$ lxc list
+------
| NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS |
+------
| ubwilytest | RUNNING | 10.0.3.68, 10.0.4.1 | | NO | 0 |
+------
yjetbq@sovmp151:~$
Issue 3: sosreport does not operate as x86 defaults. Attempted to add a sosreport: from power node:
^Cyjetbq@
sosreport (version 3.2.0a1)
no valid plugins were enabled
yjetbq@sovmp151:~$ sudo apt-get install sosreport
[sudo] password for yjetbq:
Reading package lists... Done
Building dependency tree
Reading state information... Done
sosreport is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
yjetbq@sovmp151:~$
description: | updated |
summary: |
- LXD functionality on power8 + LXD Power8 container hangs and slow creation |
affects: | lxc → lxd (Ubuntu) |
Changed in lxd (Ubuntu): | |
status: | New → Confirmed |
In case it wasn't clear this is a power 8 system