<div dir="ltr">Hi,<div><br></div><div>This looks like packaging problem while running postinst hook since endpoint is hardcoded in pkgos_get_id().</div><div>As a workaround I may advice you to configure gnocchi as wsgi application: <a href="https://gnocchi.xyz/operating.html#running-api-as-a-wsgi-application">https://gnocchi.xyz/operating.html#running-api-as-a-wsgi-application</a> or just install service using pip (I guess you'll need 2.x version for Queens).</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 12 июл. 2019 г. в 08:00, Nehal Bansal <<a href="mailto:bansalnehal26@gmail.com">bansalnehal26@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div>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:</div><div><br></div><div>Registering service and endpoints for gnocchi with type metric at <a href="http://192.168.133.81:8041" target="_blank">http://192.168.133.81:8041</a><br>Failed to discover available identity versions when contacting <a href="http://127.0.0.1:35357/v3/" target="_blank">http://127.0.0.1:35357/v3/</a>. Attempting to parse version from URL.<br>Unable to establish connection to <a href="http://127.0.0.1:35357/v3/auth/tokens" target="_blank">http://127.0.0.1:35357/v3/auth/tokens</a>: 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',))<br>Warning - data is empty<br>Failed to discover available identity versions when contacting <a href="http://127.0.0.1:35357/v3/" target="_blank">http://127.0.0.1:35357/v3/</a>. Attempting to parse version from URL.<br>Unable to establish connection to <a href="http://127.0.0.1:35357/v3/auth/tokens" target="_blank">http://127.0.0.1:35357/v3/auth/tokens</a>: HTTPConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1c8b0cb90>: Failed to establish a new connection: [Errno 111] Connection refused',))<br>dpkg: error processing package gnocchi-api (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>Errors were encountered while processing:<br> gnocchi-api<br>E: Sub-process /usr/bin/dpkg returned an error code (1)</div><div><br></div><div>Kindly, let me know how to proceed from here.</div><div><br></div><div>Regards,</div><div>Nehal<br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">--<div>С Уважением,</div><div>Дмитрий</div></div></div>