Open PierreRAFFA opened 5 years ago
Looks like you have connection issues from your drone server :) More specifically DNS problems. Once you fix it, it should work :) You can try changing the DNS server that you are using or mitigate why this one is not working
@caioquirino oh sorry ...I should have been more precise. The pipeline worked all the time but this situation happened once the last week. And when this happens, even if it's rare, how to manage it ?
This is a connection issue, so you can understand better how your drone containers are running, and based on that, mitigate what can be happened. Examples:
If they are running on virtual machines/ec2/etc, you can SSH to that machine and try to investigate if the connection with the dns server is working
If they are running on ECS, Kubernetes or any container orchestrator, you can run a container with a dig or host command eg.: host github.com
and see the output, or even add a step into your drone pipeline that does that...
This problem appears to be more a connectivity issue. Even more with this happening only once :)
Hi there, I am facing an issue on apply where the state could not have pushed for some reason in Drone Server. When this happens from my local machine, I just run the command specified at the end. But how to do it when this happens from Drone Server ? Does it make sense to create a dedicated step after the deployment to run
terraform state push errored.tfstate
? Any Idea ? Thanks.