Allow scheduler manager NoValidHost exception to pass over RPC

Bug #1192693 reported by Hans Lindgren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Hans Lindgren

Bug Description

Calls to scheduler.manager.select_hosts are expected to throw NoValidHost exceptions if no hosts match such requests. For the exception to be passed over RPC, the method must be decorated with:

@rpc_common.client_exceptions(exception.NoValidHost)

Tags: scheduler
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/33696

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

Reviewed: https://review.openstack.org/33696
Committed: http://github.com/openstack/nova/commit/10db6128b8dc3ed2773acf262af529e0485cfe9f
Submitter: Jenkins
Branch: master

commit 10db6128b8dc3ed2773acf262af529e0485cfe9f
Author: Hans Lindgren <email address hidden>
Date: Wed Jun 19 21:52:51 2013 +0200

    Allow scheduler manager NoValidHost exception to pass over RPC

    Calls to scheduler.manager.select_hosts are expected to throw NoValidHost
    exceptions if no hosts match such requests. For the exception to be passed
    over RPC, the method must be decorated with:

    @rpc_common.client_exceptions(exception.NoValidHost)

    Resolves bug 1192693.

    Change-Id: If9d1f15ff1239e422067893f9d837c41e5f5474d

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