Bug 1463391

Summary: Routes are failing to update on starter-us-east-1
Product: OpenShift Container Platform Reporter: Stefanie Forrester <dakini>
Component: NetworkingAssignee: Ben Bennett <bbennett>
Networking sub component: router QA Contact: zhaozhanqi <zzhao>
Status: CLOSED NOTABUG Docs Contact:
Severity: urgent    
Priority: unspecified CC: aos-bugs, eparis
Version: 3.5.1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 14:51:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefanie Forrester 2017-06-20 18:32:50 UTC
Description of problem:

It was reported earlier today that routes were taking at least an hour to become functional on starter-us-east-1. During my testing, 20 out of 20 test apps still are reporting 503s when I try to curl the route, even 30+ minutes after the app started Running. It's unknown how long routes will take to start working (if ever), but there is a very long delay between when a pod enters Running and state when the route will return a 200.

Version-Release number of selected component (if applicable):
v3.5.5.19

How reproducible:

Every time, on this cluster https://console.starter-us-east-1.openshift.com

Steps to Reproduce:
1. Create a project.
2. Wait 5 minutes before creating an app, because of this missing token bug https://bugzilla.redhat.com/show_bug.cgi?id=1462542
3. Create an app in the new project.

Actual results:

The route does not return a 200. It returns 503 for a very long time.

Expected results:

The route should return 200 as soon as the backing pod is ready and Running.

Additional info:

Comment 5 Ben Bennett 2017-06-21 14:30:20 UTC
If you are using https://github.com/openshift/origin/blob/master/examples/quickstarts/cakephp-mysql-persistent.json then you need to use http not https to hit the routes.

Comment 6 Eric Paris 2017-06-21 17:25:18 UTC
Or create/edit the route with edge termination

oc patch route -n ${namespace} ${route} -p '{"spec":{"tls": {"termination": "edge", "insecureEdgeTerminationPolicy": "Allow"}}}'