summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-11 07:26:14 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-11 07:26:14 +0200
commit28fc5f2f7b728b54de6a2634c746b6163ca5e991 (patch)
treee2b8b3f9573959061608c8652933b6fd83b7bbb5
parentba144fab071258a97cf3c42a0defeb0aae41a353 (diff)
downloadands-28fc5f2f7b728b54de6a2634c746b6163ca5e991.tar.gz
ands-28fc5f2f7b728b54de6a2634c746b6163ca5e991.tar.bz2
ands-28fc5f2f7b728b54de6a2634c746b6163ca5e991.tar.xz
ands-28fc5f2f7b728b54de6a2634c746b6163ca5e991.zip
Do associate kaas.kit.edu to localhost on masters (this breaks pods access to kaas urls)
-rw-r--r--docs/troubleshooting.txt3
-rw-r--r--roles/ands_network/tasks/common.yml10
2 files changed, 9 insertions, 4 deletions
diff --git a/docs/troubleshooting.txt b/docs/troubleshooting.txt
index 2290901..a47d133 100644
--- a/docs/troubleshooting.txt
+++ b/docs/troubleshooting.txt
@@ -254,6 +254,9 @@ Builds
Storage
=======
+ - The offline bricks can be brough back into the service with the follwoing command
+ gluster volume start openshift force
+
- Running a lot of pods may exhaust available storage. It worth checking if
* There is enough Docker storage for containers (lvm)
* There is enough Heketi storage for dynamic volumes (lvm)
diff --git a/roles/ands_network/tasks/common.yml b/roles/ands_network/tasks/common.yml
index 940cde7..03d9fb4 100644
--- a/roles/ands_network/tasks/common.yml
+++ b/roles/ands_network/tasks/common.yml
@@ -21,10 +21,12 @@
- nodes
- new_nodes
-- name: Provision /etc/hosts to ensure that all masters servers are accessing Master API on loopback device
- lineinfile: dest="/etc/hosts" line="127.0.0.1 {{ openshift_master_cluster_hostname }}" regexp=".*{{ openshift_master_cluster_hostname }}$" state="present"
- when: ('masters' in group_names or 'new_masters' in group_names)
- register: result
+# This brakes communication of containers with KaaS cluster (as 127.0.0.1 is not valid in container context, but resolved like that nethertheless)
+# DISABLED on 2019.10.10: I guess this is not that big a deal of extra communication. Technically, in futre we can put here actual ip of the node.
+#- name: Provision /etc/hosts to ensure that all masters servers are accessing Master API on loopback device
+# lineinfile: dest="/etc/hosts" line="127.0.0.1 {{ openshift_master_cluster_hostname }}" regexp=".*{{ openshift_master_cluster_hostname }}$" state="present"
+# when: ('masters' in group_names or 'new_masters' in group_names)
+# register: result
- name: Provision /etc/hosts with load-balance IP on non master servers
lineinfile: dest="/etc/hosts" line="{{ ands_inner_lb_ip }} {{ openshift_master_cluster_hostname }}" regexp=".*{{ openshift_master_cluster_hostname }}$" state="present"