cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
zachgutterman Flight Engineer
Flight Engineer
  • 281 Views

New Fixed Classroom for DO180 OCP 4.0

Hello all,

Apologies for the certificate issues this past week on DO180 OCP 4.0.

We released a fixed classroom on Tuesday. You need to delete your current classroom and then click Provision Lab again. Please note that it can take up to 15 minutes or so before you are able to log into your openshift cluster. You do not need to run the "hotfix" instructions that were posted last week. It should work out of the box.

Thanks!

Labels (1)
0 Kudos
7 Replies
TommyB Mission Specialist
Mission Specialist
  • 256 Views

Re: New Fixed Classroom for DO180 OCP 4.0

Hi Zach, I'm in section 6.6: Guided Exercise: Exposing a Service as a Route.

I have successfully completed the following lab commands, but am receiving a 503 "Service Unavailable" error when I issue the curl command:

oc login -u kubeadmin -p $(cat ~/.kubeadmin) --insecure-skip-tls-verify=true https://cluster-api.lab.example.com:6443     
oc new-project route                                             
oc new-app php:5.6~http://services.lab.example.com/php-helloworld
oc get pods -w                                                           => php-helloworld pod/app is running
oc describe svc/php-helloworld                           => Service is defined
oc expose svc/php-helloworld                             => Route is exposed
oc describe route                                                     => Host: php-helloworld-route.apps.cluster.lab.example.com

curl php-helloworld-route.apps.cluster.lab.example.com
<html><body><h1>503 Service Unavailable</h1>
No server is available to handle this request.
</body></html>

ping php-helloworld-route.apps.cluster.lab.example.com works
nslookup php-helloworld-route.apps.cluster.lab.example.com resolves to 172.25.250.42
Which is the lb.lab.example.com load balancer for the OpenShift Container Platform cluster.

What could be the problem here?Screen Shot 2019-10-03 at 2.28.39 PM.png

0 Kudos
Reply
Loading...
rbraddes Cadet
Cadet
  • 224 Views

Re: New Fixed Classroom for DO180 OCP 4.0

I have the same issue as TommyB in 6.6.

The lab in 6.8 returns the same error when running the curl command.

Also, in 6.10, the console does not work. A curl command against https://console-openshift-console.apps.cluster.lab.example.com returns an END_OF_FILE_ERROR.

0 Kudos
Reply
Loading...
TommyB Mission Specialist
Mission Specialist
  • 196 Views

Re: New Fixed Classroom for DO180 OCP 4.0

Hi rbraddes,

Appreciate the confirmation that I am not the only one experiencing these lab errors.

I don't understand why we are experiencing these errors if RH support claims a fix has been applied, and deleting and provisioning a new lab environment should fix these errors.

It's also taking longer than I had hoped for responses to these support cases.

I just tried again, and the lab fix is till not working for neither Firefox nor curl ...Screen Shot 2019-10-07 at 2.33.04 PM.png

0 Kudos
Reply
Loading...
Moderator
Moderator
  • 189 Views

Re: New Fixed Classroom for DO180 OCP 4.0

Hello TommyB,

The ports on the LB are misconfigured. In /etc/haproxy/haproxy.cfg change the backend http ports to use 30034 and the backend https ports to use 31044. Restart the haproxy service on the LB and test with curl.

[student@workstation ~]$ curl -k https://console-openshift-console.apps.cluster.lab.example.com <!DOCTYPE html> <html lang="en" class="no-js"> <head> <base href="/"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>OpenShift</title> <meta name="application-name" content="OpenShift"> <link rel="shortcut icon" href="static/assets/openshift-favicon.png"> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="static/assets/openshift-apple-touch-icon-precomposed.png"> <link rel="mask-icon" href="static/assets/openshift-mask-icon.svg" color="#DB242F"> <meta name="msapplication-TileColor" content="#000000"> <meta name="msapplication-TileImage" content="static/assets/openshift-mstile-144x144.png"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript"> window.SERVER_FLAGS = {"consoleVersion":"v6.0.6-2029-gc7f598d85","authDisabled":false,"kubectlClientID":"","basePath":"/","loginURL":"https://console-openshift-console.apps.cluster.lab.example.com/auth/login","loginSuccessURL":"https:...}; </script> <link href="static/94.app-bundle.css" rel="stylesheet"><link href="static/99.app-bundle.css" rel="stylesheet"></head> <body> <div id="modal-container"></div> <div id="app"></div> <script type="text/javascript" src="static/runtime~main-bundle-29cea9fe156754a3a03d.min.js"></script><script type="text/javascript" src="static/vendors~main-chunk-769381ffcf7108b3bd6c.min.js"></script><script type="text/javascript" src="static/main-chunk-c3e1ff706d6da32cf8b5.min.js"></script></body> </html> [student@workstation ~]$

Reply
Loading...
AlB Cadet
Cadet
  • 32 Views

Re: New Fixed Classroom for DO180 OCP 4.0

This is one curl command? or is the HTML part of the response??

0 Kudos
Reply
Loading...
zachgutterman Flight Engineer
Flight Engineer
  • 25 Views

Re: New Fixed Classroom for DO180 OCP 4.0

the command ends after https://console-openshift-console.apps.cluster.lab.example.com . 

This issue, however, should be resolved and it is no longer required to run this fix.

0 Kudos
Reply
Loading...
TommyB Mission Specialist
Mission Specialist
  • 182 Views

Re: New Fixed Classroom for DO180 OCP 4.0

Thank you, MJ !

Those instructions worked !!

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