[Users] vdsm netinfo fails errors with InfiniBand present

Dan Kenigsberg danken at redhat.com
Fri Feb 7 11:06:35 UTC 2014


On Thu, Feb 06, 2014 at 07:20:20PM -0600, Trey Dockendorf wrote:
> I am seeing lots of entries like the one below on my ovirt nodes that
> have InfiniBand (ib0).
> 
> Thread-13::ERROR::2014-02-06 19:03:52,906::netinfo::301::root::(speed)
> cannot read ib0 speed
> Traceback (most recent call last):
>   File "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 297, in speed
>     s = int(speedFile.read())
> IOError: [Errno 22] Invalid argument
> 
> I'm seeing related entries in system's syslog.
> 
> Feb  6 18:58:31 vm02 vdsm root ERROR cannot read ib0
> speed#012Traceback (most recent call last):#012  File
> "/usr/lib64/python2.6/site-packages/vdsm/netinfo.py", line 297, in
> speed#012    s = int(speedFile.read())#012IOError: [Errno 22] Invalid
> argument
> 
> The file being read exists but I can't "cat" it.
> 
> # cat /sys/class/net/ib0/speed
> cat: /sys/class/net/ib0/speed: Invalid argument
> 
> Attached is full vdsm log.
> 
> Host is CentOS 6.5.  I just upgraded host from 3.3.2 to 3.3.3 and the
> errors are the same.

I do not know it it's comforting, but http://gerrit.ovirt.org/#/c/21542/
inadvertantly fixes this issue in ovirt-3.4.

Would you check if
    http://gerrit.ovirt.org/24197
solves this issue for ovirt-3.3?

BTW, Itzik, do you know why speed is not reported for infiniband?

Regards,
Dan.



More information about the Users mailing list