Signed-off-by: Daniel Persson <mailto.woden@gmail.com>
self._load_module("selftest")
python_version = self.mgr_cluster.mon_manager.raw_cluster_cmd(
"mgr", "self-test", "python-version")
- if tuple(int(v) for v in python_version.split('.')) >= (3, 8):
+ if tuple(int(v) for v in python_version.split('.')) == (3, 8):
# https://tracker.ceph.com/issues/45147
self.skipTest(f'python {python_version} not compatible with '
'diskprediction_local')
set(mgr_disabled_modules "")
if(WITH_MGR)
# https://tracker.ceph.com/issues/45147
- if(Python3_VERSION VERSION_GREATER_EQUAL 3.8)
+ if(Python3_VERSION VERSION_EQUAL 3.8)
set(mgr_disabled_modules "diskprediction_local")
message(STATUS "mgr module disabled for ${Python3_VERSION}: ${mgr_disabled_modules}")
endif()