Fetch xen api connection in prefetch routine if in that driver mode.

This commit is contained in:
Joshua Harlow 2012-02-26 18:26:07 -08:00
parent d16100baff
commit 78eb60fab7

@ -327,6 +327,9 @@ class NovaInstaller(comp.PythonInstallComponent):
def warm_configs(self):
for pw_key in WARMUP_PWS:
self.cfg.get("passwords", pw_key)
driver_canon = _canon_virt_driver(self.cfg.get('nova', 'virt_driver'))
if driver_canon == 'xenserver':
self.cfg.get("passwords", "xenapi_connection")
def _get_config_files(self):
cfg_files = list(CONFIGS)