Commit 4910600b authored by Joel Martin's avatar Joel Martin

Merge pull request #158 from cloudbuilders/fix_rpc_backend

Fix rpc initialization issue
parents 483157f8 ca781831
...@@ -67,6 +67,11 @@ opts = [ ...@@ -67,6 +67,11 @@ opts = [
FLAGS = flags.FLAGS FLAGS = flags.FLAGS
FLAGS.register_cli_opts(opts) FLAGS.register_cli_opts(opts)
# As of nova commit 0b11668e64450039dc071a4a123abd02206f865f we must
# manually register the rpc library
if hasattr(rpc, 'register_opts'):
rpc.register_opts(FLAGS)
class NovaWebSocketProxy(wsproxy.WebSocketProxy): class NovaWebSocketProxy(wsproxy.WebSocketProxy):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment