juju-quickstart cannot bootstrap local environemnt

Bug #1280005 reported by Thomi Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-quickstart
Invalid
Undecided
Unassigned

Bug Description

I'm trying to use juju-quickstart to bootstrap a local environemnt.

I'm running this as a normal user. Example output:

---
$ juju-quickstart

changes to the environments file have been saved
juju quickstart v1.0.0
adding the ppa:juju/stable PPA repository
sudo privileges are required for PPA installation
[sudo] password for thomi:
installing the following packages: juju-core, lxc, mongodb-server (this can take a while)
sudo privileges will be used for package installation
ssh-agent has been started.

To interact with Juju or quickstart again after quickstart finishes, please
run the following in a terminal to start ssh-agent:

  eval `ssh-agent`

bootstrapping the local environment (type: local)
sudo privileges required to bootstrap the environment
juju-quickstart: error: ERROR failure setting config: bootstrapping a local environment must not be done as root
ERROR bootstrapping a local environment must not be done as root

summary: - juju-quickstart cannot bootstrap local environemtn with sudo
+ juju-quickstart cannot bootstrap local environemnt
Revision history for this message
Richard Harding (rharding) wrote :

This is a known issue as we're between sudo lxc and sudoless lxc in 1.17 and trusty. There is code to check if the version of juju is < 1.18 and if so it shows that error message. Once 1.18 lands it'll work as expected.

Marking invalid, but only because it's a known pain point while we're working through trusty and the dev versions of things right now.

Changed in juju-quickstart:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.