Ask Your Question

ceilometer meter-list error: HTTPBadGateway (HTTP 502)

asked 2014-02-05 02:37:16 -0500

harry gravatar image

updated 2014-02-05 05:14:09 -0500

I want modify Ceilometer to add some more features. I am using DevStack on Ubuntu12.04 based on stable/havana. My localrc is as follows.


I can login to Horizon via Firefox, and "keystone service-list" also works. But when I type "ceilometer -d meter-list", it claims

stack@peer:~/havana/devstack$ ceilometer -d meter-list 
WARNING (http:172) Request returned failure status.
Traceback (most recent call last):
  File "/usr/local/bin/ceilometer", line 10, in <module>
  File "/opt/stack/python-ceilometerclient/ceilometerclient/", line 335, in main
  File "/opt/stack/python-ceilometerclient/ceilometerclient/", line 289, in main
    args.func(client, args)
  File "/opt/stack/python-ceilometerclient/ceilometerclient/v2/", line 144, in do_meter_list
    meters = cc.meters.list(q=options.cli_to_array(args.query))
  File "/opt/stack/python-ceilometerclient/ceilometerclient/v2/", line 31, in list
    return self._list(options.build_url(path, q))
  File "/opt/stack/python-ceilometerclient/ceilometerclient/common/", line 58, in _list
    resp, body = self.api.json_request('GET', url)
  File "/opt/stack/python-ceilometerclient/ceilometerclient/common/", line 190, in json_request
    resp, body_iter = self._http_request(url, method, **kwargs)
  File "/opt/stack/python-ceilometerclient/ceilometerclient/common/", line 173, in _http_request
    raise exc.from_response(resp, ''.join(body_iter))
ceilometerclient.exc.HTTPBadGateway: HTTPBadGateway (HTTP 502)

Anyone can help? or give me some hint? Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-05 19:34:54 -0500

harry gravatar image

the problem solved by "unset http_proxy" in the cmd line.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-02-05 02:37:16 -0500

Seen: 647 times

Last updated: Feb 05 '14