NOTE: this is an intermittent failure. The log file in comment #1 shows that there are many other LXC container that do start properly on other host machines.
This is similar to bug #1348386 but that one is fixed, and have been seeing for 1.22.
This happens for OpenStack deployment:
+ . ./pipeline_parameters
++ export OPENSTACK_RELEASE=icehouse
++ OPENSTACK_RELEASE=icehouse
++ export COMPUTE=nova-kvm
++ COMPUTE=nova-kvm
++ export BLOCK_STORAGE=cinder-iscsi
++ BLOCK_STORAGE=cinder-iscsi
++ export IMAGE_STORAGE=glance-swift
++ IMAGE_STORAGE=glance-swift
++ export PIPELINE_ID=a8431fdc-a5cd-4985-baed-3248c6f00cb6
++ PIPELINE_ID=a8431fdc-a5cd-4985-baed-3248c6f00cb6
++ export NETWORKING=neutron-nvp
++ NETWORKING=neutron-nvp
++ export UBUNTU_RELEASE=trusty
++ UBUNTU_RELEASE=trusty
From juju-debug log file:
machine-4[3721]: 2015-04-05 05:32:17 INFO juju.container.lxc clonetemplate.go:208 template container started, now wait for it to stop
machine-4[3721]: 2015-04-05 05:37:42 INFO juju.container.lxc clonetemplate.go:227 not heard anything from the template log for five minutes
machine-4[3721]: 2015-04-05 05:37:42 INFO juju.container lock.go:66 release lock "juju-trusty-lxc-template"
machine-4[3721]: 2015-04-05 05:37:42 ERROR juju.provisioner.lxc lxc-broker.go:110 failed to start container: failed to retrieve the template to clone: template container "juju-trusty-lxc-template" did not stop
machine-4[3721]: 2015-04-05 05:37:42 ERROR juju.provisioner provisioner_task.go:531 cannot start instance for machine "4/lxc/0": failed to retrieve the template to clone: template container "juju-trusty-lxc-template" did not stop
From juju_status.yaml:
'4':
agent-state: started
agent-version: 1.22.0
containers:
4/lxc/0:
agent-state-info: 'failed to retrieve the template to clone: template container
"juju-trusty-lxc-template" did not stop'
instance-id: pending
series: trusty
4/lxc/1:
agent-state-info: 'lxc container cloning failed: cannot clone a running container'
instance-id: pending
series: trusty
It looks like stderr from lxc-start was being dumped to "/var/lib/ juju/containers /juju-* -lxc-template/ container. log". With help from the CI team, we're now capturing these logs. Here is the offending log from the latest run which shows some issues I'm looking into further.