Fix OVN system-id check

Change-Id: I8a161893fb84b32f550a99d139f7a57c98b21c12
This commit is contained in:
Sadegh Hayeri 2023-07-26 19:57:20 +03:30
parent 027bcefbd4
commit 80cf20c586
3 changed files with 4 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

@ -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
...