← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1653122] [NEW] Placement API should support DELETE /resource-providers/{uuid}/inventories

 

Public bug reported:

This is a small feature request.

Currently (version 1.3 or before of the placement API), in order to
delete all inventory for a resource provider, one must call PUT
/resource_providers/{uuid}/inventories and pass in the following request
payload:

{
  'generation': <int>,
  'resources': {}
}

it would be easier and more intuitive to support DELETE
/resource_providers/{uuid}/inventories with no request payload and
returning a 204 No Content on success.

** Affects: nova
     Importance: Wishlist
         Status: Triaged


** Tags: api low-hanging-fruit placement

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

Title:
  Placement API should support DELETE /resource-
  providers/{uuid}/inventories

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  This is a small feature request.

  Currently (version 1.3 or before of the placement API), in order to
  delete all inventory for a resource provider, one must call PUT
  /resource_providers/{uuid}/inventories and pass in the following
  request payload:

  {
    'generation': <int>,
    'resources': {}
  }

  it would be easier and more intuitive to support DELETE
  /resource_providers/{uuid}/inventories with no request payload and
  returning a 204 No Content on success.

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


Follow ups