The file imports the module here:
https://github.com/openstack/ceilometer/blob/14b4cdbb5138ea3ab6fb7166de3f70ae85820176/ceilometer/cmd/alarm.py#L18
like this:
====================================
from oslo.utils import importutils
======================================
And calls its method here:
https://github.com/openstack/ceilometer/blob/14b4cdbb5138ea3ab6fb7166de3f70ae85820176/ceilometer/cmd/alarm.py#L18
like this:
=====================================================
eval_service = importutils.import_object(cfg.CONF.alarm.evaluation_service)
=====================================================
While in fact, there's no public method import_object defined in class oslo.utils.importutils from oslo.utils version 0.2.0 (The latest requirement.txt of ceilometer claims requirement for oslo.utils >= 0.2.0)
Fix proposed to branch: master /review. openstack. org/117129
Review: https:/