Bug opened BZ857294 (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=857294">https://bugzilla.redhat.com/show_bug.cgi?id=857294</a>)<br>
<br>What would be a suggestion to work around this ATM and still be able to use and keep the IB cards in the system?<br><br>
- DHC<br><br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 6:49 PM, Andrew Cathrow <span dir="ltr"><<a href="mailto:acathrow@redhat.com" target="_blank">acathrow@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes you are right there is a known issue with the mac address length in IB cards. IIRC there was a hardware vendor who was working on a patch to extend the length and add the appropriate validation.<br>
<div class="im"><br>
<br>
Dead Horse <<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>> wrote:<br>
<br>
When attempting to activate/add a host with Infiniband cards present:<br>
<br>
</div><div><div class="h5">vdsm.log<br>
Thread-14::DEBUG::2012-09-13<br>
16:16:29,306::BindingXMLRPC::884::vds::(wrapper) return getCapabilities<br>
with {'status': {'message': 'Done', 'code': 0}, 'info': {'HBAInventory':<br>
{'iSCSI': [{'InitiatorName': 'iqn.2012-09.net.azeroth:kezan'}], 'FC': []},<br>
'packages2': {'kernel': {'release': '200.29.3.el6uek.x86_64', 'buildtime':<br>
1346177011.0, 'version': '2.6.39'}, 'spice-server': {'release': '10.el6',<br>
'buildtime': 1340343617L, 'version': '0.10.1'}, 'vdsm': {'release':<br>
'435.el6', 'buildtime': 1347508928L, 'version': '4.10.0'}, 'qemu-kvm':<br>
{'release': '2.295.el6_3.2', 'buildtime': 1346867328L, 'version':<br>
'0.12.1.2'}, 'libvirt': {'release': '21.el6_3.4', 'buildtime': 1345740034L,<br>
'version': '0.9.10'}, 'qemu-img': {'release': '2.295.el6_3.2', 'buildtime':<br>
1346867328L, 'version': '0.12.1.2'}}, 'cpuModel': 'Intel(R) Xeon(R)<br>
CPU E5540 @ 2.53GHz', 'hooks': {}, 'vmTypes': ['kvm'],<br>
'supportedProtocols': ['2.2', '2.3'], 'networks': {'ovirtmgmt': {'iface':<br>
'ovirtmgmt', 'addr': '3.57.111.31', 'cfg': {'IPV6INIT': 'no', 'IPADDR':<br>
'3.57.111.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO': 'none', 'STP':<br>
'off', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu':<br>
'1500', 'netmask': '255.255.252.0', 'stp': 'off', 'bridged': True,<br>
'gateway': '0.0.0.0', 'ports': ['bond2']}, 'maelstrom': {'iface':<br>
'maelstrom', 'addr': '', 'cfg': {'IPV6INIT': 'no', 'DELAY': '0',<br>
'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'maelstrom', 'TYPE': 'Bridge',<br>
'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off', 'bridged':<br>
True, 'gateway': '0.0.0.0', 'ports': ['bond0']}, 'twistingnether':<br>
{'iface': 'twistingnether', 'addr': '3.70.204.31', 'cfg': {'IPV6INIT':<br>
'no', 'IPADDR': '3.70.204.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO':<br>
'none', 'STP': 'off', 'DEVICE': 'twistingnether', 'TYPE': 'Bridge',<br>
'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.252.0', 'stp': 'off',<br>
'bridged': True, 'gateway': '3.70.204.254', 'ports': ['bond1']}},<br>
'bridges': {'ovirtmgmt': {'addr': '3.57.111.31', 'cfg': {'IPV6INIT': 'no',<br>
'IPADDR': '3.57.111.31', 'DELAY': '0', 'PREFIX': '22', 'BOOTPROTO': 'none',<br>
'STP': 'off', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'},<br>
'mtu': '1500', 'netmask': '255.255.252.0', 'stp': 'off', 'ports':<br>
['bond2']}, 'maelstrom': {'addr': '', 'cfg': {'IPV6INIT': 'no', 'DELAY':<br>
'0', 'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'maelstrom', 'TYPE':<br>
'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'stp': 'off',<br>
'ports': ['bond0']}, 'twistingnether': {'addr': '3.70.204.31', 'cfg':<br>
{'IPV6INIT': 'no', 'IPADDR': '3.70.204.31', 'DELAY': '0', 'PREFIX': '22',<br>
'BOOTPROTO': 'none', 'STP': 'off', 'DEVICE': 'twistingnether', 'TYPE':<br>
'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.252.0',<br>
'stp': 'off', 'ports': ['bond1']}}, 'uuid':<br>
'FF200008-FFFF-FFFF-FFFF-00212883CE4C_00:15:17:00:10:0a',<br>
'lastClientIface': 'twistingnether', 'nics': {'ib0': {'addr':<br>
'192.168.1.1', 'cfg': {'IPV6INIT': 'no', 'IPADDR': '192.168.1.1', 'MTU':<br>
'65520', 'PREFIX': '16', 'BOOTPROTO': 'none', 'CONNECTED_MODE': 'yes',<br>
'DEVICE': 'ib0', 'TYPE': 'Infiniband', 'ONBOOT': 'yes'}, 'mtu': '65520',<br>
'netmask': '255.255.0.0', 'hwaddr':<br>
'80:00:04:04:fe:80:00:00:00:00:00:00:00:12:79:ff:ff:b5:b0:f1', 'speed': 0},<br>
'ib1': {'addr': '', 'cfg': {'IPV6INIT': 'no', 'MTU': '65520', 'BOOTPROTO':<br>
'none', 'CONNECTED_MODE': 'yes', 'DEVICE': 'ib1', 'TYPE': 'Infiniband',<br>
'ONBOOT': 'no'}, 'mtu': '2044', 'netmask': '', 'hwaddr':<br>
'80:00:04:05:fe:80:00:00:00:00:00:00:00:12:79:ff:ff:b5:b0:f2', 'speed': 0},<br>
'eth5': {'permhwaddr': '00:15:17:00:10:0B', 'addr': '', 'cfg': {'SLAVE':<br>
'yes', 'IPV6INIT': 'no', 'HWADDR': '00:15:17:00:10:0B', 'BOOTPROTO':<br>
'none', 'MASTER': 'bond2', 'DEVICE': 'eth5', 'ONBOOT': 'yes'}, 'mtu':<br>
'1500', 'netmask': '', 'hwaddr': '00:15:17:00:10:0a', 'speed': 1000},<br>
'eth4': {'permhwaddr': '00:15:17:00:10:0A', 'addr': '', 'cfg': {'SLAVE':<br>
'yes', 'IPV6INIT': 'no', 'HWADDR': '00:15:17:00:10:0A', 'BOOTPROTO':<br>
'none', 'MASTER': 'bond2', 'DEVICE': 'eth4', 'ONBOOT': 'yes'}, 'mtu':<br>
'1500', 'netmask': '', 'hwaddr': '00:15:17:00:10:0a', 'speed': 1000},<br>
'eth3': {'permhwaddr': '00:21:28:83:CE:4B', 'addr': '', 'cfg': {'SLAVE':<br>
'yes', 'HWADDR': '00:21:28:83:CE:4B', 'BOOTPROTO': 'none', 'MASTER':<br>
'bond1', 'DEVICE': 'eth3', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '',<br>
'hwaddr': '00:21:28:83:ce:4a', 'speed': 1000}, 'eth2': {'permhwaddr':<br>
'00:21:28:83:CE:4A', 'addr': '', 'cfg': {'SLAVE': 'yes', 'HWADDR':<br>
'00:21:28:83:CE:4A', 'BOOTPROTO': 'none', 'MASTER': 'bond1', 'DEVICE':<br>
'eth2', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':<br>
'00:21:28:83:ce:4a', 'speed': 1000}, 'eth1': {'permhwaddr':<br>
'00:21:28:83:CE:49', 'addr': '', 'cfg': {'SLAVE': 'yes', 'IPV6INIT': 'no',<br>
'HWADDR': '00:21:28:83:CE:49', 'BOOTPROTO': 'none', 'MASTER': 'bond0',<br>
'DEVICE': 'eth1', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':<br>
'00:21:28:83:ce:48', 'speed': 1000}, 'eth0': {'permhwaddr':<br>
'00:21:28:83:CE:48', 'addr': '', 'cfg': {'SLAVE': 'yes', 'IPV6INIT': 'no',<br>
'HWADDR': '00:21:28:83:CE:48', 'BOOTPROTO': 'none', 'MASTER': 'bond0',<br>
'DEVICE': 'eth0', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':<br>
'00:21:28:83:ce:48', 'speed': 1000}}, 'software_revision': '435',<br>
'management_ip': '3.57.111.31', 'clusterLevels': ['3.0', '3.1', '3.2'],<br>
'cpuFlags':<br>
u'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn',<br>
'ISCSIInitiatorName': 'iqn.2012-09.net.azeroth:kezan', 'netConfigDirty':<br>
'False', 'memSize': '36272', 'reservedMem': '321', 'bondings': {'bond4':<br>
{'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [],<br>
'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 'cfg': {'BRIDGE':<br>
'maelstrom', 'IPV6INIT': 'no', 'BOOTPROTO': 'none', 'BONDING_OPTS': 'mode=4<br>
miimon=250 xmit_hash_policy=layer2+3', 'DEVICE': 'bond0', 'ONBOOT': 'yes'},<br>
'mtu': '1500', 'netmask': '', 'slaves': ['eth0', 'eth1'], 'hwaddr':<br>
'00:21:28:83:ce:48'}, 'bond1': {'addr': '', 'cfg': {'BRIDGE':<br>
'twistingnether', 'IPV6INIT': 'no', 'BOOTPROTO': 'none', 'BONDING_OPTS':<br>
'mode=4 miimon=250 xmit_hash_policy=layer2+3', 'DEVICE': 'bond1', 'ONBOOT':<br>
'yes'}, 'mtu': '1500', 'netmask': '', 'slaves': ['eth2', 'eth3'], 'hwaddr':<br>
'00:21:28:83:ce:4a'}, 'bond2': {'addr': '', 'cfg': {'BRIDGE': 'ovirtmgmt',<br>
'IPV6INIT': 'no', 'BOOTPROTO': 'none', 'BONDING_OPTS': 'mode=4 miimon=250<br>
xmit_hash_policy=layer2+3', 'DEVICE': 'bond2', 'ONBOOT': 'yes'}, 'mtu':<br>
'1500', 'netmask': '', 'slaves': ['eth4', 'eth5'], 'hwaddr':<br>
'00:15:17:00:10:0a'}}, 'software_version': '4.10', 'cpuSpeed': '2527.246',<br>
'cpuSockets': '2', 'vlans': {}, 'cpuCores': '8', 'kvmEnabled': 'true',<br>
'guestOverhead': '65', 'supportedRHEVMs': ['3.0', '3.1'], 'version_name':<br>
'Snow Man', 'emulatedMachines': [u'rhel6.3.0', u'pc', u'rhel6.2.0',<br>
u'rhel6.1.0', u'rhel6.0.0', u'rhel5.5.0', u'rhel5.4.4', u'rhel5.4.0'],<br>
'operatingSystem': {'release': '1', 'version': '6.3', 'name': 'RHEL'},<br>
'lastClient': '0.0.0.0'}}<br>
<br>
<br>
engine.log:<br>
2012-09-13 16:16:28,559 INFO<br>
[org.ovirt.engine.core.vdsbroker.ActivateVdsVDSCommand] (pool-3-thread-50)<br>
[21c70ebd] START, ActivateVdsVDSCommand(vdsId =<br>
1a3d06a8-fde1-11e1-a02d-00151712f280), log id: 4483b716<br>
2012-09-13 16:16:29,339 INFO [org.ovirt.engine.core.vdsbroker.VdsManager]<br>
(pool-3-thread-50) [21c70ebd] ResourceManager::activateVds - failed to get<br>
VDS = 1a3d06a8-fde1-11e1-a02d-00151712f280 capabilities with error:<br>
CallableStatementCallback; SQL [{call insertvds_interface(?, ?, ?, ?, ?, ?,<br>
</div></div>?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: value too long for type<br>
<div class="im">character varying(20)<br>
Where: SQL statement "INSERT INTO vds_interface(addr, bond_name,<br>
bond_type, gateway, id, is_bond, bond_opts, mac_addr, name, network_name,<br>
speed, subnet, boot_protocol, type, VDS_ID, vlan_id, mtu, bridged)<br>
VALUES(v_addr, v_bond_name, v_bond_type, v_gateway, v_id, v_is_bond,<br>
v_bond_opts, v_mac_addr, v_name, v_network_name, v_speed, v_subnet,<br>
v_boot_protocol, v_type, v_vds_id, v_vlan_id, v_mtu, v_bridged)"<br>
PL/pgSQL function "insertvds_interface" line 3 at SQL statement; nested<br>
</div>exception is org.postgresql.util.PSQLException: ERROR: value too long for<br>
<div class="im">type character varying(20)<br>
Where: SQL statement "INSERT INTO vds_interface(addr, bond_name,<br>
bond_type, gateway, id, is_bond, bond_opts, mac_addr, name, network_name,<br>
speed, subnet, boot_protocol, type, VDS_ID, vlan_id, mtu, bridged)<br>
VALUES(v_addr, v_bond_name, v_bond_type, v_gateway, v_id, v_is_bond,<br>
v_bond_opts, v_mac_addr, v_name, v_network_name, v_speed, v_subnet,<br>
v_boot_protocol, v_type, v_vds_id, v_vlan_id, v_mtu, v_bridged)"<br>
PL/pgSQL function "insertvds_interface" line 3 at SQL statement.<br>
2012-09-13 16:16:29,342 INFO [org.ovirt.engine.core.vdsbroker.VdsManager]<br>
(pool-3-thread-50) [21c70ebd] ResourceManager::activateVds - failed to<br>
activate VDS = 1a3d06a8-fde1-11e1-a02d-00151712f280<br>
2012-09-13 16:16:29,344 ERROR<br>
[org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-50)<br>
[21c70ebd] Command ActivateVdsVDS execution failed. Exception:<br>
UncategorizedSQLException: CallableStatementCallback; uncategorized<br>
SQLException for SQL [{call updatevdsdynamic(?, ?, ?, ?, ?, ?, ?, ?, ?, ?,<br>
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,<br>
?, ?)}]; SQL state [25P02]; error code [0]; ERROR: current transaction is<br>
aborted, commands ignored until end of transaction block; nested exception<br>
is org.postgresql.util.PSQLException: ERROR: current transaction is<br>
aborted, commands ignored until end of transaction block<br>
2012-09-13 16:16:29,345 INFO<br>
[org.ovirt.engine.core.vdsbroker.ActivateVdsVDSCommand] (pool-3-thread-50)<br>
[21c70ebd] FINISH, ActivateVdsVDSCommand, log id: 4483b716<br>
<br>
</div><div class="im">NOTE the length of the Infiniband card "hwaddr" perhaps a clue to the above<br>
engine DB insert barf? --> (ERROR: value too long for type character<br>
varying(20))<br>
<br>
</div>- DHC<br>
</blockquote></div><br>