Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
Can you copy the juju deploy --show-log --debug juju-gui –  Braiam Apr 11 at 14:11

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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