Hi,
This is because the options are only registered after module instantiation.
This tool works by importing the module and relying on that to update the global configuration.
114 def __init__(self, *args, **kwargs): 115 super(VMwareEsxVmdkDriver, self).__init__(*args, **kwargs) 116 self.configuration.append_config_values(vmdk_opts)
If you take a look at other drivers, you'll see that they register opts in the global space, eg
42 CONF = cfg.CONF 43 CONF.register_opts(huawei_opt)
Hi,
This is because the options are only registered after module instantiation.
This tool works by importing the module and relying on that to update the global configuration.
114 def __init__(self, *args, **kwargs): VmdkDriver, self)._ _init__ (*args, **kwargs) ion.append_ config_ values( vmdk_opts)
115 super(VMwareEsx
116 self.configurat
If you take a look at other drivers, you'll see that they register opts in the global space, eg
42 CONF = cfg.CONF opts(huawei_ opt)
43 CONF.register_