Red Hat Bugzilla – Bug 1287252
openstack-ceilometer-alarm-notifier does not start: unit file is missing
Last modified: 2017-07-05 09:33:37 EDT
openstack-ceilometer-alarm-notifier does not start right now off of a fresh Liberty Delorean Current installation through Packstack.
13:59:19 ERROR : Error appeared during Puppet run: 172.16.0.137_ceilometer.pp
13:59:19 Error: Could not start Service[ceilometer-alarm-notifier]: Execution of '/usr/bin/systemctl start openstack-ceilometer-alarm-notifier' returned 6: Failed to issue method call: Unit openstack-ceilometer-alarm-notifier.service failed to load: No such file or directory.
13:59:19 You will find full trace in log /var/tmp/packstack/20151201-182002-vn29TL/manifests/172.16.0.137_ceilometer.pp.log
It looks like this service has been removed in master branch:
Did this somehow make it into the Liberty package ?
This was caused by the openstach-aodh-compat package. Since commit https://github.com/openstack-packages/aodh/commit/65e47d31d65ce48e19d0e7904d651c039e89c28f , it is obsoleting openstack-ceilometer-alarm, so it gets installed instead.
This change was supposed to be Mitaka-only, but an rpm-liberty branch was not created. I'm fixing this now, will update when the package update is done.
The centos-liberty repo is now fixed. Could you check that everything is ok?
I've had a successful build now, this resolved the issue. Thanks.
So aodh did not have a liberty branch and we had the mitaka package in liberty ?
Aodh is replacing ceilometer alarm components in Liberty. I don't know why you try to run openstack-ceilometer-alarm-notifier ? You should rather try to run openstack-aodh-notifier.
@Emilien thanks. It comes from here: https://github.com/openstack/packstack/blob/master/packstack/puppet/templates/ceilometer.pp#L47
I will see with the Packstack maintainers if we should file a bug about that.
Just following up on my previous comment, there is already a review up for Aodh integration in Packstack: https://review.openstack.org/#/c/251988/
I'm confused about the situation in Liberty. From other sources, the information I'm receiving is that we are keeping ceilometer-alarm in Liberty and moving to aodh in Mitaka. @Eoghan could you clarify?
In any case, the Packstack change to add support to Aodh is being reviewed, so it would only be a matter of cherry-picking it into the Liberty branch.
For Liberty, ceilometer-alarm is deprecated in favor of openstack-aodh. If someone prefers to stick with ceilometer-alarm for Liberty they can or upgrade to Aodh which is recommended. Starting Mitaka, Aodh is enforced and should be used fro alarms.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions