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
# 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:
{% 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' %}
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') }}
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 %}