)]}'
{"neutron/common/identity.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"ecea16ede7150af38378d16f0473d0bb4f0aa01e","unresolved":true,"context_lines":[{"line_number":39,"context_line":"        cfg.CONF, \u0027keystone_authtoken\u0027)"},{"line_number":40,"context_line":"    sess \u003d session.Session(auth\u003dauth)"},{"line_number":41,"context_line":"    try:"},{"line_number":42,"context_line":"        ks_client.Client(session\u003dsess,"},{"line_number":43,"context_line":"                         region_name\u003dCONF.keystone_authtoken.region_name).\\"},{"line_number":44,"context_line":"            projects.get(project_id)"},{"line_number":45,"context_line":"    except Exception:"},{"line_number":46,"context_line":"        raise InvalidProjectId(project_id\u003dproject_id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"32e67aef_c9bc2c9e","line":44,"range":{"start_line":42,"start_character":8,"end_line":44,"end_character":36},"updated":"2021-01-22 11:06:14.000000000","message":"You need to properly configure the keystone \"neutron\" user to have the \"admin\" role:\n  $ openstack role add admin --user neutron --project service\n\nBy default, for example in a devstack deployment, \"neutron\" user only have \"service\" role. That means this will always raise an exception.\n\nAn alternative could be to use the Nova user, that is always provided in the Neutron config. This user has \"admin\" role: https://review.opendev.org/c/openstack/neutron/+/753053/6/neutron/api/extensions.py","commit_id":"51f1cee74facb85a4a659e1ec21e68798999bc75"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"b50ce60b20100d6fb2900d09a2b24f4002369340","unresolved":true,"context_lines":[{"line_number":36,"context_line":"    an InvalidProjectId is raised."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    \"\"\""},{"line_number":39,"context_line":"    auth \u003d ks_loading.load_auth_from_conf_options(CONF, \u0027nova\u0027)"},{"line_number":40,"context_line":"    sess \u003d session.Session(auth\u003dauth)"},{"line_number":41,"context_line":"    try:"},{"line_number":42,"context_line":"        ks_client.Client(session\u003dsess,"}],"source_content_type":"text/x-python","patch_set":2,"id":"f9c04b8d_d2339779","line":39,"updated":"2021-01-25 14:17:07.000000000","message":"I\u0027m still not sure this is a good idea. That implies \"nova\" user has \"system\" role in keystone. This is not configured by default.\n\nI would like some feedback from keystone folks here. For sure they\u0027ll provide better info.","commit_id":"8f63e135ed5940cea8c3309c05fb147ada80fe75"}],"neutron/tests/fullstack/test_securitygroup.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"bcb49c3ca7351cfb247f602eeff0d250758c35d1","unresolved":true,"context_lines":[{"line_number":318,"context_line":""},{"line_number":319,"context_line":"        # test"},{"line_number":320,"context_line":"        filters \u003d {\u0027project_id\u0027: tenant_uuid}"},{"line_number":321,"context_line":"        self.safe_client.list_security_groups(filters\u003dfilters)"},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"    def _test_using_multiple_security_groups(self):"},{"line_number":324,"context_line":"        \"\"\"Test using multiple security groups."}],"source_content_type":"text/x-python","patch_set":2,"id":"2836bc45_329bee41","line":321,"range":{"start_line":321,"start_character":8,"end_line":321,"end_character":62},"updated":"2021-01-25 11:32:14.000000000","message":"this seems tests nothing","commit_id":"8f63e135ed5940cea8c3309c05fb147ada80fe75"}]}
