<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes, you should update Ceilometer.<br>
<br>
Or modify the ceilometer/energy/kwapi.py like this (line 46) :<br>
- message = request.json<br>
+ message = request.json()<br>
<br>
<br>
<div class="moz-cite-prefix">Le 20/09/2013 12:13, Elton Kevani a
écrit :<br>
</div>
<blockquote cite="mid:DUB117-W6434C2D14FE4C7831F24BDAD220@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"><br>
Thanks for the quick fix.
<div><br>
<div>Now kwapi-api is working just fine :-D . Now i have
errors in ceilometer side:</div>
<div><br>
</div>
<div>
<div>2013-09-20 12:05:41 INFO [urllib3.connectionpool]
Starting new HTTP connection (1): 10.10.10.121</div>
<div>2013-09-20 12:05:41 DEBUG [urllib3.connectionpool]
"GET /v1/probes/ HTTP/1.1" 200 344</div>
<div>2013-09-20 12:05:41 WARNING
[ceilometer.central.manager] Continue after error from
kwapi: 'instancemethod' object has no attribute
'__getitem__'</div>
<div>2013-09-20 12:05:41 ERROR
[ceilometer.central.manager] 'instancemethod' object has
no attribute '__getitem__'</div>
<div>Traceback (most recent call last):</div>
<div> File
"/usr/lib/python2.7/dist-packages/ceilometer/central/manager.py",
line 50, in poll_and_publish</div>
<div> self.manager)))</div>
<div> File
"/usr/lib/python2.7/dist-packages/ceilometer/energy/kwapi.py",
line 82, in get_counters</div>
<div> for probe in self.iter_probes(manager.keystone):</div>
<div> File
"/usr/lib/python2.7/dist-packages/ceilometer/energy/kwapi.py",
line 45, in iter_probes</div>
<div> probes = message['probes']</div>
<div>TypeError: 'instancemethod' object has no attribute
'__getitem__'</div>
<div><br>
</div>
<div><br>
</div>
<div>Do you know something about this error?</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>