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]
Reviewed: https:/ /review. opendev. org/c/openstack /charm- ceilometer- agent/+ /820001 /opendev. org/openstack/ charm-ceilomete r-agent/ commit/ 43a23127949e035 506b89afd6fb01b 5cfec04b63
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 43a23127949e035 506b89afd6fb01b 5cfec04b63
Author: Aurelien Lourot <email address hidden>
Date: Mon Nov 29 15:17:44 2021 +0100
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 agent's post-series-upgrade hook. This
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-
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-ceilomete r-agent/ commit/ be45f779 /opendev. org/openstack/ charm-nova- compute/ commit/ 8fb37dc0 /github. com/openstack- charmers/ charmed- openstack- tester
[2]: https:/
[3]: https:/
Closes-Bug: #1952882 50f7f803c670896 8d75e64475c
Change-Id: Ia22b53b52b5412