Keysttonev2 driver fails to poll user table data in devstack. Following error appears in log periodically.
2016-06-29 23:57:36.486 ERROR congress.datasources.datasource_driver [-] Datasource driver raised exception
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver Traceback (most recent call last):
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/opt/stack/congress/congress/datasources/datasource_driver.py", line 1284, in poll
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver self.update_from_datasource() # sets self.state
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/opt/stack/congress/congress/datasources/keystone_driver.py", line 104, in update_from_datasource
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver users = self.client.users.list()
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/users.py", line 128, in list
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver return self._list("/users%s" % query, "users")
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/usr/local/lib/python2.7/dist-packages/keystoneclient/base.py", line 124, in _list
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver resp, body = self.client.get(url, **kwargs)
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 178, in get
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver return self.request(url, 'GET', **kwargs)
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 335, in request
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 103, in request
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver return self.session.request(url, method, **kwargs)
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver return wrapped(*args, **kwargs)
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver File "/usr/local/lib/python2.7/dist-packages/keystoneclient/session.py", line 419, in request
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver raise exceptions.from_response(resp, method, url)
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver NotFound: The resource could not be found. (HTTP 404)
2016-06-29 23:57:36.486 TRACE congress.datasources.datasource_driver
2016-08-30 17:02:11.941 [00;32mDEBUG congress. datasources. datasource_ driver [[00;36m-[00;32m] [01;35m [00;32mstart to poll from datasource keystone[00m [00;33mfrom (pid=29030) poll_loop /opt/stack/ congress/ congress/ datasources/ datasource_ driver. py:1440 [00m datasources. datasource_ driver [[00;36m-[00;36m] [01;35m [00;36mkeystone :: polling[00m session [[00;36m-[00;32m] [01;35m [00;32mREQ: curl -g -i -X GET http:// 192.168. 56.101/ identity_ v2_admin/ users -H "User-Agent: python- keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}9236fab70 35bbf7ca2f239a4 1345b1753131436 2"[00m [00;33mfrom (pid=29030) _http_log_request /usr/local/ lib/python2. 7/dist- packages/ keystoneclient/ session. py:206 [00m session [[00;36m-[00;32m] [01;35m [00;32mRESP: [404] Date: Tue, 30 Aug 2016 22:02:11 GMT Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token Content-Length: 93 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json lib/python2. 7/dist- packages/ keystoneclient/ session. py:231 [00m session [[00;36m-[00;32m] [01;35m [00;32mRequest returned failure status: 404[00m [00;33mfrom (pid=29030) request /usr/local/ lib/python2. 7/dist- packages/ keystoneclient/ session. py:418 [00m datasources. datasource_ driver [[00;36m-[01;31m] [01;35m [01;31mDatasour ce driver raised exception[00m datasources. datasource_ driver [01;35m [00mTraceback (most recent call last): datasources. datasource_ driver [01;35m[00m File "/opt/stack/ congress/ congress/ datasources/ datasource_ driver. py", line 1390, in poll datasources. datasource_ driver [01;35m[00m self.update_ from_datasource () # sets self.state datasources. datasource_ driver [01;35m[00m File "/opt/stack/ congress/ congress/ datasources/ keystone_ driver. py", line 105, in update_ from_datasource datasources. datasource_ driver [01;35m[00m users = self.client. users.list( ) datasources. datasource_ driver [01;35m[00m File "/usr/local/ lib/python2. 7/dist- packages/ keystoneclient/ v2_0/users. py", line 124, in list datasources. datasource_ driver [01;35m[00m return self._list( "/users% s" % query, "users") datasources. datasource_ driver [01;35m[00m File "/usr/local/ lib/python2. 7/dist- packages/ keystoneclient/ base.py" , line 124, in _list datasources. datasource_ driver [01;35m[00m resp, body = self.client. get(url, **kwargs)
2016-08-30 17:02:11.942 [00;36mINFO congress.
2016-08-30 17:02:11.942 [00;32mDEBUG keystoneclient.
2016-08-30 17:02:11.947 [00;32mDEBUG keystoneclient.
RESP BODY: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
[00m [00;33mfrom (pid=29030) _http_log_response /usr/local/
2016-08-30 17:02:11.947 [00;32mDEBUG keystoneclient.
2016-08-30 17:02:11.948 [01;31mERROR congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 TRACE congress.
[01;31m2016-08-30 17:02:11.948 ...