Closed t0gre closed 4 years ago
Interesting!
It's especially odd that you're not getting any error messages.
Does the container work if you run it without putting it into k8s?
Just tried that now. Exactly the same in local docker. Similarly, I can exec into the container and the file is there. I am using the caida/bgpstream:2.0.0-rc3 image as my base for the container, and I have other containers collecting from routeviews with this container, so it's something related to the singlefile...
We'll try and reproduce the problem and see if we can figure this out
Thanks very much
Hi @tomgreenwood1, we have updated the bgpstream docker images with a fix that should resolve your issue. Could you try use caida/bgpstream:2.0.0-rc4
image as base, rebuild your image with --no-cache
option, and see if the issue is resolved? Thanks!
Hi @digizeph I can confirm that has resolved the issue. Thanks.
I have this code which works fine locally:
When I run this exact same code in a container on kubernetes it fails silently. Everything up until iteration on the stream runs (there's some code above that in reality, and I put in some logging), but when it comes to the for-loop on the stream the process just stalls. No error message, just silence.
I can exec into the container and check the file is there, and it is.
Any idea what's might be causing that?
Thanks