Hard to maintain API schemas for schedulers

Bug #1492918 reported by Ken'ichi Ohmichi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Wishlist
Unassigned

Bug Description

The API parameter scheduler-hints is used on "create a server" API,
and available parameters(same_host, different_host, etc.) depends on
available schedulers on each cloud.

In addition, the API definitions of scheduler-hints was written at a
single place, and it was hard to maintain it because we needed to check
an API definition from different scheduler module file.
For easy maintenance, it is necessary to migrate API definitions to the
corresponding scheduler modules.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/220891

Changed in nova:
assignee: nobody → Ken'ichi Ohmichi (oomichi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Ken'ichi Ohmichi (<email address hidden>) on branch: master
Review: https://review.openstack.org/220440
Reason: Thanks for reviewing, but this patch is very premature and it is not essential because v2.1 API allows additional scheduler-hints parameters now.

at least, this feature will be useful after implementing JSON-Home.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Ken'ichi Ohmichi (<email address hidden>) on branch: master
Review: https://review.openstack.org/220891

Changed in nova:
assignee: Ken'ichi Ohmichi (oomichi) → nobody
status: In Progress → Confirmed
Changed in nova:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.