This change updates restart_services_action() to restart deferred 'stop' events, in addition to the already existing restart of 'restart' events.
Some services get stopped, and not restarted, when dpkg-reconfigure is called. For example: ovsdb-server, ovs-vswitchd, and ovs-record-hostname from the openvswitch package in kinetic+ are defined to behave this way. This results in a deferred event such as:
This change updates restart_services_action() to restart deferred 'stop' events, in addition to the already existing restart of 'restart' events.
Some services get stopped, and not restarted, when dpkg-reconfigure is called. For example: ovsdb-server, ovs-vswitchd, and ovs-record-hostname from the openvswitch package in kinetic+ are defined to behave this way. This results in a deferred event such as:
$ cat /var/lib/policy-rc.d/charm-ovn-chassis-.deferred action: stop
policy_requestor_name: ovn-chassis
policy_requestor_type: charm
reason: Package update
service: ovs-vswitchd.service
timestamp: 1679507800
Closes-Bug: #2012553