I'm trying to use juju with local-provider to setup juju-gui (and owncloud eventually).

After "juju deploy juju-gui", juju status shows the error:

agent-state-info: '(error: error executing "lxc-clone": lxc_container: failed
      mounting /var/lib/lxc/juju-precise-template/rootfs onto /var/lib/lxc/juju-precise-template/rootfs;
      lxc_container: Error copying storage; clone failed)'

I used the following commands:

juju init
juju switch local
juju bootstrap
juju deploy juju-gui

/var/lib/lxc/ is owned by root, so how can juju access it? Is anyone currently using juju 1.18 with local provider sucessfully?

I read that "sudo juju bootstrap" is not necessary anymore. So is juju using unprivileged lxc or planning on doing so?

I'm running juju version 1.18.0-trusty-amd64 inside a trusty lxc container.

  • Can you copy the juju deploy --show-log --debug juju-gui – Braiam Apr 11 '14 at 14:11

The local provider does not work inside other lxc containers. Nested lxc isn't supported without hacking the lxc config externally.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.