Either Keystone is not running, but that would cause other problems in the cloud. In short, the cloud would not function at all.

Or the URL http://127.0.0.1:35357 in the Gnocchi configuration is incorrect. 127.0.0.1 (localhost) is an unusual address, to say the least; try 192.168.133.81 instead. Also ensure that Keystone listens at port 35357 and correct it if not.

Bernd.

On 7/12/2019 2:00 PM, Nehal Bansal wrote:
I am trying to install Ceilometer service with Openstack queens release. On installing gnocchi-api with apt-get install gnocchi-api I get the following error:

Registering service and endpoints for gnocchi with type metric at http://192.168.133.81:8041
Failed to discover available identity versions when contacting http://127.0.0.1:35357/v3/. Attempting to parse version from URL.
Unable to establish connection to http://127.0.0.1:35357/v3/auth/tokens: HTTPConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0bf2672250>: Failed to establish a new connection: [Errno 111] Connection refused',))

Kindly, let me know how to proceed from here.