[Users] unsuccessful at creating bonded interface

Jonathan Horne jhorne at skopos.us
Wed Nov 21 13:54:45 UTC 2012


From:  Mike Kolesnik <mkolesni at redhat.com>
Date:  Tuesday, November 20, 2012 8:57 AM
To:  Jonathan Horne <jhorne at skopos.us>
Cc:  "users at ovirt.org" <users at ovirt.org>
Subject:  Re: [Users] unsuccessful at creating bonded interface



So far I have been unable to successfully create a bonded interface on
ovirt node 2.5.5-0.1.fc17, either mode 1 or mode 4 (and I will have need
of both going forward).



When I try it, the config fails, but if I log in I see the bonded
interface.  Restarting gives the error cannot change config there are
still slaves attached.  Rebooting, eliminates the config and what I had
originally come back (but at least the node
 is pingable again).

Can someone point me in the right direction here of how to get this
feature working?




Hi Jonathan,
Can you please send the relevant logs of engine & VDSM that include the
error that you get when you try to create the bond?

Thanks!
jonathan

________________________________________


Here is the vdsm.log file from the node:

Thread-273::DEBUG::2012-11-21
13:35:27,466::BindingXMLRPC::859::vds::(wrapper) client [10.3.1.28]::call
setupNetworks with ({'ovirtmgmt': {'bonding': 'bond2', 'bootproto':
'dhcp', 'bridged': 'true'}}, {'bond2': {'nics': ['em2', 'em1'], 'options':
'mode=1 miimon=100'}}, {'connectivityCheck': 'true',
'connectivityTimeout': 60000}) {} flowID [7c4ea64a]
Thread-274::DEBUG::2012-11-21
13:35:27,477::BindingXMLRPC::859::vds::(wrapper) client [10.3.1.28]::call
ping with () {} flowID [7c4ea64a]
Thread-274::DEBUG::2012-11-21
13:35:27,477::BindingXMLRPC::865::vds::(wrapper) return ping with
{'status': {'message': 'Done', 'code': 0}}
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,504::configNetwork::1083::setupNetworks::(setupNetworks) Setting
up network according to configuration: networks:{'ovirtmgmt': {'bonding':
'bond2', 'bootproto': 'dhcp', 'bridged': 'true'}}, bondings:{'bond2':
{'nics': ['em2', 'em1'], 'options': 'mode=1 miimon=100'}},
options:{'connectivityCheck': 'true', 'connectivityTimeout': 60000}
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,504::configNetwork::1087::root::(setupNetworks) Validating
configuration
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,513::configNetwork::1090::setupNetworks::(setupNetworks)
Applying...
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,513::configNetwork::1095::setupNetworks::(setupNetworks) Removing
network 'ovirtmgmt'
MainProcess|Thread-273::INFO::2012-11-21
13:35:27,526::configNetwork::775::root::(delNetwork) Removing network
ovirtmgmt with vlan=None, bonding=None, nics=['em1'],options={}
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,701::configNetwork::175::root::(_atomicBackup) Backed up
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,735::configNetwork::207::root::(_persistentBackup) unmounted
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt using ovirt
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,736::configNetwork::227::root::(_persistentBackup) Persistently
backed up /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt (until next 'set
safe config')
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,745::configNetwork::1126::setupNetworks::(setupNetworks) Adding
network 'ovirtmgmt'
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:27,753::configNetwork::602::root::(addNetwork) validating bridge...
MainProcess|Thread-273::INFO::2012-11-21
13:35:27,755::configNetwork::611::root::(addNetwork) Adding network
ovirtmgmt with vlan=None, bonding=bond2, nics=['em2', 'em1'],
bondingOptions=mode=1 miimon=100, mtu=None, bridged=True,
options={'bootproto': 'dhcp', 'implicitBonding': True}
MainProcess|Thread-273::WARNING::2012-11-21
13:35:28,155::configNetwork::72::root::(ifdown)
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,182::configNetwork::207::root::(_persistentBackup) unmounted
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt using ovirt
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,291::configNetwork::175::root::(_atomicBackup) Backed up
/etc/sysconfig/network-scripts/ifcfg-em1
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,323::configNetwork::207::root::(_persistentBackup) unmounted
/etc/sysconfig/network-scripts/ifcfg-em1 using ovirt
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,323::configNetwork::227::root::(_persistentBackup) Persistently
backed up /etc/sysconfig/network-scripts/ifcfg-em1 (until next 'set safe
config')
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,588::configNetwork::175::root::(_atomicBackup) Backed up
/etc/sysconfig/network-scripts/ifcfg-em2
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,619::configNetwork::207::root::(_persistentBackup) unmounted
/etc/sysconfig/network-scripts/ifcfg-em2 using ovirt
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,620::configNetwork::227::root::(_persistentBackup) Persistently
backed up /etc/sysconfig/network-scripts/ifcfg-em2 (until next 'set safe
config')
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,815::configNetwork::207::root::(_persistentBackup) unmounted
/etc/sysconfig/network-scripts/ifcfg-bond2 using ovirt
MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,816::configNetwork::227::root::(_persistentBackup) Persistently
backed up /etc/sysconfig/network-scripts/ifcfg-bond2 (until next 'set safe
config')
MainProcess|Thread-273::INFO::2012-11-21
13:35:28,958::configNetwork::81::root::(ifup) ERROR    :
[/etc/sysconfig/network-scripts/ifup-eth] Device em2 has different MAC
address than expected, ignoring.

MainProcess|Thread-273::WARNING::2012-11-21
13:35:28,958::configNetwork::83::root::(ifup)
/etc/sysconfig/network-scripts/ifup-eth: line 137: echo: write error:
Operation not permitted

MainProcess|Thread-273::DEBUG::2012-11-21
13:35:28,980::configNetwork::1140::setupNetworks::(setupNetworks) Checking
connectivity...
ifup-waiting-on-dhcp::INFO::2012-11-21
13:35:33,962::configNetwork::81::root::(ifup)
Determining IP information for ovirtmgmt... done.

MainThread::INFO::2012-11-21 13:39:26,717::vmChannels::135::vds::(stop) VM
channels listener was stopped.
MainThread::DEBUG::2012-11-21
13:39:26,718::task::588::TaskManager.Task::(_updateState)
Task=`8f965da1-ccd9-4f34-8c0c-f14ec17c423d`::moving from state init ->
state preparing
MainThread::INFO::2012-11-21
13:39:26,718::logUtils::37::dispatcher::(wrapper) Run and protect:
prepareForShutdown(options=None)
Thread-11::DEBUG::2012-11-21
13:39:26,719::storageServer::617::ConnectionMonitor::(_monitorConnections)
Monitoring stopped
MainThread::DEBUG::2012-11-21
13:39:26,755::taskManager::80::TaskManager::(prepareForShutdown) Request
to stop all tasks
MainThread::INFO::2012-11-21
13:39:26,755::logUtils::39::dispatcher::(wrapper) Run and protect:
prepareForShutdown, Return response: None
MainThread::DEBUG::2012-11-21
13:39:26,756::task::1172::TaskManager.Task::(prepare)
Task=`8f965da1-ccd9-4f34-8c0c-f14ec17c423d`::finished: None
MainThread::DEBUG::2012-11-21
13:39:26,756::task::588::TaskManager.Task::(_updateState)
Task=`8f965da1-ccd9-4f34-8c0c-f14ec17c423d`::moving from state preparing
-> state finished





ButŠ before I could find the relevant part in the engine log, I think I
figured out the problem.  There is a little config button when you drag
the interfaces and network together that I didn't notice before.  I guess
I just assumed that when you drag them all together the interface config
was moved from em1 over to bondX.  My assumption was incorrect.  Now that
I have mode1 working, ill try a mode4  :)

Thanks!
jonathan




________________________________
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.



More information about the Users mailing list