[Users] Making bonds in oVirt

Joop jvdwege at xs4all.nl
Mon Oct 22 20:46:47 UTC 2012


Hi All,

I'm slowly progressing with our test environment and currently I'm 
testing my 10Ge nics and switches and hit a snag.
I watched the webcast about setting up a non-vm network which included 
creating a bond using the webinterface. I can't get it to work correctly.
I have two problems
- my ovirtmgmt network always returns to DHCP in Hosts/Network 
Interfaces/Setup Host Networks
- bonding p3p1 and p3p2 into bond0 with mode 4 and assigning an ip 
address doesn't work either.
The bond is created but no ip address assigned and I end up with errors 
in dmesg.
On ST01 I just dropped the bond and restarted the node so I have a clean 
dmesg.
On ST02 I repeated the bonding but no luck
Host is now Non Responding because of missing network so put it into 
maintenance.
In Setup Host Networks I create a bond between p3p1 and p3p2, bond name 
bond0 and mode 4, edit ovirtmgmt to set it to static instead of DHCP, ip 
address is correct.
Assign my storage network to the bond, edit its properties and set its 
ip to Static 172.29.0.1 mask 255.255.255.0. The mouse over popups show 
the correct ip addresses for both storage and ovirtmgmt, check Save and 
Verify, press OK, no ip address on the bond :-((
ST02 dmesg:
[43523.670576] bonding: unable to update mode of bond3 because it has 
slaves.
[43523.734204] bonding: bond3: Setting MII monitoring interval to 150.
[43523.736633] 8021q: adding VLAN 0 to HW filter on device bond3
[43534.234245] bond3: no IPv6 routers present

Nothing in engine.log but maybe if logging is set higher, but how??

[root at st02 ~]# rpm -aq | grep vdsm
vdsm-4.10.0-7.fc17.x86_64
vdsm-cli-4.10.0-7.fc17.noarch
vdsm-xmlrpc-4.10.0-7.fc17.noarch
vdsm-python-4.10.0-7.fc17.x86_64
vdsm-gluster-4.10.0-7.fc17.noarch
vdsm-rest-4.10.0-7.fc17.noarch



Nothing on ST01 when I try to create a bond but I do get an error in the 
mgmt web interface:
Error while executing action Setup Networks: Internal oVirt Engine Error
and this in engine.log
2012-10-22 22:41:40,175 INFO  
[org.ovirt.engine.core.bll.SetupNetworksCommand] (ajp--0.0.0.0-8009-8) 
[27ee141a] Running command: SetupNetworksCommand internal: false. 
Entities affected :  ID: b84be568-f101-11e1-9f16-78e7d1f4ada5 Type: VDS
2012-10-22 22:41:40,177 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(ajp--0.0.0.0-8009-8) [27ee141a] START, SetupNetworksVDSCommand(vdsId = 
b84be568-f101-11e1-9f16-78e7d1f4ada5), log id: 518d832b
2012-10-22 22:41:40,177 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(ajp--0.0.0.0-8009-8) [27ee141a] FINISH, SetupNetworksVDSCommand, log 
id: 518d832b
2012-10-22 22:41:40,185 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(ajp--0.0.0.0-8009-8) [27ee141a] 
java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException
2012-10-22 22:41:40,186 ERROR 
[org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp--0.0.0.0-8009-8) 
[27ee141a] Command PollVDS execution failed. Exception: 
RuntimeException: java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException
2012-10-22 22:41:40,687 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(ajp--0.0.0.0-8009-8) [27ee141a] 
java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException
2012-10-22 22:41:40,688 ERROR 
[org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp--0.0.0.0-8009-8) 
[27ee141a] Command SetupNetworksVDS execution failed. Exception: 
RuntimeException: java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException
2012-10-22 22:41:40,693 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ajp--0.0.0.0-8009-8) [27ee141a] No string for UNASSIGNED type. Use 
default Log

ovirt-engine-3.1.0-2.fc17.noarch
ovirt-engine-backend-3.1.0-2.fc17.noarch
ovirt-engine-cli-3.1.0.6-1.fc17.noarch
ovirt-engine-config-3.1.0-2.fc17.noarch
ovirt-engine-dbscripts-3.1.0-2.fc17.noarch
ovirt-engine-genericapi-3.1.0-2.fc17.noarch
ovirt-engine-notification-service-3.1.0-2.fc17.noarch
ovirt-engine-restapi-3.1.0-2.fc17.noarch
ovirt-engine-sdk-3.1.0.4-1.fc17.noarch
ovirt-engine-setup-3.1.0-2.fc17.noarch
ovirt-engine-tools-common-3.1.0-2.fc17.noarch
ovirt-engine-userportal-3.1.0-2.fc17.noarch
ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch
ovirt-guest-agent-1.0.5-1.fc17.x86_64
ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
ovirt-node-2.5.5-0.fc17.noarch
ovirt-node-iso-2.5.5-0.1.fc17.noarch
ovirt-release-fedora-4-2.noarch

Please let me know if I need to provide other logs or need to run some 
commands to verify setup.

Thanks,

Joop




More information about the Users mailing list