juju status and juju terminate-machine do not respect JUJU_ENV

Bug #981387 reported by Clint Byrum
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Low
Kapil Thangavelu

Bug Description

clint@clint-MacBookPro:~$ export JUJU_ENV=precise
clint@clint-MacBookPro:~$ juju status
juju environment not found: no details available
2012-04-13 23:28:20,213 ERROR juju environment not found: no details available
clint@clint-MacBookPro:~$ juju status -e precise
2012-04-13 23:28:55,054 INFO Connecting to environment...
2012-04-13 23:28:56,929 INFO Connected to environment.
... yaml comes out

All other commands like deploy, add-relation, etc, all respect the JUJU_ENV variable.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Seems that this was done at the wrong layer of abstraction if some commands use it, and some don't.

summary: - juju status does not respect JUJU_ENV
+ juju status and juju terminate-machine do not respect JUJU_ENV
Changed in juju:
milestone: none → florence
assignee: nobody → Kapil Thangavelu (hazmat)
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

This seems to be regressed in juju 0.6.0.1+bzr618-0juju2.

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 981387] Re: juju status and juju terminate-machine do not respect JUJU_ENV

Excerpts from Marius B. Kotsbak's message of 2013-03-01 10:09:46 UTC:
> This seems to be regressed in juju 0.6.0.1+bzr618-0juju2.
>

I'd suggest reporting a new bug, referencing this one. Please include
information on how to reproduce.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Filed as bug #1143963.

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.