Bug 1669602
| Summary: | Installer never finish when I try to destroy cluster. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | jooho lee <jlee> |
| Component: | Installer | Assignee: | Alex Crawford <crawford> |
| Installer sub component: | openshift-installer | QA Contact: | Johnny Liu <jialiu> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | ||
| Version: | 4.1.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-25 20:24:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1664187 | ||
*** This bug has been marked as a duplicate of bug 1669274 *** |
Description of problem: I tried to install OCP4 and failed then I forget to destroy the cluster. Then, I remove the information folder and reinstall OCP4 with the same information such as cluster name. Then, it fails because some objects are already there. It makes sense. The problem is from this point. When I try to destroy the cluster, it never finishes with this error messages ``` DEBUG search for and delete matching resources by tag in us-east-1 matching aws.Filter{"openshiftClusterID":"31036498-5124-4d1c-833e-91e93e4ecc92"} DEBUG search for and delete matching resources by tag in us-east-1 matching aws.Filter{"kubernetes.io/cluster/ocp40":"owned"} DEBUG deleting arn:aws:ec2:us-east-1:694280550618:vpc/vpc-03382346455d4bb22: DependencyViolation: The vpc 'vpc-03382346455d4bb22' has dependencies and cannot be deleted. status code: 400, request id: bcff41f5-9358-4370-8c05-c979e5da28e5 ``` Version-Release number of the following components: How reproducible: Steps to Reproduce: 1../openshift-install-0.10.1 create cluster --log-level=debug --dir=aws 2.rm -rf ./aws 3../openshift-install-0.10.1 create cluster --log-level=debug --dir=aws 4../openshift-install-0.10.1 destroy cluster --log-level=debug --dir=aws Actual results: keep repeating this error messages: ``` DEBUG search for IAM roles DEBUG search for IAM users DEBUG search for and delete matching resources by tag in us-east-1 matching aws.Filter{"openshiftClusterID":"31036498-5124-4d1c-833e-91e93e4ecc92"} DEBUG search for and delete matching resources by tag in us-east-1 matching aws.Filter{"kubernetes.io/cluster/ocp40":"owned"} DEBUG deleting arn:aws:ec2:us-east-1:694280550618:vpc/vpc-03382346455d4bb22: DependencyViolation: The vpc 'vpc-03382346455d4bb22' has dependencies and cannot be deleted. status code: 400, request id: 78f2b495-0afb-4aec-878d-ae3bd42d2bb3 ``` Expected results: Destroy all objects. Additional info: Please attach logs from ansible-playbook with the -vvv flag