Bug 1924020
Summary: | panic: runtime error: index out of range [0] with length 0 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Andreas Karis <akaris> |
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: | ajia, akaris, bbreard, debarshir, hhei, imcleod, jligon, jnovy, miabbott, nstielau, smilner, ypu |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 4.8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1867987 | Environment: | |
Last Closed: | 2021-07-27 22:37:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1867987 | ||
Bug Blocks: |
Comment 1
Andreas Karis
2021-02-02 12:35:29 UTC
Just FYI: I clone this from the RHEL 8.3 bug as: * RHEL will fix this in 8.4 by moving to the new go toolbox * OCP 4.7 will be on RHEL 8.3 and in the preview versions still uses the old bash toolbox Either, RHCOS 4.7 would have to use the new toolbox command or would have to fix the bash script as suggested above. Thanks, Andreas This is a consequence of the change I made for https://bugzilla.redhat.com/show_bug.cgi?id=1915318. I will push a fix and will try to push that as a .z stream fix for 4.7 if it does not make the release. Awesome, thanks! Since this got retargeted for 4.8, going to reset the status to MODIFIED as we have an updated version of `toolbox` build for 4.8 and I want the bots to correctly transition the BZ and attach it to an advisory. Verified on4.8.0-0.nightly-2021-03-08-133419 which runs RHCOS 48.83.202103080317-0.
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.8.0-0.nightly-2021-03-08-133419 True False 10m Cluster version is 4.8.0-0.nightly-2021-03-08-133419
$ oc get nodes
NAME STATUS ROLES AGE VERSION
ip-10-0-134-237.us-west-2.compute.internal Ready master 31m v1.20.0+aa519d9
ip-10-0-149-29.us-west-2.compute.internal Ready worker 23m v1.20.0+aa519d9
ip-10-0-162-236.us-west-2.compute.internal Ready worker 23m v1.20.0+aa519d9
ip-10-0-185-140.us-west-2.compute.internal Ready master 31m v1.20.0+aa519d9
ip-10-0-196-203.us-west-2.compute.internal Ready worker 24m v1.20.0+aa519d9
ip-10-0-211-226.us-west-2.compute.internal Ready master 31m v1.20.0+aa519d9
$ oc debug node/ip-10-0-196-203.us-west-2.compute.internal
Starting pod/ip-10-0-196-203us-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# rpm-ostree status
State: idle
Deployments:
* pivot://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e6a29805478181c58ee8922085fc919cd19a15617f6e32ca9b0580c086fcfb41
CustomOrigin: Managed by machine-config-operator
Version: 48.83.202103080317-0 (2021-03-08T03:20:38Z)
ostree://646a9832dd0dc9fe174a2fc005863a9582186518a5476522a0e9bdccc0e5252a
Version: 47.83.202102090044-0 (2021-02-09T00:47:36Z)
sh-4.4# cat << EOF > ~/.toolboxrc
> IMAGE=fedora:latest
> REGISTRY=docker.io
> EOF
sh-4.4#
sh-4.4# toolbox
.toolboxrc file detected, overriding defaults...
Trying to pull docker.io/library/fedora:latest...
Getting image source signatures
Copying blob 3856270ab03a done
Copying config 33c4a622f3 done
Writing manifest to image destination
Storing signatures
33c4a622f37cfad474fd76ecd3e9c04e6434bd9a1668130537bd814ddbdce7a5
Spawning a container 'toolbox-root' with image 'docker.io/fedora:latest'
[root@toolbox /]# exit
sh-4.4# exit
exit
sh-4.2# exit
exit
Removing debug pod ...
$ oc debug node/ip-10-0-196-203.us-west-2.compute.internal -- chroot /host rpm -qa toolbox
Starting pod/ip-10-0-196-203us-west-2computeinternal-debug ...
To use host binaries, run `chroot /host`
toolbox-0.0.8-3.rhaos4.8.el8.noarch
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.8.2 bug fix and security 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-2021:2438 |