Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mgugino@host installer]$ mv terraform.tfstate terraform.tfstate.bak
- [mgugino@host installer]$ ./bin/openshift-install create cluster
- INFO Consuming "Kubeconfig Admin" from target directory
- INFO Consuming "Terraform Variables" from target directory
- INFO Creating cluster...
- ERROR
- ERROR Error: Error applying plan:
- ERROR
- ERROR 2 errors occurred:
- ERROR * module.iam.aws_iam_instance_profile.worker: 1 error occurred:
- ERROR * aws_iam_instance_profile.worker: Error creating IAM instance profile mgugino-worker-profile: EntityAlreadyExists: Instance Profile mgugino-worker-profile already exists.
- ERROR status code: 409, request id: d6fa47b1-3399-11e9-a33a-ff0471c26816
- ERROR
- ERROR
- ERROR * module.masters.aws_iam_instance_profile.master: 1 error occurred:
- ERROR * aws_iam_instance_profile.master: Error creating IAM instance profile mgugino-master-profile: EntityAlreadyExists: Instance Profile mgugino-master-profile already exists.
- ERROR status code: 409, request id: d6fc9110-3399-11e9-bad7-7bc2a6c6c0e6
- 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
- [mgugino@host installer]$ ./bin/openshift-install destroy cluster
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-09bef38ff9539e998" id=rtbassoc-02d8cc0c001bd54b1
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-09bef38ff9539e998" id=rtb-09bef38ff9539e998
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-0b069361d84f8e423
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-045823fc97fd76899
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-0b6f299f540b96f6b
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-01111b4f016dfa0f2
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-0064acd6034f6cd5b
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-00dd2678a8db01344
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f load balancer=loadbalancer/net/mgugino-ext/91c784c834aca8c6
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f load balancer=loadbalancer/net/mgugino-int/f94146d3304eff1b
- INFO Deleted VPC endpoint=vpce-042ca42e3de33ac2c arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0d008d456e012985e table=rtb-0c60e4e033d13a261
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0c60e4e033d13a261
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-077f0e088c566f2eb
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0268bac123b0b0b7c table=rtb-0e25b46761fe18d69
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0e25b46761fe18d69
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0bb720beecf5f83be table=rtb-0d8f5e80f5f494e17
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0d8f5e80f5f494e17
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0107613e0e1367129 table=rtb-0901df2b8f52d3c71
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0901df2b8f52d3c71
- INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-01350351863942a0a table=rtb-06e9999ee7f63e7a0
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-06e9999ee7f63e7a0
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-01105b9e9f1451620" id=nat-01105b9e9f1451620
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-011dbb4f0df6f0428" id=nat-011dbb4f0df6f0428
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-038dfca44f7fc023f" id=nat-038dfca44f7fc023f
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-03c09f0e578b2bbb4" id=nat-03c09f0e578b2bbb4
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-0c7f79d2d75c90f23" id=nat-0c7f79d2d75c90f23
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-0f6dc6d5edd8738fd" id=nat-0f6dc6d5edd8738fd
- INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:loadbalancer/net/mgugino-ext/91c784c834aca8c6" id=net/mgugino-ext/91c784c834aca8c6
- INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:loadbalancer/net/mgugino-int/f94146d3304eff1b" id=net/mgugino-int/f94146d3304eff1b
- INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:targetgroup/mgugino-api-ext/550f8cf24fa47dea" id=mgugino-api-ext/550f8cf24fa47dea
- INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:targetgroup/mgugino-api-int/03fa74e0892902f0" id=mgugino-api-int/03fa74e0892902f0
- INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:targetgroup/mgugino-services/23ffd780a9fa53ea" id=mgugino-services/23ffd780a9fa53ea
- INFO Deleted arn="arn:aws:route53:::hostedzone/Z1MK307PDJ9YPY" id=Z1MK307PDJ9YPY public zone=/hostedzone/Z3URY6TWQ91KVV record set="A api.mgugino.devcluster.openshift.com."
- INFO Deleted arn="arn:aws:route53:::hostedzone/Z1MK307PDJ9YPY" id=Z1MK307PDJ9YPY record set="A api.mgugino.devcluster.openshift.com."
- INFO Deleted arn="arn:aws:route53:::hostedzone/Z1MK307PDJ9YPY" id=Z1MK307PDJ9YPY
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-0f6e5e2cbf23ebe88" id=sg-0f6e5e2cbf23ebe88
- INFO Disassociated IAM instance profile="arn:aws:iam::269733383066:instance-profile/mgugino-bootstrap-profile" arn="arn:aws:ec2:us-east-1:269733383066:instance/i-0297efdea0dc558de" id=i-0297efdea0dc558de name=mgugino-bootstrap-profile role=mgugino-bootstrap-role
- INFO Deleted IAM instance profile="arn:aws:iam::269733383066:instance-profile/mgugino-bootstrap-profile" arn="arn:aws:ec2:us-east-1:269733383066:instance/i-0297efdea0dc558de" id=i-0297efdea0dc558de name=mgugino-bootstrap-profile
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:instance/i-0297efdea0dc558de" id=i-0297efdea0dc558de
- INFO Deleted arn="arn:aws:s3:::terraform-20190218162543421800000001"
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-020880d8b09fa3267" id=sg-020880d8b09fa3267
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-01da1759b150b61b1" id=sg-01da1759b150b61b1
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-015c31677a22f44e8" id=nat-015c31677a22f44e8
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-01a80ec5dc3a7aa41" id=nat-01a80ec5dc3a7aa41
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-01f2913aeab10d585" id=nat-01f2913aeab10d585
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-023f1cd967114bd8c" id=nat-023f1cd967114bd8c
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-03c977bf252c702ae" id=nat-03c977bf252c702ae
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-0b57d72231131bae6" id=nat-0b57d72231131bae6
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0591a11aebf1dbc02" id=subnet-0591a11aebf1dbc02
- INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-bootstrap-role" id=mgugino-bootstrap-role name=mgugino-bootstrap-role policy=mgugino-bootstrap-policy
- INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-bootstrap-role" id=mgugino-bootstrap-role name=mgugino-bootstrap-role
- INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-master-role" id=mgugino-master-role name=mgugino-master-role policy=mgugino_master_policy
- INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-master-role" id=mgugino-master-role name=mgugino-master-role
- INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-worker-role" id=mgugino-worker-role name=mgugino-worker-role policy=mgugino_worker_policy
- INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-worker-role" id=mgugino-worker-role name=mgugino-worker-role
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0b1d6fc85869c0136" id=subnet-0b1d6fc85869c0136
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0bd8414e085393b1b" id=subnet-0bd8414e085393b1b
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0ce877b2bcf871c8d" id=subnet-0ce877b2bcf871c8d
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0b313c134b82c01e6" id=subnet-0b313c134b82c01e6
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0f06b841faee48ca4" id=subnet-0f06b841faee48ca4
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-067bafade23873949" id=sg-067bafade23873949
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:internet-gateway/igw-084a669e881dae925" id=igw-084a669e881dae925
- INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0115fe51b46bd238a" id=eipalloc-0115fe51b46bd238a
- INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-03f794bff85d37e87" id=eipalloc-03f794bff85d37e87
- INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0c1fd7cf018526145" id=eipalloc-0c1fd7cf018526145
- INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0c41b0af68407ca78" id=eipalloc-0c41b0af68407ca78
- INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0dcc95a1f7d805dd6" id=eipalloc-0dcc95a1f7d805dd6
- INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0eccedc16ffef2994" id=eipalloc-0eccedc16ffef2994
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0011759f557a3d1ce" id=subnet-0011759f557a3d1ce
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0819c4f90d95ea45e" id=subnet-0819c4f90d95ea45e
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-05cc0272c13fada26" id=subnet-05cc0272c13fada26
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-05885da015d526963" id=subnet-05885da015d526963
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-072a18b0e09e6886c" id=subnet-072a18b0e09e6886c
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-02b1fe4d2326b4b79" id=sg-02b1fe4d2326b4b79
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-00f43916bb1076586" id=subnet-00f43916bb1076586
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f
- INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:dhcp-options/dopt-0fdf3b543a0748190" id=dopt-0fdf3b543a0748190
- [mgugino@host installer]$ ./bin/openshift-install create cluster
- ? SSH Public Key /home/mgugino/.ssh/id_rsa.pub
- ? Platform aws
- ? Region us-east-1
- ? Base Domain devcluster.openshift.com
- ? Cluster Name mgugino
- ? Pull Secret [? for help] *********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
- FATAL failed to fetch Cluster: failed to load asset "Cluster": "terraform.tfstate" already exists. There may already be a running cluster
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement