Bug 1041042

Summary: [RFE][nova]: Stop casting run_instance in the scheduler, query the scheduler instead
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: Dan Smith <dasmith>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: high Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, ndipanov, sgordon, yeylon
Target Milestone: gaKeywords: FutureFeature, Triaged
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/remove-cast-to-schedule-run-instance
Whiteboard: upstream_milestone_juno-1 upstream_status_implemented upstream_definition_approved
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-09 20:10:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:28:56 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/remove-cast-to-schedule-run-instance.

Description:

In Havana it became possible to query the scheduler for a list of hosts to provision an instance on.  Now we should switch the booting of a new instance to use that new query rather than proxy through the scheduler as is currently done.  

This is in preparation for moving towards something like TaskFlow which would allow Nova to stop and resume multi step operations.  By moving away from run_instance we are consolidating the provisioning logic between the conductor and compute manager.  This clears up the responsibilities of the scheduler so that work there can focus on scheduling improvements.

Specification URL (additional information):

None

Comment 2 David Ripton 2014-02-26 20:45:10 UTC
This blueprint has been deferred to Juno upstream.  There are 10 merged reviews and 1 abandoned review (last touched February 10 so it will probably be restored) pointing to it.  All by Andrew Laski.  Looks like a good chance this will go into Juno.

Comment 4 Scott Lewis 2015-02-09 20:10:50 UTC
This bug has been closed as a part of the RHEL-OSP 6 general availability release. For details, see https://rhn.redhat.com/errata/rhel7-rhos-6-errata.html