Ceilometer service breaks when aodh not configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Nate Potter |
Bug Description
I recently deployed OpenStack using openstack-ansible and configured it to deploy ceilometer but not aodh alarming. The playbooks completed successfully, but when I tried to make calls to ceilometer it would return 503 Service Unavailable. Looking into the ceilometer API logs, I discovered that this was because it was looking for an alarm mongodb connection at localhost, when I had configured mongo to serve at the management IP for the ceilometer host. It correctly configured the metering_connection and the event_connection in ceilometer.conf, but had also added an extra line for alarm_connection that was configured incorrectly because I hadn't included aodh. Removing the incorrect line from the conf file fixed the problem.
The OSA playbooks should check to see if any aodh hosts are defined, and if they aren't these configurations shouldn't be included in ceilometer.conf.
Changed in openstack-ansible: | |
assignee: | nobody → Nate Potter (ntpttr) |
Fix proposed to branch: master /review. openstack. org/284392
Review: https:/