-
Notifications
You must be signed in to change notification settings - Fork 930
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
lxc exec
inconsistently fails to return when detached
#13425
Comments
Unfortunately, I haven't been able to reproduce this even after bumping from 50 to 500 the loop count. I've been running close to 3k iterations at this point and it didn't hang :/ I'm running this on my laptop (not a GH runner) with |
Yes I'm starting to get very perplexed about it myself. I've seen it happen in the github runners and on both a container and a VM in LXD which runs the microcloud test suite. However, if I spin up a pristine VM and try it, it always passes, so it might be something to do with the configuration of the VM? |
I've got a bit more luck in a single CPU VM running LXD 5.0.3:
|
With
|
Yeah I've narrowed this down to something up with my old containers. If I spin up a fresh container with the same config as the old one, I don't run into any issues. But if I copy the original container, the new container still has this issue. So looks like whatever is causing this was on my end. Still not sure what it could be, but we can close the issue at least. |
If
lxc exec
is detached and run concurrently many times, if the command returns quick enough (for example if the command doesn't exist), then there is a chancelxc exec
will fail to return:The text was updated successfully, but these errors were encountered: