Browse Source

Bug 1246458 - dnsIP does not point to cluster IP

https://bugzilla.redhat.com/show_bug.cgi?id=1246458

- Previously when configuring an HA cluster for multi-master the dns ip in the
  node config was pointing only to the first master instead of the cluster ip.
Jason DeTiberus 10 năm trước cách đây
mục cha
commit
3795fd4e38
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      roles/openshift_master/tasks/main.yml

+ 1 - 1
roles/openshift_master/tasks/main.yml

@@ -59,7 +59,7 @@
   openshift_facts:
     role: dns
     local_facts:
-      ip: "{{ openshift.common.ip }}"
+      ip: "{{ openshift_master_cluster_vip | default(openshift.common.ip, true) | default(None) }}"
       domain: cluster.local
   when: openshift.master.embedded_dns