Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

gnocchi ceilometer ubuntu pike

Good afternoon,

I am carrying out the OpenStack update to the Pike version.

I have problems when executing gnocchi-api with uwsgi and executing the command.

ceilometer-upgrade --skip-metering-database

I am using the official OpenStack and Gnocchi guide as it comes in the same configuration files are the same.

https://docs.openstack.org/ceilometer/pike/install/install-base-ubuntu.html

http://gnocchi.xyz/architecture.html

ERRORS OF gnocchi-api.

2017-11-08 18: 05: 23,167 [23592] WARNING keystonemiddleware.auth_token: Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint 2017-11-08 18: 05: 23,169 [23606] WARNING keystonemiddleware._common.config: The option "__file__" in conf is not known to auth_token 2017-11-08 18: 05: 23,169 [23606] WARNING keystonemiddleware._common.config: The option "configkey" in conf is not known to auth_token 2017-11-08 18: 05: 23,169 [23606] WARNING keystonemiddleware._common.config: The option "here" in conf is not known to auth_token 2017-11-08 18: 05: 23,173 [23606] WARNING keystonemiddleware.auth_token: AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behavior. Please set this to True.

ERRORS OF gnocchi-statsd

2017-11-08 18: 06: 40,917 [25371] CRITICAL root: Traceback (most recent call last): File "/ usr / local / bin / gnocchi-statsd", line 11, in <module> sys.exit (statsd ()) File "/usr/local/lib/python2.7/dist-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start () File "/usr/local/lib/python2.7/dist-packages/gnocchi/statsd.py", line 172, in start raise cfg.RequiredOptError ("resource_id", cfg.OptGroup ("statsd")) RequiredOptError: value required for option resource_id in group [statsd]

ERRORS OF CEILOMETER ceilometer-upgrade --skip-metering-database

2017-11-08 18: 07: 06.604 25402 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2017-11-08 18: 07: 06.605 25402 INFO ceilometer.cmd.storage [-] Skipping metering database upgrade 2017-11-08 18: 07: 17.811 25402 CRITICAL ceilometer [-] Unhandled error: ConnectionFailure: Unable to establish connection to http: // controller: 8041 / v1 / resource_type / ceph_account: HTTPConnectionPool (host = 'controller', port = 8041): Max retries exceeded with url: / v1 / resource_type / ceph_account (Caused by NewConnectionError ('<urllib3.connection.httpconnection object="" at="" 0x7f4455a88990="">: Failed to establish a new connection: [Errno 111] Connection refused',)) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer Traceback (most recent call last): 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer File "/ usr / bin / ceilometer-upgrade", line 10, in <module> 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer sys.exit (upgrade ()) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/cmd/storage.py", line 59, in upgrade 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer gnocchi_client.upgrade_resource_types (conf) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/gnocchi_client.py", line 194, in upgrade_resource_types 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer gnocchi.resource_type.get (name = name) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/v1/resource_type.py", line 44, in get 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer headers = {'Content-Type': "application / json"}). Json () 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/v1/base.py", line 37, in _get 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer return self.client.api.get (* args, * kwargs) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 288, in get 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer return self.request (url, 'GET', * kwargs) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/client.py", line 41, in request 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer message = str (e), url = url, method = method) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer ConnectionFailure: Unable to establish connection to http: // controller: 8041 / v1 / resource_type / ceph_account: HTTPConnectionPool (host = 'controller', port = 8041): Max retries exceeded with url: / v1 / resource_type / ceph_account (Caused by NewConnectionError ('<urllib3.connection.httpconnection object="" at="" 0x7f4455a88990="">: Failed to establish a new connection: [Errno 111] Connection refused',)) 2017-11-08 18: 07: 17.811 25402 ERROR ceilometer

I would appreciate the help, greetings