heat nonHA service works fine. 23/22823/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Sat, 8 Oct 2016 05:43:12 +0000 (00:43 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Sat, 8 Oct 2016 05:43:44 +0000 (00:43 -0500)
Change-Id: I8077984e84d6b0ac17b7fa34f72fe0dd05c0ba36
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/config_tpl/bundle_tpl/haclusters.yaml
ci/config_tpl/bundle_tpl/harelations.yaml
ci/config_tpl/bundle_tpl/heat.yaml

index 59493d5..7edc7b2 100644 (file)
 {% if os.network.ipv6 %}
         prefer-ipv6: {{ os.network.ipv6 }}
 {% endif %}
-    hacluster-heat:
-      charm: "local:{{ ubuntu.release }}/hacluster"
-      options:
-        corosync_transport: unicast
-        cluster_count: 3
+#    hacluster-heat:
+#      charm: "local:{{ ubuntu.release }}/hacluster"
+#      options:
+#        corosync_transport: unicast
+#        cluster_count: 3
 {% if os.network.ipv6 %}
-        prefer-ipv6: {{ os.network.ipv6 }}
+#        prefer-ipv6: {{ os.network.ipv6 }}
 {% endif %}
     hacluster-horizon:
       charm: "local:{{ ubuntu.release }}/hacluster"
index e7bac9a..d4c4c06 100644 (file)
@@ -1,7 +1,7 @@
 {% if os.ha.mode == 'ha' %}
     - [ 'mysql:ha', 'hacluster-mysql:ha' ]
     - [ 'cinder:ha', 'hacluster-cinder:ha' ]
-    - [ 'heat:ha', 'hacluster-heat:ha' ]
+#    - [ 'heat:ha', 'hacluster-heat:ha' ]
     - [ 'glance:ha', 'hacluster-glance:ha' ]
     - [ 'keystone:ha', 'hacluster-keystone:ha' ]
     - [ 'neutron-api:ha', 'hacluster-neutron:ha' ]
index 929981e..16b7621 100644 (file)
@@ -1,6 +1,7 @@
     heat:
       charm: "local:{{ ubuntu.release }}/heat"
-      num_units: {{ unit_qty() }}
+      #num_units: {{ unit_qty() }}
+      num_units: 1
       options:
         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
         region: {{ os.region }}
         worker-multiplier: {{ os.api.worker_multiplier }}
 {% endif %}
 {% if os.ha.mode == 'ha' %}
-        vip: {{ opnfv.vip.heat }}
+#        vip: {{ opnfv.vip.heat }}
 {% endif %}
 {% if os.beta.public_api %}
 #        os-public-hostname: api.{{ opnfv.domain }}
 {% endif %}
       to:
 {% for unit_id in to_select() %}
-        - "lxc:nodes={{ unit_id }}"
+        #- "lxc:nodes={{ unit_id }}"
+        - "lxc:nodes=0"
 {% endfor %}
 {# Empty block to avoid bad block trim #}