This bug is hit very rarely - we deploy thousands of containers a day and see it a few times a week. I don't have a way to reproduce it reliably other than waiting to hit it in OIL.
On Fri, Aug 21, 2015 at 12:22 PM, Serge Hallyn <1410...@bugs.launchpad.net> wrote: > @jason-hobbs or @lmic, > > can you provide a concise recipe for reproducing this in the > Description? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1410876 > > Title: > Error executing lxc-clone: lxc_container: utils.c: mkdir_p 220 Not a > directory - Could not destroy snapshot %s - failed to allocate a pty; > Insufficent privileges to control juju-trusty-lxc-template > > Status in juju-core: > Invalid > Status in lxc: > Fix Released > Status in lxc package in Ubuntu: > Fix Released > Status in lxc source package in Trusty: > Fix Committed > > Bug description: > This is for: > > ++ export OPENSTACK_RELEASE=juno > ++ OPENSTACK_RELEASE=juno > ++ export COMPUTE=nova-lxc > ++ COMPUTE=nova-lxc > ++ export UBUNTU_RELEASE=trusty > ++ UBUNTU_RELEASE=trusty > > Tool version is 1.20.14: > Launching instance > WARNING picked arbitrary tools &{1.20.14-precise-amd64 > https://streams.canonical.com/juju/tools/releases/juju-1.20.14-precise-amd64.tgz > 932640702b5d9f08a312118a4afe330444308f92b7de350de9e547719f084bd9 8130412} > - /MAAS/api/1.0/nodes/node-5f9c14e6-ae98-11e3-b194-00163efc5068/ > > and agent-version on node says 1.20.13. > > 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"}]}} > > To manage notifications about this bug go to: > https://bugs.launchpad.net/juju-core/+bug/1410876/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1410876 Title: Error executing lxc-clone: lxc_container: utils.c: mkdir_p 220 Not a directory - Could not destroy snapshot %s - failed to allocate a pty; Insufficent privileges to control juju-trusty-lxc-template To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1410876/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs