Intermittent failures in container deletion/creation on remote docker provider
Original message: https://discord.com/channels/747933592273027093/971231372373033030/1323039264778223657
Other relevant info (while I don't have logs handy):
provider config:
and just in case this is relevant: all my affected
docker_container
s depend on a null_resource
that ssh
's into the remote host and instantiates some local seed data to a persistent volume if this is the first time this workspace has ever been started (as far as I can tell this part never fails):
7 Replies
<#1323041786561826908>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
It seems like this periodically happens whenever any kind of docker API call is made:
it always eventually works with a retry. I don't think the network is actually flaky; the two machines are behind the same switch
It's weird that
Permanently added 'HOST' (key-type) to the list of known hosts.
is being written to stderr even though I have StrictHostKeyChecking
off (maybe because I have a UserKnownHostsFile
set too? Perhaps I'll try with that off and see if anything more useful is in stderr
It's also weird that it says docker.example.com
as the URL for those API calls lolI think you should be able to avoid using
remote-exec
but i don't think that's where the issue comes from
it doesn't seem like a network issue to me, I'm not sure why it'd exit with signal: killed
thoughThat's a good spot, you're right
GitHub
random signal: killed when building · Issue #17918 · containers/pod...
Issue Description I am randomly getting signal: killed from podman build command ( or via API endpoint ), there is not any host resource pressure, dmesg and journald does not print anything useful ...
this is for podman but seems to be similar
Hmmm interesting