trying different option as delpoyment failed. 81/16581/2
authorNarinder Gupta <narinder.gupta@canonical.com>
Fri, 8 Jul 2016 04:24:02 +0000 (23:24 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Fri, 8 Jul 2016 04:27:24 +0000 (23:27 -0500)
Change-Id: I037057b59b2dd89f146cf65de03a2fe0053d19be
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/01-deploybundle.sh
ci/bundle_tpl/bundle.yaml
ci/bundle_tpl/mysql.yaml
ci/bundle_tpl/nova-cloud-controller.yaml

index 52486be..e53f3f5 100755 (executable)
@@ -154,9 +154,8 @@ fi
 python genBundle.py  -l deployconfig.yaml  -s $var > bundles.yaml
 
 echo "... Deployment Started ...."
-    juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"
-    #juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"-nodes
-    #check_status
-
+    juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"-nodes
     juju ssh nodes/0 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
     juju ssh nodes/1 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
+    juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"
+    #check_status
index 713a693..62047fb 100644 (file)
@@ -1,9 +1,12 @@
 # vim: set ts=2 et:
-{{ ubuntu.release }}-{{ os.release }}:
+{{ ubuntu.release }}-{{ os.release }}-nodes:
   inherits: openstack-phase1
   overrides:
 {% include 'phase2-overrides.yaml' %}
 
+{{ ubuntu.release }}-{{ os.release }}:
+  inherits: openstack-phase2
+
 openstack-phase1:
   services:
     nodes:
@@ -45,12 +48,16 @@ openstack-phase1:
 {% if os.ha.mode == 'ha' %}
 {% include 'haclusters.yaml' %}
 {% endif %}
-{% include 'subordinate.yaml' %}
 
   relations:
     - [ 'ntp:juju-info', 'nodes:juju-info' ]
 {% if os.ha.mode == 'ha' %}
 {% include 'harelations.yaml' %}
 {% endif %}
-{% include 'relations.yaml' %}
 
+openstack-phase2:
+  inherits: openstack-phase1
+  relations:
+{% include 'relations.yaml' %}
+  services:
+{% include 'subordinate.yaml' %}
index 2c618b2..110140e 100644 (file)
@@ -2,7 +2,7 @@
       charm: "local:{{ ubuntu.release }}/percona-cluster"
       num_units: {{ unit_qty() }}
       options:
-        innodb-buffer-pool-size: 2G
+        innodb-buffer-pool-size: 100M
         #lp1366997-workaround: true
         max-connections: 20000
         root-password: {{ get_password('mysql_root') }}
index 20e9bf4..1dfc47e 100644 (file)
@@ -2,7 +2,7 @@
       charm: "local:{{ ubuntu.release }}/nova-cloud-controller"
       num_units: {{ unit_qty() }}
       options:
-        console-access-protocol: novnc
+        #console-access-protocol: novnc
         neutron-external-network: ext-net
         service-guard: true
 {% if opnfv.domain is defined %}