← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1619771] [NEW] in placement api format of GET .../inventories does not match spec

 

Public bug reported:

The correct format is described at http://specs.openstack.org/openstack
/nova-specs/specs/newton/approved/generic-resource-pools.html#get-
resource-providers-uuid-inventories

In that format the resource provider generation is its own top level
key.

In the code the generation is repeated per resource class which means we
cannot retrieve the resource provider without first inspecting an
inventory.

We should fix this sooner than later so that we have a simpler resource
tracker.

** Affects: nova
     Importance: Undecided
     Assignee: Chris Dent (cdent)
         Status: New


** Tags: scheduler

-- 
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/1619771

Title:
  in placement api format of GET .../inventories does not match spec

Status in OpenStack Compute (nova):
  New

Bug description:
  The correct format is described at
  http://specs.openstack.org/openstack/nova-specs/specs/newton/approved
  /generic-resource-pools.html#get-resource-providers-uuid-inventories

  In that format the resource provider generation is its own top level
  key.

  In the code the generation is repeated per resource class which means
  we cannot retrieve the resource provider without first inspecting an
  inventory.

  We should fix this sooner than later so that we have a simpler
  resource tracker.

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


Follow ups