Ask Your Question
0

Trove-taskmanager Error AuthorizationFailure

asked 2017-05-15 09:10:18 -0500

Myrat gravatar image

OS: Ubuntu 16.04
openstack : newton

I configuration trove-taskmanager.conf like https://docs.openstack.org/project-install-guide/database/newton/install-ubuntu.html (this).

a part of :
nova_proxy_admin_user = admin
nova_proxy_admin_pass = 123456
nova_proxy_admin_tenant_name = service

but there is something wrong in trove-taskmanager.log .

2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task [-] Error during Manager.publish_exists_event
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task Traceback (most recent call last):
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/oslo_service/periodic_task.py", line 220, in run_periodic_tasks
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     task(self, context)
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/trove/taskmanager/manager.py", line 429, in publish_exists_event
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     self.admin_context)
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 178, in publish_exist_events
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     notifications = transformer()
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 271, in __call__
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     client=self.nova_client)
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 40, in load_mgmt_instances
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     mgmt_servers = client.servers.list(search_opts={'all_tenants': 1})
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 835, in list
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     "servers")
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 249, in _list
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     resp, body = self.api.client.get(url)
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 481, in get
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     return self._cs_request(url, 'GET', **kwargs)
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 437, in _cs_request
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     self.authenticate()
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 595, in authenticate
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     auth_url = self._v2_auth(auth_url)
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 686, in _v2_auth
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     return self._authenticate(url, body)
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 701, in _authenticate
2017-05-15 21:39:52.992 12577 ERROR oslo_service.periodic_task     return self._extract_service_catalog(url, resp, respbody)
2017-05-15 21:39:52 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-05-16 06:05:37 -0500

Hi, need the following auth information in trove-taskmanager.conf

[DEFAULT]
nova_proxy_admin_pass = trove_keystone_password
nova_proxy_admin_tenant_name = services
nova_proxy_admin_user = trove
trove_auth_url = <KEYSTONE_URL_ENDPOINT>

Regards

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-05-15 09:10:18 -0500

Seen: 295 times

Last updated: May 16 '17