Skip to content

Add an alias to KUBEVIRT_WITH_MULTUS_V3 #1468

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

orelmisan
Copy link
Member

What this PR does / why we need it:
Currently, the KUBEVIRT_WITH_MULTUS_V3 environment variable is used to specify the user's desire to directly deploy Multus v3 (not via CNAO).

In preparation for upgrading the Multus version from 3.x to 4.x, add another environment variable KUBEVIRT_WITH_MULTUS that will be used to specify the user's desire to directly deploy Multus.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:
Multus will be upgraded from v3.x to v4.x in a follow-up PR.

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note:

NONE

Currently, the `KUBEVIRT_WITH_MULTUS_V3` environment variable is used to
specify the user's desire to directly deploy Multus v3 (not via CNAO).

In preparation for upgrading the Multus version from 3.x to 4.x,
add another environment variable `KUBEVIRT_WITH_MULTUS` that will be
used to specify the user's desire to directly deploy Multus.

Signed-off-by: Orel Misan <[email protected]>
Following the previous commit, use the newly introduced
`KUBEVIRT_WITH_MULTUS` environment variable.

Signed-off-by: Orel Misan <[email protected]>
@kubevirt-bot kubevirt-bot added the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label Jun 29, 2025
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign davidvossel for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@orelmisan
Copy link
Member Author

/cc @EdDev @oshoval @nirdothan

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @orelmisan - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@oshoval
Copy link
Contributor

oshoval commented Jun 29, 2025

can it be done in the same PR that update to multus V4 ?
this is confusing and kubevirt (maybe also project-infra) still uses KUBEVIRT_WITH_MULTUS_V3
if a release of kubevirtci is released in the middle it can do theoretical noise, and i dont see how crucial it is
to have it in a separated PR in this specific case please

@orelmisan
Copy link
Member Author

can it be done in the same PR that update to multus V4 ? this is confusing and kubevirt (maybe also project-infra) still uses KUBEVIRT_WITH_MULTUS_V3 if a release of kubevirtci is released in the middle it can do theoretical noise, and i dont see how crucial it is to have it in a separated PR in this specific case please

Because there is a delicate dance involving kubevirt, kubevirtci and project-infra, this has to be performed in little steps in order to keep everything running.

@orelmisan
Copy link
Member Author

Additionally, AFAICT, there wasn't a release of kubevirtci since 2020.

Copy link
Member

@EdDev EdDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it would be simpler if we always deploy multus directly, to avoid this question being raised.
But perhaps we should focus on this later to allow other projects to feedback on it.

Thanks.

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 29, 2025
@oshoval
Copy link
Contributor

oshoval commented Jun 29, 2025

Additionally, AFAICT, there wasn't a release of kubevirtci since 2020.

there is a release on each PR, look on the tags

we cant change those flags in steps, if it can break

@orelmisan
Copy link
Member Author

IMO it would be simpler if we always deploy multus directly, to avoid this question being raised. But perhaps we should focus on this later to allow other projects to feedback on it.

Thanks.

This is the overall plan, the execution is done in little steps in order to keep everything working.

@orelmisan
Copy link
Member Author

Additionally, AFAICT, there wasn't a release of kubevirtci since 2020.

there is a release on each PR, look on the tags

we cant change those flags in steps, if it can break

This is the reason an environment variable is added in addition to the existing one - so nothing will break until it is properly consumed.

@oshoval
Copy link
Contributor

oshoval commented Jun 29, 2025

This is the reason an environment variable is added in addition to the existing one - so nothing will break until it is properly consumed.

Yes and no, it is indeed added side by side as affecting the config, but replaced on the check-up already
anyhow counting on you

@orelmisan
Copy link
Member Author

This is the reason an environment variable is added in addition to the existing one - so nothing will break until it is properly consumed.

Yes and no, it is indeed added side by side as affecting the config, but replaced on the check-up already anyhow counting on you

Do you have a concern regarding the check-cluster-up.sh being changed?

@oshoval
Copy link
Contributor

oshoval commented Jun 29, 2025

Do you have a concern regarding the check-cluster-up.sh being changed?

all good nothing major

@kubevirt-bot
Copy link
Contributor

@orelmisan: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
check-provision-k8s-1.31-s390x a68e64c link false /test check-provision-k8s-1.31-s390x

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/enhancement lgtm Indicates that a PR is ready to be merged. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants