ceilometer-alarm-evaluator does not start: AttributeError: 'module' object has no attribute 'import_object'

Bug #1361917 reported by Adam Gandelman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
New
Undecided
Unassigned

Bug Description

https://review.openstack.org/#/c/115214/ migrated to using oslo.utils. ceilometer-alarm-evaluator relied on incubator's importutils.import_object, which does not exist in oslo.utils. This results in the following when attempting to start the service:

2014-08-26 17:26:16.087 16068 CRITICAL ceilometer [-] AttributeError: 'module' object has no attribute 'import_object'
2014-08-26 17:26:16.087 16068 TRACE ceilometer Traceback (most recent call last):
2014-08-26 17:26:16.087 16068 TRACE ceilometer File "/usr/local/bin/ceilometer-alarm-evaluator", line 10, in <module>
2014-08-26 17:26:16.087 16068 TRACE ceilometer sys.exit(evaluator())
2014-08-26 17:26:16.087 16068 TRACE ceilometer File "/opt/stack/old/ceilometer/ceilometer/cmd/alarm.py", line 42, in evaluator
2014-08-26 17:26:16.087 16068 TRACE ceilometer eval_service = importutils.import_object(cfg.CONF.alarm.evaluation_service)
2014-08-26 17:26:16.087 16068 TRACE ceilometer AttributeError: 'module' object has no attribute 'import_object'
2014-08-26 17:26:16.087 16068 TRACE ceilometer

This was actually showing up in the gate for the review that migrated it, tho it wasn't triggering any failures as we dont appear to be doing much with the service and the log errors are not failing jobs ATM (it seems):

http://logs.openstack.org/14/115214/7/check/check-tempest-dsvm-full/ded3ad2/logs/screen-ceilometer-alarm-evaluator.txt.gz

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.