-
Bug
-
Resolution: Unresolved
-
Major
-
4.19
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:
- blocks
-
OCPBUGS-57394 Failed to create install-config/cluster in interactivate way if AWS credential not set
-
- Closed
-
- is cloned by
-
OCPBUGS-57394 Failed to create install-config/cluster in interactivate way if AWS credential not set
-
- Closed
-
- relates to
-
OCPBUGS-57923 Failed to create install-config/cluster in interactivate way if AWS_PROFILE is invalid
-
- Verified
-
- links to