Hi,
I'm following the "Red Hat Cloud-Native Microservices Development with Quarkus (DO378)" Course
and when running the "lab deploy-microserviceapp start" command to prepare for the excercise this error is displayed:
Checking prerequisites for Describing a MicroService Application
Verifying the Openshift Cluster is running:
. Log in to OpenShift as developer.........FAIL
Cannot connect to the OpenShift API. Please check your network connectivity.
Since this is running inside VMs, I have no idea where to look.
I am able to open the OpenShift Admin Webconsole, so OpenShift is running.
Any ideas?
Thank you
Mark
To answer my question:
edit the /usr/local/etc/ocp4.config
add the info from the Lab Environment to these vars
RHT_OCP4_DEV_USER
RHT_OCP4_DEV_PASSWORD
RHT_OCP4_MASTER_API
and save.
run the lab script again
Enjoy
Hi Mark,
I tried to reproduce the issue you mentioned and here are the findings:
1) I first directly ran the command "lab deploy-microservicesapp start" and the result is it was failing for me.
2) I followed a different approach.
2.1) I completed the "lab-configure" guided exercise.
2.2) Run the "lab deploy-microservicesapp start" command again and this time it was successful for me.
One more thing which I noticed is that Mark you are missing an alphabet 's' in the command and trying to run "lab deploy-microserviceapp start" instead of "lab deploy-microservicesapp start".
Can you follow the above steps and reply about the same?
To answer my question:
edit the /usr/local/etc/ocp4.config
add the info from the Lab Environment to these vars
RHT_OCP4_DEV_USER
RHT_OCP4_DEV_PASSWORD
RHT_OCP4_MASTER_API
and save.
run the lab script again
Enjoy
Hi Mark,
I tried to reproduce the issue you mentioned and here are the findings:
1) I first directly ran the command "lab deploy-microservicesapp start" and the result is it was failing for me.
2) I followed a different approach.
2.1) I completed the "lab-configure" guided exercise.
2.2) Run the "lab deploy-microservicesapp start" command again and this time it was successful for me.
One more thing which I noticed is that Mark you are missing an alphabet 's' in the command and trying to run "lab deploy-microserviceapp start" instead of "lab deploy-microservicesapp start".
Can you follow the above steps and reply about the same?
Hi Shajain,
Thank you for your solution as it looks more appropiate than mine.
It also updates the /usr/local/etc/ocp4.config file.
So yes that works good, thank you.
the missing s is just a typo, did not copy and paste the command.
Thank you
Mark
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.