-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ironfan 6.1.6 doesn't respect AWS region / AZ defined for realm #355
Comments
Following up after commit be017d4 , this is now the error which I get:
|
Further snooping suggests this may be a continuation/duplicate of this issue: #91 |
Any traction on this issue? We are separating out our environments a bit and ran into this very same issue. |
No meaningful traction. I'm pretty new to ironfan, so am a bit hesitant to go mucking around too much in the codebase. As a lazy workaround, I edited my knife-org.rb to take the environment variable EC2_REGION, if present:
This at least lets me specify a region at the command line:
This would not work for multi-region deployments, tho. |
1UP I am suffering from the same bug. It seems regions are disregarded in cluster or realm definitions which prevents me from using realms the way I would like. I don't want to be restricted to one region because it's the only one I can define in my knife-org.rb. This workaround works but again, is really just defining the default region in a config and I'd rather have the defined in a realm ideally. Any other suggestions welcome. |
I'm trying out ironfan v6.1.6 gem within ironfan-homebase, and I discovered the latest version in master apparently does not respect the region or AZ I have defined for the realm, defaulting instead to us-east-1.
Here is what I see trying to launch an instance:
This is the realm I have defined in $IRONFAN_HOMBASE/realms/dev1.rb:
I bundle ironfan v6.1.6 into ironfan-homebase by checking out a local copy of the repo and adding this to $IRONFAN_HOMBASE/Gemfile:
gem 'ironfan', :path => "~/src/ironfan"
I can confirm that explicitly setting the same region in $IRONFAN_HOMBASE/knife/credentials/knife-org.rb does allow this instance to launch into the correct region:
Is ironfan not picking up the AWS region specified for the realm?
The text was updated successfully, but these errors were encountered: