Bug 1787235

Summary: [RFE] Offline disk move should log which host the data is being copied on in the audit log
Product: Red Hat Enterprise Virtualization Manager Reporter: Gordon Watson <gwatson>
Component: ovirt-engineAssignee: Ahmad Khiet <akhiet>
Status: CLOSED ERRATA QA Contact: sshmulev
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.6CC: aoconnor, dfodor, mkalinin, sfishbai, tnisan
Target Milestone: ovirt-4.4.5Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-14 11:39:53 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: 902971    

Description Gordon Watson 2020-01-01 20:54:22 UTC
Description of problem:

Currently, there is no obvious user-visible indication of which host an offline disk move is being performed on.

In the engine log, CopyVolumeDataVDSCommand() indicates the host, but there is no audit log entry.

An audit log entry would make it clearly visible to the customer and to Customer Support when troubleshooting a problem. 


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

RHV 4.3


How reproducible:

100%


Steps to Reproduce:
1. Move a disk offline.
2. Observe audit log.
3.

Actual results:


Expected results:


Additional info:

Comment 6 sshmulev 2021-03-16 09:03:45 UTC
Verified 

The following message appears after producing the copy disk from ISCSI domain to NFS:
"Copying data of image '6dc165f4-b41c-40b0-a30e-02c532e9780f' of disk '8041cd24-494d-4eea-9e88-a24fc376c991' to domain 'nfs_0' using 'storage-ge3-vdsm1.lab.eng.tlv2.redhat.com'."

version:
vdsm-4.40.50.8-1.el8ev.x86_64
ovirt-engine-4.4.5.9-0.1.el8ev.noarch

Comment 7 sshmulev 2021-03-16 09:07:42 UTC
This bug is similar to the bug was verified yesterday "Bug 1926854 - [RFE] Requesting an audit log entry be added in LSM flow to display the host on which the internal volumes are copied"
https://bugzilla.redhat.com/show_bug.cgi?id=1926854

Comment 12 errata-xmlrpc 2021-04-14 11:39: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 (Moderate: RHV Manager (ovirt-engine) 4.4.z [ovirt-4.4.5] security, bug fix, enhancement), 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/RHSA-2021:1169