upgrade-charm --switch failure message is not clear

Bug #1791040 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

upgrade-charm --switch is supposed to "Crossgrade to a different charm", but is refusing with an error:

$ juju upgrade-charm --switch . juju-ingest
ERROR cannot upgrade "ubuntu-basenode" to "juju-ingest"

The error is not helpful, as it is not telling me *why* it cannot upgrade. I believe I meet all the criteria, or I wouldn't be attempting the operation.

Revision history for this message
Stuart Bishop (stub) wrote :

(in this case, the source charm contains no configuration at all and the only relation being participated in is juju-info with its subordinate units, so all documented criteria are met)

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :
Revision history for this message
Richard Harding (rharding) wrote :

Agreed on the related link. The thing is we allow upgrading the same charm mysql->mysql using different charms but not changing from one charm "ubuntu-basenode" to another charm "juju-ingest".

We can take this as feedback that the error about the different charm names wasn't clear though and make that a better message.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
summary: - upgrade-charm --switch refuses to switch, and doesn't say why
+ upgrade-charm --switch failure message is not clear
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
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.