[openstack-dev] [Openstack-dev] [Ceilometer] Adding Alarms gives error
Somanchi Trinath-B39208
B39208 at freescale.com
Thu Sep 19 12:25:17 UTC 2013
Hi Stackers!
I was getting to understand ceilometer.
I get the following error when I create an alarm.
>From the client I issue the command :
root at openstack:~# ceilometer alarm-create --name alm1 --description test --project-id 28296b3cb50f403c80e3c47a025398cc --user-id d7f7bb7a07504c29bd6cd2151fb7f2e3 --period 10 --state ok --meter-name m22 --statistic min
>From the Ceilometer API side, I get this error log,
2013-09-19 17:51:12.250 8385 ERROR wsme.api [-] Server-side error: "coercing to Unicode: need string or buffer, Message found". Detail:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/wsmeext/pecan.py", line 72, in callfunction
result = f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ceilometer/api/controllers/v2.py", line 1144, in post
raise wsme.exc.ClientSideError(error)
File "/usr/local/lib/python2.7/dist-packages/wsme/exc.py", line 9, in __init__
super(ClientSideError, self).__init__(self.faultstring)
File "/usr/local/lib/python2.7/dist-packages/wsme/exc.py", line 18, in faultstring
return six.u(self.msg)
File "/usr/lib/python2.7/dist-packages/six.py", line 262, in u
return unicode(s, "unicode_escape")
TypeError: coercing to Unicode: need string or buffer, Message found
Is there anything wrong with the input I'm sending to the API.
Kindly help me resolve this issue.
Thanking you..
--
Trinath Somanchi - B39208
trinath.somanchi at freescale.com | extn: 4048
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130919/fd9343f2/attachment.html>
More information about the OpenStack-dev
mailing list