Comment 0 for bug 1410876

Revision history for this message
Larry Michel (lmic) wrote :

This is for:

++ export OPENSTACK_RELEASE=juno
++ OPENSTACK_RELEASE=juno
++ export COMPUTE=nova-lxc
++ COMPUTE=nova-lxc
++ export UBUNTU_RELEASE=trusty
++ UBUNTU_RELEASE=trusty

and 1.20.14

Juju-status.yaml:

'5':
    agent-state: started
    agent-version: 1.20.13
    containers:
      5/lxc/0:
        agent-state-info: 'error executing "lxc-clone": lxc_container: utils.c: mkdir_p:
          220 Not a directory - failed to create directory ''/run/lock/lxc//var/lib/lxc/juju-trusty-lxc-template/snaps'';
          lxc_container: lxccontainer.c: do_snapshot_destroy: 3272 Could not destroy
          snapshot %s - failed to allocate a pty; Insufficent privileges to control
          juju-trusty-lxc-template'
        instance-id: pending
        series: trusty
      5/lxc/1:
        agent-state-info: cannot clone a running container
        instance-id: pending
        series: trusty
    dns-name: apsaras.oil
    hardware: arch=amd64 cpu-cores=4 mem=32768M tags=hw-ok,oil-slave-1,hardware-dell-poweredge-R210
    instance-id: /MAAS/api/1.0/nodes/node-5f9c14e6-ae98-11e3-b194-00163efc5068/
    series: trusty

and from log:

machine-0: 2015-01-14 15:32:12 DEBUG juju.state.apiserver apiserver.go:150 <- [7C] unit-swift-storage-1 {"RequestId":42,"Type":"Uniter","Request":"CharmURL","Params":{"Entities":[{"Tag":"service-swift-storage"}]}}
machine-0: 2015-01-14 15:32:12 DEBUG juju.state.apiserver apiserver.go:157 -> [7C] unit-swift-storage-1 383.812us {"RequestId":42,"Response":{"Results":[{"Error":null,"Result":"local:trusty/swift-storage-90","Ok":false}]}} Uniter[""].CharmURL
machine-0: 2015-01-14 15:32:12 DEBUG juju.state.apiserver apiserver.go:150 <- [7C] unit-swift-storage-1 {"RequestId":43,"Type":"Uniter","Request":"CharmArchiveSha256","Params":{"URLs":[{"URL":"local:trusty/swift-storage-90"}]}}
machine-0: 2015-01-14 15:32:12 DEBUG juju.state.apiserver apiserver.go:157 -> [7C] unit-swift-storage-1 777.029us {"RequestId":43,"Response":{"Results":[{"Error":null,"Result":"b8aac93898c3cc661c0804613e5cce79a402fbe596400e8e80e8a3a1bb16c577"}]}} Uniter[""].CharmArchiveSha256
machine-0: 2015-01-14 15:32:12 DEBUG juju.state.apiserver apiserver.go:150 <- [61] machine-2 {"RequestId":57,"Type":"Provisioner","Request":"SetStatus","Params":{"Entities":[{"Tag":"machine-2-lxc-0","Status":"error","Info":"error executing \"lxc-clone\": lxc_container: utils.c: mkdir_p: 220 Not a directory - failed to create directory '/run/lock/lxc//var/lib/lxc/juju-trusty-lxc-template/snaps'; lxc_container: lxccontainer.c: do_snapshot_destroy: 3272 Could not destroy snapshot %s - failed to allocate a pty; Insufficent privileges to control juju-trusty-lxc-template","Data":null}]}}
machine-0: 2015-01-14 15:32:12 DEBUG juju.state.apiserver apiserver.go:150 <- [7C] unit-swift-storage-1 {"RequestId":44,"Type":"Uniter","Request":"SetCharmURL","Params":{"Entities":[{"Tag":"unit-swift-storage-1","CharmURL":"local:trusty/swift-storage-90"}]}}