← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1360113] [NEW] V2 hypervisors Unit Test tests hypervisors API as non Admin

 

Public bug reported:

hypervisors API are Admin API and unit tests should test those
accordingly. But All the V2 hypervisors Unit tests
(https://github.com/openstack/nova/blob/master/nova/tests/api/openstack/compute/contrib/test_hypervisors.py)
tests those as a  non Admin API.

Issue is in fake_policy.py where V2 hypervisors API is not marked as
Admin role unlike V3.
https://github.com/openstack/nova/blob/master/nova/tests/fake_policy.py#L221

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1360113

Title:
  V2 hypervisors Unit Test tests hypervisors API as non Admin

Status in OpenStack Compute (Nova):
  New

Bug description:
  hypervisors API are Admin API and unit tests should test those
  accordingly. But All the V2 hypervisors Unit tests
  (https://github.com/openstack/nova/blob/master/nova/tests/api/openstack/compute/contrib/test_hypervisors.py)
  tests those as a  non Admin API.

  Issue is in fake_policy.py where V2 hypervisors API is not marked as
  Admin role unlike V3.
  https://github.com/openstack/nova/blob/master/nova/tests/fake_policy.py#L221

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


Follow ups

References