charm-ceilometer-agent/unit_tests
Aurelien Lourot 43a2312794 Remove pause/resume logic
This is a subordinate charm and since a recent
commit [1] it shares a list of its services with
the principal charm nova-compute, which has now
the responsibility to pause and resume services. [2]

The ceilometer-agent-compute service has a
dependency to the nova-compute service anyway, so
it is impossible for this charm to resume its
service if its principal charm nova-compute is
paused. This is what also led to errors in
ceilometer-agent's post-series-upgrade hook. This
hook attempted to resume its service although
the principal service was still paused. Removing
this logic entirely solves this issue.

Validated by running openstack-upgrade and
series-upgrade tests. [3]

[1]: https://opendev.org/openstack/charm-ceilometer-agent/commit/be45f779
[2]: https://opendev.org/openstack/charm-nova-compute/commit/8fb37dc0
[3]: https://github.com/openstack-charmers/charmed-openstack-tester

Closes-Bug: #1952882
Change-Id: Ia22b53b52b541250f7f803c6708968d75e64475c
2021-12-13 16:21:15 +01:00
..
__init__.py Sync libraries & common files prior to freeze 2020-09-27 15:31:34 +01:00
test_ceilometer_contexts.py Add configurability to polling.yaml. 2021-05-12 17:30:00 +03:00
test_ceilometer_hooks.py Remove pause/resume logic 2021-12-13 16:21:15 +01:00
test_ceilometer_utils.py Remove pause/resume logic 2021-12-13 16:21:15 +01:00
test_utils.py Sync libraries & common files prior to freeze 2020-09-27 15:31:34 +01:00