While trying to configure iscsi on the blade server I got the following output. The kernel running at the version at the time was 2.6.32-279.el6.<br />
<br />
("<---" added for emphasis)<br />
<br />
# iscsiadm -m iface<br />
iscsiadm: Could not create default iface conf be2iscsi./n"9.ipv4.0. <---<br />
iscsiadm: Could not create default iface conf be2iscsi./n"9.ipv6.0. <---<br />
iscsiadm: Could not create default iface conf be2iscsi./n"=.ipv4.0. <---<br />
iscsiadm: Could not create default iface conf be2iscsi./n"=.ipv6.0. <---<br />
default tcp,<empty>,<empty>,<empty>,<empty><br />
iser iser,<empty>,<empty>,<empty>,<empty><br />
be2iscsi.b4:b5:2f:6e:22:39.ipv4.0 be2iscsi,b4:b5:2f:6e:22:39,<empty>,<empty>,<empty><br />
be2iscsi.b4:b5:2f:6e:22:3d.ipv6.0 be2iscsi,b4:b5:2f:6e:22:3d,<empty>,<empty>,<empty><br />
be2iscsi.b4:b5:2f:6e:22:39 be2iscsi,b4:b5:2f:6e:22:39,<empty>,<empty>,<empty><br />
be2iscsi.b4:b5:2f:6e:22:3d.ipv4.0 be2iscsi,b4:b5:2f:6e:22:3d,<empty>,<empty>,<empty><br />
be2iscsi.b4:b5:2f:6e:22:3d be2iscsi,b4:b5:2f:6e:22:3d,<empty>,<empty>,<empty><br />
be2iscsi.b4:b5:2f:6e:22:39.ipv6.0 be2iscsi,b4:b5:2f:6e:22:39,<empty>,<empty>,<empty><br />
<br />
I used strace with iscsiadm to figure out where the inteface name comes from and I discovered that it's trying to figure out the interface's HW address via /sys. Checking the file iscsiadm attempts to access shows this:<br />
<br />
# cat /sys/class/iscsi_host/host4/hwaddress<br />
/n"9<br />
<br />
which to me looks like the kernel driver failed to return the mac address properly and random data instead.
↧