Bug 1320315 - [RFE] Support Infiniband connected mode and custom network options.
Summary: [RFE] Support Infiniband connected mode and custom network options.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On: 1439238
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 20:13 UTC by marc skinner
Modified: 2019-12-23 13:22 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-23 13:22:52 UTC
oVirt Team: Network
Target Upstream Version:


Attachments (Terms of Use)

Description marc skinner 2016-03-22 20:13:40 UTC
Description of problem:


When you configure an Infinibnad network in rhev-manager it defaults to datagram mode. This mode only allows for MTU size of 2044. We need to allow for the rhev-manager to configure an IPoIB network with either datagram mode or connected mode. If connected mode is configured, then the user supplied non-default MTU size should be used. If datagram mode is used, the default MTU 2044 should be used.

I wrote a short hook to make this work, but it needs to be integrated into the rhev-manager networking configuration tabs, and supported in vdsm.


----------------------------------------

Using VDSM hooks. T

copy this file into /usr/libexec/vdsm/hooks/after_network_setup

chmod +x on it


cat /usr/libexec/vdsm/hooks/after_network_setup/01-ib-connected-mode.sh

-----------------------


#!/bin/bash

# VDSM hook to force Infiniband mode from default datagram to connected mode
# Configure MTU in Network tab of OVIRT/RHEVM with Custom MTU - should be 66520 for connected mode

echo "TYPE=Infiniband" >> /etc/sysconfig/network-scripts/ifcfg-ib0
echo "CONNECTED_MODE=yes" >> /etc/sysconfig/network-scripts/ifcfg-ib0
/usr/sbin/ifdown ib0
/usr/sbin/ifup ib0

if grep -Fxq connected /sys/class/net/ib0/mode
then
return 0
else
return 1
fi


--

Comment 4 Doron Fediuck 2019-12-23 13:22:52 UTC
Closing old RFEs.
If still needed, please re-open and provide a business justification.


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