diff options
| author | Yun Mao <yunmao@gmail.com> | 2012-08-24 17:12:13 -0400 |
|---|---|---|
| committer | Yun Mao <yunmao@gmail.com> | 2012-08-24 17:12:13 -0400 |
| commit | 0796d91e68dc29624b1f423b76fa5701b824ac25 (patch) | |
| tree | 23e3406c7368a54745e96a0e9718a7048822c6c0 | |
| parent | 4b7c87a17affe530a8c196df993992cfe5202911 (diff) | |
Use the compute_rpcapi instance not the module
compute_rpcapi.get_console_pool_info is only available from
the ComputeAPI object, not nova.compute.rpcapi module.
Partially fix bug 1037183
Change-Id: I57df710389bf349c7ba1dd7980105222918bff92
| -rw-r--r-- | nova/console/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/console/manager.py b/nova/console/manager.py index c0a9908a8..2352adcca 100644 --- a/nova/console/manager.py +++ b/nova/console/manager.py @@ -123,7 +123,7 @@ class ConsoleProxyManager(manager.Manager): 'username': 'test', 'password': '1234pass'} else: - pool_info = compute_rpcapi.get_console_pool_info(context, + pool_info = self.compute_rpcapi.get_console_pool_info(context, console_type, instance_host) pool_info['password'] = self.driver.fix_pool_password( pool_info['password']) |
