)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"9b7361c196a84ac35171c75b6c4658800d405e2e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"fbf4dfe6_11d9d98c","updated":"2022-11-14 11:04:52.000000000","message":"The issue is not in the Neutron code. The \"port list\" command is returning a list that is correct. If nova compute is returning this exception is because of [1], a check implemented 7 years ago, not aligned with the concept of shared resources (like networks and their ports).\n\n[1]https://github.com/openstack/nova/blob/2eb358cdcec36fcfe5388ce6982d2961ca949d0a/nova/network/neutron.py#L758-L760","commit_id":"abf9b63deb1a125c48d604b6ab3d3616bc1abd75"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"e63ac9f2867f5494b7578eecc5777667a2711d10","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"f9315248_7f5f52ef","in_reply_to":"a9fde684_dec8fc5a","updated":"2022-11-15 13:58:58.000000000","message":"Please check reply on the launchpad bug: https://bugs.launchpad.net/neutron/+bug/1996421/comments/5","commit_id":"abf9b63deb1a125c48d604b6ab3d3616bc1abd75"},{"author":{"_account_id":35507,"name":"Kiran Pawar","email":"kiranpawarpict2010@gmail.com","username":"kpawar"},"change_message_id":"e09bcf236523ae7c810809d323fcdb76b765d6ef","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"a9fde684_dec8fc5a","in_reply_to":"fbf4dfe6_11d9d98c","updated":"2022-11-14 11:45:24.000000000","message":"You mean if network and their ports are shared, nova should allow to boot instance form port(of share network) even-if port belongs to different project ?","commit_id":"abf9b63deb1a125c48d604b6ab3d3616bc1abd75"}],"neutron/db/db_base_plugin_v2.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"9b7361c196a84ac35171c75b6c4658800d405e2e","unresolved":true,"context_lines":[{"line_number":1567,"context_line":""},{"line_number":1568,"context_line":"        limit \u003d kwargs.pop(\u0027limit\u0027, None)"},{"line_number":1569,"context_line":"        filters \u003d filters or {}"},{"line_number":1570,"context_line":"        if not context.is_admin:"},{"line_number":1571,"context_line":"            projects \u003d filters.get(\u0027project_id\u0027, [])"},{"line_number":1572,"context_line":"            projects.append(context.project_id)"},{"line_number":1573,"context_line":"            filters.update({\u0027project_id\u0027: projects})"}],"source_content_type":"text/x-python","patch_set":1,"id":"13788b8e_772dd9b9","line":1570,"range":{"start_line":1570,"start_character":8,"end_line":1570,"end_character":32},"updated":"2022-11-14 11:04:52.000000000","message":"This is not needed since we have the resource \"query_with_hooks\" method already takes care of the RBAC and the required mixin hooks. In this case, the ports do not have an associated RBAC register but the plugin has a specific hook to retrieve the ports from shared networks [1].\n\n[1]https://github.com/openstack/neutron/blob/9e2a0ac058305dd16d6dedb883d305cd162f5fe4/neutron/db/db_base_plugin_v2.py#L113-L119","commit_id":"abf9b63deb1a125c48d604b6ab3d3616bc1abd75"},{"author":{"_account_id":35507,"name":"Kiran Pawar","email":"kiranpawarpict2010@gmail.com","username":"kpawar"},"change_message_id":"e09bcf236523ae7c810809d323fcdb76b765d6ef","unresolved":false,"context_lines":[{"line_number":1567,"context_line":""},{"line_number":1568,"context_line":"        limit \u003d kwargs.pop(\u0027limit\u0027, None)"},{"line_number":1569,"context_line":"        filters \u003d filters or {}"},{"line_number":1570,"context_line":"        if not context.is_admin:"},{"line_number":1571,"context_line":"            projects \u003d filters.get(\u0027project_id\u0027, [])"},{"line_number":1572,"context_line":"            projects.append(context.project_id)"},{"line_number":1573,"context_line":"            filters.update({\u0027project_id\u0027: projects})"}],"source_content_type":"text/x-python","patch_set":1,"id":"96a971fa_b6d0d74a","line":1570,"range":{"start_line":1570,"start_character":8,"end_line":1570,"end_character":32},"in_reply_to":"13788b8e_772dd9b9","updated":"2022-11-14 11:45:24.000000000","message":"Ack","commit_id":"abf9b63deb1a125c48d604b6ab3d3616bc1abd75"}]}
