Removed zones from api and distributed scheduler
There is a new Zones implementation coming that will use AMQP-to-AMQP channels vs. the public API. This is being done for three reasons: 1. remove complications in the OpenStack API (and possibly allow EC2 Zones) 2. remove dependencies on keystone and novaclient 3. faster scheduling (fewer chances for race conditions) Learn more here: http://wiki.openstack.org/EssexSchedulerImprovements Change-Id: I6fe538923dd5ae19276afac2ac3311a285fd5c99
This commit is contained in:
committed by
Chris Behrens
parent
265c1e5c98
commit
225889425c
@@ -43,19 +43,6 @@ class ConvertedException(webob.exc.WSGIHTTPException):
|
||||
super(ConvertedException, self).__init__()
|
||||
|
||||
|
||||
def novaclient_converter(f):
|
||||
"""Convert novaclient ClientException HTTP codes to webob exceptions.
|
||||
Has to be the outer-most decorator.
|
||||
"""
|
||||
def new_f(*args, **kwargs):
|
||||
try:
|
||||
ret = f(*args, **kwargs)
|
||||
return ret
|
||||
except novaclient.exceptions.ClientException, e:
|
||||
raise ConvertedException(e.code, e.message, e.details)
|
||||
return new_f
|
||||
|
||||
|
||||
class ProcessExecutionError(IOError):
|
||||
def __init__(self, stdout=None, stderr=None, exit_code=None, cmd=None,
|
||||
description=None):
|
||||
|
||||
Reference in New Issue
Block a user