Description of problem:
There should be a UI option to set the concurrent migrations per plan while creating the migration plan. The current workaround for this is to run manual procedure in terminal on the CloudForms appliance, as should be documented in the following BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1613048.
Version-Release number of selected component (if applicable):
IMO, it should not be at the plan level, as the many plans can be run in parallel, hence summing the max concurrent migrations. This should be a limit set at the provider, cluster or host level, as it is today but exposed through the UI, rather than set via command line.
*** This bug has been marked as a duplicate of bug 1594196 ***
Sudhir, I don't think it is a duplicate of "throttling" feature.
As in "throttling" we are talking about automatic balancing of migrations and automatic definition of max allowed migrations according to host availability -
while this RFE much more simple -RFE we are talking of exposing the Max limit of allowed migrations to the UI instead of having it only the rubi CLI as it is now which is not user friendly.
Please talk to me if any questions.
Upstream issue: https://github.com/ManageIQ/manageiq-v2v/issues/747
New commit detected on ManageIQ/manageiq-v2v/hammer:
Author: Michael Ro <email@example.com>
AuthorDate: Fri Nov 9 10:58:15 2018 -0500
Commit: Michael Ro <firstname.lastname@example.org>
CommitDate: Fri Nov 9 10:58:15 2018 -0500
Merge pull request #782 from mturley/776-settings-page
[#776] Add Migration Settings page with max concurrent migrations per host setting
(cherry picked from commit acd891245c35df9219ffd10f0de1e4ad41fdd109)
lib/manageiq/v2v/engine.rb | 3 +-
package.json | 1 +
yarn.lock | 4 +
15 files changed, 332 insertions(+), 1 deletion(-)
I can see this is maximum concurrent migrations limit per conversion host but I am curious if it works for both RHV and OSP !? investigating..
Created attachment 1511661 [details]
I have checked by setting concurrent migration limit with UI as well as from rail console separately, both works. When I set limit to 2 and run 3 plans with single-single vm, it just start first two and third plan waits in Pre-migration state which is what we have expected. I can also seen transformation/transformationthrottler/watch in automate.log while running through mentioned wait period.
Verified on - 188.8.131.52.20181128170555_43ed8cb
Hi Fabian, We saw in UI "Maximum concurrent migrations per conversion host" field was added. what about "max transformations per provider" setting (we used to configure it on CFME machine). this command:
$evm.vmdb(:ext_management_system).find_by(:name => "My RHV").custom_set("Max Transformation Runners", 30)
We still need to set it or is it automatically calculated based on setting from the UI (""Maximum concurrent migrations per conversion host"") ?
@ilan, you still have to set it. Advanced throttling is pushed to IMS 1.2.
The RFE requested a UI for setting Limitation for Provider and Host level to eliminate the need in Complex CLI rubi command.
(See also comment 2 from Fabien)
Currently this only half of this RFE was implemented - UI on Host level limitation was added. Provider Limitation should be set from CLI yet.
I suggest reopening this RFE till UO for Provider limitation is added.
Ilan, good to know that we can also set max transformation per provider too, never heard of that before.
While verifying this issue, we have covered -
1. setting max limit for all host (from UI)
2. setting max limit for single host (from console)
res = Host.find_by(name: 'my_rhv_host')
conversion_host = ConversionHost.create(name: res.name, resource: res)
conversion_host.max_concurrent_tasks = 5
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.