Bug 1749313 - [v2v][RFE] Provide option to choose network interface, for data transfer better performance.
Summary: [v2v][RFE] Provide option to choose network interface, for data transfer bett...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.5
Assignee: Fabien Dupont
QA Contact: Ilanit Stein
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-05 10:55 UTC by Ilanit Stein
Modified: 2020-05-05 13:43 UTC (History)
2 users (show)

Fixed In Version: 5.11.5.0
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-05 13:43:09 UTC
Category: Feature
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:
pm-rhel: cfme-5.11.z+
mfeifer: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ manageiq issues 19548 0 'None' open [RFE] Allow assigning a purpose to a network interface 2020-04-29 18:20:13 UTC
Red Hat Product Errata RHBA-2020:2020 0 None None None 2020-05-05 13:43:21 UTC

Description Ilanit Stein 2019-09-05 10:55:35 UTC
Description of problem:
Would be good to allow choosing the network interface, so that the faster network interface will be used, to allow a faster data transfer.

Otherwise, data transfer, may be done via the default route, that might be configured with 1GB, or 100MB, and case poor data transfer performance. 

Here's Fabien D. input regarding this:
"Data transfer between will ESX and conversion host (independently of provider) will occur accordingly to the routes defined on the conversion hosts. If a static route is set to reach the ESX hosts, it will be used. If the ESX host interface is in the same network as the conversion host, there's no need to set a static as one is automatically create to access peers on the same subnet. The main issue here is that the IP address of the ESX host is the admin interface: that's how the migration code is implemented today. And this is due to the fact that we cannot know which interface we should use among all the NIC of the host, so we use the default one which is the one that is used to communicate with vCenter, and that is also most probably a 1Gbps link.

I checked on our infrastructure (vSphere 6.5) and the ESXi hosts listen on port 902/tcp (VDDK) on all interfaces, so in theory, we could specify a different NIC than the one used for admin. This would though require an action from the user to "tag" the NICs on all the ESXi hosts, so that we could pick the correct one when generate the URI for ESXi link. This would require adding the "acts_as_miq_taggable" extension to the GuestDevice class, and it could be pretty long to do. Another possibility would be tag a specific virtual switch, i.e. Switch class, as it is already taggable and we can get the IP address of each host on a specific switch.

Following this idea, we could use the switch tag to retrieve the IP address of the host. If no switch is tagged as migration or if the host has no IP address on the switch (acts as a bridge), then we would default to the admin IP address.
This would though require some UI work, because the HostVirtualSwitch are exposed in a limited way in CloudForms UI, and most of the time the storage network (most probable choice) is based on HostVirtualSwitch, not DistributedVirtualSwitch.
Assuming that the switch names are consistent across ESXi hosts, we could expose them as a smaller list and allow selection. But assuming is dangerous... So, we could also have a table widget where all hosts would be displayed, with a dropdown to select the switch."

Version-Release number of selected component (if applicable):
CFME-5.11.0.22


Additional info:
We encountered in QE lab, a case where VM with 100GB disk vddk migration took 35 minutes, because the data path, was going through RHV management interface, that was configured to 1GB. Moving to 10GB, by changing host routes, improved the migration to ~17 minutes.

Comment 2 Fabien Dupont 2019-11-25 08:21:26 UTC
https://github.com/ManageIQ/manageiq/pull/19549

Comment 3 CFME Bot 2020-04-13 11:40:16 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/6e4014851827253f7eae92a857b604d4c34c1933
commit 6e4014851827253f7eae92a857b604d4c34c1933
Author:     Adam Grare <agrare>
AuthorDate: Fri Nov 22 17:22:26 2019 +0000
Commit:     Adam Grare <agrare>
CommitDate: Fri Nov 22 17:22:26 2019 +0000

    Merge pull request #19549 from fdupont-redhat/make_guest_device_taggable

    Make GuestDevice taggable

    (cherry picked from commit 24a4de29cb9d25e2f75d99adf40787eeec80059e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1749313

 app/models/guest_device.rb | 2 +
 1 file changed, 2 insertions(+)

Comment 4 Ilanit Stein 2020-04-20 15:25:40 UTC
Verified on CFME-5.11.5:

ESXi hosts were set TransformationIPAddress.
And the virt-v2v command used this IP address for the data migration.

Comment 7 errata-xmlrpc 2020-05-05 13:43:09 UTC
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.

https://access.redhat.com/errata/RHBA-2020:2020


Note You need to log in before you can comment on or make changes to this bug.