Bug 681118 - file descriptor error when invoke pvs/lvs/vgs
Summary: file descriptor error when invoke pvs/lvs/vgs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Alan Pevec
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-01 06:56 UTC by Mohua Li
Modified: 2013-04-30 23:15 UTC (History)
7 users (show)

Fixed In Version: ovirt-node-2.0.2-0.3.gitcf213a7.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 19:06:33 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1783 0 normal SHIPPED_LIVE rhev-hypervisor6 bug fix and enhancement update 2011-12-06 15:10:54 UTC

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


Note You need to log in before you can comment on or make changes to this bug.