You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
openshift-install may be ignoring region chosen for install config #335
Testing openshift-install in a container this morning, I started getting an error like:
bash-4.2# openshift-install cluster
? Email Address [email protected]
? Password [? for help] ********
? SSH Public Key <none>
? Base Domain REDACTED
? Cluster Name dgoodwin1
? Pull Secret REDACTED
? Platform aws
? Region us-east-1 (N. Virginia)
FATA[0046] failed to generate asset: failed to determine default AMI: MissingRegion: could not find region configuration
I made a guess that it was ignoring what I selected and instead looking for ~/.aws/config which contains a default region to use. When I ran my container with "-v /home/dgoodwin/.aws/config:/home/user/.aws/config:Z" this particular error went away, leading me to believe it may not properly be loading the region from the install config that gets generated.
Guess would be that Terraform is not loading AWS creds the same way as the installer.
Activity
dgoodwin commentedon Sep 27, 2018
CC @ironcladlou as I think this might be related to what you were seeing as well.
pkg/types/config: Get the region from the install config
ironcladlou commentedon Sep 27, 2018
I noticed this last night on my new machine; I had forgotten to create
~/.aws/configwith region settings for my profile; doing so fixed it.wking commentedon Sep 27, 2018
Fixed by #346.