We already stash these as MgrModule members.
Signed-off-by: Sage Weil <sage@newdream.net>
Conflicts:
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/services/cephadmservice.py
self.autotune_interval = 0
self.apply_spec_fails: List[Tuple[str, str]] = []
self.max_osd_draining_count = 10
+ self.device_enhanced_scan = False
self._cons: Dict[str, Tuple[remoto.backends.BaseConnection,
remoto.backends.LegacyModuleExecute]] = {}
return None
def _refresh_host_devices(self, host: str) -> Optional[str]:
-
- with_lsm = self.mgr.get_module_option('device_enhanced_scan')
+ with_lsm = self.mgr.device_enhanced_scan
inventory_args = ['--', 'inventory',
'--format=json-pretty',
'--filter-for-batch']