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

Release 0.53 #2

Closed
wants to merge 44 commits into from
Closed

Release 0.53 #2

wants to merge 44 commits into from

Conversation

kmabda
Copy link
Collaborator

@kmabda kmabda commented May 24, 2022

sync upstream release-0.53 branch

oshoval and others added 30 commits May 5, 2022 11:28
If a user tries to remove all the interfaces from a stopped VM with enabled MQ,
he will fail because at least one virtio interface should exist.

In case AutoattachPodInterface is enabled, kubevirt will
auto attach virtio interface, so the configuration will
be valid (MQ requires at least one virtio interface).
In case AutoattachPodInterface is disabled, there will be
no interfaces, and since the number of queues is set per
interface, the configuration will still be valid.

fixes https://bugzilla.redhat.com/show_bug.cgi?id=2061208

Signed-off-by: Or Shoval <[email protected]>
Launcher in versions v0.43-v0.51 recognizes VMI as nonroot
if kubevirt.io/nonroot annotation is present. Therefore
we need to mark the VMI with this annotation upon migration
to be able to seamlessly update from these versions.

Signed-off-by: L. Pivarc <[email protected]>
…e-0.53

[release-0.53] Fix root to nonroot migration
Signed-off-by: akriti gupta <[email protected]>
Signed-off-by: akriti gupta <[email protected]>
Some processes require adding files to the root of XDG_CACHE_HOME/XDG_CONFIG_HOME.
We currently just use /var/run and assume the container user can write to it.
/var/run/kubevirt-private is a better place for that, since it is managed by k8s.

Signed-off-by: Jed Lejosne <[email protected]>
Handle a case where we were discarding a possible image name prefix in virtctl guestfs.
BZ #2068905.

Signed-off-by: Alex Kalenyuk <[email protected]>
We want unprivileged users to be able to make this GET,
otherwise they can't infer the guestfs image.

Signed-off-by: Alex Kalenyuk <[email protected]>
Previously there was assumption that all PVCs that
are passed to the function will be block volume mode
PVCs. This assumption is wrong.

Signed-off-by: L. Pivarc <[email protected]>
Recently we upgraded cirros and alpine images to
new versions. These versions need more memory to
boot. Therefore we are doubling the memory from
64MiB to 128MiB.

Signed-off-by: L. Pivarc <[email protected]>
…e-0.53

[release-0.53] Increase memory in upgrade test
Previously this would be None in some cases.

Signed-off-by: L. Pivarc <[email protected]>
Allow running the rule on SELinux enabled system

Signed-off-by: L. Pivarc <[email protected]>
…e-0.53

[release-0.53] NoReadyVirtController and NoReadyVirtOperator are never triggered
…e-0.53

[release-0.53] non-root: use /var/run/kubevirt-private for cache and config files
We need to have the test names unique, otherwise the junit-merger
complains when they are run. Unfortunately this can only be reproduced
with an OpenShift cluster. That is also the reason why the tests never
failed upstream, since they never were run.

Signed-off-by: Daniel Hiller <[email protected]>
…e-0.53

[release-0.53] Make names of access tests around test_id:2921 unique
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit cf1fab9)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit 91ffa6c)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit a938c70)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit a7ba7d8)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit 165ba0a)
Signed-off-by: Jed Lejosne <[email protected]>
and potentially entenring a crash loop

Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit 4e9411a)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit b70abf3)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit 414c1db)
Signed-off-by: Jed Lejosne <[email protected]>
as well as NFS CSI.
Not sure wich declaration belongs to project-infra or kubevirt...

Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit 570273e)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit a965d83)
Signed-off-by: Jed Lejosne <[email protected]>
jean-edouard and others added 14 commits May 18, 2022 14:44
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit 7842b53)
Signed-off-by: Jed Lejosne <[email protected]>
Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit b71b223)
Signed-off-by: Jed Lejosne <[email protected]>
When testing update by updating virt-operator, the virt-operator manifest gets removed from the cluster.
However, the virt-operator manifest includes the kubevirt namespace, so all resources in the namespace get removed.
Testing manifests are part of that, and so they need to be reinstalled or subsequent tests might fail.

Signed-off-by: Jed Lejosne <[email protected]>
(cherry picked from commit 0ec2c45)
Signed-off-by: Jed Lejosne <[email protected]>
We don't use SR-IOV operator anymore,
hence remove dumping it's resources.

Signed-off-by: Or Shoval <[email protected]>
virt-launcher doesn't have lspci command anymore.
Hence remove it from the reporter.

Signed-off-by: Or Shoval <[email protected]>
Since the command is split by spaces,
it results in syntax error for commands that
have a bash condition.
Remove the condition, it will simply say the file
doesn't exists upon and error.

Signed-off-by: Or Shoval <[email protected]>
…e-0.53

[release-0.53] virt-launcher overhead: bump virtlogd and add logs to functest
[release-0.53] Fix/Skip tests that are incompatible with single-replica environments
…e-0.53

[release-0.53] multiqueue: Accept specs with MQ, and without explicit interfaces
…e-0.53

[release-0.53] Handle virtctl guestfs incorrectly assuming image name, grant access to /guestfs endpoint
…e-0.53

[release-0.53] Remove assumption in changeOwnershipOfBlockDevices
…e-0.53

[release-0.53] k8s reporter: Remove deprecated parts
@kmabda kmabda closed this May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants