Change-Id: I037057b59b2dd89f146cf65de03a2fe0053d19be
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
python genBundle.py -l deployconfig.yaml -s $var > bundles.yaml
echo "... Deployment Started ...."
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 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
-{{ ubuntu.release }}-{{ os.release }}:
+{{ ubuntu.release }}-{{ os.release }}-nodes:
inherits: openstack-phase1
overrides:
{% include 'phase2-overrides.yaml' %}
inherits: openstack-phase1
overrides:
{% include 'phase2-overrides.yaml' %}
+{{ ubuntu.release }}-{{ os.release }}:
+ inherits: openstack-phase2
+
openstack-phase1:
services:
nodes:
openstack-phase1:
services:
nodes:
{% if os.ha.mode == 'ha' %}
{% include 'haclusters.yaml' %}
{% endif %}
{% 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 %}
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' %}
charm: "local:{{ ubuntu.release }}/percona-cluster"
num_units: {{ unit_qty() }}
options:
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') }}
#lp1366997-workaround: true
max-connections: 20000
root-password: {{ get_password('mysql_root') }}
charm: "local:{{ ubuntu.release }}/nova-cloud-controller"
num_units: {{ unit_qty() }}
options:
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 %}
neutron-external-network: ext-net
service-guard: true
{% if opnfv.domain is defined %}