Bug 1669602 - Installer never finish when I try to destroy cluster.
Summary: Installer never finish when I try to destroy cluster.
Keywords:
Status: CLOSED DUPLICATE of bug 1669274
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Alex Crawford
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks: 1664187
TreeView+ depends on / blocked
 
Reported: 2019-01-25 18:40 UTC by jooho lee
Modified: 2019-03-12 14:24 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-25 20:24:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jooho lee 2019-01-25 18:40:47 UTC
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

Comment 1 Alex Crawford 2019-01-25 20:24:23 UTC

*** This bug has been marked as a duplicate of bug 1669274 ***


Note You need to log in before you can comment on or make changes to this bug.