Bug 1450132

Summary: Add additional logging of LVM commands in VDSM
Product: Red Hat Enterprise Virtualization Manager Reporter: Gordon Watson <gwatson>
Component: vdsmAssignee: Nir Soffer <nsoffer>
Status: CLOSED ERRATA QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: high Docs Contact:
Priority: medium    
Version: 4.1.1CC: lsurette, mkalinin, nsoffer, ratamir, srevivo, tnisan, ycui, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1451226 (view as bug list) Environment:
Last Closed: 2018-05-15 17:51:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1425219, 1451226    

Description Gordon Watson 2017-05-11 15:33:42 UTC
Description of problem:

Additional logging of LVM commands in VDSM code is being requested.


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

RHV 4.1


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Nir Soffer 2017-05-16 20:09:00 UTC
Merged upstream, for the 4.1 backport see bug 1451226.

Comment 5 Kevin Alon Goldblatt 2017-05-25 13:27:40 UTC
(In reply to Gordon Watson from comment #0)
> Description of problem:
> 
> Additional logging of LVM commands in VDSM code is being requested.
> 
> 
> Version-Release number of selected component (if applicable):
> 
> RHV 4.1
> 
> 
> How reproducible:
> 
> 

PLEASE  PROVIDE the steps to reproduce to test this?

> Steps to Reproduce:
> 1.
> 2.
> 3.
> 
> Actual results:
> 
> 
> Expected results:
> 
> 
> Additional info:

Comment 6 Nir Soffer 2017-05-28 13:49:42 UTC
To reproduce, do these flows (using iSCSI or FC storage domain):

- crate domain
- create vm
- run vm
- stop vm
- delete vm
- delete domain

With 4.1.2 and 4.1.3.

You will see that there are almost no logs for lvm before the patch.
To see only lvm logs, grep for '[storage.LVM]'.

Comment 7 Kevin Alon Goldblatt 2017-05-28 15:30:38 UTC
Verified with the following code:
---------------------------------------
ovirt-engine-4.2.0-0.0.master.20170523140304.git04be891.el7.centos.noarch
vdsm-4.20.0-886.gitf9accf8.el7.centos.x86_64

Verified with the following scenario:
---------------------------------------
- crate domain
- create vm
- run vm
- stop vm
- delete vm
- delete domain

There are now plentiful logs for storage.LVM

Moving to VERIFIED!

Comment 12 errata-xmlrpc 2018-05-15 17:51:25 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.

https://access.redhat.com/errata/RHEA-2018:1489

Comment 13 Franta Kust 2019-05-16 13:03:38 UTC
BZ<2>Jira Resync