`juju remove-offer` confused by JUJU_CONTROLLER, JUJU_MODEL env variables

Bug #2038800 reported by Tom Haddon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

If you're trying to run `juju remove-offer` but you have JUJU_CONTROLLER and JUJU_MODEL environment variables set, juju will report:

ERROR current model for controller $YOUR-CONTROLLER not found

If you unset those environment variables and then manually `juju switch` to the appropriate model you can run the `juju remove-offer` command without problems.

This was on a juju 2.9.44 model with juju client version 2.9.42.

Tom Haddon (mthaddon)
tags: added: canonical-is
Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.9.46
importance: Undecided → High
status: New → Triaged
importance: High → Medium
importance: Medium → High
Revision history for this message
Ian Booth (wallyworld) wrote :

The next 2.9.46 candidate release will not include a fix for this bug and we don't plan on any more 2.9 releases. As such it is being removed from its 2.9 milestone.

If the bug is still important to you, let us know and we can consider it for inclusion on a 3.x milestone.

tags: added: usability
Changed in juju:
milestone: 2.9.46 → none
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.