Bug 1915579
Summary: | [Metal] redhat-support-tool became unavailable after tcpdump usage (BareMetal IPI) | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Elena German <elgerman> |
Component: | RHCOS | Assignee: | Timothée Ravier <travier> |
Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.7 | CC: | bbreard, cverna, imcleod, jligon, miabbott, nstielau |
Target Milestone: | --- | Keywords: | UpcomingSprint |
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:52:28 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
Elena German
2021-01-13 00:07:17 UTC
Can not reproduce this one so far with a toolbox fixed from https://bugzilla.redhat.com/show_bug.cgi?id=1915318 so the same "fix" might help here. Investigation will continue next sprint. Targeting this for 4.7 in the hope of fixing multiple problems with one PR - https://github.com/coreos/toolbox/pull/67 I can't seem to reproduce this to verify. Everything seems to be working. From the BZ summary it looks like there is another container named "support-tools". The toolbox runs a container named "toolbox-$USER". @elgerman can you provide the output of `podman ps -a` after you chroot into the host? $ oc debug node/ip-10-0-154-51.us-west-2.compute.internal Starting pod/ip-10-0-154-51us-west-2computeinternal-debug ... To use host binaries, run `chroot /host` If you don't see a command prompt, try pressing enter. sh-4.2# chroot /host sh-4.4# toolbox Spawning a container 'toolbox-root' with image 'registry.redhat.io/rhel8/support-tools' Detected RUN label in the container image. Using that as the default... [root@ip-10-0-154-51 /]# which redhat-support-tools /usr/bin/which: no redhat-support-tools in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) [root@ip-10-0-154-51 /]# which redhat-support-tool /usr/bin/redhat-support-tool [root@ip-10-0-154-51 /]# rpm -ql $(which redhat-support-tool) package /usr/bin/redhat-support-tool is not installed [root@ip-10-0-154-51 /]# rpm -qf $(which redhat-support-tool) redhat-support-tool-0.11.2-2.el8.noarch [root@ip-10-0-154-51 /]# exit exit sh-4.4# toolbox Container 'toolbox-root' already exists. Trying to start... (To remove the container and start with a fresh toolbox, run: sudo podman rm 'toolbox-root') toolbox-root Container started successfully. To exit, type 'exit'. bash-4.2# redhat-support-tool Welcome to the Red Hat Support Tool. Command (? for help): q bash-4.2# exit exit bash-4.2# exit exit sh-4.4# rpm -q toolbox toolbox-0.0.8-2.rhaos4.7.el8.noarch sh-4.4# exit exit sh-4.2# exit exit Removing debug pod ... $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.7.0-0.nightly-2021-01-25-160335 True False 51m Cluster version is 4.7.0-0.nightly-2021-01-25-160335 [kni@provisionhost-0-0 ~]$ oc get nodes NAME STATUS ROLES AGE VERSION master-0-0 Ready master 33h v1.20.0+3b90e69 master-0-1 Ready master 33h v1.20.0+3b90e69 master-0-2 Ready master 33h v1.20.0+3b90e69 worker-0-0 Ready worker 32h v1.20.0+3b90e69 worker-0-1 Ready worker 32h v1.20.0+3b90e69 [kni@provisionhost-0-0 ~]$ oc debug node/worker-0-0 Starting pod/worker-0-0-debug ... To use host binaries, run `chroot /host` Pod IP: 192.168.123.133 If you don't see a command prompt, try pressing enter. sh-4.4# chroot /host sh-4.4# podman ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES sh-4.4# sudo podman ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES sh-4.4# @elgerman Apologies for not being more descriptive. Can you run through the reproduction steps, then run `podman ps -a`? 1. Choose node from the list: oc get nodes 2. Open debug session to this node: oc debug node/master-0-0 3. chroot /host 4. Choose some interface from the list: ip ad 5. Run toolbox container: toolbox 6. Run tcpdump on chosen interface: tcpdump -nn -s 0 -i enp4s0 -w /host/var/tmp/master-0-0_$(date +%d_%m_%Y-%H_%M_%S-%Z).pcap 7. Stop it 8. From within the toolbox container, try to run redhat-support-tool to attach the file directly to an existing Red Hat Support case: redhat-support-tool addattachment -c 01234567 /host/var/tmp/master-0-0_12_01_2021-23_08_52-UTC.pcap Then exit out of the toolbox container and run `podman ps -a` Good news: it seems like it was fixed by PR - https://github.com/coreos/toolbox/pull/67, at least on the 4.7.0-0.nightly-2021-02-08-052658 I didn't succeed to reproduce it 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: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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:5633 |