running gnocchi in a virtualenv means ceilometer collection can't find gnocchi.ceilometer.dispatcher

Bug #1463105 reported by Chris Dent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Pradeep Kilambi
Gnocchi
Fix Released
Medium
Pradeep Kilambi

Bug Description

If you run a devstack with gnocchi with USE_VENV=True then the ceilometer-collector cannot dispatch measurements to gnocchi:

    2015-06-08 17:12:31.443 15340 ERROR oslo_messaging.notify.dispatcher RuntimeError: No ceilometer.dispatcher extensions found

No surprise: the setup.cfg that adds gnocchi.ceilometer.dispatcher to entry points is in a different virtual env.

Possible fixes to this problem:

* Make gnocchi use ceilometer.venv for its venv. Instead of this in plugin.sh:

       PROJECT_VENV["gnocchi"]=${GNOCCHI_DIR}.venv

  do

         PROJECT_VENV["gnocchi"]=${CEILOMETER_DIR}.venv

* Accelerate moving the ceiolometer dispatcher code to ceilometer.

* Temporary workaround: don't USE_VENV

The first is not tested but is likely something we'll to make work across the ceilometer suite as we break up the repos but still want some kind of integration testing.

Revision history for this message
Julien Danjou (jdanjou) wrote :

The long term solution is to move the dispatcher to Ceilometer, that's what we're working on. I think Pradeep is.

Changed in gnocchi:
status: New → Triaged
Changed in ceilometer:
status: New → Triaged
Revision history for this message
Julien Danjou (jdanjou) wrote :

This has been done, the dispatcher is now in Ceilometer.

Changed in gnocchi:
importance: Undecided → Medium
Changed in ceilometer:
importance: Undecided → Medium
Changed in gnocchi:
milestone: none → 1.1.0rc1
status: Triaged → Fix Committed
Changed in ceilometer:
status: Triaged → Fix Committed
milestone: none → next
assignee: nobody → Pradeep Kilambi (pkilambi)
Changed in gnocchi:
assignee: nobody → Pradeep Kilambi (pkilambi)
Julien Danjou (jdanjou)
Changed in gnocchi:
status: Fix Committed → Fix Released
gordon chung (chungg)
Changed in ceilometer:
milestone: next → liberty-rc1
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: liberty-rc1 → 5.0.0
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.