From 7b8d459d14a751021265cd29dbe9920ceac71f3a Mon Sep 17 00:00:00 2001 From: dbcocle-ts Date: Tue, 18 Apr 2023 07:42:50 +0000 Subject: [PATCH] Fix ovn db persistence issue Change ovn db volume default mount to '/var/lib/ovn', as ovn(sb or nb) default use this directory. Closes-Bug: #2016844 Change-Id: I017781bd4df836949396c34f8ef5e6bd0f07efab --- ovn/Chart.yaml | 2 +- ovn/templates/statefulset-nb-db.yaml | 2 +- ovn/templates/statefulset-sb-db.yaml | 2 +- releasenotes/notes/ovn.yaml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ovn/Chart.yaml b/ovn/Chart.yaml index cea66fe57..97223ccae 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.0 +version: 0.1.1 home: https://www.ovn.org icon: https://www.ovn.org/images/ovn-logo.png sources: diff --git a/ovn/templates/statefulset-nb-db.yaml b/ovn/templates/statefulset-nb-db.yaml index 7440ab175..78d7b56a2 100644 --- a/ovn/templates/statefulset-nb-db.yaml +++ b/ovn/templates/statefulset-nb-db.yaml @@ -61,7 +61,7 @@ spec: subPath: ovn.sh readOnly: true - name: ovn-nb-db-data - mountPath: /data/db + mountPath: /var/lib/ovn volumes: - name: ovn-bin configMap: diff --git a/ovn/templates/statefulset-sb-db.yaml b/ovn/templates/statefulset-sb-db.yaml index 230cde67f..37c2ee0a6 100644 --- a/ovn/templates/statefulset-sb-db.yaml +++ b/ovn/templates/statefulset-sb-db.yaml @@ -61,7 +61,7 @@ spec: subPath: ovn.sh readOnly: true - name: ovn-sb-db-data - mountPath: /data/db + mountPath: /var/lib/ovn volumes: - name: ovn-bin configMap: diff --git a/releasenotes/notes/ovn.yaml b/releasenotes/notes/ovn.yaml index 4e2a875a7..e10272414 100644 --- a/releasenotes/notes/ovn.yaml +++ b/releasenotes/notes/ovn.yaml @@ -1,5 +1,6 @@ --- ovn: - 0.1.0 Add OVN! + - 0.1.1 Fix ovn db persistence issue ...