Bug 1026969 - SNI proxy does not self-repair IP address on boot
Summary: SNI proxy does not self-repair IP address on boot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: mfisher
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 18:23 UTC by Rob Millner
Modified: 2015-05-14 23:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:28:54 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Rob Millner 2013-11-05 18:23:04 UTC
The SNI proxy needs to rebuild its configuration file on boot to track IP address changes.

Comment 1 Rob Millner 2013-11-05 18:58:03 UTC
Pull request:

https://github.com/openshift/origin-server/pull/4095


To test:
1. service openshift-sni-proxy stop
2. Edit /var/lib/openshift/.httpd.d/sniproxy.cfg and change the bind IP address
3. service openshift-sni-proxy stop
4. Examine /var/lib/openshift/.httpd.d/sniproxy.cfg and verify it has the correct bind IP address.

Ex:

# ip addr show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb state UP qlen 1000
    link/ether 12:31:3d:1c:c2:d9 brd ff:ff:ff:ff:ff:ff
    inet 10.80.205.35/24 brd 10.80.205.255 scope global eth0

# grep bind /var/lib/openshift/.httpd.d/sniproxy.cfg
       bind         127.0.0.1:2303,10.80.205.35:2303
       bind         127.0.0.1:2304,10.80.205.35:2304
       bind         127.0.0.1:2305,10.80.205.35:2305
       bind         127.0.0.1:2306,10.80.205.35:2306
       bind         127.0.0.1:2307,10.80.205.35:2307
       bind         127.0.0.1:2308,10.80.205.35:2308

Comment 2 openshift-github-bot 2013-11-07 02:39:47 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/1388599631fb2f43e6e0f0b59a402b4f72792b82
Bug 1026969 - rebuild the SNI proxy on start to track changing IP address.

Comment 3 chunchen 2013-11-07 08:29:46 UTC
It's fixed, verified on devenv_4000, so mark it as VERIFIED


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