Not sure if this is the same issue, but I get a hang locally with "adt-
run --apt-pocket=proposed -U juju-core --- qemu adt-xenial-
amd64-cloud.img". The last thing that I see is:


adt-run [11:33:28]: test current-lxd-provider: [-----------------------
[...]
2016-04-18 09:34:36 INFO juju.tools.lxdclient client_image.go:147 copying image 
for ubuntu-xenial from https://cloud-images.ubuntu.com/releases/: 100%
[...]
2016-04-18 09:35:14 INFO cmd cmd.go:129 Installing Juju agent on bootstrap 
instance
2016-04-18 09:35:15 INFO cmd cmd.go:129 Preparing for Juju GUI 2.1.2 release 
installation
2016-04-18 09:35:15 DEBUG juju.cloudconfig.instancecfg instancecfg.go:566 
Setting numa ctl preference to false
Waiting for address
Attempting to connect to 10.0.8.201:22
2016-04-18 09:35:16 DEBUG juju.utils.ssh ssh.go:249 using OpenSSH ssh client
sudo: unable to resolve host juju-a82c73b5-c2b8-4d49-8312-e6cc336c3ff3-machine-0
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade

When I ssh into the QEMU instance, install lxd-client, and enter the
container, there is no apt-get running any more, but /var/log/cloud-
init-output.log shows an error:

Setting up open-iscsi (2.0.873+git0.3b4b4500-14ubuntu3) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Job for iscsid.service failed because a configured resource limit was exceeded. 
See "systemctl status iscsid.service" and "journalctl -xe" for details.
invoke-rc.d: initscript iscsid, action "restart" failed.
dpkg: error processing package open-iscsi (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.122ubuntu8) ...
Errors were encountered while processing:
 open-iscsi


Apparently open-iscsi does not like being in an lxd container:

$ lxc launch images:ubuntu/xenial/amd64 x1
$ lxc exec x1 -- apt-get install -y open-iscsi
Setting up open-iscsi (2.0.873+git0.3b4b4500-14ubuntu3) ...
Job for open-iscsi.service failed because the control process exited with error 
code. See "systemctl status open-iscsi.service" and "journalctl -xe" for 
details.

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

Title:
  autopkgtest lxd provider tests fail for 2.0

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

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

Reply via email to