[Users] Setting up logical storage networks

Mike Kolesnik mkolesni at redhat.com
Sun Jun 24 06:25:51 UTC 2012


> 
> If I keep my ovirtmgmt interface on a 100Mbps subnet, and my VM
> Networks on 1Gbps network, there's anything special I have to do in
> routing or anything to prevent traffic of the VMs from following the
> default route defined in ovirtmgmt?
> 
> I'm also experiencing an issue with bonds that may be related.  I
> create the bond and set to Mode 5, yet the ifcfg-bond0 seems to
> reflect Mode 4.
> 
> DEVICE=bond0
> ONBOOT=yes
> BOOTPROTO=none
> BONDING_OPTS='mode=802.3ad miimon=150'
> NM_CONTROLLED=no
> MTU=9000
> 
> 
> Here's what looks relevant in the vdsm.log
> 
> 
> Thread-55232::DEBUG::2012-06-22
> 16:56:56,242::BindingXMLRPC::872::vds::(wrapper) client
> [128.194.76.185]::call setupNetworks with ({'stor0': {'bonding':
> 'bond0', 'bridged': 'false', 'mtu': '9000'}}, {'bond0': {'nics':
> ['eth3', 'eth2'], 'BONDING_OPTS': 'mode=5'}}, {'connectivityCheck':
> 'true', 'connectivityTimeout': '60000'}) {} flowID [39d484a3]
> Thread-55233::DEBUG::2012-06-22
> 16:56:56,242::BindingXMLRPC::872::vds::(wrapper) client
> [128.194.76.185]::call ping with () {} flowID [39d484a3]
> Thread-55233::DEBUG::2012-06-22
> 16:56:56,244::BindingXMLRPC::879::vds::(wrapper) return ping with
> {'status': {'message': 'Done', 'code': 0}}
> MainProcess|Thread-55232::DEBUG::2012-06-22
> 16:56:56,270::configNetwork::1061::setupNetworks::(setupNetworks)
> Setting up network according to configuration: networks:{'stor0':
> {'bonding': 'bond0', 'bridged': 'false', 'mtu': '9000'}},
> bondings:{'bond0': {'nics': ['eth3', 'eth2'], 'BONDING_OPTS':
> 'mode=5'}}, options:{'connectivityCheck': 'true',
> 'connectivityTimeout': '60000'}
> MainProcess|Thread-55232::DEBUG::2012-06-22
> 16:56:56,270::configNetwork::1065::root::(setupNetworks) Validating
> configuration
> Thread-55234::DEBUG::2012-06-22
> 16:56:56,294::BindingXMLRPC::872::vds::(wrapper) client
> [128.194.76.185]::call ping with () {} flowID [39d484a3]
> Thread-55234::DEBUG::2012-06-22
> 16:56:56,295::BindingXMLRPC::879::vds::(wrapper) return ping with
> {'status': {'message': 'Done', 'code': 0}}
> MainProcess|Thread-55232::DEBUG::2012-06-22
> 16:56:56,297::configNetwork::1070::setupNetworks::(setupNetworks)
> Applying...
> MainProcess|Thread-55232::DEBUG::2012-06-22
> 16:56:56,297::configNetwork::1099::setupNetworks::(setupNetworks)
> Adding network 'stor0'
> MainProcess|Thread-55232::DEBUG::2012-06-22
> 16:56:56,322::configNetwork::582::root::(addNetwork) validating
> bridge...
> MainProcess|Thread-55232::INFO::2012-06-22
> 16:56:56,323::configNetwork::591::root::(addNetwork) Adding network
> stor0 with vlan=None, bonding=bond0, nics=['eth3', 'eth2'],
> bondingOptions=None, mtu=9000, bridged=False, options={}
> 
> 
> Looking at the code I may see where things are going wrong.  Looks
> like network['bonding']['BONDING_OPTS'] is being passed when the code
> is looking for network['bonding']['options'].

Yes indeed, this bug was fixed and should be available in next release
of oVirt.

> 
> - Trey
> 



More information about the Users mailing list