Created attachment 1528205 [details] install log file Description of problem: If the installer fails on VPC issues (as seen in error [0]) the destroy cluster command does not work as the metadata.json file that is created does not get created. Version: > ./openshift-install version ./openshift-install v0.12.0 Additional Info: Uploading .openshift_install.log shortly [0] > ./openshift-install create cluster ? SSH Public Key /home/erjones/.ssh/id_rsa.pub ? Platform aws ? Region us-east-1 ? Base Domain rhcee.support ? Cluster Name erjones ? Pull Secret [? for help] ********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************* INFO Creating cluster... ERROR ERROR Error: Error applying plan: ERROR ERROR 1 error occurred: ERROR * module.vpc.aws_vpc_endpoint.s3: 1 error occurred: ERROR * aws_vpc_endpoint.s3: Error creating VPC Endpoint: VpcEndpointLimitExceeded: The maximum number of VPC endpoints has been reached. ERROR status code: 400, request id: fd53c1a1-f07c-4978-83ab-c5c51a4e10cd ERROR ERROR ERROR ERROR ERROR ERROR Terraform does not automatically rollback in the face of errors. ERROR Instead, your Terraform state file has been partially updated with ERROR any resources that successfully completed. Please address the error ERROR above and apply again to incrementally change your infrastructure. ERROR ERROR FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform
Apologies, I forgot to include the error message from the delete attempt: > ./openshift-install destroy cluster --dir . FATAL Failed while preparing to destroy cluster: open metadata.json: no such file or directory
This was fixed by https://github.com/openshift/installer/pull/1199 which will make it into the next release.