Bug 1434413 - unicode error on ceilometer on "/usr/lib/python2.7/site-packages/ceilometer/coordination.py", line 227
Summary: unicode error on ceilometer on "/usr/lib/python2.7/site-packages/ceilometer/c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: z3
: 10.0 (Newton)
Assignee: Julien Danjou
QA Contact: Sasha Smolyak
URL:
Whiteboard:
: 1437938 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-21 13:07 UTC by Eduard Barrera
Modified: 2020-12-14 08:22 UTC (History)
10 users (show)

Fixed In Version: openstack-ceilometer-7.0.3-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-28 15:30:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error on horizon (44.70 KB, image/png)
2017-03-21 13:23 UTC, Eduard Barrera
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1621305 0 None None None 2017-03-21 14:14:26 UTC
OpenStack gerrit 448120 0 'None' MERGED Fix UnicodeEncodeError in Ceilometer polling 2020-10-13 23:49:20 UTC
RDO 5910 0 None None None 2017-03-22 12:46:13 UTC
Red Hat Product Errata RHBA-2017:1586 0 normal SHIPPED_LIVE openstack-ceilometer bug fix advisory 2017-06-28 19:12:53 UTC

Description Eduard Barrera 2017-03-21 13:07:27 UTC
Description of problem:

2017-03-21 11:13:10.685 1033426 ERROR ceilometer.agent.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call
2017-03-21 11:13:10.685 1033426 ERROR ceilometer.agent.manager     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
2017-03-21 11:13:10.685 1033426 ERROR ceilometer.agent.manager   File "/usr/lib/python2.7/site-packages/ceilometer/coordination.py", line 227, in extract_my_subset
2017-03-21 11:13:10.685 1033426 ERROR ceilometer.agent.manager     if hr.get_node(str(v)) == self._my_id]
2017-03-21 11:13:10.685 1033426 ERROR ceilometer.agent.manager UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 66: ordinal not in range(128)

Version-Release number of selected component (if applicable):

RHOS 10



Steps to Reproduce:
1. not sure
2.
3.

Actual results:
The previous trace

Expected results:
no trace

Additional info:

Comment 3 Eduard Barrera 2017-03-21 13:23:35 UTC
Created attachment 1265066 [details]
error on horizon

Comment 5 Julien Danjou 2017-03-21 15:09:51 UTC
I am backporting the patch to stable/newton upstream and will release a new Ceilometer version as soon as it's merged.

Comment 7 Julien Danjou 2017-03-21 19:40:41 UTC
There is something out there that is not ASCII unfortunately. I don't know what it is but it might be well hidden.

I've sent a patch upstream to release Ceilometer 7.0.3 with that fix: https://review.openstack.org/448254

Pradeep, I handle it to you to be sure the package is updated and pushed downstream.

Comment 8 Julien Danjou 2017-03-21 19:40:50 UTC
There is something out there that is not ASCII unfortunately. I don't know what it is but it might be well hidden.

I've sent a patch upstream to release Ceilometer 7.0.3 with that fix: https://review.openstack.org/448254

Pradeep, I handle it to you to be sure the package is updated and pushed downstream.

Comment 9 Julien Danjou 2017-03-22 08:23:30 UTC
The upstream release is out.

Comment 16 Mehdi ABAAKOUK 2017-04-10 17:32:39 UTC
*** Bug 1437938 has been marked as a duplicate of this bug. ***

Comment 24 Edouard Bourguignon 2017-05-26 13:59:52 UTC
Hello,

Any ETA for this 7.0.3 package in RDO/Newton ?

Best regards,
Edouard

Comment 25 Mehdi ABAAKOUK 2017-05-28 16:40:22 UTC
RDO already have 7.0.4 https://cbs.centos.org/koji/buildinfo?buildID=17172

Comment 26 Edouard Bourguignon 2017-05-30 14:39:10 UTC
Sorry I meant an ETA for RDO/Newton repo. Can't find in it.

Comment 27 Mehdi ABAAKOUK 2017-05-30 15:46:33 UTC
Package 7.0.3 is ready for RDO too, I have no idea why it's not promoted to the stable repo yet. You should ask support with RDO folks instead of here.

Comment 28 Mehdi ABAAKOUK 2017-05-30 15:47:53 UTC
You can check the newton trunk repo: https://trunk.rdoproject.org/centos7-newton/current/, the package is there too.

Comment 31 Sasha Smolyak 2017-06-15 08:50:53 UTC
Tested, the non-legal character doesn't cause errors in ceilometer anymore

Comment 33 errata-xmlrpc 2017-06-28 15:30:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1586


Note You need to log in before you can comment on or make changes to this bug.