Bug 1450132 - Add additional logging of LVM commands in VDSM
Summary: Add additional logging of LVM commands in VDSM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 4.1.1
Hardware: Unspecified
OS: Linux
medium
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Nir Soffer
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks: 1425219 1451226
TreeView+ depends on / blocked
 
Reported: 2017-05-11 15:33 UTC by Gordon Watson
Modified: 2019-05-16 13:03 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
: 1451226 (view as bug list)
Environment:
Last Closed: 2018-05-15 17:51:25 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1489 0 None None None 2018-05-15 17:53:40 UTC
oVirt gerrit 72102 0 master MERGED lvm: Add info logs for state changes 2017-05-16 20:03:58 UTC

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


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