[2.5, upgrade-series] Lack of pre-series-upgrade hook yields confusing output

Bug #1797388 reported by Peter Matulis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

When the `upgrade-series prepare` command affects a machine running a charm that does not ship with a pre-series-upgrade hook the output is confusing. It says it's running one and then it says it's not found.

$ juju upgrade-series --agree prepare 1 bionic

leadership pinned for application "apache2"
machine-1 started upgrade series from series xenial to series bionic
apache2/0 pre-series-upgrade hook running
apache2/0 pre-series-upgrade not found, skipping
machine-1 all necessary binaries and service files written

Juju is now ready for the series to be updated.
Perform any manual steps required along with "do-release-upgrade".
When ready run the following to complete the upgrade series process:

juju upgrade-series complete 1

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

This is unfortunately difficult to make smoother. I agree with you but this is the best for the limitations we've got at the moment.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
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.