-
Notifications
You must be signed in to change notification settings - Fork 243
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
Error running commands when using platform=podman #7252
Comments
I re-cloned the tree into a new dir. The start now works, but odo run is still failing. Some files must have biffed up the initial sync. |
Thanks for reporting this issue, @jeffgus ! Would you mind sharing the output of |
I think you're right. Fedora 40 is using podman 5.1.1. I also noticed that
I also tried with odo 3.15.0 The -v=9 produced A LOT of output. I'll make a simple devfile.yaml and get the output instead of the one I'm using which is more complicated. |
A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity. |
Hi guys, OS: Fedora 40 I am able to run: |
Thanks @too-common-name for looking into this. Indeed, |
/lifecycle active |
Hi @rm3l, |
What's the Podman version displayed by
I think this is because of a breaking change in Podman. IIRC, the current integration tests on Podman rely on a namespacing feature in Podman, but which got dropped in Podman v4.5.0: containers/podman@ |
Hi @rm3l, I confirm the problem is the one you spotted. I looked a bit inside the code and found the variable: setting PODMAN_USE_NAMESPACES to false tests run. I also incremented a bit the maximum number of open file descriptors as I had errors related to this. |
/kind bug
What versions of software are you using?
Operating System:
Fedora 40
Output of
odo version
:odo v3.15.0 (10b5e8a)
also tried:
odo v3.16.1 (cd346c5-nightly)
How did you run odo exactly?
odo dev --platform=podman
Actual behavior
The pods startup in podman, but commands fail. I also get this error during startup:
✗ Building your application in container (command: install) [436ms]
Error occurred on Push - unable to log error unable to exec command [/bin/sh -c cd ${PROJECT_SOURCE} && (npm install) 1>>/proc/1/fd/1 2>>/proc/1/fd/2]: exit status 254: a running component clientapp doesn't exist on the cluster: json: cannot unmarshal array into Go value of type podman.PodInspectData
Expected behavior
odo startup should start podman pods without errors. Issuing
odo run <command>
should also work.Any logs, error output, etc?
✗ Building your application in container (command: install) [436ms]
Error occurred on Push - unable to log error unable to exec command [/bin/sh -c cd ${PROJECT_SOURCE} && (npm install) 1>>/proc/1/fd/1 2>>/proc/1/fd/2]: exit status 254: a running component clientapp doesn't exist on the cluster: json: cannot unmarshal array into Go value of type podman.PodInspectData
The text was updated successfully, but these errors were encountered: