From 5fc393c7d1474f32cbff49bac73aad9236dfc0e9 Mon Sep 17 00:00:00 2001 From: Cristiano Saggin <86964015+RH-csaggin@users.noreply.github.com> Date: Mon, 26 May 2025 10:38:48 +0200 Subject: [PATCH 1/3] Update ovn-db-run-locally Missing a dot(.) to correctly point to the utils file in below folder --- debug-scripts/local-scripts/ovn-db-run-locally | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-scripts/local-scripts/ovn-db-run-locally b/debug-scripts/local-scripts/ovn-db-run-locally index d0d163b..2cf4198 100755 --- a/debug-scripts/local-scripts/ovn-db-run-locally +++ b/debug-scripts/local-scripts/ovn-db-run-locally @@ -1,6 +1,6 @@ #!/bin/bash set -euo pipefail -source ./utils +source ../utils description() { echo "Run ovn-kubernetes container with ovn db restored from a given file" From b54fd2aa39d81773e82938260a5c83073fb4921e Mon Sep 17 00:00:00 2001 From: Cristiano Saggin <86964015+RH-csaggin@users.noreply.github.com> Date: Mon, 26 May 2025 10:44:51 +0200 Subject: [PATCH 2/3] Update ovn-db-run-locally Forced podman pull with [--arch=amd64] option to make it compatible with macOS --- debug-scripts/local-scripts/ovn-db-run-locally | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-scripts/local-scripts/ovn-db-run-locally b/debug-scripts/local-scripts/ovn-db-run-locally index 2cf4198..261a032 100755 --- a/debug-scripts/local-scripts/ovn-db-run-locally +++ b/debug-scripts/local-scripts/ovn-db-run-locally @@ -56,7 +56,7 @@ main() { exit 1 fi - CONTAINER=$($CONTAINER_ENGINE run -t -d --entrypoint /bin/bash quay.io/openshift/origin-ovn-kubernetes:latest) + CONTAINER=$($CONTAINER_ENGINE run --arch=amd64 -t -d --entrypoint /bin/bash quay.io/openshift/origin-ovn-kubernetes:latest) # cleanup if container is successfully created trap clean_up EXIT From bba57df875ffa4d8d12f86f31e64d62b59466e46 Mon Sep 17 00:00:00 2001 From: Cristiano Saggin <86964015+RH-csaggin@users.noreply.github.com> Date: Mon, 26 May 2025 11:58:09 +0200 Subject: [PATCH 3/3] Update ovn-dbs-run-locally added missing dot(.) form source utils --- debug-scripts/local-scripts/ovn-dbs-run-locally | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-scripts/local-scripts/ovn-dbs-run-locally b/debug-scripts/local-scripts/ovn-dbs-run-locally index a1ebeba..6366133 100755 --- a/debug-scripts/local-scripts/ovn-dbs-run-locally +++ b/debug-scripts/local-scripts/ovn-dbs-run-locally @@ -1,7 +1,7 @@ #!/bin/bash set -euo pipefail -source ./utils +source ../utils description() { echo "Run multiple ovn-kubernetes containers with ovn dbs restored from files in a given directory"