pastebinit bundles.yaml || true
echo "... Deployment Started ...."
-juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $opnfvdistro-"$openstack"-nodes
+juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $opnfvdistro-"$openstack"
# seeing issue related to number of open files.
# juju run --service nodes 'echo 2048 | sudo tee /proc/sys/fs/inotify/max_user_instances'
let c+=1
done
-juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $opnfvdistro-"$openstack" || true
# vim: set ts=2 et:
-{{ ubuntu.release }}-{{ os.release }}-nodes:
- inherits: openstack-phase1
- #overrides:
-{% include 'phase2-overrides.yaml' %}
-
{{ ubuntu.release }}-{{ os.release }}:
- inherits: openstack-phase2
-
-openstack-phase1:
services:
{% if os.hyperconverged %}
nodes:
{% if os.ha.mode == 'ha' %}
{% include 'haclusters.yaml' %}
{% endif %}
+{% include 'subordinate.yaml' %}
{% if os.hyperconverged %}
relations:
{% if os.ha.mode == 'ha' %}
{% include 'harelations.yaml' %}
{% endif %}
-
-openstack-phase2:
- inherits: openstack-phase1
- relations:
{% include 'relations.yaml' %}
- services:
-{% include 'subordinate.yaml' %}
juju status > status.txt
if [ "$(grep -c "executing" status.txt )" -ge 1 ]; then
echo " still executing the reltionship within charms ..."
- if [ $timeoutiter -ge 60 ]; then
+ if [ $timeoutiter -ge 90 ]; then
retval=1
fi
timeoutiter=$((timeoutiter+1))