cancel
Showing results for 
Search instead for 
Did you mean: 
Arathi
Cadet
Cadet
  • 1,295 Views

Do180 comprehensive review question - quay username not getting populated

Hi,

    I am doing the Do180 comprehensive review and I can see the RHT_OCP4_QUAY_USER in the /usr/local/etc/ocp4.config file. But when I try to push the nexus image to Quay getting an error

 

Arathi_0-1687209179599.png

Any idea how to fix please?

Thanks,

Arathi

 

Labels (1)
4 Replies
Tess
Flight Engineer
Flight Engineer
  • 1,278 Views

I have a feeling that your login to quay might've not been as successful as the output suggests. Because generally speaking the syntax of your commands looks alright (though I'm used to doing a push based only the targetname, without also specifying the source label). 

Could you run:

  1. echo ${RHT_OCP4_QUAY_USER}
  2. podman search quay.io/ | grep ${RHT_OCP4_QUAY_USER}
0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,271 Views

Hi @Arathi !

Thanks for reaching out!

It seems you are still accessing v4.10 course.

You can source the config file ( ocp4.config ) and then do podman login and then do the podman push as shown below : It will work 

Chetan_Tiwary__0-1687267374946.png

 

Tags (1)
Arathi
Cadet
Cadet
  • 1,258 Views

Hi @Chetan_Tiwary_, Thanks for your message. I tried but can see that its empty for some reason.

Arathi_0-1687290596502.png

And the ocp4.config file is:

Arathi_1-1687290668371.png

 

Tags (1)
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,251 Views

After source command , do a podman login and then try to run the podman push command and see if it is working or not. 

If it is still not working then do one thing: delete your existing lab and create a fresh one and then start with lab-configure and then  redo the steps as I suggested.

If it does not work for you at all  - please open a support case. 

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