Skip to content

openshift-install may be ignoring region chosen for install config #335

Closed

Description

@dgoodwin

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

  1. dgoodwin commented on Sep 27, 2018

    @dgoodwin
    ContributorAuthor

    CC @ironcladlou as I think this might be related to what you were seeing as well.

  2. ironcladlou commented on Sep 27, 2018

    @ironcladlou
    Contributor

    I noticed this last night on my new machine; I had forgotten to create ~/.aws/config with region settings for my profile; doing so fixed it.

  3. wking commented on Sep 27, 2018

    @wking
    Member

    Fixed by #346.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions