claudie icon indicating copy to clipboard operation
claudie copied to clipboard

Bug: InputManifest deletion hangs

Open bernardhalas opened this issue 1 year ago • 0 comments

Current Behaviour

After the broken InputManifest deletion from the K8s API, the clean-up hangs.

Expected Behaviour

If an InputManifest deletion is triggered on an InputManifest in error (where no infra has been created) the workflow hangs. If there's no infra for deletion, Claudie should not error out.

Steps To Reproduce

  1. Apply manifest from https://github.com/berops/claudie/issues/1274
  2. Trigger InputManifest deletion.
  3. Currently, the deletion flow hangs with the error message.
  4. InputManifest clean-up is never completed.

The error message:

builder-b7686db54-zmcnq builder 2024-03-14T02:49:23Z ERR Error while destroying config error="error in destroy config Terraformer for config vienna-2 project claudie-vienna-2 : error while destroying infrastructure for cluster vienna-2 project claudie-vienna-2 : error while calling DestroyInfrastructure on Terraformer: rpc error: code = Unknown desc = error while destroying infrastructure for project claudie-vienna-2 : failed to check existence of state file for \"vienna-2-fewhjx0\": failed to check existence of object claudie-vienna-2/vienna-2-fewhjx0: operation error S3: HeadObject, https response error StatusCode: 404, RequestID: 17BC81B2C1F4D87F, HostID: 4e8d2d37f42f3f7041a0ccf0d2b796d6965258dfd1964cf3039dc68c4d2b8043, NotFound: " module=builder project=claudie-vienna-2
builder-b7686db54-zmcnq builder 2024-03-14T02:49:23Z INF Config successfully destroyed module=builder project=claudie-vienna-2

bernardhalas avatar Mar 14 '24 04:03 bernardhalas