[Users] unsuccessful at creating bonded interface

--_000_9BE6F493F83A594DA60C45E6A09DC5AC016AFF37AUSP01DAG0201co_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable So far I have been unable to successfully create a bonded interface on ovir= t node 2.5.5-0.1.fc17, either mode 1 or mode 4 (and I will have need of bot= h 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 a= ttached. Rebooting, eliminates the config and what I had originally come b= ack (but at least the node is pingable again). Can someone point me in the right direction here of how to get this feature= working? Thanks! jonathan ________________________________ This is a PRIVATE message. If you are not the intended recipient, please de= lete without copying and kindly advise us by e-mail of the mistake in deliv= ery. NOTE: Regardless of content, this e-mail shall not operate to bind SKO= POS to any order or other contract unless pursuant to explicit written agre= ement or government initiative expressly permitting the use of e-mail for s= uch purpose. --_000_9BE6F493F83A594DA60C45E6A09DC5AC016AFF37AUSP01DAG0201co_ Content-Type: text/html; charset="us-ascii" Content-ID: <2DE4AE2D7B44B042BEFC1838C710A6AE@collaborationhost.net> Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
</head> <body style=3D"word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font= -family:Calibri,sans-serif"> <div> <div> <div>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 o= f both going forward). </div> </div> </div> <div><br> </div> <div>When I try it, the config fails, but if I log in I see the bonded inte= rface. Restarting gives the error cannot change config there are stil= l slaves attached. Rebooting, eliminates the config and what I had or= iginally come back (but at least the node is pingable again).</div> <div><br> </div> <div>Can someone point me in the right direction here of how to get this fe= ature working?</div> <div><br> </div> <div>Thanks!</div> <div>jonathan</div> <br> <hr> <font color=3D"Gray" face=3D"Arial" size=3D"1">This is a PRIVATE message. I= f you are not the intended recipient, please delete without copying and kin= dly advise us by e-mail of the mistake in delivery. NOTE: Regardless of con= tent, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit wri= tten agreement or government initiative expressly permitting the use of e-m= ail for such purpose.</font> </body> </html> --_000_9BE6F493F83A594DA60C45E6A09DC5AC016AFF37AUSP01DAG0201co_--

------=_Part_12813493_528355864.1353423423645 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit
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
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.
------=_Part_12813493_528355864.1353423423645 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div><div><div>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). </div> </div> </div> <div><br> </div> <div>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).</div> <div><br> </div> <div>Can someone point me in the right direction here of how to get this feature working?</div> <div id="DWT3153"><br></div></blockquote><br>Hi Jonathan,<br>Can you please send the relevant logs of engine & VDSM that include the error that you get when you try to create the bond?<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div> </div> <div>Thanks!</div> <div>jonathan</div> <br> <hr> <font color="Gray" face="Arial" size="1">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.</font> <br></blockquote><br></div></body></html> ------=_Part_12813493_528355864.1353423423645--

From: Mike Kolesnik <mkolesni@redhat.com> Date: Tuesday, November 20, 2012 8:57 AM To: Jonathan Horne <jhorne@skopos.us> Cc: "users@ovirt.org" <users@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.
participants (2)
-
Jonathan Horne
-
Mike Kolesnik