Issue
[root@openstack1 ~]# gnocchi metric list
Unable to establish connection to http://localhost:8041/v1/metric?: HTTPConnectionPool(host='localhost', port=8041): Max retries exceeded with url: /v1/metric (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x2fa67d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
Version
kolla-ansible:pike
openstack:pike
Issue localhost: 8041/v1/ metric?: HTTPConnectionP ool(host= 'localhost' , port=8041): Max retries exceeded with url: /v1/metric (Caused by NewConnectionEr ror('<requests. packages. urllib3. connection. HTTPConnection object at 0x2fa67d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
[root@openstack1 ~]# gnocchi metric list
Unable to establish connection to http://
[root@openstack1 ~]# egrep "^[^#]" admin-openrc.sh DOMAIN_ NAME=Default DOMAIN_ NAME=Default NAME=admin NAME=admin 172.17. 51.30:35357/ v3 internal API_VERSION= 3 NAME=RegionOne API_VERSION= 1.20
export OS_PROJECT_
export OS_USER_
export OS_PROJECT_
export OS_TENANT_
export OS_USERNAME=xxxxx
export OS_PASSWORD=xxxxx
export OS_AUTH_URL=http://
export OS_INTERFACE=
export OS_IDENTITY_
export OS_REGION_
export IRONIC_
Reference python- gnocchiclient connecting to localhost, bug fix /review. openstack. org/436684
https:/