-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
Ensure container start command has the attach flag #701
Conversation
@rabi Can you please paste a task that you're running? It's not clear from the description what is the problem. |
Sorry I'll try and explain here.. When running containers for which we want to wait for it to finish, when the container already exists and there is no diff, we run
|
Below is simple reproducer for
|
When starting an already created (not running) container detach=False is not honoured. This results container failures not being reported as failure. Signed-off-by: rabi <[email protected]>
I see, now it's clear what is the problem. Can you please paste an Ansible task with |
Why do you think we're forcing |
Just for context, where this is coming from, all puppet containers[1] in TripeO, don't wait for failure when redeployed (existing containers that needs to be started). |
+1 now it works as expected |
It breaks compatibility because |
It does depend on a. podman run --detach IMO having two arguments |
Fixed in #703 |
When starting an already created (not running) container detach=False is not honored. This results container failures not being reported as failure.