agera-edc / MinimumViableDataspace

Guidance on documentation, scripts and integration steps on using the EDC project results
Apache License 2.0
0 stars 2 forks source link

Cloud Deployment Randomly Fails on `Run terraform` step #216

Closed zeier closed 2 years ago

zeier commented 2 years ago

Description

When running an MVD cloud deployment via Deploy pipeline, the deployment randomly fails with a timeout on the Run terraform step.

See https://github.com/zeier/MinimumViableDataspace/runs/7473538770?check_suite_focus=true

azurerm_container_group.edc: Still creating... [29m30s elapsed] azurerm_container_group.edc: Still creating... [29m40s elapsed] azurerm_container_group.edc: Still creating... [29m50s elapsed] ╷ │Error: creating Container Group (Subscription: "***" │Resource Group Name: "rg-company1-demo4" │Container Group Name: "demo4-company1-edc"): polling after ContainerGroupsCreateOrUpdate: Future#WaitForCompletion: context has been cancelled: StatusCode=200 -- Original Error: context deadline exceeded │ │ with azurerm_container_group.edc, │ on main.tf line 59, in resource "azurerm_container_group" "edc": │ 59: resource "azurerm_container_group" "edc" { │ ╵ Releasing state lock. This may take a few moments... Error: Process completed with exit code 1.

Note: deployment runs successfully if participants are deployed sequentially, see https://github.com/zeier/MinimumViableDataspace/actions/runs/2730321522.

zeier commented 2 years ago

Issue could be related to using the latest Ubuntu version

zeier commented 2 years ago

The issue cannot be reproduced with the latest deploy.yaml, it might have been caused by using an unstable runner on a branch that was used.