failure to retrieve the template to clone: lxc container with 1.22 beta2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.22 |
Fix Released
|
High
|
Ian Booth |
Bug Description
We're seeing this issue on all the nodes when using 1.22 beta2:
From console:
=======
2015-02-03 12:49:29,392 [DEBUG] deployer.import: Waiting for units before adding relations
2015-02-03 12:49:45,539 [DEBUG] deployer.env: Delta machine: 5 change:pending
2015-02-03 12:50:05,541 [DEBUG] deployer.env: Delta machine: 4 change:pending
2015-02-03 12:50:05,544 [DEBUG] deployer.env: Delta machine: 5 change:pending
2015-02-03 12:53:25,566 [DEBUG] deployer.env: Delta machine: 2 change:pending
2015-02-03 12:53:25,570 [DEBUG] deployer.env: Delta machine: 2 change:started
2015-02-03 12:53:25,570 [DEBUG] deployer.env: Delta machine: 3 change:pending
2015-02-03 12:53:25,570 [DEBUG] deployer.env: Delta unit: nova-cloud-
2015-02-03 12:53:30,569 [DEBUG] deployer.env: Delta machine: 3 change:pending
2015-02-03 12:53:30,573 [DEBUG] deployer.env: Delta machine: 3 change:started
2015-02-03 12:53:30,576 [DEBUG] deployer.env: Delta unit: nova-cloud-
2015-02-03 12:53:30,581 [DEBUG] deployer.env: Delta unit: swift-storage/0 change:installing
2015-02-03 12:53:30,581 [DEBUG] deployer.env: Delta unit: nova-vmware/0 change:installing
2015-02-03 12:53:35,581 [DEBUG] deployer.env: Delta machine: 2/lxc/0 change:error
2015-02-03 12:53:40,582 [DEBUG] deployer.env: Delta machine: 3/lxc/0 change:error
2015-02-03 12:53:40,585 [DEBUG] deployer.env: Delta machine: 3/lxc/1 change:error
2015-02-03 12:54:40,597 [DEBUG] deployer.env: Delta unit: nova-cloud-
2015-02-03 12:58:05,621 [DEBUG] deployer.env: Delta machine: 1 change:pending
2015-02-03 12:58:05,624 [DEBUG] deployer.env: Delta machine: 1 change:started
2015-02-03 12:58:05,624 [DEBUG] deployer.env: Delta unit: cinder/0 change:allocating
2015-02-03 12:58:10,623 [DEBUG] deployer.env: Delta unit: cinder/0 change:installing
2015-02-03 12:58:10,625 [DEBUG] deployer.env: Delta unit: cinder/0 change:installing
2015-02-03 12:58:40,628 [DEBUG] deployer.env: Delta machine: 1/lxc/0 change:error
2015-02-03 12:58:45,629 [DEBUG] deployer.env: Delta machine: 1/lxc/1 change:error
2015-02-03 12:59:50,637 [DEBUG] deployer.env: Delta machine: 5 change:pending
2015-02-03 12:59:50,641 [DEBUG] deployer.env: Delta machine: 5 change:started
2015-02-03 12:59:50,641 [DEBUG] deployer.env: Delta unit: swift-storage/2 change:installing
2015-02-03 13:00:10,642 [DEBUG] deployer.env: Delta unit: nova-vmware/0 change:error
2015-02-03 13:00:10,643 [ERROR] deployer.env: The following units had errors:
unit: nova-vmware/0: machine: 3 agent-state: error details: hook failed: "install"
2015-02-03 13:00:10,646 [ERROR] oil_ci.
Traceback (most recent call last):
File "/usr/lib/
debug=True, verbose=True)
File "/usr/lib/
importer.
File "/usr/lib/
self.
File "/usr/lib/
services=
File "/usr/lib/
services=
File "/usr/lib/
if self.complete() is True:
File "/usr/lib/
on_
File "/usr/lib/
raise ErrorExit()
ErrorExit
=======
From juju_status.yaml:
=======
machines:
'0':
agent-state: started
agent-version: 1.22-beta2
dns-name: hayward-12.oil
hardware: arch=amd64 cpu-cores=8 mem=16384M tags=oil-
instance-id: /MAAS/api/
series: trusty
state-
'1':
agent-state: started
agent-version: 1.22-beta2
containers:
1/lxc/0:
creation failed: error executing "lxc-create": + ''['' amd64 = i686 '']'';
+ ''['' 0 = 0 '']''; + case "$hostarch:$arch" in; + :; + ''['' tryreleased
''!='' daily -a tryreleased ''!='' released -a tryreleased ''!='' tryreleased
'']''; + ''['' -z /var/lib/
+ ''['' 0 ''!='' 0 '']''; + config=
+ ''['' -z /var/lib/
is /tmp/wget450531
0 -eq 1 '']''; + mkdir -p /var/cache/
= tryreleased '']''; + stream=released; + ubuntu-
amd64; + ''['' -n https:/
'']''; + url2=https:/
++ basename https:/
+ filename=
'']''; + do_extract_rootfs; + cd /var/cache/
-eq 1 '']''; + trap wgetcleanup EXIT SIGHUP SIGINT SIGTERM; + ''['' ''!''
-f ubuntu-
Server Error.; + build_root_tgz ubuntu-
+ url=ubuntu-
-d -p .; + xdir=./
+ tarname=
+ trap buildcleanup EXIT SIGHUP SIGINT SIGTERM; + ''['' 0 -eq 1 -o ''!''
-f /var/cache/
'']''; + rm -f ubuntu-
cloud image from ubuntu-
cloud image from ubuntu-
Resolving ubuntu-
failed: Name or service not known.; wget: unable to resolve host address
find cloud image ubuntu-
find cloud image ubuntu-
1; + buildcleanup; + cd /var/lib/
umount -l /var/cache/
not mounted; + true; + rm -rf /var/cache/
Error creating container juju-trusty-
series: trusty
1/lxc/1:
creation failed: error executing "lxc-create": + ''['' amd64 = i686 '']'';
+ ''['' 0 = 0 '']''; + case "$hostarch:$arch" in; + :; + ''['' tryreleased
''!='' daily -a tryreleased ''!='' released -a tryreleased ''!='' tryreleased
'']''; + ''['' -z /var/lib/
+ ''['' 0 ''!='' 0 '']''; + config=
+ ''['' -z /var/lib/
is /tmp/wget495971
0 -eq 1 '']''; + mkdir -p /var/cache/
= tryreleased '']''; + stream=released; + ubuntu-
amd64; + ''['' -n https:/
'']''; + url2=https:/
++ basename https:/
+ filename=
'']''; + do_extract_rootfs; + cd /var/cache/
-eq 1 '']''; + trap wgetcleanup EXIT SIGHUP SIGINT SIGTERM; + ''['' ''!''
-f ubuntu-
Server Error.; + build_root_tgz ubuntu-
+ url=ubuntu-
-d -p .; + xdir=./
+ tarname=
+ trap buildcleanup EXIT SIGHUP SIGINT SIGTERM; + ''['' 0 -eq 1 -o ''!''
-f /var/cache/
'']''; + rm -f ubuntu-
cloud image from ubuntu-
cloud image from ubuntu-
Resolving ubuntu-
failed: Name or service not known.; wget: unable to resolve host address
find cloud image ubuntu-
find cloud image ubuntu-
1; + buildcleanup; + cd /var/lib/
umount -l /var/cache/
not mounted; + true; + rm -rf /var/cache/
Error creating container juju-trusty-
series: trusty
dns-name: hoskins.oil
hardware: arch=amd64 cpu-cores=12 mem=32768M tags=hw-
instance-id: /MAAS/api/
series: trusty
=======
tags: | added: oil |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.23 |
tags: | added: lxc |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Changed in juju-core: | |
milestone: | 1.23 → 1.23-beta1 |
Can we please get the Juju log files uploaded