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

podman: check environment before install or upgrade #323

Open
mbussolotto opened this issue May 21, 2024 · 0 comments
Open

podman: check environment before install or upgrade #323

mbussolotto opened this issue May 21, 2024 · 0 comments

Comments

@mbussolotto
Copy link
Member

11:49AM DBG shared/utils/exec.go:67 > Running: podman network inspect --format {{.IPv6Enabled}} uyuni
11:49AM INF shared/podman/network.go:34 > uyuni network doesn't have IPv6, deleting existing network to enable IPv6 on it
11:49AM DBG shared/utils/exec.go:41 > Running: podman network rm uyuni --log-level trace
Error: cannot setup network: failed to remove uyuni podman network: exit status 2

This error happens during mgrpxy install or mgrpxy upgrade when there're running container.
We have two options:

  • stop automatically the running container before install or upgrade
  • check if there're running containers, in that case fails before with a more clear message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant