Bug 1387717 - oc replace route, delete route, create route, gives error HostAlreadyReclaimed
Summary: oc replace route, delete route, create route, gives error HostAlreadyReclaimed
Keywords:
Status: CLOSED DUPLICATE of bug 1371826
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ben Bennett
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-21 16:06 UTC by Steven Walter
Modified: 2022-08-04 22:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-28 17:44:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Steven Walter 2016-10-21 16:06:47 UTC
Description of problem:
When using "oc replace" on routes, this causes the router to be unable to properly reload the routes until you restart the router itself.

Version-Release number of selected component (if applicable):
I replicated the issue in     Image:	openshift3/ose-haproxy-router:v3.2.1.13

Customer reported issue in

OpenShift Enterprise v3.2.1.15 (containerized)

HAProxy image is: openshift3/ose-haproxy-router:v3.2.1.15



How reproducible:
Reproduced

Steps to Reproduce:
1. oc create route
2. oc replace route
3. oc delete route
4. oc create route
5. oc get route

There's also a script in the github link (in additional info) that replicates the issue more easily. Just run the script with an existing service name as an argument then run oc get route.



Actual results:

$ ./routerscript jenkins-1-centos7
route "testrute" created
route "testrute" replaced
route "testrute" deleted
route "testrute" created
route "testrute" replaced
route "testrute" deleted
route "testrute" created
$ oc get route
NAME       HOST/PORT     PATH      SERVICE                  TERMINATION   LABELS
testrute   NoHostValue             jenkins-1-centos7:http                 


Expected results:

$ ./routerscript jenkins-1-centos7
route "testrute" created
route "testrute" replaced
route "testrute" deleted
route "testrute" created
route "testrute" replaced
route "testrute" deleted
route "testrute" created
$ oc get route
NAME       HOST/PORT     PATH      SERVICE                  TERMINATION   LABELS
testrute   <some hostname>         jenkins-1-centos7:http                 


Additional info:
https://github.com/openshift/origin/issues/8388

Comment 1 Ben Bennett 2016-10-28 17:44:02 UTC

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


Note You need to log in before you can comment on or make changes to this bug.