Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1334437

Summary: Multiple routes with same hostname cause issues
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: NetworkingAssignee: Ben Bennett <bbennett>
Networking sub component: router QA Contact: zhaozhanqi <zzhao>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, bmeng
Version: 3.1.0Keywords: Unconfirmed
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
OpenShift v3.1
Last Closed: 2016-05-20 18:30:36 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 Eric Jones 2016-05-09 15:43:18 UTC
Description of problem:
When two routes are created (in different projects) with the same hostname and the first created (i.e. the oldest) is deleted the second route should immediately take over but it does not.

Steps to Reproduce:
1. Create routeA (for appA) as hostnameA in projectA
2. Create routeB (for appB) as hostnameA in projectB
3. curl hostnameA and get appA (EXPECTED)
4. Delete routeA
5. curl hostnameA and get 503 error
6. Recreate routeA (now newer than routeB) in projectA
7. curl hostnameA and get appA
8. Delete routeB
9. curl hostnameA and get 503 error
10. Recreate routeB (now newer than routeA again) in projectB
11. curl hostnameA get appB

Expected results:
Seamlessly switch between routes as advertised in our docs [0]

[0] https://docs.openshift.com/enterprise/3.1/architecture/core_concepts/routes.html#route-hostnames

Comment 1 Meng Bo 2016-05-12 02:19:12 UTC
This issue had been addressed in https://bugzilla.redhat.com/show_bug.cgi?id=1243664
And the fix should be available in 3.2 release.

Comment 2 zhaozhanqi 2016-05-12 02:21:56 UTC
it's a duplicate bug with https://bugzilla.redhat.com/show_bug.cgi?id=1261843

and this bug should have been fixed in 3.2 version (you cannot create two same host, the later one will be marked as 'HostAlreadyClaimed')

Comment 3 Eric Jones 2016-05-20 18:30:36 UTC
My apologies

*** This bug has been marked as a duplicate of bug 1243664 ***