Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-4156

AWS Install Failures: Error: creating EC2 Instance: InvalidParameterValue: Value (-) for parameter iamInstanceProfile.name is invalid.

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Hits following error serval times recently:

      level=error
      level=error msg=Error: creating EC2 Instance: InvalidParameterValue: Value (ci-op-112w5f5t-cd83d-jnj4v-bootstrap-profile) for parameter iamInstanceProfile.name is invalid. Invalid IAM Instance Profile name
      level=error msg=	status code: 400, request id: 2e85468a-dea7-400e-b10b-315691cb9182
      level=error
      level=error msg=  with aws_instance.bootstrap,
      level=error msg=  on main.tf line 152, in resource "aws_instance" "bootstrap":
      level=error msg= 152: resource "aws_instance" "bootstrap" {
      level=error
      level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failure applying terraform for "bootstrap" stage: failed to create cluster: failed to apply Terraform: exit status 1
      level=error
      level=error msg=Error: creating EC2 Instance: InvalidParameterValue: Value (ci-op-112w5f5t-cd83d-jnj4v-bootstrap-profile) for parameter iamInstanceProfile.name is invalid. Invalid IAM Instance Profile name
      level=error msg=	status code: 400, request id: 2e85468a-dea7-400e-b10b-315691cb9182
      level=error
      level=error msg=  with aws_instance.bootstrap,
      level=error msg=  on main.tf line 152, in resource "aws_instance" "bootstrap":
      level=error msg= 152: resource "aws_instance" "bootstrap" {
      level=error
      level=error
      

      query: https://search.ci.openshift.org/?search=creating+EC2+Instance%3A+InvalidParameterValue&maxAge=336h&context=1&type=build-log&name=.*aws.*&excludeName=.*upgrade.*&maxMatches=5&maxBytes=20971520&groupBy=job

      build: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.12-e2e-aws-sdn-crun/1595091549320908800

      Version-Release number of selected component (if applicable):

      4.12
      

      How reproducible:

      Occasionally
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yunjiang-1 Yunfei Jiang
              Yunfei Jiang Yunfei Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: