-
Notifications
You must be signed in to change notification settings - Fork 900
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
[DARGA] removed gov cloud from aws list of regions #10902
Conversation
b014c68
to
6233927
Compare
@chessbyte Can you hold on merging to darga? I have reservations about the original PR ManageIQ/manageiq-providers-amazon#38 |
877f46a
to
cd8f54e
Compare
@Fryguy how do you like this? gov_cloud would be disabled by default and customers that need it, can enable it through a setting. I'd put up a PR for master in the amazon repo, once this is merged |
cc @blomquisg |
cd8f54e
to
a143c9d
Compare
@Fryguy could you give your 👍 or 👎 ? |
@durandom So I was thinking something much more generic, because you are going to need this in other providers. For example, in Azure there are actually multiple gov cloud regions, and what's to say that amazon won't also create multiple at some point. Ultimately the feature is to "disable regions"...we just so happen to need gov cloud, but why not be able to disable any region? So I was thinking having a setting in each provider settings section called "disabled_regions" :ems_amazon:
:disabled_regions: [] By default it's empty, but one could do: :ems_amazon:
:disabled_regions:
- us-gov-west-1 What's nice about this approach is it opens up multiple things
|
Also, on ManageIQ I don't believe we should disable anything by default, whether it's providers, regions, translations, or whatever. @blomquisg Thoughts? |
a143c9d
to
5abd33c
Compare
@Fryguy incorporated your suggestions. The downside is, the regions are filtered at runtime. But thats not a real performance issue, since its just small array/hash operations. |
5abd33c
to
9252b24
Compare
@durandom This is perfect 👍 So, as far as backporting goes, let's get into master on the gem, and then backport |
9252b24
to
b6be4f9
Compare
Checked commit durandom@b6be4f9 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
Yea, but the gems dont support settings.yml yet, so backporting via cherry-picking would result in a conflict anyways :/ So, lets get #10944 in and then continue on this ManageIQ/manageiq-providers-amazon#44 For now, I'd let @chessbyte merge this PR as is |
I'll leave it up to @chessbyte, then. Downstream first always concerns me. |
Totally agree, and would be there only 1 day to go, I'd wait until we can have the same implemented in master. So, @chessbyte, merge ? |
addresses https://bugzilla.redhat.com/show_bug.cgi?id=1349423
@miq-bot assign chessbyte