← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2022043] [NEW] APIs for resources which don't have project_id still requires it in the API definition

 

Public bug reported:

I discovered that while working on new default SG rules templates API:
https://review.opendev.org/c/openstack/neutron/+/883246 but it seems
it's the same for e.g. flavors: https://github.com/openstack/neutron-
lib/blob/master/neutron_lib/api/definitions/flavors.py which have
tenant_id defined in the API definiton even if policy don't really
require it and it don't really belongs to any project.

** Affects: neutron
     Importance: Low
     Assignee: Slawek Kaplonski (slaweq)
         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/2022043

Title:
  APIs for resources which don't have project_id still requires it in
  the API definition

Status in neutron:
  Confirmed

Bug description:
  I discovered that while working on new default SG rules templates API:
  https://review.opendev.org/c/openstack/neutron/+/883246 but it seems
  it's the same for e.g. flavors: https://github.com/openstack/neutron-
  lib/blob/master/neutron_lib/api/definitions/flavors.py which have
  tenant_id defined in the API definiton even if policy don't really
  require it and it don't really belongs to any project.

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