← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2004014] [NEW] [Secure RBAC] Sharing QoS Policies don't works with new RBAC policies

 

Public bug reported:

Failed tests:
neutron_tempest_plugin.api.test_qos.QosTestJSON.test_get_policy_that_is_shared
neutron_tempest_plugin.api.test_qos.RbacSharedQosPoliciesTest.test_policy_sharing_with_wildcard
neutron_tempest_plugin.api.test_qos.RbacSharedQosPoliciesTest.test_policy_sharing_with_wildcard_and_project_id
neutron_tempest_plugin.api.test_qos.RbacSharedQosPoliciesTest.test_regular_client_shares_to_another_regular_client


Error example:

Traceback (most recent call last):
  File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/test_qos.py", line 400, in test_get_policy_that_is_shared
    obtained_policy = self.client.show_qos_policy(policy['id'])['policy']
  File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/services/network/json/network_client.py", line 133, in _show
    resp, body = self.get(uri)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 314, in get
    return self.request('GET', url, extra_headers, headers)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request
    self._error_checker(resp, resp_body)
  File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 826, in _error_checker
    raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {'type': 'HTTPNotFound', 'message': 'The resource could not be found.', 'detail': ''}

** Affects: neutron
     Importance: High
         Status: Confirmed


** Tags: api

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2004014

Title:
  [Secure RBAC] Sharing QoS Policies don't works with new RBAC policies

Status in neutron:
  Confirmed

Bug description:
  Failed tests:
  neutron_tempest_plugin.api.test_qos.QosTestJSON.test_get_policy_that_is_shared
  neutron_tempest_plugin.api.test_qos.RbacSharedQosPoliciesTest.test_policy_sharing_with_wildcard
  neutron_tempest_plugin.api.test_qos.RbacSharedQosPoliciesTest.test_policy_sharing_with_wildcard_and_project_id
  neutron_tempest_plugin.api.test_qos.RbacSharedQosPoliciesTest.test_regular_client_shares_to_another_regular_client

  
  Error example:

  Traceback (most recent call last):
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/test_qos.py", line 400, in test_get_policy_that_is_shared
      obtained_policy = self.client.show_qos_policy(policy['id'])['policy']
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/services/network/json/network_client.py", line 133, in _show
      resp, body = self.get(uri)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 314, in get
      return self.request('GET', url, extra_headers, headers)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 720, in request
      self._error_checker(resp, resp_body)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 826, in _error_checker
      raise exceptions.NotFound(resp_body, resp=resp)
  tempest.lib.exceptions.NotFound: Object not found
  Details: {'type': 'HTTPNotFound', 'message': 'The resource could not be found.', 'detail': ''}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2004014/+subscriptions



Follow ups