summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-10-18 14:26:21 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-10-18 14:26:21 +0200
commit2e6426bfb83bfb92c44761227695c21170c93b1e (patch)
tree06809fc376e647211f004a6cb2791970af1f1c03 /playbooks/provisioning/openstack
parent9f69f214958e1c33bf1c082cd7243dca4e8eebb8 (diff)
downloadopenshift-2e6426bfb83bfb92c44761227695c21170c93b1e.tar.gz
openshift-2e6426bfb83bfb92c44761227695c21170c93b1e.tar.bz2
openshift-2e6426bfb83bfb92c44761227695c21170c93b1e.tar.xz
openshift-2e6426bfb83bfb92c44761227695c21170c93b1e.zip
Revert the console hostname change
We'll do it in a separate pull request.
Diffstat (limited to 'playbooks/provisioning/openstack')
-rw-r--r--playbooks/provisioning/openstack/advanced-configuration.md6
-rw-r--r--playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml4
2 files changed, 5 insertions, 5 deletions
diff --git a/playbooks/provisioning/openstack/advanced-configuration.md b/playbooks/provisioning/openstack/advanced-configuration.md
index 17f0e2629..9e3fe75d2 100644
--- a/playbooks/provisioning/openstack/advanced-configuration.md
+++ b/playbooks/provisioning/openstack/advanced-configuration.md
@@ -108,7 +108,7 @@ Either way, find the `oc` binary and put it in your `PATH`.
```bash
-oc login --insecure-skip-tls-verify=true https://console.openshift.example.com:8443 -u user -p password
+oc login --insecure-skip-tls-verify=true https://master-0.openshift.example.com:8443 -u user -p password
oc new-project test
oc new-app --template=cakephp-mysql-example
oc status -v
@@ -122,7 +122,7 @@ Wait until the build has finished and both pods are deployed and running:
```
$ oc status -v
-In project test on server https://console.openshift.example.com:8443
+In project test on server https://master-0.openshift.example.com:8443
http://cakephp-mysql-example-test.apps.openshift.example.com (svc/cakephp-mysql-example)
dc/cakephp-mysql-example deploys istag/cakephp-mysql-example:latest <-
@@ -153,7 +153,7 @@ Its `title` should say: "Welcome to OpenShift".
You can also access the OpenShift cluster with a web browser by going to:
-https://console.openshift.example.com:8443
+https://master-0.openshift.example.com:8443
Note that for this to work, the OpenShift nodes must be accessible
from your computer and it's DNS configuration must use the cruster's
diff --git a/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml b/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml
index 4c1ca8c96..949a323a7 100644
--- a/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml
+++ b/playbooks/provisioning/openstack/sample-inventory/group_vars/OSEv3.yml
@@ -5,8 +5,8 @@ openshift_deployment_type: origin
openshift_master_default_subdomain: "apps.{{ env_id }}.{{ public_dns_domain }}"
openshift_master_cluster_method: native
-openshift_master_cluster_public_hostname: "console.{{ env_id }}.{{ public_dns_domain }}"
-openshift_master_cluster_hostname: "{{ openshift_master_cluster_public_hostname }}"
+openshift_master_cluster_hostname: "{{ groups.lb.0|default(groups.masters.0) }}"
+openshift_master_cluster_public_hostname: "{{ groups.lb.0|default(groups.masters.0) }}"
osm_default_node_selector: 'region=primary'