Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 681118

Summary: file descriptor error when invoke pvs/lvs/vgs
Product: Red Hat Enterprise Linux 6 Reporter: Mohua Li <moli>
Component: ovirt-nodeAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: apevec, gouyang, leiwang, moli, mshao, ovirt-maint, ycui
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-2.0.2-0.3.gitcf213a7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 19:06:33 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:

Description Mohua Li 2011-03-01 06:56:33 UTC
Description of problem:

drop to shell, or in a installed rhev-hypervisor, run pvs/lvs/vgs,

#pvs

File descriptor 3(/etc/default/ovirt.augnew(deleted)) leaked on pvs invocation.Parent PID 12152:/bin/bash

File descriptor 4(/etc/default/ovirt.augnew(deleted)) leaked on pvs invocation.Parent PID 12152:/bin/bash

File descriptor 5(/etc/default/ovirt.augnew(deleted)) leaked on pvs invocation.Parent PID 12152:/bin/bash

File descriptor 3(/tmp/ffimA476v(deleted)) leaked on pvs invocation.Parent PID 12152:/bin/bash

notice, as this is output to stderr, so if you ssh to the server, you can't see this message,



[root@amd-1216-8-5 ~]# pvs 2>/dev/null
  PV                                                                                  VG     Fmt  Attr PSize   PFree
  /dev/mapper/1ATA     WDC WD2502ABYS-18B7A0                        WD-WCAT19563677p2 HostVG lvm2 a-   232.78g 222.18g


Version-Release number of selected component (if applicable):
6.1-8

How reproducible:
always

Steps to Reproduce:
1.just run pvs/vgs/lvs
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 7 Mohua Li 2011-08-29 08:19:12 UTC
rhev-hypervisor 6.2-0.14, as comment 5 mention, this is just a workaround, to suppress the warnings, 



[root@hp-slot2-eth0 log]# pvs
  PV                VG     Fmt  Attr PSize  PFree
  /dev/cciss/c0d0p3 HostVG lvm2 a-   67.86g    0 
[root@hp-slot2-eth0 log]# lvs
v  LV      VG     Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  Config  HostVG -wi-ao  8.00m                                      
  Data    HostVG -wi-ao 58.00g                                      
  Logging HostVG -wi-ao  2.00g                                      
  Swap    HostVG -wi-ao  7.84g                                      
[root@hp-slot2-eth0 log]# vgs
  VG     #PV #LV #SN Attr   VSize  VFree
  HostVG   1   4   0 wz--n- 67.86g    0 
[root@hp-slot2-eth0 log]# lvscan
  ACTIVE            '/dev/HostVG/Swap' [7.84 GiB] inherit
  ACTIVE            '/dev/HostVG/Config' [8.00 MiB] inherit
  ACTIVE            '/dev/HostVG/Logging' [2.00 GiB] inherit
  ACTIVE            '/dev/HostVG/Data' [58.00 GiB] inherit
[root@hp-slot2-eth0 log]# pvscan
  PV /dev/cciss/c0d0p3   VG HostVG   lvm2 [67.86 GiB / 0    free]
  Total: 1 [67.86 GiB] / in use: 1 [67.86 GiB] / in no VG: 0 [0   ]

Comment 10 errata-xmlrpc 2011-12-06 19:06:33 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/RHBA-2011-1783.html