Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cephadm: bootstrap fails if no container engine installed #56175

Merged
merged 1 commit into from Mar 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/cephadm/cephadm.py
Expand Up @@ -4472,6 +4472,7 @@ def command_prepare_host(ctx: CephadmContext) -> None:
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'):
Expand Down Expand Up @@ -5508,7 +5509,8 @@ def main() -> None:
command_prepare_host,
command_add_repo,
command_rm_repo,
command_install
command_install,
command_bootstrap
]:
check_container_engine(ctx)
# command handler
Expand Down