Bug 1803112
| Summary: | cannot interact with toolbox container after first execution | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Micah Abbott <miabbott> | |
| Component: | RHCOS | Assignee: | Micah Abbott <miabbott> | |
| Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | low | |||
| Version: | 4.4 | CC: | bbreard, dustymabe, imcleod, jligon, nstielau, smilner | |
| Target Milestone: | --- | |||
| Target Release: | 4.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | toolbox-0.0.7-1.rhaos4.4.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1803122 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-04 11:36:41 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1803122, 1803128 | |||
|
Description
Micah Abbott
2020-02-14 14:08:26 UTC
The fixed package landed in 44.81.202003062006-0; all subsequent builds should include the fix. Booted the latest 4.4 QEMU image and ran the `toolbox` a number of times.
```
$ coreos-assembler run -d rhcos-44.81.202003110830-0-qemu.x86_64.qcow2
...
Red Hat Enterprise Linux CoreOS 44.81.202003110830-0 (Ootpa) 4.4
SSH host key: SHA256:UR7ro00A08MyeuvtJLz4E788ZErEoDvzCtwb0R9YW4k (ED25519)
SSH host key: SHA256:Ddyukz4BwaNAHZehefnTz0T2/yD0x2lBjL6suUfVIik (ECDSA)
SSH host key: SHA256:0J93G62JAp4sDGKBb4WaSz6A+mYnV8YEhrj6noiqfLI (RSA)
ens5: 10.0.2.15 fe80::12a2:53f:116d:ec9
ibm-p8-kvm-03-guest-02 login: core (automatic login)
Red Hat Enterprise Linux CoreOS 44.81.202003110830-0
Part of OpenShift 4.4, RHCOS is a Kubernetes native operating system
managed by the Machine Config Operator (`clusteroperator/machine-config`).
WARNING: Direct SSH access to machines is not recommended; instead,
make configuration changes via `machineconfig` objects:
https://docs.openshift.com/container-platform/4.4/architecture/architecture-rhcos.html
---
ICMP traffic (ping) does not work with QEMU and user mode networking.
To exit, press Ctrl-A and then X.
[core@ibm-p8-kvm-03-guest-02 ~]$ rpm-ostree status
State: idle
AutomaticUpdates: disabled
Deployments:
* ostree://e6285cbf6737188a7d3ee3efa580d0af5b3694f6b164f9dd8fe81c061206e9f2
Version: 44.81.202003110830-0 (2020-03-11T08:36:13Z)
[core@ibm-p8-kvm-03-guest-02 ~]$ rpm -q toolbox
toolbox-0.0.7-1.rhaos4.4.el8.noarch
[core@ibm-p8-kvm-03-guest-02 ~]$ toolbox
Trying to pull registry.redhat.io/rhel8/support-tools...
unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhatn
Error: error pulling image "registry.redhat.io/rhel8/support-tools": unable to pull registry.redhat.io/rhel8/support-tools: unable to pull image: Error initializing source docker://registry.redhat.io/rhel8/supporn
Would you like to manually authenticate to registry: 'registry.redhat.io' and try again? [y/N] y
Username: miabbott
Password:
Login Succeeded!
Trying to pull registry.redhat.io/rhel8/support-tools...
Getting image source signatures
Copying blob eae5d284042d done
Copying blob 0a4a43613721 done
Copying blob ff6f434a470a done
Copying config 53d1e01dae [======================================] 4.4KiB / 4.4KiB
Writing manifest to image destination
Storing signatures
53d1e01dae0c44c45f36e72d2d1f0fa91069c147bbd9d2971335ecf2ca93b446
Spawning a container 'toolbox-core' with image 'registry.redhat.io/rhel8/support-tools'
Detected RUN label in the container image. Using that as the default...
command: podman run -it --name toolbox-core --privileged --ipc=host --net=host --pid=host -e HOST=/host -e NAME=toolbox-core -e IMAGE=registry.redhat.io/rhel8/support-tools:latest -v /run:/run -v /var/log:/var/lot
[root@ibm-p8-kvm-03-guest-02 /]# exit
exit
[core@ibm-p8-kvm-03-guest-02 ~]$ toolbox
Container 'toolbox-core' already exists. Trying to start...
(To remove the container and start with a fresh toolbox, run: sudo podman rm 'toolbox-core')
toolbox-core
Container started successfully. To exit, type 'exit'.
sh-4.4# exit
exit
[core@ibm-p8-kvm-03-guest-02 ~]$ toolbox
Container 'toolbox-core' already exists. Trying to start...
(To remove the container and start with a fresh toolbox, run: sudo podman rm 'toolbox-core')
toolbox-core
Container started successfully. To exit, type 'exit'.
sh-4.4# ps
sh: ps: command not found
sh-4.4# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.1 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.1"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.1 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.1:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.1
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.1"
sh-4.4# exit
exit
```
This can safely be marked VERIFIED once it is swept up into an errata and put in ON QA
Moving to VERIFIED based on comment #6 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/RHBA-2020:0581 |