[2.5, upgrade-series] Lack of pre-series-upgrade hook yields confusing output
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-
When ready run the following to complete the upgrade series process:
juju upgrade-series complete 1
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.