Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.45 KB | None | 0 0
  1. [mgugino@host installer]$ mv terraform.tfstate terraform.tfstate.bak
  2. [mgugino@host installer]$ ./bin/openshift-install create cluster
  3. INFO Consuming "Kubeconfig Admin" from target directory
  4. INFO Consuming "Terraform Variables" from target directory
  5. INFO Creating cluster...
  6. ERROR
  7. ERROR Error: Error applying plan:
  8. ERROR
  9. ERROR 2 errors occurred:
  10. ERROR * module.iam.aws_iam_instance_profile.worker: 1 error occurred:
  11. ERROR * aws_iam_instance_profile.worker: Error creating IAM instance profile mgugino-worker-profile: EntityAlreadyExists: Instance Profile mgugino-worker-profile already exists.
  12. ERROR status code: 409, request id: d6fa47b1-3399-11e9-a33a-ff0471c26816
  13. ERROR
  14. ERROR
  15. ERROR * module.masters.aws_iam_instance_profile.master: 1 error occurred:
  16. ERROR * aws_iam_instance_profile.master: Error creating IAM instance profile mgugino-master-profile: EntityAlreadyExists: Instance Profile mgugino-master-profile already exists.
  17. ERROR status code: 409, request id: d6fc9110-3399-11e9-bad7-7bc2a6c6c0e6
  18. ERROR
  19. ERROR
  20. ERROR
  21. ERROR
  22. ERROR
  23. ERROR Terraform does not automatically rollback in the face of errors.
  24. ERROR Instead, your Terraform state file has been partially updated with
  25. ERROR any resources that successfully completed. Please address the error
  26. ERROR above and apply again to incrementally change your infrastructure.
  27. ERROR
  28. ERROR
  29. FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform
  30. [mgugino@host installer]$ ./bin/openshift-install destroy cluster
  31. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-09bef38ff9539e998" id=rtbassoc-02d8cc0c001bd54b1
  32. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-09bef38ff9539e998" id=rtb-09bef38ff9539e998
  33. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-0b069361d84f8e423
  34. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-045823fc97fd76899
  35. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-0b6f299f540b96f6b
  36. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-01111b4f016dfa0f2
  37. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-0064acd6034f6cd5b
  38. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:route-table/rtb-0ecc4cad067f75465" id=rtbassoc-00dd2678a8db01344
  39. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f load balancer=loadbalancer/net/mgugino-ext/91c784c834aca8c6
  40. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f load balancer=loadbalancer/net/mgugino-int/f94146d3304eff1b
  41. INFO Deleted VPC endpoint=vpce-042ca42e3de33ac2c arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f
  42. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0d008d456e012985e table=rtb-0c60e4e033d13a261
  43. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0c60e4e033d13a261
  44. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-077f0e088c566f2eb
  45. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0268bac123b0b0b7c table=rtb-0e25b46761fe18d69
  46. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0e25b46761fe18d69
  47. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0bb720beecf5f83be table=rtb-0d8f5e80f5f494e17
  48. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0d8f5e80f5f494e17
  49. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-0107613e0e1367129 table=rtb-0901df2b8f52d3c71
  50. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-0901df2b8f52d3c71
  51. INFO Disassociated arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=rtbassoc-01350351863942a0a table=rtb-06e9999ee7f63e7a0
  52. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f table=rtb-06e9999ee7f63e7a0
  53. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-01105b9e9f1451620" id=nat-01105b9e9f1451620
  54. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-011dbb4f0df6f0428" id=nat-011dbb4f0df6f0428
  55. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-038dfca44f7fc023f" id=nat-038dfca44f7fc023f
  56. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-03c09f0e578b2bbb4" id=nat-03c09f0e578b2bbb4
  57. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-0c7f79d2d75c90f23" id=nat-0c7f79d2d75c90f23
  58. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-0f6dc6d5edd8738fd" id=nat-0f6dc6d5edd8738fd
  59. INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:loadbalancer/net/mgugino-ext/91c784c834aca8c6" id=net/mgugino-ext/91c784c834aca8c6
  60. INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:loadbalancer/net/mgugino-int/f94146d3304eff1b" id=net/mgugino-int/f94146d3304eff1b
  61. INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:targetgroup/mgugino-api-ext/550f8cf24fa47dea" id=mgugino-api-ext/550f8cf24fa47dea
  62. INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:targetgroup/mgugino-api-int/03fa74e0892902f0" id=mgugino-api-int/03fa74e0892902f0
  63. INFO Deleted arn="arn:aws:elasticloadbalancing:us-east-1:269733383066:targetgroup/mgugino-services/23ffd780a9fa53ea" id=mgugino-services/23ffd780a9fa53ea
  64. INFO Deleted arn="arn:aws:route53:::hostedzone/Z1MK307PDJ9YPY" id=Z1MK307PDJ9YPY public zone=/hostedzone/Z3URY6TWQ91KVV record set="A api.mgugino.devcluster.openshift.com."
  65. INFO Deleted arn="arn:aws:route53:::hostedzone/Z1MK307PDJ9YPY" id=Z1MK307PDJ9YPY record set="A api.mgugino.devcluster.openshift.com."
  66. INFO Deleted arn="arn:aws:route53:::hostedzone/Z1MK307PDJ9YPY" id=Z1MK307PDJ9YPY
  67. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-0f6e5e2cbf23ebe88" id=sg-0f6e5e2cbf23ebe88
  68. 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
  69. 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
  70. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:instance/i-0297efdea0dc558de" id=i-0297efdea0dc558de
  71. INFO Deleted arn="arn:aws:s3:::terraform-20190218162543421800000001"
  72. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-020880d8b09fa3267" id=sg-020880d8b09fa3267
  73. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-01da1759b150b61b1" id=sg-01da1759b150b61b1
  74. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-015c31677a22f44e8" id=nat-015c31677a22f44e8
  75. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-01a80ec5dc3a7aa41" id=nat-01a80ec5dc3a7aa41
  76. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-01f2913aeab10d585" id=nat-01f2913aeab10d585
  77. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-023f1cd967114bd8c" id=nat-023f1cd967114bd8c
  78. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-03c977bf252c702ae" id=nat-03c977bf252c702ae
  79. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:natgateway/nat-0b57d72231131bae6" id=nat-0b57d72231131bae6
  80. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0591a11aebf1dbc02" id=subnet-0591a11aebf1dbc02
  81. INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-bootstrap-role" id=mgugino-bootstrap-role name=mgugino-bootstrap-role policy=mgugino-bootstrap-policy
  82. INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-bootstrap-role" id=mgugino-bootstrap-role name=mgugino-bootstrap-role
  83. INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-master-role" id=mgugino-master-role name=mgugino-master-role policy=mgugino_master_policy
  84. INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-master-role" id=mgugino-master-role name=mgugino-master-role
  85. INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-worker-role" id=mgugino-worker-role name=mgugino-worker-role policy=mgugino_worker_policy
  86. INFO Deleted arn="arn:aws:iam::269733383066:role/mgugino-worker-role" id=mgugino-worker-role name=mgugino-worker-role
  87. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0b1d6fc85869c0136" id=subnet-0b1d6fc85869c0136
  88. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0bd8414e085393b1b" id=subnet-0bd8414e085393b1b
  89. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0ce877b2bcf871c8d" id=subnet-0ce877b2bcf871c8d
  90. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0b313c134b82c01e6" id=subnet-0b313c134b82c01e6
  91. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0f06b841faee48ca4" id=subnet-0f06b841faee48ca4
  92. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-067bafade23873949" id=sg-067bafade23873949
  93. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:internet-gateway/igw-084a669e881dae925" id=igw-084a669e881dae925
  94. INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0115fe51b46bd238a" id=eipalloc-0115fe51b46bd238a
  95. INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-03f794bff85d37e87" id=eipalloc-03f794bff85d37e87
  96. INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0c1fd7cf018526145" id=eipalloc-0c1fd7cf018526145
  97. INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0c41b0af68407ca78" id=eipalloc-0c41b0af68407ca78
  98. INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0dcc95a1f7d805dd6" id=eipalloc-0dcc95a1f7d805dd6
  99. INFO Released arn="arn:aws:ec2:us-east-1:269733383066:elastic-ip/eipalloc-0eccedc16ffef2994" id=eipalloc-0eccedc16ffef2994
  100. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0011759f557a3d1ce" id=subnet-0011759f557a3d1ce
  101. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-0819c4f90d95ea45e" id=subnet-0819c4f90d95ea45e
  102. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-05cc0272c13fada26" id=subnet-05cc0272c13fada26
  103. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-05885da015d526963" id=subnet-05885da015d526963
  104. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-072a18b0e09e6886c" id=subnet-072a18b0e09e6886c
  105. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:security-group/sg-02b1fe4d2326b4b79" id=sg-02b1fe4d2326b4b79
  106. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:subnet/subnet-00f43916bb1076586" id=subnet-00f43916bb1076586
  107. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:vpc/vpc-0c73e290573cd9f1f" id=vpc-0c73e290573cd9f1f
  108. INFO Deleted arn="arn:aws:ec2:us-east-1:269733383066:dhcp-options/dopt-0fdf3b543a0748190" id=dopt-0fdf3b543a0748190
  109. [mgugino@host installer]$ ./bin/openshift-install create cluster
  110. ? SSH Public Key /home/mgugino/.ssh/id_rsa.pub
  111. ? Platform aws
  112. ? Region us-east-1
  113. ? Base Domain devcluster.openshift.com
  114. ? Cluster Name mgugino
  115. ? Pull Secret [? for help] *********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
  116. 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