Bug 1752816 - A lot of error "Unable to use a TTY - input is not a terminal or the right kind of file" shown when running must gather
Summary: A lot of error "Unable to use a TTY - input is not a terminal or the right ki...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 2.1.0
Assignee: Marcin Mirecki
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-17 09:44 UTC by Yan Du
Modified: 2023-01-23 09:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-04 15:06:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log (27.61 KB, text/plain)
2019-09-17 09:57 UTC, Yan Du
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt must-gather pull 52 0 None closed Reduce noise from must-gather output 2020-07-01 18:11:53 UTC
Red Hat Issue Tracker CNV-24614 0 None None None 2023-01-23 09:24:12 UTC

Description Yan Du 2019-09-17 09:44:37 UTC
Description of problem:
A lot of error "Unable to use a TTY - input is not a terminal or the right kind of file" shown when running must gather

Version-Release number of selected component (if applicable):
OCP 4.2
CNV 2.1


How reproducible:
Always

Steps to Reproduce:
1. Run the must gather 
#oc adm must-gather --image=brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/container-native-virtualization/cnv-must-gather:v2.1.0-12



Actual results:
Got a lot of error as below:
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file
[must-gather-tcnwh] POD command terminated with exit code 1
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file
[must-gather-tcnwh] POD command terminated with exit code 1
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file
[must-gather-tcnwh] POD command terminated with exit code 1
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file
[must-gather-tcnwh] POD command terminated with exit code 1
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file
[must-gather-tcnwh] POD command terminated with exit code 1
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file
[must-gather-tcnwh] POD command terminated with exit code 1
[must-gather-tcnwh] POD Unable to use a TTY - input is not a terminal or the right kind of file


Expected results:
No such error shown

Additional info:
Please refer to attachment for more detail must gather output

Comment 1 Yan Du 2019-09-17 09:57:57 UTC
Created attachment 1615784 [details]
log

Comment 2 Marcin Mirecki 2019-09-18 08:27:02 UTC
This should be fixed by:
https://github.com/kubevirt/must-gather/pull/52

Comment 4 Dan Kenigsberg 2019-09-18 12:41:40 UTC
@Marcin, please use the proper field to link to your fix.
Also, please move this to ON_QA when a build with the fix is available.

Comment 5 Yan Du 2019-09-25 02:16:00 UTC
Test on latest CNV2.1 cluster, issue have been fixed. 

4.2.0-0.nightly-2019-09-21-183303
Kubernetes Version: v1.14.6+076ca09
cnv-must-gather:v2.1.0-16

Comment 6 Marcin Mirecki 2023-01-23 09:08:26 UTC
Closed, clearing needinfo


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