← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1693353] [NEW] resource provider links list shows 'traits' in all microversions and should not

 

Public bug reported:

When listing single or multiple resource providers, the JSON response
includes a list of 'links' with each provider. These link to
'inventories', 'aggregates', 'usages' and 'traits'. Since 'traits' only
showed up in microversion 1.6 the link to them should only be presented
if the microversion is 1.6 or above.

The change to fix this is in the '_serialize_links' method in
nova.api.openstack.placement.handlers.resource_provider.

** Affects: nova
     Importance: Medium
         Status: Triaged


** Tags: 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/1693353

Title:
  resource provider links list shows 'traits' in all microversions and
  should not

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  When listing single or multiple resource providers, the JSON response
  includes a list of 'links' with each provider. These link to
  'inventories', 'aggregates', 'usages' and 'traits'. Since 'traits'
  only showed up in microversion 1.6 the link to them should only be
  presented if the microversion is 1.6 or above.

  The change to fix this is in the '_serialize_links' method in
  nova.api.openstack.placement.handlers.resource_provider.

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


Follow ups