cancel
Showing results for 
Search instead for 
Did you mean: 
SWLyu
Cadet
Cadet
  • 18.2K Views

Issue when create container using podman

Jump to solution

Hi all,

Im facing some issue during I'm self learning in the following course.

- Introduction to Containers, Kubernetes, and Red Hat OpenShift (DO180R)

Is there anyone who can handle the below issue?

Command)

sudo podman run --name mysql-basic \
> -e MYSQL_USER=user1 -e MYSQL_PASSWORD=mypa55 \
> -e MYSQL_DATABASE=items -e MYSQL_ROOT_PASSWORD=r00tpa55 \
> -d rhscl/mysql-57-rhel7:5.7-3.14

Error)

Trying to pull registry.lab.example.com/rhscl/mysql-57-rhel7:5.7-3.14 ...Failed

unable to pull rhscl/mysql-57-rhel7:5.7-3.14: 1 error occured:

* Error determining manifest MIME type for docker:// registry.lab.example.com/rhscl/mysql-57-rhel7:5.7-3.14 : pinging docker registry returned: Get https:// registry.lab.example.com/v2/: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authorigy certificate "registry.lab.example.com")

Thanks all.

Labels (1)
0 Kudos
18 Replies
jim_rigsbee
Flight Engineer Flight Engineer
Flight Engineer
  • 6,823 Views

We apologize for the inconvenience of these bugs.  We are working hard to upload a new classroom as soon as possible.  If you have any further issues please create an issue in the customer portal at https://access.redhat.com for the quickest response.

Thank you!

0 Kudos
SWLyu
Cadet
Cadet
  • 21K Views

Dear jim_rigsbee,

It's working now after fixed it as your guide. thanks so much.

TommyB
Mission Specialist
Mission Specialist
  • 6,635 Views

SWLyu,
I am having the same x509 certificate failures, but when I perform Jim's instructions I am being asked for the root@services's password on master0...

sudo ssh core@master0
sudo -i
scp root@services:/etc/pki/ca-trust/source/anchors/example.com.crt /etc/pki/ca-trust/source/anchors
root@services's password:

Did this happen to you as well?

0 Kudos
TommyB
Mission Specialist
Mission Specialist
  • 6,571 Views

Red Hat,
Can someone please either:

  1. Provide the required root passwords for scp commands above?
  2. Upload a fixed training lab environment for DO180R?

Several IBMers have to complete these courses and be certified before end of year.
We are trying to take courses/labs in between meetings/projects so a healthy lab environment is greatly appreciated.

Thank you !

zachgutterman
Community Manager
Community Manager
  • 6,359 Views

Hey Tommy,

We have released a fixed blueprint. So if you delete and re-provision your classroom environment you should get the new blueprint and won't have issues. You DO NOT need to run the hot fix on the new environment. It should work out of the box. Sorry for the issues!

Jack008
Mission Specialist
Mission Specialist
  • 6,328 Views

Hello zachgutterman

Thanks for fixing the classroom environment.  The lab works for me without error now!

Jack

0 Kudos
flozano
Moderator
Moderator
  • 6,563 Views

I think the password is 'redhat'

0 Kudos
  • 5,066 Views

Please share any new solution to the problem given in the original post. It was working for me and suddenly it stopped working. I tried the solution but it did not help. Still the error occurs

0 Kudos
Ashish_Lingayat
Moderator
Moderator
  • 5,023 Views

Hi @Nalinikanta,

I have tried to work on the command - 

sudo podman run --name mysql-basic \
> -e MYSQL_USER=user1 -e MYSQL_PASSWORD=mypa55 \
> -e MYSQL_DATABASE=items -e MYSQL_ROOT_PASSWORD=r00tpa55 \
> -d rhscl/mysql-57-rhel7:5.7-3.14

It works fine for me. Please try again by deleting lab environment and provision new environment.

Screenshot from my lab environment -

Screenshot from 2020-10-26 21-06-23.png

If you are still facing the issue I suggest creating a support ticket at access.redhat.com (choose Product as "Red Hat Online Learning") and the team will assist you in resolving the same.

 

Happy learning!

Regards,

Ashish Lingayat

Join the discussion
You must log in to join this conversation.