Re: [Users] vdsm netinfo fails errors with InfiniBand present

Just realized mailing list was not CCed. https://bugzilla.redhat.com/show_bug.cgi?id=1063433 has been filed regarding the patch. I had to apply using 'patch -d /usr/lib64/python2.6/site-packages -p2 < 0001-netinfo.speed-avoid-log-spam.patch', and verified it works. Will file the IB bug report shortly. On Fri, Feb 7, 2014 at 4:32 PM, Dan Kenigsberg <danken@redhat.com> wrote:
On Fri, Feb 07, 2014 at 09:42:35AM -0600, Trey Dockendorf wrote:
Is there a recommended method for applying such patches for testing? My initial inclination is to generate a patch file and use it to build a patched RPM, or the simple route of hand editing the python file on the host.
Unless you are using ovirt-node, editing python is the simplest way. Alternatively you can save the attached text file and run
patch -d /usr/share/vdsm -p2 < 0001-netinfo.speed-avoid-log-spam.patch
For the BZ entry, are you referring to the issue with VDSM or the InfiniBand not reporting speed in sysfs?
I was refering to Vdsm - having a bugzilla entry from you would make it easier to push a fix into ovirt-3.3.
But a bz on the kernerl ib driver may be interesting too.
On Fri, Feb 7, 2014 at 5:06 AM, Dan Kenigsberg <danken@redhat.com> wrote:
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.
participants (1)
-
Trey Dockendorf