upgrade-juju --version increments supplied patch version
Bug #1626784 reported by
Christopher Lee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
When using juju-upgrade with the --version argument, the agent version used is the supplied version with an incremented patch version.
For instance, ask for 2.0-rc2.2 and juju uses '2.0-rc2.3'
Example recreation:
$ rc1/bin/juju bootstrap --constraints mem=2G charm-test lxd/localhost
$ rc2/bin/juju upgrade-juju -m charm-test:
no prepackaged tools available, using local agent binary 2.0-rc2.3
started upgrade to 2.0-rc2.3
Changed in juju: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This seems strange to me. There is no indication what the rc2 binary is.
I'm taking a wild stab in the dark and assuming it is a build of master as of rc2 time.
Specifying a particular version when said version doesn't exist in streams is a bit strange.
I'd expect the following to work better:
$ rc1/bin/juju bootstrap --constraints mem=2G charm-test lxd/localhost controller
$ rc2/bin/juju upgrade-juju -m charm-test: