Bug 1044300

Summary: qemu-kvm-rhev fail to find qemu-img when yum install since qemu-imgs version always follows with qemu-kvm
Product: Red Hat Enterprise Linux 7 Reporter: Luwen Su <lsu>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: acathrow, ajia, bili, dyuan, hhuang, juzhang, mzhan, sluo, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-07 07:20:15 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:
Embargoed:

Description Luwen Su 2013-12-18 03:58:36 UTC
Description of problem:
As we know , on rhel7 , qemu-kvm-rhev and qemu-kvm shared on qemu-img .
But when the version of that two package different , there will be a dependency issue when install qemu-kvm-rhev


Version-Release number of selected component (if applicable):
qemu-kvm-rhev-1.5.3-21.el7.x86_64 
qemu-img-1.5.3-24.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1.
#yum install qemu-kvm-rhev

Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package qemu-kvm-rhev.x86_64 10:1.5.3-21.el7 will be installed
--> Processing Dependency: qemu-img = 10:1.5.3-21.el7 for package: 10:qemu-kvm-rhev-1.5.3-21.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 10:qemu-kvm-rhev-1.5.3-21.el7.x86_64 (rhevh)
           Requires: qemu-img = 10:1.5.3-21.el7
           Installed: 10:qemu-img-1.5.3-24.el7.x86_64 (@rhevh)
               qemu-img = 10:1.5.3-24.el7
           Available: 10:qemu-img-1.5.3-19.el7.x86_64 (RHEL-Server)
               qemu-img = 10:1.5.3-19.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


2.
As you saw , there is no a backup qemu-img to stay the 21 version to satisfy qemu-kvm-rhev , it will always upgrade the version with qemu-kvm.
So i must ether to find a yum repo have the same qemu-img as qemu-kvm-rhev , or download the qemu-img 21 version rpm to install manually to workaround the dependency issue.


But whatever the ways use , it make the yum install fail.

Actual results:
Fail to use yum to installation


Expected results:
I'm not sure  how qemu handle it by qemus design.


Additional info:

Comment 2 Sibiao Luo 2013-12-18 05:10:26 UTC
This maybe duplicate to bug 1007204.

Comment 3 Miroslav Rezanina 2014-01-07 07:20:15 UTC
(In reply to Sibiao Luo from comment #2)
> This maybe duplicate to bug 1007204.

You're right. rhev counterpart of qemu-kvm should be build for every version.

*** This bug has been marked as a duplicate of bug 1007204 ***