Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

does cloudkitty works well?

I am looking at Newton version cloudkitty code these days. It polls ceilometer api (I have not use gnocchi backend) to get porject_id, resources and metadata etc.

I am wondering if cloudkitty can really works well with querying ceilometer-api, because I always get such problems with ceilometer api, when I query resources or statistics.

10.0.192.18 - - [16/Jun/2017 10:38:28] "GET /v2/resources/10a8863d-5a5a-4324-8f6d-5f265e4452b6 HTTP/1.1" 500 1028 Traceback (most recent call last): File "/usr/lib64/python2.7/wsgiref/handlers.py", line 86, in run self.finish_response() File "/usr/lib64/python2.7/wsgiref/handlers.py", line 128, in finish_response self.write(data) File "/usr/lib64/python2.7/wsgiref/handlers.py", line 212, in write self.send_headers() File "/usr/lib64/python2.7/wsgiref/handlers.py", line 270, in send_headers self.send_preamble() File "/usr/lib64/python2.7/wsgiref/handlers.py", line 191, in send_preamble self._write('HTTP/%s %s\r\n' % (self.http_version,self.status)) File "/usr/lib64/python2.7/wsgiref/handlers.py", line 391, in _write self.stdout.write(data) File "/usr/lib64/python2.7/socket.py", line 324, in write self.flush() File "/usr/lib64/python2.7/socket.py", line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size])

and

Exception happened during processing of request from ('10.0.192.18', 33730) Traceback (most recent call last): File "/usr/lib64/python2.7/SocketServer.py", line 295, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib64/python2.7/SocketServer.py", line 321, in process_request self.finish_request(request, client_address) File "/usr/lib64/python2.7/SocketServer.py", line 334, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib64/python2.7/SocketServer.py", line 651, in __init__ self.finish() File "/usr/lib64/python2.7/SocketServer.py", line 710, in finish self.wfile.close() File "/usr/lib64/python2.7/socket.py", line 279, in close self.flush() File "/usr/lib64/python2.7/socket.py", line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) error: [Errno 32] Broken pipe

It really happens when ceilometer-api faces frequent queries. probably its not cloudkitty problem, but ceilometer-api or deployment problem. how can I avoid such problem?

does cloudkitty works well?

I am looking at Newton version cloudkitty code these days. It polls ceilometer api (I have not use gnocchi backend) to get porject_id, resources and metadata etc.

I am wondering if cloudkitty can really works well with querying ceilometer-api, because I always get such problems with ceilometer api, when I query resources or statistics.

10.0.192.18 - - [16/Jun/2017 10:38:28] "GET /v2/resources/10a8863d-5a5a-4324-8f6d-5f265e4452b6 HTTP/1.1" 500 1028 Traceback (most recent call last): File "/usr/lib64/python2.7/wsgiref/handlers.py", line 86, in run self.finish_response() File "/usr/lib64/python2.7/wsgiref/handlers.py", line 128, in finish_response self.write(data) File "/usr/lib64/python2.7/wsgiref/handlers.py", line 212, in write self.send_headers() File "/usr/lib64/python2.7/wsgiref/handlers.py", line 270, in send_headers self.send_preamble() File "/usr/lib64/python2.7/wsgiref/handlers.py", line 191, in send_preamble self._write('HTTP/%s %s\r\n' % (self.http_version,self.status)) File "/usr/lib64/python2.7/wsgiref/handlers.py", line 391, in _write self.stdout.write(data) File "/usr/lib64/python2.7/socket.py", line 324, in write self.flush() File "/usr/lib64/python2.7/socket.py", line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size])

and

Exception happened during processing of request from ('10.0.192.18', 33730) Traceback (most recent call last): File "/usr/lib64/python2.7/SocketServer.py", line 295, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib64/python2.7/SocketServer.py", line 321, in process_request self.finish_request(request, client_address) File "/usr/lib64/python2.7/SocketServer.py", line 334, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib64/python2.7/SocketServer.py", line 651, in __init__ self.finish() File "/usr/lib64/python2.7/SocketServer.py", line 710, in finish self.wfile.close() File "/usr/lib64/python2.7/socket.py", line 279, in close self.flush() File "/usr/lib64/python2.7/socket.py", line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) error: [Errno 32] Broken pipe

It really happens when ceilometer-api faces frequent queries. probably its not cloudkitty problem, but ceilometer-api or deployment problem. how can I avoid such problem?

does cloudkitty works well?

I am looking at Newton version cloudkitty code these days. It polls ceilometer api (I have not use gnocchi backend) to get porject_id, resources and metadata etc.

I am wondering if cloudkitty can really works well with querying ceilometer-api, because I always get such problems with ceilometer api, when I query resources or statistics.

10.0.192.18 - - [16/Jun/2017 10:38:28] "GET /v2/resources/10a8863d-5a5a-4324-8f6d-5f265e4452b6 HTTP/1.1" 500 1028
 Traceback (most recent call last):
   File "/usr/lib64/python2.7/wsgiref/handlers.py", line 86, in run
     self.finish_response()
   File "/usr/lib64/python2.7/wsgiref/handlers.py", line 128, in finish_response
     self.write(data)
   File "/usr/lib64/python2.7/wsgiref/handlers.py", line 212, in write
     self.send_headers()
   File "/usr/lib64/python2.7/wsgiref/handlers.py", line 270, in send_headers
     self.send_preamble()
   File "/usr/lib64/python2.7/wsgiref/handlers.py", line 191, in send_preamble
     self._write('HTTP/%s %s\r\n' % (self.http_version,self.status))
   File "/usr/lib64/python2.7/wsgiref/handlers.py", line 391, in _write
     self.stdout.write(data)
   File "/usr/lib64/python2.7/socket.py", line 324, in write
     self.flush()
   File "/usr/lib64/python2.7/socket.py", line 303, in flush
      self._sock.sendall(view[write_offset:write_offset+buffer_size])

self._sock.sendall(view[write_offset:write_offset+buffer_size])

and

Exception happened during processing of request from ('10.0.192.18', 33730)
 Traceback (most recent call last):
   File "/usr/lib64/python2.7/SocketServer.py", line 295, in _handle_request_noblock
     self.process_request(request, client_address)
   File "/usr/lib64/python2.7/SocketServer.py", line 321, in process_request
     self.finish_request(request, client_address)
   File "/usr/lib64/python2.7/SocketServer.py", line 334, in finish_request
     self.RequestHandlerClass(request, client_address, self)
   File "/usr/lib64/python2.7/SocketServer.py", line 651, in __init__
     self.finish()
   File "/usr/lib64/python2.7/SocketServer.py", line 710, in finish
     self.wfile.close()
   File "/usr/lib64/python2.7/socket.py", line 279, in close
     self.flush()
   File "/usr/lib64/python2.7/socket.py", line 303, in flush
     self._sock.sendall(view[write_offset:write_offset+buffer_size])
 error: [Errno 32] Broken pipe

pipe

It really happens when ceilometer-api faces frequent queries. probably its not cloudkitty problem, but ceilometer-api or deployment problem. how can I avoid such problem? problem?