← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References