ceilometer-upgrade.log shows Unauthorized (HTTP 401)

asked 2017-04-25 08:30:00 -0500

gertje gravatar image

Platform: ocata on CentOS 7.3 Testing: gnocchi/ceilometer implementation with CEPH as backend storage First gnocchi setup. Created gnocchi index using gnocchi-upgrade --create-legacy-resource-types Started the gnocchi-api and gnocchi-metricd succesfully. Configuration of ceilometer following the official openstack installation tutorial for RedHat/CentOS. After setting up [service_credentials] section in ceilometer.conf and [keystone_authtoken] section in ceilometer.conf, we ran ceilometer-upgrade --skip-metering-database This went wrong. The /var/log/ceilometer/ceilometer-upgrade.log file shows INFO ceilometer.cmd.storage [-] Skipping metering database upgrade 2017-04-25 13:13:00.617 12844 CRITICAL ceilometer [-] Unauthorized: Unauthorized (HTTP 401) 2017-04-25 13:13:00.617 12844 ERROR ceilometer Traceback (most recent call last): 2017-04-25 13:13:00.617 12844 ERROR ceilometer File "/bin/ceilometer-upgrade", line 10, in <module> 2017-04-25 13:13:00.617 12844 ERROR ceilometer sys.exit(upgrade()) 2017-04-25 13:13:00.617 12844 ERROR ceilometer File "/usr/lib/python2.7/site-packages/ceilometer/cmd/storage.py", line 53, in upgrade 2017-04-25 13:13:00.617 12844 ERROR ceilometer gnocchi_client.upgrade_resource_types(conf) 2017-04-25 13:13:00.617 12844 ERROR ceilometer File "/usr/lib/python2.7/site-packages/ceilometer/gnocchi_client.py", line 113, in upgrade_resource_types 2017-04-25 13:13:00.617 12844 ERROR ceilometer gnocchi.resource_type.get(name=name) 2017-04-25 13:13:00.617 12844 ERROR ceilometer File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/resource_type.py", line 44, in get 2017-04-25 13:13:00.617 12844 ERROR ceilometer headers={'Content-Type': "application/json"}).json() 2017-04-25 13:13:00.617 12844 ERROR ceilometer File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/base.py", line 37, in _get 2017-04-25 13:13:00.617 12844 ERROR ceilometer return self.client.api.get(args, *kwargs) 2017-04-25 13:13:00.617 12844 ERROR ceilometer File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 217, in get 2017-04-25 13:13:00.617 12844 ERROR ceilometer return self.request(url, 'GET', **kwargs) 2017-04-25 13:13:00.617 12844 ERROR ceilometer File "/usr/lib/python2.7/site-packages/gnocchiclient/client.py", line 38, in request 2017-04-25 13:13:00.617 12844 ERROR ceilometer raise exceptions.from_response(resp, method) 2017-04-25 13:13:00.617 12844 ERROR ceilometer Unauthorized: Unauthorized (HTTP 401) 2017-04-25 13:13:00.617 12844 ERROR ceilometer

Please advise. rgds, -gw

edit retag flag offensive close merge delete