-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rpm: Update virtualization packages #9159
Conversation
Skipping CI for Draft Pull Request. |
/cc @jean-edouard |
7486fbf
to
0746922
Compare
@rmohr please take a look at the commit "rpm: Manually fix URL for passt package". Is this something that we can address in bazeldnf? |
Note that the PR is currently marked as draft because libvirt 9.0.0 is not available in CentOS Stream 9 yet. That should hopefully change next week :) |
0746922
to
14cc92d
Compare
Yes definitely. Is the package pinned? If not, we should fix it very soon, because we could break automatic version bumps of the unpinned packages. |
So we would just always generate fully escaped URLs? That sounds like a good idea in general. I haven't looked at the logic handling this, so I'm unclear on how much of the generated URL is assembled by bazeldnf from smaller building blocks and how much is taken verbatim from other sources such as the repository's repodata files.
It is pinned. Moreover, the third-party repository that's currently used is somehow not triggering the issue. I think that might be because its baseurl already contains an escaped caret. |
This variable is used in hack/rpm-deps.sh and it needs to be possible to override it when calling 'make rpm-deps', as is the case for all other variables of the same kind. Fixes: 68db282 Signed-off-by: Andrea Bolognani <abologna@redhat.com>
We want to be able to pin the version for this component, just like we already do for all other virtualization packages. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Specifically: QEMU 7.1.0 -> 7.2.0 libvirt 8.10.0 -> 9.0.0 SeaBIOS 1.16.0 -> 1.16.1 EDKII 20220826 -> 20221207 passt 20221026 -> 20221110 virtiofsd 1.4.0 -> 1.5.0 swtpm 0.7.0 -> 0.8.0 Signed-off-by: Andrea Bolognani <abologna@redhat.com>
It hasn't actually been needed since the switch to CentOS Stream 9. See https://bugzilla.redhat.com/show_bug.cgi?id=1989514#c19 and later comments for more details. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The URL generated by 'make rpm-deps' contains a caret, which bazel loudly complains about at build time: Error downloading passt-0^20221110.g4129764-1.el9.x86_64.rpm: Illegal character in path at index 78: https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/passt-0^20221110.g4129764-1.el9.x86_64.rpm For whatever reason, this was not a problem with the previous URL for the passt package, which also contained a caret. In that case, the unescaped caret only appeared after one that was properly escaped, which apparently made things okay somehow? In any case, escaping the caret makes bazel happy and this manual tweak successfully survives a 'make rpm-deps' run, so we can work around the problem this way until a proper solution is found. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
passt is part of CentOS Stream 9 now, so we no longer need to use a custom repository for it. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
To match the updated RPM package. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
14cc92d
to
622a825
Compare
A libvirt 9.0.0 build has made its way into CentOS Stream 9 composes, so there's no longer anything (that I'm currently aware of ;) preventing this from being merged. |
622a825
to
065f00d
Compare
The bazel issue with the passt URL was no longer showing up locally, so I figured I'd drop the corresponding commit and see whether CI would be okay with that. Well, it was not :( |
/retest |
The fossa test is failing but it seems to be unrelated to my changes. Everything else is green. Anyone willing to lgtm/approve? |
/lgtm This also fixes |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rmohr 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 |
/retest |
@andreabolognani: 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/test-infra repository. I understand the commands that are listed here. |
/cherrypick release-0.59 |
@fossedihelm: new pull request created: #9264 In response to this:
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/test-infra repository. |
What this PR does / why we need it:
Update virtualization packages. Specifically:
Release note: