Comment 2 for bug 1927277

Revision history for this message
Hybrid512 (walid-moghrabi) wrote (last edit ): Re: Ceilometer-agent-compute service not running

I can confirm this bug too.
Since charm 21.04, everytime I deploy a new cluster with the same bundle, I end with "Services not running that should be: ceilometer-agent-compute".

Weird thing on my side is that I can't even restart the service by hand on the unit.
When sshing a ceilometer-agent unit, trying to run a "systemctl restart ceilometer-agent-compute.service" gives me this :

root@juju-5073fb-5-lxd-3:~# systemctl restart ceilometer-agent-compute.service
Failed to restart ceilometer-agent-compute.service: Unit nova-compute.service not found.

However, service exists :

root@juju-5073fb-5-lxd-3:~# systemctl status ceilometer-agent-compute.service
● ceilometer-agent-compute.service - Ceilometer Agent Compute
     Loaded: loaded (/lib/systemd/system/ceilometer-agent-compute.service; enabled; vendor preset: enabled)
     Active: inactive (dead)

My fix is to reboot the unit then it starts properly.

I have to say also that there is only one kind of agents that are failing this way, these are the agents subordinated to the Glance unit.
I don't have any issue with the agents subordinates to nova-compute units.

Deployment informations :
- Deployed on MaaS (3.0) with Juju (2.9.5)
- Deployment for focal-ussuri