complement icon indicating copy to clipboard operation
complement copied to clipboard

Homerunner network creation seems to race deployment

Open Half-Shot opened this issue 1 year ago • 1 comments

Encountered an error while processing a homerunner request: 400 {"message":"failed to create deployment: CreateDeployment: Deploy returned error Deploy: Failed to deploy image {Containers:-1 Created:1712588816 ID:sha256:c412da8c2f4203ae5aff3c3dd7097536cbc98ade492e0d91e3be640a73c77951 ....} : Error response from daemon: network complement_homerunner_hookshot_integration_test_1712588803722 not found"}

Seems like something is occasionally racing, subsequent attempts to create a deployment seem to work.

Half-Shot avatar Apr 11 '24 12:04 Half-Shot

Complement first makes the network then attaches containers. It waits for the network creation request to succeed before continuing. If this is async and the network isn't set up yet, then yes it could cause this.

kegsay avatar Jul 12 '24 17:07 kegsay