`juju environments` fails due to missing ~/.juju/current-environment
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
High
|
Unassigned | ||
| | 1.25 |
High
|
Jesse Meek | ||
Bug Description
Summary:
The Juju Environment System (JES) does not work on a fresh install due to lack of ~/.juju/
Setup:
juju 1.25-beta1
ubuntu trusty
fresh vm
Details:
I launched a new Vagrant VM, installed juju 1.25-beta1 via PPA, and ran apt-get update && apt-get upgrade. I set the "jes" feature flag, destroyed the local environment, and bootstrapped. Then I attempted to create a new environment:
$ juju system create-environment test
error: no system specified
$ ls ~/.juju/
environments environments.yaml jclient local ssh
$ juju switch local
-> local
$ ls ~/.juju/
current-environment environments environments.yaml jclient local ssh
$ juju system create-environment test
created environment "test"
local -> test
This can be recreated by deleting ~/.juju/
| Changed in juju-core: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| Changed in juju-core: | |
| milestone: | none → 1.26-alpha1 |
| Changed in juju-core: | |
| milestone: | 1.26-alpha1 → 1.26-alpha2 |
| Changed in juju-core: | |
| milestone: | 1.26-alpha2 → 1.26-beta1 |
| Jesse Meek (waigani) wrote : | #1 |
| Cheryl Jennings (cherylj) wrote : | #2 |
Looks like this was fixed in master in this PR: https:/
| Changed in juju-core: | |
| status: | Triaged → Fix Committed |
| milestone: | 1.26-beta1 → 2.0-alpha1 |
| Changed in juju-core: | |
| milestone: | 2.0-alpha1 → 1.26-alpha3 |
| Changed in juju-core: | |
| status: | Fix Committed → Fix Released |


fix: http:// reviews. vapour. ws/r/3256