This event is triggered when an operator runs
juju upgrade-series <machine> complete from the command line. Read here to learn more about the series upgrade process. This event hook allows charm units on the machine being upgraded to do any necessary tasks imediately following the upgrade process (which may have involved e.g. being rebooted, etc.).
|Scenario||Example command||Resulting events|
Notably, after this event fires all paused/queued changes that accumulated since the pre-series-upgrade event fired will resume for all units on the machine that was upgraded.
In Ops, you can register event hooks to observe the pre-series-upgrade event,
self.framework.observe( self.on.post_series_upgrade, self._on_post_series_upgrade )
Leadership is pinned during the series upgrade process. Even if the current leader died or was removed, re-election does not occur until the upgrade process completes.
Last updated 4 months ago.