fix(ovs): bump ovs chart version to 0.1.14
diff --git a/charts/designate/requirements.lock b/charts/designate/requirements.lock
index f0b3e95..3e39f9d 100644
--- a/charts/designate/requirements.lock
+++ b/charts/designate/requirements.lock
@@ -3,4 +3,4 @@
repository: file://../../openstack-helm-infra/helm-toolkit
version: 0.2.53
digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-05-28T07:16:19.885779385Z"
+generated: "2023-06-15T05:06:33.81687004Z"
diff --git a/charts/magnum/requirements.lock b/charts/magnum/requirements.lock
index 09e7631..54efd89 100644
--- a/charts/magnum/requirements.lock
+++ b/charts/magnum/requirements.lock
@@ -3,4 +3,4 @@
repository: file://../../openstack-helm-infra/helm-toolkit
version: 0.2.53
digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-05-28T07:16:34.819546723Z"
+generated: "2023-06-15T05:06:39.971311252Z"
diff --git a/charts/openvswitch/Chart.yaml b/charts/openvswitch/Chart.yaml
index ae2d963..639a1b1 100644
--- a/charts/openvswitch/Chart.yaml
+++ b/charts/openvswitch/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://github.com/openvswitch/ovs
- https://opendev.org/openstack/openstack-helm
-version: 0.1.10
+version: 0.1.14
diff --git a/charts/openvswitch/charts/helm-toolkit/Chart.yaml b/charts/openvswitch/charts/helm-toolkit/Chart.yaml
index 404f380..7d3703e 100644
--- a/charts/openvswitch/charts/helm-toolkit/Chart.yaml
+++ b/charts/openvswitch/charts/helm-toolkit/Chart.yaml
@@ -9,4 +9,4 @@
sources:
- https://opendev.org/openstack/openstack-helm-infra
- https://opendev.org/openstack/openstack-helm
-version: 0.2.52
+version: 0.2.53
diff --git a/charts/openvswitch/charts/helm-toolkit/requirements.lock b/charts/openvswitch/charts/helm-toolkit/requirements.lock
index 39023e8..8967de5 100644
--- a/charts/openvswitch/charts/helm-toolkit/requirements.lock
+++ b/charts/openvswitch/charts/helm-toolkit/requirements.lock
@@ -1,3 +1,3 @@
dependencies: []
digest: sha256:643d5437104296e21d906ecb15b2c96ad278f20cfc4af53b12bb6069bd853726
-generated: "2023-03-17T16:48:36.562591008Z"
+generated: "2023-06-29T15:31:35.029995827Z"
diff --git a/charts/openvswitch/charts/helm-toolkit/templates/scripts/_db-init.py.tpl b/charts/openvswitch/charts/helm-toolkit/templates/scripts/_db-init.py.tpl
index 4294d40..6027b95 100644
--- a/charts/openvswitch/charts/helm-toolkit/templates/scripts/_db-init.py.tpl
+++ b/charts/openvswitch/charts/helm-toolkit/templates/scripts/_db-init.py.tpl
@@ -133,8 +133,10 @@
# Create DB User
try:
root_engine.execute(
- "GRANT ALL ON `{0}`.* TO \'{1}\'@\'%%\' IDENTIFIED BY \'{2}\' {3}".format(
- database, user, password, mysql_x509))
+ "CREATE USER IF NOT EXISTS \'{0}\'@\'%%\' IDENTIFIED BY \'{1}\' {2}".format(
+ user, password, mysql_x509))
+ root_engine.execute(
+ "GRANT ALL ON `{0}`.* TO \'{1}\'@\'%%\'".format(database, user))
logger.info("Created user {0} for {1}".format(user, database))
except:
logger.critical("Could not create user {0} for {1}".format(user, database))
diff --git a/charts/openvswitch/requirements.lock b/charts/openvswitch/requirements.lock
index d3495d7..87c086a 100644
--- a/charts/openvswitch/requirements.lock
+++ b/charts/openvswitch/requirements.lock
@@ -1,6 +1,6 @@
dependencies:
- name: helm-toolkit
repository: file://../helm-toolkit
- version: 0.2.52
-digest: sha256:d7c1d04fc7525277f29dac7fc7d2996c60cb3e708f487cd2bf88a0236454f7e3
-generated: "2023-03-17T16:48:45.363831485Z"
+ version: 0.2.53
+digest: sha256:ffe3f3b02607e6a035f38f83855988fd8d5c388dbd0bd46e75c22b493a50ede9
+generated: "2023-06-29T15:31:44.911872049Z"
diff --git a/charts/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl b/charts/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl
index a1a29cc..93aaa60 100644
--- a/charts/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl
+++ b/charts/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl
@@ -109,7 +109,11 @@
function poststart () {
# This enables the usage of 'ovs-appctl' from neutron-ovs-agent pod.
-
+ until [ -f $OVS_PID ]
+ do
+ echo "Waiting for file $OVS_PID"
+ sleep 1
+ done
PID=$(cat $OVS_PID)
OVS_CTL=/run/openvswitch/ovs-vswitchd.${PID}.ctl
chown {{ .Values.pod.user.nova.uid }}.{{ .Values.pod.user.nova.uid }} ${OVS_CTL}
diff --git a/charts/openvswitch/values.yaml b/charts/openvswitch/values.yaml
index b131faa..4c6971c 100644
--- a/charts/openvswitch/values.yaml
+++ b/charts/openvswitch/values.yaml
@@ -20,8 +20,8 @@
images:
tags:
- openvswitch_db_server: docker.io/openstackhelm/openvswitch:latest-ubuntu_bionic
- openvswitch_vswitchd: docker.io/openstackhelm/openvswitch:latest-ubuntu_bionic
+ openvswitch_db_server: docker.io/openstackhelm/openvswitch:latest-ubuntu_focal
+ openvswitch_vswitchd: docker.io/openstackhelm/openvswitch:latest-ubuntu_focal
dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
image_repo_sync: docker.io/library/docker:17.07.0
pull_policy: "IfNotPresent"
@@ -44,6 +44,9 @@
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
+ - key: node-role.kubernetes.io/control-plane
+ operator: Exists
+ effect: NoSchedule
probes:
ovs:
ovs_db:
diff --git a/charts/senlin/requirements.lock b/charts/senlin/requirements.lock
index 303a93c..ab96af3 100644
--- a/charts/senlin/requirements.lock
+++ b/charts/senlin/requirements.lock
@@ -3,4 +3,4 @@
repository: file://../../openstack-helm-infra/helm-toolkit
version: 0.2.53
digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-05-28T07:16:25.835976656Z"
+generated: "2023-06-15T05:06:37.587407475Z"
diff --git a/charts/tempest/requirements.lock b/charts/tempest/requirements.lock
index 5227e97..61e60da 100644
--- a/charts/tempest/requirements.lock
+++ b/charts/tempest/requirements.lock
@@ -3,4 +3,4 @@
repository: file://../../openstack-helm-infra/helm-toolkit
version: 0.2.53
digest: sha256:f8f4fbba6f638b79447f7e458933b07deb792ae30a14df5900bde542cf0e64a6
-generated: "2023-05-28T07:16:29.539078062Z"
+generated: "2023-06-15T05:06:42.232741529Z"
diff --git a/hack/sync-charts.sh b/hack/sync-charts.sh
index 68412c5..328d5f4 100755
--- a/hack/sync-charts.sh
+++ b/hack/sync-charts.sh
@@ -120,7 +120,7 @@
curl -sL https://tarballs.opendev.org/openstack/openstack-helm/placement-${PLACEMENT_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts
-OPEN_VSWITCH_VERSION=0.1.10
+OPEN_VSWITCH_VERSION=0.1.14
curl -sL https://tarballs.opendev.org/openstack/openstack-helm-infra/openvswitch-${OPEN_VSWITCH_VERSION}.tgz \
| tar -xz -C ${ATMOSPHERE}/charts