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

Bug #1092856 reported by Brooklyn on 2012-12-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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) on 2012-12-21
Changed in ceilometer:
status: New → Fix Committed
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) on 2012-12-25
Changed in ceilometer:
assignee: Julien Danjou (jdanjou) → Brooklyn (yuanotes)
Brooklyn (yuanotes) on 2012-12-25
Changed in ceilometer:
status: In Progress → Fix Committed

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) on 2013-01-09
Changed in ceilometer:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-04-04
Changed in ceilometer:
milestone: grizzly-2 → 2013.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers