Bug 1855256

Summary: [v2v][RHV to CNV VM import] Empty directories created for vm-import-operator/controller logs in cnv-must-gather
Product: Container Native Virtualization (CNV) Reporter: Ilanit Stein <istein>
Component: V2VAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.4.0CC: cnv-qe-bugs, dagur, fdeutsch, ncredi, pkliczew, stirabos, yturgema
Target Milestone: ---   
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cnv-must-gather-container-v2.4.0-71 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-28 19:10:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilanit Stein 2020-07-09 11:26:21 UTC
Description of problem:
$ oc adm must-gather --image="registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-cnv-must-gather-rhel8:v2.4.0" --dest-dir=/tmp/


Under ./namespaces/openshift-cnv/ directory, in addition to the log files:

rw-rr-. 1 istein istein 29470667 Jul 8 08:19 vm-import-controller-76d97bfc4d-94zg9.log
rw-rr-. 1 istein istein 19929 Jul 8 08:19 vm-import-operator-d668cf5bc-z75p6.log

Empty directories are also created:

drwxr-xr-x. 2 istein istein 40 Jul 8 08:22 vm-import-operator-d668cf5bc-z75p6
drwxr-xr-x. 2 istein istein 40 Jul 8 08:22 vm-import-controller-76d97bfc4d-94zg9

Version-Release number of selected component (if applicable):
CNV-2.4 from July 07 2020

Comment 7 Ilanit Stein 2020-07-21 11:49:55 UTC
Verified on CNV-2.4.

Now the vm-import-operator/controller logs are placed under directories:
$ cd vm-import-controller-74b954cc6b-v4lpv
$ ls -ltr
total 8620
-rw-r--r--. 1 istein istein 8825824 Jul 21 11:50 vm-import-controller-74b954cc6b-v4lpv.log
[istein@localhost vm-import-controller-74b954cc6b-v4lpv]$ cd ..
[istein@localhost openshift-cnv]$ cd vm-import-operator-7b7d984b9f-fftvs
[istein@localhost vm-import-operator-7b7d984b9f-fftvs]$ ls -ltr
total 28
-rw-r--r--. 1 istein istein 28555 Jul 21 11:50 vm-import-operator-7b7d984b9f-fftvs.log

Comment 10 errata-xmlrpc 2020-07-28 19:10: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, 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-2020:3194