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
This commit is contained in:
		@@ -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'])
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user