[Users] ovirt 3.2 networking setup problems
Yuriy Demchenko
demchenko.ya at gmail.com
Thu Mar 7 06:54:52 UTC 2013
Thanks! that helped
i've managed to add another bond via 'echo "+bondN" >
/sys/class/net/bonding_masters'
output from commands you asked:
> # vdsClient -s 0 getVdsCaps
> HBAInventory = {'iSCSI': [{'InitiatorName':
> 'iqn.1994-05.com.redhat:7681c664f86a'}], 'FC': [{'wwpn':
> '200190b11cac1b09', 'wwnn': '200090b11cac1b09', 'model': 'LPe1205-M -
> Emulex LPe1205-M 8Gb 2-port PCIe Fibre Channel Adapter'}, {'wwpn':
> '200290b11cac1b09', 'wwnn': '200090b11cac1b09', 'model': 'LPe1205-M -
> Emulex LPe1205-M 8Gb 2-port PCIe Fibre Channel Adapter'}]}
> ISCSIInitiatorName = iqn.1994-05.com.redhat:7681c664f86a
> bondings = {'bond4': {'addr': '', 'cfg': {'DEVICE': 'bond4',
> 'NM_CONTROLLED': 'no', 'ONBOOT': 'yes', 'BONDING_OPTS': 'mode=6'},
> 'mtu': '1500', 'netmask': '', 'slaves': ['p3p1', 'p3p3'], 'hwaddr':
> '90:b1:1c:ac:1b:05'}, 'bond0': {'addr': '', 'cfg': {'BRIDGE':
> 'ovirtmgmt', 'NM_CONTROLLED': 'no', 'STP': 'no', 'BONDING_OPTS':
> 'mode=6', 'DEVICE': 'bond0', 'ONBOOT': 'yes'}, 'mtu': '1500',
> 'netmask': '', 'slaves': ['em1', 'em2'], 'hwaddr': '90:b1:1c:ac:1b:01'}}
> bridges = {'ovirtmgmt': {'addr': '192.168.10.130', 'cfg':
> {'IPADDR': '192.168.10.130', 'ONBOOT': 'yes', 'DELAY': '0',
> 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO':
> 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge',
> 'GATEWAY': '192.168.10.1'}, 'mtu': '1500', 'netmask': '255.255.255.0',
> 'stp': 'off', 'ports': ['bond0']}}
> clusterLevels = ['3.0', '3.1', '3.2']
> cpuCores = 16
> cpuFlags =
> fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,x2apic,popcnt,aes,xsave,avx,lahf_lm,ida,arat,xsaveopt,pln,pts,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn,model_Westmere,model_SandyBridge
> cpuModel = Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
> cpuSockets = 2
> cpuSpeed = 2599.849
> cpuThreads = 32
> emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0', 'rhel6.1.0',
> 'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
> guestOverhead = 65
> hooks = {}
> kvmEnabled = true
> lastClient = 192.168.10.147
> lastClientIface = ovirtmgmt
> management_ip =
> memSize = 32062
> netConfigDirty = False
> networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
> '192.168.10.130', 'cfg': {'IPADDR': '192.168.10.130', 'ONBOOT': 'yes',
> 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0',
> 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE':
> 'Bridge', 'GATEWAY': '192.168.10.1'}, 'mtu': '1500', 'netmask':
> '255.255.255.0', 'stp': 'off', 'bridged': True, 'gateway':
> '192.168.10.1', 'ports': ['bond0']}}
> nics = {'em1': {'permhwaddr': '90:B1:1C:AC:1B:01', 'addr': '',
> 'cfg': {'SLAVE': 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond0',
> 'DEVICE': 'em1', 'STP': 'no', 'ONBOOT': 'yes'}, 'mtu': '1500',
> 'netmask': '', 'hwaddr': '90:b1:1c:ac:1b:01', 'speed': 10000}, 'em2':
> {'permhwaddr': '90:B1:1C:AC:1B:04', 'addr': '', 'cfg': {'SLAVE':
> 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond0', 'DEVICE': 'em2',
> 'STP': 'no', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':
> '90:b1:1c:ac:1b:04', 'speed': 10000}, 'p3p4': {'addr': '', 'cfg':
> {'DEVICE': 'p3p4', 'HWADDR': '90:B1:1C:AC:1B:08', 'ONBOOT': 'no',
> 'NM_CONTROLLED': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':
> '90:b1:1c:ac:1b:08', 'speed': 0}, 'p3p3': {'permhwaddr':
> '90:B1:1C:AC:1B:07', 'addr': '', 'cfg': {'SLAVE': 'yes', 'ONBOOT':
> 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond4', 'HWADDR':
> '90:b1:1c:ac:1b:07', 'DEVICE': 'p3p3'}, 'mtu': '1500', 'netmask': '',
> 'hwaddr': '90:b1:1c:ac:1b:07', 'speed': 1000}, 'p3p2': {'addr': '',
> 'cfg': {'DEVICE': 'p3p2', 'HWADDR': '90:B1:1C:AC:1B:06', 'ONBOOT':
> 'no', 'NM_CONTROLLED': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':
> '90:b1:1c:ac:1b:06', 'speed': 0}, 'p3p1': {'permhwaddr':
> '90:B1:1C:AC:1B:05', 'addr': '', 'cfg': {'SLAVE': 'yes', 'ONBOOT':
> 'yes', 'NM_CONTROLLED': 'no', 'MASTER': 'bond4', 'HWADDR':
> '90:b1:1c:ac:1b:05', 'DEVICE': 'p3p1'}, 'mtu': '1500', 'netmask': '',
> 'hwaddr': '90:b1:1c:ac:1b:05', 'speed': 1000}}
> operatingSystem = {'release': '3.el6.centos.9', 'version': '6',
> 'name': 'RHEL'}
> packages2 = {'kernel': {'release': '279.22.1.el6.x86_64',
> 'buildtime': 1360105846.0, 'version': '2.6.32'}, 'spice-server':
> {'release': '10.el6', 'buildtime': 1340375889, 'version': '0.10.1'},
> 'vdsm': {'release': '0.31.20.el6', 'buildtime': 1361952052, 'version':
> '4.10.3'}, 'qemu-kvm': {'release': '2.295.el6.10', 'buildtime':
> 1357897281, 'version': '0.12.1.2'}, 'libvirt': {'release':
> '21.el6_3.8', 'buildtime': 1359401311, 'version': '0.9.10'},
> 'qemu-img': {'release': '2.295.el6.10', 'buildtime': 1357897281,
> 'version': '0.12.1.2'}, 'mom': {'release': '1.el6', 'buildtime':
> 1349470062, 'version': '0.3.0'}}
> reservedMem = 321
> software_revision = 0.31
> software_version = 4.10
> supportedENGINEs = ['3.0', '3.1']
> supportedProtocols = ['2.2', '2.3']
> uuid = 4C4C4544-004E-5910-804D-C6C04F47354A
> version_name = Snow Man
> vlans = {}
> vmTypes = ['kvm']
before echo:
> # cat /sys/class/net/bonding_masters
> bond0 bond4
after:
> # cat /sys/class/net/bonding_masters
> bond0 bond4 bond1
Yuriy Demchenko
On 03/06/2013 04:28 PM, Antoni Segura Puimedon wrote:
> Could you ssh to the host and do:
>
> cat /sys/class/net/bonding_masters
>
> There is a limitation on ovirt-3.2 that only the default bridges
> can be used. If you don't have enough of them, you can always
> create the needed bridge doing
>
> echo "+bondN" > /sys/class/net/bonding_masters
> where N is the bridge you want to create.
>
> It would also be helpful to see the contents of doing
>
> vdsClient -s 0 getVdsCaps
More information about the Users
mailing list