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

Failed to create install-config/cluster in interactivate way if AWS credential not set

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • Yes
    • None
    • Installer Sprint 271, Installer Sprint 272, Installer Sprint 273, Installer Sprint 274, Installer Sprint 275
    • 5
    • In Progress
    • Bug Fix
    • Hide
      Before this update, the installer failed when Amazon Web Service (AWS) credentials were not found and the survey was attempting to list all Amazon Web Service (AWS) regions preventing users from creating the install-config. With this release, the installer no longer fails when AWS credentials are not set, allow users to input them during the survey. (link:https://issues.redhat.com/browse/OCPBUGS-59155[OCPBUGS-59155])
      Show
      Before this update, the installer failed when Amazon Web Service (AWS) credentials were not found and the survey was attempting to list all Amazon Web Service (AWS) regions preventing users from creating the install-config. With this release, the installer no longer fails when AWS credentials are not set, allow users to input them during the survey. (link: https://issues.redhat.com/browse/OCPBUGS-59155 [ OCPBUGS-59155 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-57394. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-56658. The following is the description of the original issue:

      Description of problem:

      
      $ ls -a ~/.aws
      .  ..
      $ ./openshift-install create install-config --dir no-aws-cred
      ? Platform aws
      FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": failed to get AWS public regions: failed to get aws regions: failed to get all regions: operation error EC2: DescribeRegions, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, http response error StatusCode: 404, request to EC2 IMDS failed
      
          

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

      4.19.0-rc.3
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Do not set AWS credential, e.g. remove ~/.aws/credentials or export AWS_PROFILE=non_exist_profile
          2. create install-config or cluster
          3.
          

      Actual results:

      see description 
          

      Expected results:

      If no AWS credential was not set, user could input them in installer survey.
          

      Additional info:

      
          

              rh-ee-bbarbach Brent Barbachem
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Weinan Li Weinan Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: