revision option requires channel option while they are mutually exclusive.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Heather Lanigan |
Bug Description
I was trying to deploy an older version of charmed-kubernetes, version 1.21 to be precise.
When running the command: juju deploy charmed-kubernetes revision=733
I get the following error: ERROR when using --revision option, you must also use --channel option
However when I add the channel option, for example: juju deploy charmed-kubernetes revision=733 channel=1.21/stable
I get the following Error: ERROR revision and channel are mutually exclusive when deploying a bundle. Please choose one.
when running the command with --debug:
DEBUG cmd supercommand.go:537 error stack:
/build/
/build/
/build/
Juju version: 2.9.28
I tried it on Openstack, Microk8s and AWS.
To reproduce the issue just run the commands above.
Changed in juju: | |
assignee: | nobody → Heather Lanigan (hmlanigan) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in juju: | |
milestone: | none → 2.9.30 |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
milestone: | 2.9.30 → 2.9.31 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/juju/ juju/pull/ 13996