[2.5, upgrade-series] prepare can be more specific when a charm is not supported by target series
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Joseph Phillips |
Bug Description
When the 'prepare' sub-command is used with `upgrade-series` and it errors out due to a charm not supporting the target series it would be nice to receive more explicit reasons. Current behaviour is OK when the machine houses a single charm but not so much when multiple charms are involved.
For instance, after installing charms 'pig' (xenial only) and 'apache2' (trusty, xenial, bionic) with a series of 'xenial' the following is observed:
$ juju upgrade-series --agree prepare 0 bionic
ERROR series "bionic" not supported by charm, supported series are: xenial
http://
Suggestion:
series "bionic" supported by charm 'apache2'
ERROR series "bionic" not supported by charm 'pig', supported series are: xenial
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.5-beta1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Landing with https:/ /github. com/juju/ juju/pull/ 9408.