From ee36a0b89fe886689d35cbbb5b4ff57cb05d31d0 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Fri, 24 Oct 2014 09:14:59 -0700 Subject: Add comments explaining changing the master/minion hostnames * openshift forces resolving all minions to hostnames to query etcd keys rather than using the IP address --- roles/openshift_master/tasks/main.yml | 3 ++- roles/openshift_minion/tasks/main.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'roles') diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 4757dc9e7..3cfb2dd7d 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -3,7 +3,8 @@ - name: Install Origin yum: pkg=origin state=installed -- name: Set hostname to IP Addr + # fixme: Once openshift stops resolving hostnames for minion queries remove this... +- name: Set hostname to IP Addr (WORKAROUND) command: /usr/bin/hostname {{ oo_bind_ip }} - name: Configure OpenShift Master settings diff --git a/roles/openshift_minion/tasks/main.yml b/roles/openshift_minion/tasks/main.yml index 7a79b4ee9..e328eb5d5 100644 --- a/roles/openshift_minion/tasks/main.yml +++ b/roles/openshift_minion/tasks/main.yml @@ -3,7 +3,8 @@ - name: Install OpenShift yum: pkg=origin state=installed -- name: Set hostname to IP Addr + # fixme: Once openshift stops resolving hostnames for minion queries remove this... +- name: Set hostname to IP Addr (WORKAROUND) command: /usr/bin/hostname {{ oo_bind_ip }} - name: Configure OpenShift Minion settings -- cgit v1.2.3