Bug 2209915

Summary: must_gather test from tier1 fails due to missing file noobaa-db-pg-0-init.log
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Abdul Kandathil (IBM) <akandath>
Component: must-gatherAssignee: yati padia <ypadia>
Status: CLOSED NOTABUG QA Contact: Prasad Desala <tdesala>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.13CC: apolak, dzaken, muagarwa, nbecker, odf-bz-bot
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 09:50:48 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 Abdul Kandathil (IBM) 2023-05-25 08:41:00 UTC
Description of problem (please be detailed as possible and provide log
snippets):

Failing test : tests/manage/z_cluster/test_must_gather.py::TestMustGather::test_must_gather[OTHERS]

Test is failing due to missing log file.

>           raise Exception(error)
E           Exception: Files don't exist:
E           ['noobaa-db-pg-0-init.log']
E           Empty files:
E           []
E           Content issues:
E           []


Version of all relevant components (if applicable):

OCP: 4.13.0-rc.6
ODF: 4.13.0-206.stable

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?


Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Install OCP/ODF 4.13
2. run tier1 test : tests/manage/z_cluster/test_must_gather.py::TestMustGather::test_must_gather[OTHERS]



Actual results:


Expected results:


Additional info:
Logs: https://drive.google.com/file/d/1jOh-4rnkDqy2aMLSbZjkarWVBVoryR8M/view?usp=sharing

Comment 3 yati padia 2023-06-05 10:49:22 UTC
Hi Abdul,
Must-gather is only responsible for running the noobaa command to collect the logs, not sure what can be the issue.
Can you please attach the must-gather so that I can verify the issue and would be good if someone from noobaa team could
verify?

cc: @nbecker

regards
Yati

Comment 4 Danny 2023-06-05 11:22:56 UTC
Hi Abdul,

IIUC, this is a bug in the test. we removed the init container for noobaa-db-pg, so it should not exist anymore.

Thanks,
Danny

Comment 5 Abdul Kandathil (IBM) 2023-06-05 11:45:00 UTC
Logs shared here are along with must-gather.
https://drive.google.com/file/d/1jOh-4rnkDqy2aMLSbZjkarWVBVoryR8M/view?usp=sharing