Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci-deploy-release script should only deploy local-csi-driver if SO_CSI_DRIVER_PATH env var is not empty #1987

Closed
rzetelskik opened this issue Jun 24, 2024 · 4 comments · Fixed by #1992
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@rzetelskik
Copy link
Member

What happened?

ci-deploy-release script times out waiting for local-csi-driver to roll out, despite SO_CSI_DRIVER_PATH being empty.

https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/ci-scylla-operator-latest-e2e-gke-arm64-serial/1805169160804634624#1:test-build-log.txt%3A306

/kind bug
/priority important-soon
/assign rzetelskik

What did you expect to happen?

local-csi-driver shouldn't be deployed and the script shouldn't wait for it to roll out.

How can we reproduce it (as minimally and precisely as possible)?

n/a

Scylla Operator version

master

Kubernetes platform name and version

n/a

Please attach the must-gather archive.

n/a

Anything else we need to know?

No response

@rzetelskik rzetelskik added the kind/bug Categorizes issue or PR as related to a bug. label Jun 24, 2024
@scylla-operator-bot scylla-operator-bot bot added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Jun 24, 2024
@rzetelskik
Copy link
Member Author

rzetelskik commented Jun 24, 2024

Alternatively, if we don't want to use SO_CSI_DRIVER_PATH there, it should skip local-csi-driver deployment if SO_NODECONFIG_PATH is empty.

@tnozicka
Copy link
Member

empty string is a valid intention to skip and allows you to distinguish between forgetting to set the value and explicitly asking not to do it

@rzetelskik
Copy link
Member Author

empty string is a valid intention to skip and allows you to distinguish between forgetting to set the value and explicitly asking not to do it

Looking at ci-deploy-release and run-e2e-gke-release there is no SO_CSI_DRIVER_PATH whatsoever so it looks like the intention was to always run it with local-csi-driver. This is wrong imo as it's not always desired, e.g. when running our serial suite.

@tnozicka
Copy link
Member

I agree, for serial suite you have to delete the nodeconfig before starting the e2e, or make this conditional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
2 participants