)]}'
{"patrole_tempest_plugin/tests/api/compute/test_server_volume_attachments_rbac.py":[{"author":{"_account_id":17896,"name":"Rick Bartra","email":"rickbartra@microsoft.com","username":"rb560u"},"change_message_id":"5a0764a0736778c33dab3585abb7903b961e3f69","unresolved":false,"context_lines":[{"line_number":179,"context_line":"            self.servers_client.show_volume_attachment("},{"line_number":180,"context_line":"                self.server[\u0027id\u0027], attachment[\u0027id\u0027])"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    @decorators.skip_because(bug\u003d\u00272008051\u0027, bug_type\u003d\u0027storyboard\u0027)"},{"line_number":183,"context_line":"    @decorators.attr(type\u003d\u0027slow\u0027)"},{"line_number":184,"context_line":"    @testtools.skipUnless(CONF.compute_feature_enabled.swap_volume,"},{"line_number":185,"context_line":"                          \u0027In-place swapping of volumes not supported.\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f560f44_c9984ac1","line":182,"updated":"2020-08-27 14:21:57.000000000","message":"From the gate logs, it looks like there is a different policy action being enforced. Maybe it is enforcing two actions or it switched actions it is enforcing:\n\nFrom testr_results.html of a failed run:\n\nDetails: User with roles [\u0027member\u0027] was not allowed to perform the following actions: [\u0027os_compute_api:os-volumes-attachments:update\u0027]. Expected allowed actions: [\u0027os_compute_api:os-volumes-attachments:update\u0027]. Expected disallowed actions: []. Exception was: Forbidden\nDetails: {\u0027code\u0027: 403, \u0027message\u0027: \"Policy doesn\u0027t allow os_compute_api:os-volumes-attachments:swap to be performed.\"}","commit_id":"3428e96a71caeab947ce22396c506669657b2ce4"},{"author":{"_account_id":17887,"name":"Doug Schveninger","email":"ds6901@att.com","username":"Doug.Schveninger"},"change_message_id":"67e3b439dbced1d5e54fd08f9b787a0b38f99b39","unresolved":false,"context_lines":[{"line_number":179,"context_line":"            self.servers_client.show_volume_attachment("},{"line_number":180,"context_line":"                self.server[\u0027id\u0027], attachment[\u0027id\u0027])"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    @decorators.skip_because(bug\u003d\u00272008051\u0027, bug_type\u003d\u0027storyboard\u0027)"},{"line_number":183,"context_line":"    @decorators.attr(type\u003d\u0027slow\u0027)"},{"line_number":184,"context_line":"    @testtools.skipUnless(CONF.compute_feature_enabled.swap_volume,"},{"line_number":185,"context_line":"                          \u0027In-place swapping of volumes not supported.\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f560f44_15cb554a","line":182,"in_reply_to":"9f560f44_89dad247","updated":"2020-08-29 11:23:56.000000000","message":"Details and link to the issue are in the storyboard bug. The main cause is theswap action requires the new system scoped token and  tempest and patrole does not support that. So we are going to skip this until the framework is updated to test all three system scopes. Right now  it is supporting project scoped token and not domain or system.","commit_id":"3428e96a71caeab947ce22396c506669657b2ce4"},{"author":{"_account_id":17896,"name":"Rick Bartra","email":"rickbartra@microsoft.com","username":"rb560u"},"change_message_id":"a49fd238ed73d885a6881e28549d133f2fc0a4ea","unresolved":false,"context_lines":[{"line_number":179,"context_line":"            self.servers_client.show_volume_attachment("},{"line_number":180,"context_line":"                self.server[\u0027id\u0027], attachment[\u0027id\u0027])"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    @decorators.skip_because(bug\u003d\u00272008051\u0027, bug_type\u003d\u0027storyboard\u0027)"},{"line_number":183,"context_line":"    @decorators.attr(type\u003d\u0027slow\u0027)"},{"line_number":184,"context_line":"    @testtools.skipUnless(CONF.compute_feature_enabled.swap_volume,"},{"line_number":185,"context_line":"                          \u0027In-place swapping of volumes not supported.\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9f560f44_89dad247","line":182,"in_reply_to":"9f560f44_c9984ac1","updated":"2020-08-27 14:29:00.000000000","message":"The test will eventually need to be updated to use the swap policy action. But yes, the swap action by default requires system admin","commit_id":"3428e96a71caeab947ce22396c506669657b2ce4"}]}
