-
Notifications
You must be signed in to change notification settings - Fork 119
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
Update cluster provisioning image to fedora 36 #799
Update cluster provisioning image to fedora 36 #799
Conversation
Fedora 31 is no longer supported so we should update to use Fedora 36. This change also includes a bump to the dockerize version to the latest release. Signed-off-by: Brian Carey <[email protected]>
Skipping CI for Draft Pull Request. |
/test check-provision-k8s-1.23 |
/test check-provision-k8s-1.23 |
/retest-required |
@@ -150,6 +150,6 @@ exec qemu-system-x86_64 -enable-kvm -drive format=qcow2,file=${next},if=virtio,c | |||
-append "$(cat /kernel.args) $(cat /additional.kernel.args) ${KERNEL_ARGS}" \ | |||
-vnc :${n} -cpu host,migratable=no,+invtsc -m ${MEMORY} -smp ${CPU} \ | |||
-serial pty -M q35,accel=kvm,kernel_irqchip=split \ | |||
-device intel-iommu,intremap=on,caching-mode=on -soundhw hda -soundhw ac97 \ | |||
-device intel-iommu,intremap=on,caching-mode=on -device intel-hda -device hda-duplex -device AC97 \ |
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.
now that -shoundhw
is gone, -device AC97
is more opaque; but why do we need audio on kubernetes nodes? Can it be dropped (on another 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.
Sorry I removed these too soon - soundhw is only removed qemu 7.1[1]. Fedora 36 has qemu 6.2. I have added the soundhw flags back in as they are more descriptive of what the device is. These soundcards are used for testing scenarios with the Kubevirt device plugin - #734
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.
Just note please that we do have this warning
qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead
qemu-system-x86_64: warning: '-soundhw hda' is deprecated, please use '-device intel-hda -device hda-duplex' instead
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 should remove those warnings:
#828
The backing file format is required since qemu v6.1[1] [1] https://github.com/qemu/qemu/blob/master/docs/about/removed-features.rst#qemu-img-backing-file-without-format-removed-in-61 Signed-off-by: Brian Carey <[email protected]>
The manifest directories have to be in place before carrying out the copy with scp. If the directories are not in place, the scp command will fail due to not being able to find the directories. Signed-off-by: Brian Carey <[email protected]>
a922172
to
b0c2120
Compare
/test check-provision-k8s-1.23 |
/test check-provision-k8s-1.24 |
@brianmcarey looks like we |
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
/hold
Unhold whenever it suits best.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhiller 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 |
bb98cde
to
b0c2120
Compare
/unhold |
|
||
ARG centos_version | ||
|
||
RUN dnf -y update nettle && dnf -y install jq iptables iproute dnsmasq qemu openssh-clients screen && dnf clean all | ||
RUN dnf -y install jq iptables iproute dnsmasq qemu openssh-clients screen && dnf clean all |
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 you explain why nettle is not required ?
(in PR desc / commit preferably if possible please)
Ah its update, maybe the shipped version is good enough ?
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.
Yes - when I was running this - the dnf update was not actually updating anything - nothing to update.
@oshoval - this change will help with issues like this - https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirtci/824/check-provision-k8s-1.24/1542137453714870272#1:build-log.txt%3A33 - can you take a look? |
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.
Thanks
/retest-required |
[da6af04 kind providers: Support Podman auto detection](kubevirt/kubevirtci#826) [5842a3c Update cluster provisioning image to fedora 36](kubevirt/kubevirtci#799) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[111fd50 cnao, Bump to v0.77.0 on all supported providers](kubevirt/kubevirtci#817) [010a2ec podman: Support non root user via root socket](kubevirt/kubevirtci#824) [da6af04 kind providers: Support Podman auto detection](kubevirt/kubevirtci#826) [5842a3c Update cluster provisioning image to fedora 36](kubevirt/kubevirtci#799) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[111fd50 cnao, Bump to v0.77.0 on all supported providers](kubevirt/kubevirtci#817) [010a2ec podman: Support non root user via root socket](kubevirt/kubevirtci#824) [da6af04 kind providers: Support Podman auto detection](kubevirt/kubevirtci#826) [5842a3c Update cluster provisioning image to fedora 36](kubevirt/kubevirtci#799) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
Am I doing something wrong? Also, any reason not to use |
It looks like old fedora images get cleaned up over time from quay. I would be in favour of just using I see that it has been updated to use the kubevirtci mirror - #849 - but there could still be some value in pulling the latest f36 from quay. |
It might break with unknown errors from time to time, and less deterministic between reprovisions If the owners would tag the versions it wont get deleted - if we can ask them that ?
|
Fedora 31 is no longer supported so we should update to use Fedora 36.
This change also includes a bump to the dockerize version to the latest
release.
Signed-off-by: Brian Carey [email protected]