Bug 1855256 - [v2v][RHV to CNV VM import] Empty directories created for vm-import-operator/controller logs in cnv-must-gather
Summary: [v2v][RHV to CNV VM import] Empty directories created for vm-import-operator/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: V2V
Version: 2.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.4.0
Assignee: Moti Asayag
QA Contact: Ilanit Stein
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-09 11:26 UTC by Ilanit Stein
Modified: 2020-07-28 19:11 UTC (History)
7 users (show)

Fixed In Version: cnv-must-gather-container-v2.4.0-71
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-28 19:10:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt must-gather pull 71 0 None closed Direct pod logs of v2v to designated directory 2020-07-19 12:39:31 UTC
Red Hat Product Errata RHSA-2020:3194 0 None None None 2020-07-28 19:11:03 UTC

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


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