)]}'
{"keystonemiddleware/auth_token/__init__.py":[{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"96d3fb7b930d13d5b8a59e217ec1ecce5e984cd9","unresolved":false,"context_lines":[{"line_number":760,"context_line":"                                      _CACHE_INVALID_INDICATOR)"},{"line_number":761,"context_line":"            self.log.warning(\u0027Authorization failed for token\u0027)"},{"line_number":762,"context_line":"            raise"},{"line_number":763,"context_line":"        except ksa_exceptions.EndpointNotFound:"},{"line_number":764,"context_line":"            # Invalidate auth in adapter for identity endpoint update"},{"line_number":765,"context_line":"            self._identity_server.invalidate()"},{"line_number":766,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_df977544","line":763,"updated":"2019-02-02 17:50:53.000000000","message":"I\u0027m not clear on how this exception would happen here, it looks like this comes from missing an endpoint in the catalog but I would expect this function to use the auth url directly without going through the catalog.","commit_id":"ab7d310e3dedb7e687aebec7c002bbfe8bfb87a4"},{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"5e235d166679408b713c7c6c5b45b615918a6f15","unresolved":false,"context_lines":[{"line_number":760,"context_line":"                                      _CACHE_INVALID_INDICATOR)"},{"line_number":761,"context_line":"            self.log.warning(\u0027Authorization failed for token\u0027)"},{"line_number":762,"context_line":"            raise"},{"line_number":763,"context_line":"        except ksa_exceptions.EndpointNotFound:"},{"line_number":764,"context_line":"            # Invalidate auth in adapter for identity endpoint update"},{"line_number":765,"context_line":"            self._identity_server.invalidate()"},{"line_number":766,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_d81f8107","line":763,"in_reply_to":"9fdfeff1_5d4e2897","updated":"2019-02-04 15:00:46.000000000","message":"Do you have a traceback?","commit_id":"ab7d310e3dedb7e687aebec7c002bbfe8bfb87a4"},{"author":{"_account_id":26970,"name":"Yang Youseok","email":"ileixe@gmail.com","username":"ileixe"},"change_message_id":"360da2c69c383349928e1479cce313b4416ad233","unresolved":false,"context_lines":[{"line_number":760,"context_line":"                                      _CACHE_INVALID_INDICATOR)"},{"line_number":761,"context_line":"            self.log.warning(\u0027Authorization failed for token\u0027)"},{"line_number":762,"context_line":"            raise"},{"line_number":763,"context_line":"        except ksa_exceptions.EndpointNotFound:"},{"line_number":764,"context_line":"            # Invalidate auth in adapter for identity endpoint update"},{"line_number":765,"context_line":"            self._identity_server.invalidate()"},{"line_number":766,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_5d4e2897","line":763,"in_reply_to":"9fdfeff1_df977544","updated":"2019-02-04 08:11:27.000000000","message":"I\"m not familiar with entire auth logic of keystoneauth though, what I\u0027ve understand this exception came from is that\n\n1. _identity_server in auth_token: verify_token()\n2. TokenManager in keystoneclient: get_token_data()\n- URL \u0027/auth/tokens\u0027 set\n3. KeystoneAdapter in keystoneauith1: request()\n- endpoint_filter set\n4. Session in keystoneauth1: \n- if URL is not FQDN and endpoint_filter set,  in\nhttps://github.com/openstack/keystoneauth/blob/master/keystoneauth1/session.py#L699\ntry to find endpoint from auth\n5. BaseIdentityPlugin in keystoneauth1/base.py\nAuth returns endpoint from catalog since interface parameter is not AUTH_INTERFACE.","commit_id":"ab7d310e3dedb7e687aebec7c002bbfe8bfb87a4"}],"keystonemiddleware/tests/unit/auth_token/test_auth_token_middleware.py":[{"author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"change_message_id":"d132f807f30c11c9dc61f91b2ec467709cb18f50","unresolved":false,"context_lines":[{"line_number":1694,"context_line":"        self.set_middleware()"},{"line_number":1695,"context_line":"        self.middleware._token_cache.initialize({})"},{"line_number":1696,"context_line":"        self.assertRaises(ksa_exceptions.EndpointNotFound,"},{"line_number":1697,"context_line":"                          self.middleware.fetch_token, token)"},{"line_number":1698,"context_line":""},{"line_number":1699,"context_line":"    def test_not_is_admin_project(self):"},{"line_number":1700,"context_line":"        token \u003d self.examples.v3_NOT_IS_ADMIN_PROJECT"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_0a1a7c16","line":1697,"updated":"2019-02-05 13:14:17.000000000","message":"This still passes even without the change applied, so I don\u0027t think it\u0027s a valid test. To be honest I\u0027m not sure how to advise to test it, the best I can think of is to use mocks to assert that invalidate() is called. If it\u0027s too hard to have a proper test then best to leave this out.","commit_id":"22d14b1a2316ff8bd899b477cdba7afbc46d8379"},{"author":{"_account_id":26970,"name":"Yang Youseok","email":"ileixe@gmail.com","username":"ileixe"},"change_message_id":"ab7deb603d62fd48ecdbb9b3ac1d49059453754f","unresolved":false,"context_lines":[{"line_number":1694,"context_line":"        self.set_middleware()"},{"line_number":1695,"context_line":"        self.middleware._token_cache.initialize({})"},{"line_number":1696,"context_line":"        self.assertRaises(ksa_exceptions.EndpointNotFound,"},{"line_number":1697,"context_line":"                          self.middleware.fetch_token, token)"},{"line_number":1698,"context_line":""},{"line_number":1699,"context_line":"    def test_not_is_admin_project(self):"},{"line_number":1700,"context_line":"        token \u003d self.examples.v3_NOT_IS_ADMIN_PROJECT"}],"source_content_type":"text/x-python","patch_set":3,"id":"9fdfeff1_15627917","line":1697,"in_reply_to":"9fdfeff1_0a1a7c16","updated":"2019-02-07 03:16:58.000000000","message":"Yes, I was silly. I added one more simple calling assertion.","commit_id":"22d14b1a2316ff8bd899b477cdba7afbc46d8379"}]}
