-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.19.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When trying to destroy HCP cluster on AWS. It is observed that the commands completed successfully however, at the backed no resources were deleted. HCP logs: hcp destroy cluster aws --name test-1 --role-arn arn:aws:iam::467305695994:role/hcp-cli-role --sts-creds sts-creds.json --base-domain indiashift.support --infra-id test-1-k4nfr --destroy-cloud-resources {"level":"info","ts":"2025-06-24T05:56:57Z","msg":"Successfully destroyed cluster and infrastructure","namespace":"clusters","name":"test-1","infraID":"test-1-k4nfr"} At backend: I could see the following resources still present. - VPC - SubNet - LB - Routes - IG - EIP - NAT Gateway - Security Group - Unable to empty bucket - had to delete manually. On the management cluster: The installed cluster namespace exists with pods running The UI shows cluster in ready state.
Version-Release number of selected component (if applicable):
HCP CLI: 4.18 Management Cluster: OCP 4.19.0 AWS Region: sa-east-1 STS: Yes Cluster Type: Public
How reproducible:
100%
Steps to Reproduce:
1. Create a cluster using hypershift create cluster aws ... 2. Delete it with hypershift destroy cluster aws --name <cluster-name> --destroy-cloud-resources 3. Check AWS console for leftover resources
Actual results:
AWS resources and cluster resource are not deleted.
Expected results:
All resources should be deleted
Additional info: