← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368176] Re: Scheduler hints broken in V2.1 API

 

My mistake - it was the V3 client that was passing the hints in the
wrong part of the body

** Changed in: nova
       Status: New => Invalid

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

Title:
  Scheduler hints broken in V2.1 API

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  The v2.1 scheduler_hints plugin is broken, as it tries to extract the hints from the request_body rather than the server_dict
   https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/plugins/v3/scheduler_hints.py#L42-L45

  The hints value in the request body is another layer down in the
  "server" element

  There are no V2.1 unit tests for the scheduler hints, so this is not
  picked up by testing at the moment.

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


References