When boostrapping a new cluster, if no container engine is present,
the process stops asking to install one. One of the bootstrap steps,
is to run command_prepare_host which takes care of installing the
missing dependencies but it didn't reach this step.
Fixes: https://tracker.ceph.com/issues/64899
Signed-off-by: Teoman ONAY <tonay@ibm.com>
if not pkg:
pkg = create_packager(ctx)
pkg.install_podman()
+ ctx.container_engine = find_container_engine(ctx)
logger.info('Verifying lvm2 is present...')
if not find_executable('lvcreate'):
command_prepare_host,
command_add_repo,
command_rm_repo,
- command_install
+ command_install,
+ command_bootstrap
]:
check_container_engine(ctx)
# command handler