cancel
Showing results for 
Search instead for 
Did you mean: 
pankajps
Cadet
Cadet
  • 658 Views

DO288v4.18 - ch02s04 (lab start deploy-console) - Deploying app from console is failing

Jump to solution

 

I am not able to build a simple app via console, the same is working on lower version i.e. v4.12.
https://github.com/pankajps/DO288-apps/blob/main/apps/deploy-console/php-helloworld/index.php

trying to pull image-registry.openshift-image-registry.svc:5000/openshift/php@sha256:...
→ manifest unknown
…then tries external registry.ocp4.example.com/ubi8/php-82@sha256:...
→ manifest unknown
DO288v4.18_ch02s04-5.pngDO288v4.18_ch02s04-4.pngDO288v4.18_ch02s04-3.pngDO288v4.18_ch02s04-2.pngDO288v4.18_ch02s04-1.png

Labels (3)
1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 447 Views

@pankajps we have a workaround here if you would like to try :

There is an issue with the _php:8.2-ubi8_ image when mirroring to the environment. As a temporary workaround, please switch to the _php:8.1-ubi9_ version.

You can switch either during the creation steps or, if the BuildConfig is already created, by running the following command:

#oc patch bc hello-world -p '{"spec":{"strategy":{"sourceStrategy":{"from":{"kind":"ImageStreamTag","name":"php:8.1-ubi9","namespace":"openshift"}}}}}'

View solution in original post

4 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 488 Views

@pankajps Thanks for reporting this issue to us. You are right, I was able to reproduce this issue at my end : 

Chetan_Tiwary__0-1756143679271.png

 

Let me report this to the course developers, this should be fixed asap.

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 448 Views

@pankajps we have a workaround here if you would like to try :

There is an issue with the _php:8.2-ubi8_ image when mirroring to the environment. As a temporary workaround, please switch to the _php:8.1-ubi9_ version.

You can switch either during the creation steps or, if the BuildConfig is already created, by running the following command:

#oc patch bc hello-world -p '{"spec":{"strategy":{"sourceStrategy":{"from":{"kind":"ImageStreamTag","name":"php:8.1-ubi9","namespace":"openshift"}}}}}'

pankajps
Cadet
Cadet
  • 368 Views

Thank you @Chetan_Tiwary_ 

Chetan_Tiwary_
Community Manager
Community Manager
  • 349 Views

You are welcome @pankajps ! Thanks for reporting this bug though! 

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