Red Hat Bugzilla – Bug 1285314
Packstack needs to support aodh services since Mitaka
Last modified: 2016-06-17 09:36:09 EDT
Description of problem:
The Ceilometer project has moved all alarming code to a separate project (aodh), and there will be no more openstack-ceilometer-alarm-* services starting in Mitaka (see https://review.openstack.org/197161 for more details).
Currently, Packstack sets up ceilometer-alarm-notifier and ceilometer-alarm-evaluator, and this support should be updated to aodh-alarm-notifier and aodh-alarm-evaluator. There is already a puppet-aodh module in OPM, so it should be a relatively straightforward process.
Proposed https://review.openstack.org/251988 to add the Aodh support. It also depends on a patch to puppet-aodh (https://review.openstack.org/250472).
Hey guys, this is a blocker for Mitaka right now. It would be nice to have it fixed in time for the test days December 10th and 11th.
CI jobs are failing with:
172.16.0.232_ceilometer.pp: [ ERROR ]
05:36:33 Applying Puppet manifests [ ERROR ]
05:36:33 ERROR : Error appeared during Puppet run: 172.16.0.232_ceilometer.pp
05:36:33 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.
05:36:33 You will find full trace in log /var/tmp/packstack/20151205-094354-vPBt9o/manifests/172.16.0.232_ceilometer.pp.log
FYI I applied the patch in the review for aodh support (after installing pymongo manually) and got this error:
192.168.1.214_keystone.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 192.168.1.214_keystone.pp
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class ::aodh::keystone::auth at /var/tmp/packstack/07790ecc71bc4da0802aec628230ef92/manifests/192.168.1.214_keystone.pp:208 on node test-packstack-mitaka.openstacklocal
You will find full trace in log /var/tmp/packstack/20151205-142003-xnD30C/manifests/192.168.1.214_keystone.pp.log
I tried to find where OPM pulls it's dependencies (and failed) but in any case, it looks like we will also need to add the aodh puppet module there as well.
I confirm that once puppet-aodh is present (and that the mongodb support in aodh is pulled) this lets packstack installation complete on Mitaka.
*** Bug 1289667 has been marked as a duplicate of this bug. ***
From bz 1289667 aodh removes keystone configuration when manifest is applied:
(In reply to Ivan Chavero from comment #5)
> it seems that the aodh puppet module is not calling the apache class with
> the "purge_configs => false" directive, this might be an
> openstack-puppet-modules bug
Please propose the fix here, then we'll evaluate if we merge aodh support in packstack or just drop alarm from mitaka-1 testday.
Checking a packstack workaround for the purging of apache configurations
FYI, as the gerrit review states, it needs this patch applied on the aodh puppet module: https://review.openstack.org/#/c/250472/1, this patch is merged upstream but hasn't landed on OPM.
For mitaka-1 testday, alarm is temporarily removed in Packstack (same as rdom):
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions
Packstack Mitaka shipped with Aodh support, closing.