[2.5, upgrade-series] prepare can be more specific when a charm is not supported by target series

Bug #1797593 reported by Peter Matulis
6
This bug affects 1 person
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://paste.ubuntu.com/p/f6tMXzHt7X/

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
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
assignee: nobody → Joseph Phillips (manadart)
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 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.