← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2004013] [NEW] [Secure RBAC] List QoS Policies filtered by tags is not possible with new RBAC policies

 

Public bug reported:

Failed test
neutron_tempest_plugin.api.admin.test_tag.TagFilterQosPolicyTestJSON.test_filter_qos_policy_tags

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 89, in wrapper
    return func(*func_args, **func_kwargs)
  File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/admin/test_tag.py", line 448, in test_filter_qos_policy_tags
    self._test_filter_tags()
  File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/admin/test_tag.py", line 254, in _test_filter_tags
    self._assertEqualResources([0, 1, 2], res)
  File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/admin/test_tag.py", line 248, in _assertEqualResources
    self.assertEqual(set(expected), set(actual))
  File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 393, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = {'0e134a78-4550-41fd-b391-5bfee04e8b35',
 '9d3c9eaf-ea1c-4967-940e-399eafc6e915',
 'f70593a6-a790-42b1-8530-ff93f7080355'}
actual    = set()

** 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/2004013

Title:
  [Secure RBAC] List QoS Policies filtered by tags is not possible with
  new RBAC policies

Status in neutron:
  Confirmed

Bug description:
  Failed test
  neutron_tempest_plugin.api.admin.test_tag.TagFilterQosPolicyTestJSON.test_filter_qos_policy_tags

  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 89, in wrapper
      return func(*func_args, **func_kwargs)
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/admin/test_tag.py", line 448, in test_filter_qos_policy_tags
      self._test_filter_tags()
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/admin/test_tag.py", line 254, in _test_filter_tags
      self._assertEqualResources([0, 1, 2], res)
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/admin/test_tag.py", line 248, in _assertEqualResources
      self.assertEqual(set(expected), set(actual))
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 393, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 480, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: !=:
  reference = {'0e134a78-4550-41fd-b391-5bfee04e8b35',
   '9d3c9eaf-ea1c-4967-940e-399eafc6e915',
   'f70593a6-a790-42b1-8530-ff93f7080355'}
  actual    = set()

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



Follow ups