openshift-labs / learn-katacoda

The OpenShift learning portal, powered by Katacoda
https://learn.openshift.com
159 stars 267 forks source link

Errors running Container Tutorials #1323

Open tshawker opened 2 years ago

tshawker commented 2 years ago

In which scenario did this bug occur?

Linux Container Internals 2.0 - Lab 2: Container Images

At what step of the scenario did this happen?

First (start of tutorial)

Describe the bug

Example commands fail to execute. 1) "conmon" package is out of date. 2) No such container image, registry.access.redhat.com/ubi7/ubi:latest 3) No such container image, registry.access.redhat.com/ubi7/ubi_minimal:latest

Logs or error messages

1) conmon [root@bc02dd8781de ~]# podman pull registry.access.redhat.com/ubi7/ubi WARN[0000] Conmon at /usr/bin/conmon invalid: outdated conmon version WARN[0000] Conmon at /usr/bin/conmon is invalid: outdated conmon version

To proceed, I updated conman with "yum upgrade conmon"

2) images [root@bc02dd8781de ~]# podman history registry.access.redhat.com/ubi7/ubi:latest Error: registry.access.redhat.com/ubi7/ubi:latest: image not known [root@bc02dd8781de ~]# podman history registry.access.redhat.com/ubi7/ubi-minimal:latest Error: registry.access.redhat.com/ubi7/ubi-minimal:latest: image not known

Screenshots

N/A - everything pertinent is above.

Additional context

N/A

tshawker commented 2 years ago

It looks as if the installation script doesn't download the images. I ran step 3, which updates the ubi7 image, and that retrieves the image before updating it. The first command that shows the image history then works, but the second that looks at the minimal image continues to fail. I manually downloaded the minimal image and the sample command then worked.

tshawker commented 2 years ago

Moving on to another scenario, it seems that the failure with "conmon" breaks the downloads of the various images. I have to manually upgrade conmon and then rerun all the downloads. That seems to work.