Red Hat Bugzilla – Bug 1470214
[DOCS] openshift_master_default_subdomain should not include master hostname
Last modified: 2017-07-12 10:14:39 EDT
Section Number and Name:
Configuring Cluster Variables
Describe the issue:
When openshift_master_default_subdomain is set to a wildcard that the master url or master public url falls into, this can cause misrouting of traffic that should go to the masters to instead go to the router. For instance, if my subdomain is:
And my master URL is:
Then OpenShift components/apps might try to route this traffic to the router (since it fits the wildcard subdomain) instead of the master itself.
Suggestions for improvement:
Include a statement: "This should not be a pattern that the openshift_master_cluster_hostname or openshift_master_cluster_public_hostname applies to. For instance, with a openshift_master_cluster_hostname of 'master.ocp.example.com', a subdomain '*.ocp.example.com' should not be used as this can cause routing conflicts. Instead use a more specific subdomain, such as '*.apps.ocp.example.com'."
Fixing this docs bug would prevent potential configuration issues, such as with metrics and logging as described in these trackers.