Bug 971801
Summary: | Packstack looks for qemu-kvm (instead of qemu-kvm-rhev) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Kashyap Chamarthy <kchamart> | ||||
Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Nir Magnezi <nmagnezi> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.0 | CC: | aortega, apevec, derekh, mmagr, ykaul | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-06-07 10:18:03 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: | |||||||
Attachments: |
|
Description
Kashyap Chamarthy
2013-06-07 10:04:24 UTC
*** This bug has been marked as a duplicate of bug 957632 *** Created attachment 758134 [details]
Patch for RHOS version
-package { 'qemu-kvm': +package { 'qemu-kvm-rhev': ensure => present, before => Class['nova::compute::libvirt'] } Before closing this with a workaround, let's understand the root-cause: * qemu-kvm-rhev does provide qemu-kvm and yum install qemu-kvm does the right thing if you have qemu-kvm-rhev avaiable in the enabled repositories * but Puppet's package ensure => present seems to be doing something wrong, from log provided by Derek it does rpm -qa (which doesn't include virtual RPM provides) and runs yumhelper: debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -qa --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH} debug: Puppet::Type::Package::ProviderYum: Executing '/bin/python /usr/share/ruby/vendor_ruby/puppet/provider/package/yumhelper.py' * I'm unclear what happens then to produce err: /Stage[main]//Package[qemu-kvm]/ensure: change from absent to present failed: Could not find package qemu-kvm Martin, please clarify the last point, isn't that a bug which should be fixed in Puppet package resource type? |