Time of "no capabilities" after nova-scheduler starts

Bug #1071254 reported by Arata Notsu
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Arata Notsu

Bug Description

Right after a nova-scheduler starts, the scheduler doesn't know capabilities of services at all (i.e. HostManager.service_states is empty). Since capabilities are sent by periodic_task, it takes some time for the scheduler to get to know the capabilities. If a "run_instance" request comes in this duration, the scheduler cannot route the request to suitable nova-compute.

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

Changed in nova:
assignee: nobody → Arata Notsu (arata776)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/14819
Committed: http://github.com/openstack/nova/commit/9ac10f55e4b40ac496c20f56501e5aeffa196692
Submitter: Jenkins
Branch: master

commit 9ac10f55e4b40ac496c20f56501e5aeffa196692
Author: Arata Notsu <email address hidden>
Date: Thu Oct 25 20:24:23 2012 +0900

    Let scheduler know services' capabilities at startup

    Fixes bug 1071254.

    Changes:
    * Add new rpc-api(fanout) of compute "publish_service_capabilities"
        This rpc-api urges services to send its capabilites to the scheduler.
    * Scheduler calls publish_service_capabilities right after the start

    By them, the scheduler get to know the capabilities earlier.

    Now we can expect that the scheduler always holds the capabilities. So it
    is reasonable to change HostManager to ignore hosts whose capabilities are
    "None" since it becomes a rare case; this will make scheduling more
    reliable. This will achieved by Another patch.

    Change-Id: If6582765011fd5e1b794bfdc068e17630ba381cb

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-1 → 2013.1
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.