From af5830294b9abda6e61887ede0511c17b1e7a91e Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Fri, 6 Sep 2024 10:21:34 +0800 Subject: [PATCH] ci: fix missing longhorn-system namespace during iscsi installation Signed-off-by: Yang Chiu --- test_framework/scripts/longhorn-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_framework/scripts/longhorn-setup.sh b/test_framework/scripts/longhorn-setup.sh index d9c5761ff2..0baef9e1a7 100755 --- a/test_framework/scripts/longhorn-setup.sh +++ b/test_framework/scripts/longhorn-setup.sh @@ -497,6 +497,8 @@ run_longhorn_tests(){ main(){ set_kubeconfig + create_longhorn_namespace + if [[ ${DISTRO} == "rhel" ]] || [[ ${DISTRO} == "rockylinux" ]] || [[ ${DISTRO} == "oracle" ]]; then apply_selinux_workaround fi @@ -512,7 +514,6 @@ main(){ install_iscsi install_cluster_autoscaler fi - create_longhorn_namespace if [[ ${PYTEST_CUSTOM_OPTIONS} != *"--include-cluster-autoscaler-test"* ]]; then install_backupstores fi