-
Notifications
You must be signed in to change notification settings - Fork 897
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
Add openstack excon settings #14172
Add openstack excon settings #14172
Conversation
Looks good to me 👍 |
config/settings.yml
Outdated
@@ -930,6 +930,9 @@ | |||
- MoveIntoResourcePool | |||
:VmSuspendedEvent: | |||
- SuspendVM_Task | |||
:excon: | |||
:openstack_omit_default_port: true | |||
:openstack_read_timeout: 60 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this excon
section be moved to the :ems
section?
So, it would look something like:
:ems
:ems_openstack
:excon
:omit_default_port: true
:read_timeout: 60
Then, accessing looks like:
extra_options[:omit_default_port] = ::Settings.ems.ems_openstack.excon.omit_default_port
The nesting under excon
is up to you. As long as the settings are contained under ems_openstack
. Then, when the provider is extracted, these settings are easier to track down.
21e47b6
to
b148c3b
Compare
b148c3b
to
15510eb
Compare
Checked commit tzumainn@15510eb with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Oh! sorry, and thanks for the review; I had to rebase and push changes to the branch in order to do a functional test; I'll update when those tests are successful! |
Manual testing is succesful! If you think the changes are fine, I guess it might be ready to merge... ? |
@miq-bot add_label euwe/yes |
Add openstack excon settings (cherry picked from commit 0c6b077) https://bugzilla.redhat.com/show_bug.cgi?id=1432644 https://bugzilla.redhat.com/show_bug.cgi?id=1433094
Euwe backport details:
|
adds read_timeout and omit_default_port excon settings for use with OpenStack providers
https://bugzilla.redhat.com/show_bug.cgi?id=1413912
https://bugzilla.redhat.com/show_bug.cgi?id=1417273