| Summary: | Failed to upgrade qemu-kvm-tools-rhev from 2.3.0 to 2.5.0 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | yafu <yafu> |
| Component: | qemu-kvm-rhev | Assignee: | Miroslav Rezanina <mrezanin> |
| Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chayang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.3 | CC: | armbru, chayang, jen, juzhang, knoel, mprivozn, mrezanin, virt-maint, xfu, yafu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-rhev-2.6.0-6.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-07 21:02:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
yafu
2016-03-23 10:14:11 UTC
*** Bug 1336646 has been marked as a duplicate of this bug. *** This is starting to have a negative impact. Raising priority to HIGH. It looks like for some reason this is not really running as an update. Can you please provide the complete yum output? OK, I think I got the problem:
rpm in it's great wisdom determines the "color" (the package being 32 or 64 bit) by the contents of the files.
rpm -qp --qf="[%{filenames} %{filecolors}\n]" ~/Downloads/qemu-kvm-tools-rhev-2.3.0-31.el7.x86_64.rpm
/usr/bin/kvm_stat 0
/usr/share/qemu-kvm/tscdeadline_latency.flat 1
rpm -qp --qf="[%{filenames} %{filecolors}\n]" ~/Downloads/qemu-kvm-tools-rhev-2.6.0-1.el7.x86_64.rpm
/usr/bin/ivshmem-client 2
/usr/bin/ivshmem-server 2
/usr/bin/kvm_stat 0
/usr/share/qemu-kvm/tscdeadline_latency.flat 1
So it thinks qemu-kvm-tools-rhev-2.3.0-31.el7.x86_64.rpm is color 1 (aka i32). So the new package (which is correctly detected as 64 bit due to the new 64 bit tools in it) does not update it.
Whether using the file content in this way is a good idea is probably not for discussion as we probably can't change that within the RHEL release. Can you try to just Obsolete the 2.3 Package from the new one, please?
We should *not* package ivshmem-client and ivshmem-server! These are example programs, not ready for production use and certainly not supportable in their current form. Fix included in qemu-kvm-rhev-2.6.0-6.el7 -- Reproduced with qemu-kvm-rhev-2.5.0-4.el7 # rpm -Uvh qemu-kvm-rhev-2.5.0-4.el7/qemu-kvm-tools-rhev-2.5.0-4.el7.x86_64.rpm Preparing... ################################# [100%] file /usr/share/qemu-kvm/tscdeadline_latency.flat from install of qemu-kvm-tools-rhev-10:2.5.0-4.el7.x86_64 conflicts with file from package qemu-kvm-tools-rhev-10:2.3.0-31.el7_2.20.x86_64 # rpm -qpl qemu-kvm-rhev-2.5.0-4.el7/qemu-kvm-tools-rhev-2.5.0-4.el7.x86_64.rpm /usr/bin/ivshmem-client /usr/bin/ivshmem-server /usr/bin/kvm_stat /usr/share/qemu-kvm/tscdeadline_latency.flat -- Verified pass with qemu-kvm-rhev-2.6.0-22.el7 # rpm -qpl qemu-kvm-tools-rhev-2.6.0-22.el7.x86_64.rpm /usr/bin/kvm_stat /usr/share/qemu-kvm/tscdeadline_latency.flat # rpm -Uvh qemu-kvm-tools-rhev-2.6.0-22.el7.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:qemu-kvm-tools-rhev-10:2.6.0-22.e################################# [ 50%] Cleaning up / removing... 2:qemu-kvm-tools-rhev-10:2.3.0-31.e################################# [100%] *** Bug 1374263 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2673.html |