-
Notifications
You must be signed in to change notification settings - Fork 123
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
fix: Wait until istio cni files appear before copying them #1262
Conversation
cc: @brianmcarey |
a5b773f
to
10f7aaf
Compare
function copy_istio_cni_conf_files() { | ||
if [ "$KUBEVIRT_DEPLOY_ISTIO" == "true" ] && [ "$KUBEVIRT_WITH_CNAO" == "true" ]; then | ||
for nodeNum in $(seq -f "%02g" 1 $KUBEVIRT_NUM_NODES); do | ||
$ssh node${nodeNum} -- "until ls /etc/cni/multus > /dev/null 2>&1; do sleep 1; done" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a danger here that it could sleep forever?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its unlikely, since if istio is deployed with cnao the cni file then it will create this cni file. if it couldn't then it would crash before getting here
but i will add a timeout for extra safety
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do this change in separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
@aerosouund you mentioned that you ran the sig-network tests locally against this and the tests looked ok?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brianmcarey The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Yeah indeed, to be exact not all. The ones that were failing. I.E the ones in the file vmi_istio.go |
Unfortunately, we have no ability or capacity to support the redo of the network changes accepted as part of the bash-to-go migration. |
@@ -43,6 +46,12 @@ func (o *cnaoOpt) Exec() error { | |||
continue | |||
} | |||
|
|||
if path == "manifests/network-addons-config-example.cr.yaml" && o.multusEnabled { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a test for this?
@EdDev all we are asking here is to verify whether the changes to the manifests are reasonable - we will make sure that the other changes do work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks of the PR, please see my comment below and inline comments.
In general it seem to do more then what the title and description say, such as CNAO downgrade, and adding timeout for changes around istio files.
For next time, please make sure a PR does exactly what it describe, and if necessary break it down to smaller PRs.
Regarding commit "fix: Use CNAO v0.94", such changes as version upgrade/downgrade for a component should be done in a self contained PR.
Having such changes makes code-review easier and keep reviewers from being distracted by other changes (noise).
In addition it enable quick revert in case of an issue.
For next time, post separate PR for CNAO version change.
@@ -95,4 +104,6 @@ function up() { | |||
echo "Waiting for cluster components..." | |||
sleep 5 | |||
done | |||
|
|||
copy_istio_cni_conf_files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the previous comment and links to tracking issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIU changes should be exactly as before, initially introduced by #932
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added them again
@@ -812,7 +812,7 @@ func provisionK8sOptions(sshClient libssh.Client, k8sClient k8s.K8sDynamicClient | |||
} | |||
|
|||
if n.CNAO { | |||
cnaoOpt := cnao.NewCnaoOpt(k8sClient, sshClient) | |||
cnaoOpt := cnao.NewCnaoOpt(k8sClient, sshClient, n.Multus) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CNAO should also deploy the dynamic-network-controller for kubevirt/kubevirt e2e tests.
Please ensure the current behavior remains.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this parameter is controlled by the overall KUBEVIRT_WITH_MULTUS_V3
param
from a callers perspective everything will work the same.
and what it previously was is that if this variable is passed multus is deployed separately. not by CNAO.
see this comment i left for or shoval inquiring about the same thing: 7b8b9e8#r146222431
of if you're referring to something else let me know
@@ -9,3 +9,5 @@ spec: | |||
kubeSecondaryDNS: {} | |||
linuxBridge: {} | |||
macvtap: {} | |||
multus: {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change belong to previous commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you are referring to the multus issue then it was squashed
@@ -19,7 +19,7 @@ function deploy_kwok() { | |||
function copy_istio_cni_conf_files() { | |||
if [ "$KUBEVIRT_DEPLOY_ISTIO" == "true" ] && [ "$KUBEVIRT_WITH_CNAO" == "true" ]; then | |||
for nodeNum in $(seq -f "%02g" 1 $KUBEVIRT_NUM_NODES); do | |||
$ssh node${nodeNum} -- "until ls /etc/cni/multus > /dev/null 2>&1; do sleep 1; done" | |||
timeout 60 $ssh node${nodeNum} -- "until ls /etc/cni/multus > /dev/null 2>&1; do sleep 1; done" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is not related to this PR according to title and description.
Please move this change to new PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, but it was added as a part of a previous review: #1262 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevertheless, this change is not related to this PR, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ormergi
Yes its not, maybe we can separate it another PR indeed
edit: removed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aerosouund Let's minimize the changes so we fix the issues first and then we will improve
ff8127c
to
030d55a
Compare
Signed-off-by: aerosouund <[email protected]>
Previous version of CNAO introduced a problem with passt binding Signed-off-by: aerosouund <[email protected]>
7aef52a
to
bfef686
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aerosouund I have left few questions
|
||
# copy_istio_cni_conf_files copy the generated Istio CNI net conf file | ||
# (at '/etc/cni/multus/net.d/') to where Multus expect CNI net conf files ('/etc/cni/net.d/') | ||
function copy_istio_cni_conf_files() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aerosouund Is this something new or did we have this before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was there before
@@ -812,7 +812,7 @@ func provisionK8sOptions(sshClient libssh.Client, k8sClient k8s.K8sDynamicClient | |||
} | |||
|
|||
if n.CNAO { | |||
cnaoOpt := cnao.NewCnaoOpt(k8sClient, sshClient) | |||
cnaoOpt := cnao.NewCnaoOpt(k8sClient, sshClient, n.Multus) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aerosouund Can you please explain the reasoning to the code as well. This was something that took me time to connect. Please enhance the commit message as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed it can be enhanced, will do
@@ -22,7 +22,3 @@ spec: | |||
- istio-system | |||
- kube-system | |||
logLevel: debug | |||
cniConfFileName: "istio-cni.conf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just mention in commit that this reverts to previous configuration
… enabled This logic is controlled by the cluster-up variable KUBEVIRT_WITH_MULTUS_V3. If this variable is passed then it will get parsed as a gocli flag, which then gets added to the node config using the nodesconfig.WithMultus(deployMultus) line in run.go In this case multus is omitted from the CNAO CR and deployed using its actual manifests Signed-off-by: aerosouund <[email protected]>
This is the same configuration that existed prior to kubevirt#1217 getting merged. Ths addition of this lead to troubles with istio passt binding, as passt wasn't able to bind to port 22 due to insufficient permissions Signed-off-by: aerosouund <[email protected]>
bfef686
to
3ecb052
Compare
@xpivarc |
@xpivarc |
…with and without Multus properly when passing the multusEnabled argument Signed-off-by: aerosouund <[email protected]>
fe87943
to
e0c0250
Compare
@aerosouund: The following test failed, say
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. |
[88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[939e610 fix the busybox netcat not found issue in fedora-test-tooling for s390x.](kubevirt/kubevirtci#1268) [4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[939e610 fix the busybox netcat not found issue in fedora-test-tooling for s390x.](kubevirt/kubevirtci#1268) [4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[939e610 fix the busybox netcat not found issue in fedora-test-tooling for s390x.](kubevirt/kubevirtci#1268) [4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[fc9be0a Fix prometheus port](kubevirt/kubevirtci#1272) [eff1926 Allow opting out of frequent etcd flushes to storage](kubevirt/kubevirtci#1266) [939e610 fix the busybox netcat not found issue in fedora-test-tooling for s390x.](kubevirt/kubevirtci#1268) [4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[fc9be0a Fix prometheus port](kubevirt/kubevirtci#1272) [eff1926 Allow opting out of frequent etcd flushes to storage](kubevirt/kubevirtci#1266) [939e610 fix the busybox netcat not found issue in fedora-test-tooling for s390x.](kubevirt/kubevirtci#1268) [4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[fc9be0a Fix prometheus port](kubevirt/kubevirtci#1272) [eff1926 Allow opting out of frequent etcd flushes to storage](kubevirt/kubevirtci#1266) [939e610 fix the busybox netcat not found issue in fedora-test-tooling for s390x.](kubevirt/kubevirtci#1268) [4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[fc9be0a Fix prometheus port](kubevirt/kubevirtci#1272) [eff1926 Allow opting out of frequent etcd flushes to storage](kubevirt/kubevirtci#1266) [939e610 fix the busybox netcat not found issue in fedora-test-tooling for s390x.](kubevirt/kubevirtci#1268) [4ad94f0 Label rook storage class](kubevirt/kubevirtci#1267) [88a4f6b fix: Wait until istio cni files appear before copying them](kubevirt/kubevirtci#1262) [4cc1018 Run ./hack/bump-cdi.sh](kubevirt/kubevirtci#1249) [6149a01 Include manifests that are part of gocli when checking for prepull images](kubevirt/kubevirtci#1265) [1b17b20 fix: Remove extra slash in file path and remove unneeded sed](kubevirt/kubevirtci#1258) [b35649a Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1257) [374b5e9 bug: Move namespace and CRD files to names with higher alphabetical order to be created first](kubevirt/kubevirtci#1255) [79bfd07 Run bazel run //robots/cmd/kubevirtci-bumper:kubevirtci-bumper -- -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1256) [ba145b2 bug: Fix KSM flag passing to the gocli](kubevirt/kubevirtci#1254) [8501d22 Opts package](kubevirt/kubevirtci#1217) [4f37d07 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1250) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iiuc now all the providers have the same file ?
it means we cant have separated cnao anymore for each provider?
at the past the untangling of the folders was done deliberately for that
please consider if this is the desired behavior
if there will be problems, it would block us, we can either fix it or be proactive if it happens
thanks
What this PR does / why we need it:
This fixes the issue that appeared with the rewrite of the istio cluster option to go: https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/12677/pull-kubevirt-e2e-k8s-1.31-sig-network/1829308375628779520
A brief description of the issue is that during the rewrite the code that copied the istio cni files to /etc/cni/net.d was removed because both issues referenced were closed and because it caused cluster-up to crash
The reason why it would crash is because this code was previously being called after a period of waiting to allow for istio cni files to appear (not deliberately, the code was waiting for something else)
this pull request introduces this wait again after ensuring that the cni files appeared on the hosts
It also updates CNAO manifests deployed by the gocli to v0.94.1 which is the version used before using the gocli in deploying those manifests.
As well as remove this part from the yaml manifest of istio operator with CNAO
This part was not previously in the manifest and was incorrectly added in #1217
The effect of this is an error during VMI sync from passt being unable to bind to port 22 and the VMI being stuck in
Scheduled
stateAnd lastly this PR also omits multus from the CNAO CR being deployed in case multus is requested in the cluster to be installed on its own through the
KUBEVIRT_WITH_MULTUS_V3
variable, by moving this logicinto this go logic
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: