Bug 953502

Summary: hypervkvpd dies from time to time with "KVP: Failed to open file, pool: 1"
Product: Red Hat Enterprise Linux 5 Reporter: Libor Miksik <lmiksik>
Component: hypervkvpdAssignee: Tomáš Hozza <thozza>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.9CC: bgollahe, cww, jbian, leiwang, lyarwood, ovasik, pm-eus, qguan, redhat-bugzilla, robert.scheck, rrajaram, shwang, sputhenp, thozza
Target Milestone: rcKeywords: Patch, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The hypervkvpd daemon did not close the file descriptors for pool files when they were updated. This could eventually lead to hypervkvpd crashing with a "KVP: Failed to open file, pool: 1" error after consuming all available file descriptors. With this update, the file descriptors are closed, correcting this issue.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-09 18:15:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 949664    
Bug Blocks:    

Description Libor Miksik 2013-04-18 10:31:34 UTC
This bug has been copied from bug #949664 and has been proposed
to be backported to 5.9 z-stream (EUS).

Comment 9 Bian Jinwei 2013-04-24 10:01:01 UTC
I have test the rpm package with the patch, the result is: the patch worked well.

Two issues about the file descriptor are back to normal like below:
<1>When reboot the guest rhel5.9.z, the hypervkvpd service has no "pool_3" file descriptor leak

<2>When running the guest rhel5.9.z with a long time, the hypervkvpd service file descriptor will keep steady and unchanged

From the above results, and I changed the bug status from "on_qa" into "verified".

The details about the env and package:
Host: hyper-v 2008 r2 and hyper-v 2012
Guest:rhel5.9.z with kernel2.6.18-354.el5
Hypervkvpd:hypervkvpd-0-0.7.el5_9.3

Comment 10 Bian Jinwei 2013-04-24 10:26:05 UTC
(In reply to comment #9)

> Guest:rhel5.9.z with kernel2.6.18-354.el5
Sorry for my mistake, the rhel5.9.z kernel should be kernel2.6.18-348.5.1.el5.
And with the kernel, the patch also worked well.

Comment 12 errata-xmlrpc 2013-05-09 18:15:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0807.html