ceilometer-collector won't run and pkg_resource raise "global name 'utf8' is not defined"

Bug #1092856 reported by Brooklyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Critical
Brooklyn

Bug Description

When I change database_connection to mysql, the ceilometer-collector won't run.

I found "pkg_resources" raises "global name 'utf8' is not defined" when it tries to import "ceilometer.storage.impl_sqlalchemy".

Expected output:

ceilometer-collector runs as expected.

Brooklyn (yuanotes)
Changed in ceilometer:
status: New → Fix Committed
Revision history for this message
Julien Danjou (jdanjou) wrote :
Changed in ceilometer:
assignee: nobody → Julien Danjou (jdanjou)
importance: Undecided → Critical
status: Fix Committed → Confirmed
status: Confirmed → In Progress
Brooklyn (yuanotes)
Changed in ceilometer:
assignee: Julien Danjou (jdanjou) → Brooklyn (yuanotes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Brooklyn (yuanotes)
Changed in ceilometer:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/18644
Committed: http://github.com/openstack/ceilometer/commit/1ae26a45928ed34330c407f852da7fe055f73402
Submitter: Jenkins
Branch: master

commit 1ae26a45928ed34330c407f852da7fe055f73402
Author: Brooklyn Chen <email address hidden>
Date: Tue Dec 25 20:02:49 2012 +0800

    Fix MySQL charset error.

    If using MySQL, there's a bug with the charset setting which is declared as
    a variable whereas it should be a string. This fixes bug #1092856 and adds
    a test for this.

    Change-Id: I76e19e2dd86f920aa7c9f792da7057d42ed3e9c9

Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: grizzly-2 → 2013.1
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.