Liberty Trove task manager throwing exception

asked 2016-06-13 05:42:45 -0500

anonymous user

Anonymous

updated 2016-06-13 06:20:04 -0500

I am trying to setup liberty trove on vm's. Trove task manager is throwing following exception -

016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task [-] Error during Manager.publish_exists_event
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task Traceback (most recent call last):
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py", line 220, in run_periodic_tasks
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     task(self, context)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/taskmanager/manager.py", line 405, in publish_exists_event
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     self.admin_context)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/extensions/mgmt/instances/models.py", line 178, in publish_exist_events
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     notifications = transformer()
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/extensions/mgmt/instances/models.py", line 271, in __call__
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     client=self.nova_client)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/extensions/mgmt/instances/models.py", line 40, in load_mgmt_instances
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     mgmt_servers = client.servers.list(search_opts={'all_tenants': 1})
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 758, in list
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     "servers")
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 242, in _list
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     resp, body = self.api.client.get(url)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 458, in get
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     return self._cs_request(url, 'GET', **kwargs)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 414, in _cs_request
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     self.authenticate()
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 590, in authenticate
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     auth_url = self._v1_auth(auth_url)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 626, in _v1_auth
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     resp, body = self._time_request(url, 'GET', headers=headers)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 409, in _time_request
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     resp, body = self.request(url, method, **kwargs)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 403, in request
2016-06-13 03 ...
(more)
edit retag flag offensive close merge delete

Comments

It appears that you have the notifications transformer enabled and the authentication to Nova is failing. You should look at the Keystone log file to see why this is happening.

You can optionally disable the notifications transformer altogether.

Ping the team at #openstack-trove for quicker answer

amrith gravatar imageamrith ( 2016-06-13 09:11:25 -0500 )edit