Bug 1434413

Summary: unicode error on ceilometer on "/usr/lib/python2.7/site-packages/ceilometer/coordination.py", line 227
Product: Red Hat OpenStack Reporter: Eduard Barrera <ebarrera>
Component: openstack-ceilometerAssignee: Julien Danjou <jdanjou>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: ebarrera, jdanjou, jjoyce, jruzicka, mabaakou, madko, pkilambi, srevivo, ssmolyak, vaggarwa
Target Milestone: z3Keywords: Rebase, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ceilometer-7.0.3-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 15:30:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
error on horizon none

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