diff --git a/ovn/Chart.yaml b/ovn/Chart.yaml index 4187bda66..6a9e88cad 100644 --- a/ovn/Chart.yaml +++ b/ovn/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v23.3.0 description: OpenStack-Helm OVN name: ovn -version: 0.1.2 +version: 0.1.3 home: https://www.ovn.org icon: https://www.ovn.org/images/ovn-logo.png sources: diff --git a/ovn/templates/bin/_ovn.sh.tpl b/ovn/templates/bin/_ovn.sh.tpl index afb84d4e6..a6128d42a 100644 --- a/ovn/templates/bin/_ovn.sh.tpl +++ b/ovn/templates/bin/_ovn.sh.tpl @@ -970,8 +970,8 @@ ovn-master() { } add-external-id-configs() { - ovs-vsctl get open . external-ids:system-id - if [ $? -eq 1 ]; then + ovs-vsctl get open . external-ids:system-id 2>&1 | grep -q "no key" + if [ $? -eq 0 ]; then ovs-vsctl set open . external-ids:system-id="$(uuidgen)" fi diff --git a/releasenotes/notes/ovn.yaml b/releasenotes/notes/ovn.yaml index e8161de6d..e60055fef 100644 --- a/releasenotes/notes/ovn.yaml +++ b/releasenotes/notes/ovn.yaml @@ -3,4 +3,5 @@ ovn: - 0.1.0 Add OVN! - 0.1.1 Fix ovn db persistence issue - 0.1.2 Add bridge-mapping configuration + - 0.1.3 Fix system-id reuse ...