-
Notifications
You must be signed in to change notification settings - Fork 898
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
[V2V] Add default setting for CPU and network limits per conversion host, and max concurrent tasks per EMS #18528
[V2V] Add default setting for CPU and network limits per conversion host, and max concurrent tasks per EMS #18528
Conversation
Hm, do we need the word "unlimited" there? If we have the key with no value, then I think it's implicit that it's not set, therefore unlimited. Or perhaps even just |
@djberg96 It's string that we then pass to virt-v2v-wrapper. When discussing with Tomas, he said that he prefers |
@fdupont-redhat I don't see where this is being used, is there another PR that will use this value? I agree with @djberg96 it looks weird to see a string value in what I'd expect to be an integer/float field, and prior to passing to the v2v-wrapper we could do |
@fdupont-redhat I think we need |
@agrare the expected value is a string to accomodate evolution in the format on virt-v2v-wrapper side. Also, we could have had the same kind of default value for |
@mturley good point. I'll add it, because today's implementation based on custom attribute is dirty. |
Checked commits fabiendupont/manageiq@a05f532~...fd4d5e7 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
…ing_setting_cpu_and_network [V2V] Add default setting for CPU and network limits per conversion host, and max concurrent tasks per EMS (cherry picked from commit a921fcf) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1686874
Hammer backport details:
|
In the current implementation, we are able to control the max number of concurrent conversions per conversion host via the settings. For advanced throttling, we need to add the same for CPU and network limits. We also need the max number of concurrent conversions per EMS, which is today a default value in the throttling code. This PR adds them to
config/settings.yml
, undertransformation / limits
.Associated RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1686169