Ceilometer compute namespace drivers not loading

Bug #1522250 reported by Miguel Alejandro Cantu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Miguel Alejandro Cantu
Liberty
Fix Released
Medium
Jesse Pretorius
Trunk
Fix Released
Medium
Miguel Alejandro Cantu

Bug Description

When running "ceilometer-polling --polling-namespace compute" none of the drivers from the 'ceilometer.poll.compute' namespace are loaded. This results in none of the compute meters being produced.
After doing some digging(by adding log messages pretty much everywhere), it seems that stevedore can't load the libvirt module here[1], which is causing this callback function to execute[2].

ceilometer-polling.log after LOG.debug(exc) was added, which prints out the exception:
http://paste.openstack.org/show/480719/

I'm really scratching my head here and could use some help. Maybe the libvirt driver can't be loaded because it runs on a different venv?? I'm not so sure. Any advice would be appreciated!

[1] https://github.com/openstack/stevedore/blob/master/stevedore/extension.py#L153-L175
[2]https://github.com/openstack/ceilometer/blob/master/ceilometer/agent/manager.py#L285-L295

description: updated
Changed in openstack-ansible:
assignee: nobody → Miguel Alejandro Cantu (miguel-cantu)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/253196

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/253196
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=edf69b4969d7c3bf98db358b7a2c7894e5c4113a
Submitter: Jenkins
Branch: master

commit edf69b4969d7c3bf98db358b7a2c7894e5c4113a
Author: Miguel Alex Cantu <email address hidden>
Date: Thu Dec 3 20:34:35 2015 +0000

    Add libvirt-python to ceilometer hosts

    Ceilometer utilizes the libvirt library for gathering
    instance related metrics. This commit adds the package
    to the ceilometer hosts.

    Change-Id: I1e46a9a49b606e11cd12f06ce947990096b1ad08
    Closes-Bug: #1522250

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (liberty)

Reviewed: https://review.openstack.org/254114
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=88661b7647938cacd883ccfe168eb011dc2bd7b6
Submitter: Jenkins
Branch: liberty

commit 88661b7647938cacd883ccfe168eb011dc2bd7b6
Author: Miguel Alex Cantu <email address hidden>
Date: Thu Dec 3 20:34:35 2015 +0000

    Add libvirt-python to ceilometer hosts

    Ceilometer utilizes the libvirt library for gathering
    instance related metrics. This commit adds the package
    to the ceilometer hosts.

    Change-Id: I1e46a9a49b606e11cd12f06ce947990096b1ad08
    Closes-Bug: #1522250
    (cherry picked from commit edf69b4969d7c3bf98db358b7a2c7894e5c4113a)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.8

This issue was fixed in the openstack/openstack-ansible 12.0.8 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.9

This issue was fixed in the openstack/openstack-ansible 12.0.9 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 13.0.0

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 12.0.11

This issue was fixed in the openstack/openstack-ansible 12.0.11 release.

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.