while [ $retval -eq 0 ]; do
sleep 30
juju status > status.txt
- if [ "$(grep -c "waiting" status.txt )" -ge 2 ]; then
+ if [ "$(grep -c "waiting" status.txt )" -ge 3 ]; then
echo " still waiting for machines ..."
if [ $timeoutiter -ge 240 ]; then
retval=1
"": internal-api
{% endif %}
to:
- - "lxd:nodes/0"
+{% if k8.network.controller == 'ovn' %}
+ - "nodes/1"
+{% else %}
+ - "lxd:nodes/0"
+{% endif %}
etcd:
charm: "cs:~containers/etcd"
{% if k8.feature.loadbalancer %}
+{% if k8.network.controller == 'ovn' %}
+ num_units: 1
+{% else %}
num_units: 3
+{% endif %}
{% else %}
num_units: 1
{% endif %}
"": internal-api
{% endif %}
to:
+{% if k8.network.controller == 'ovn' %}
+ - "nodes/0"
+{% else %}
{% if k8.feature.loadbalancer %}
{% for unit_id in to_select() %}
- "lxd:nodes/0"
{% else %}
- "lxd:nodes/0"
{% endif %}
+{% endif %}
{% if k8.network.controller == 'ovn' %}
options:
channel: 1.5/stable
+ service-cidr: "192.168.200.0/24"
{% endif %}
to:
- "nodes/0"
ovn:
- charm: "cs:~aakashkt/ovn-2"
+ charm: "cs:~aakashkt/ovn-8"
{% if os.service.bindings %}
bindings:
"": internal-api
{% endif %}
options:
- gateway-physical-interface: "intf100"
\ No newline at end of file
+ gateway-physical-interface: "none"
\ No newline at end of file