Update to fix trunk nova issue with rpc library
* rpc flags now must be manually initialized.
This commit is contained in:
parent
483157f87f
commit
901e565503
|
@ -67,6 +67,13 @@ opts = [
|
|||
FLAGS = flags.FLAGS
|
||||
FLAGS.register_cli_opts(opts)
|
||||
|
||||
# As of nova commit 0b11668e64450039dc071a4a123abd02206f865f we must
|
||||
# manually register the rpc library
|
||||
try:
|
||||
rpc.register_opts(FLAGS)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
class NovaWebSocketProxy(wsproxy.WebSocketProxy):
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue