Bug 1161072
Summary: | The app dns will not be registered to the 2nd haproxy gear's node | |||
---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Meng Bo <bmeng> | |
Component: | Containers | Assignee: | Andy Goldstein <agoldste> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 2.x | CC: | agoldste, bmeng, bperkins, jokerman, mmccomas | |
Target Milestone: | --- | |||
Target Release: | 2.x | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1163406 (view as bug list) | Environment: | ||
Last Closed: | 2015-02-18 16:52:45 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1163406 |
Description
Meng Bo
2014-11-06 10:43:17 UTC
I don't believe this is a bug. You would need a load balancer handling requests for the HA app URL (e.g. ha-myapp.yourdomain.rhcloud.com), and the load balancer would forward the requests to the app's haproxy gears. Ignore my previous comment. I wasn't aware we had implemented this. This is probably something that broke with the switch from mod-rewrite to vhost. I'll keep investigating. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/f778d2b60f5708c9a4a44420b6d4ae1d4793d6a5 Register app dns vhost for secondary haproxy gears Modify the vhost frontend plugin to create a 2nd base vhost conf file for the app dns so secondary haproxy gears can handle requests for $OPENSHIFT_APP_DNS Bug 1161072 Checked on devenv-stage_1106, both the app dns and the aliases can be visited with the host ip of all the nodes. move bug to verified. |