Bug 825168
Summary: | 3.1 (cloned to 6.3.z) - KVM version is N/A in RHEVM | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Guohua Ouyang <gouyang> |
Component: | vdsm | Assignee: | Douglas Schilling Landgraf <dougsland> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Tomas Dosek <tdosek> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.3 | CC: | abaron, bazulay, cpelland, cshao, danken, dougsland, gouyang, hadong, huiwa, iheim, leiwang, mburns, moli, sgordon, ycui, ykaul, yuachen |
Target Milestone: | rc | Keywords: | Regression, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Red Hat Enterprise Linux 6.3 included the new qemu-kvm-rhev package. Existing versions of VDSM were not able to correctly determine the version information for hosts with qemu-kvm-rhev installed. As a result the KVM version would be listed as 'N/A' for these hosts in the Red Hat Enterprise Virtualization Manager. VDSM has been updated and will now correctly report the KVM version for hosts, regardless of which qemu-kvm package is installed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-23 15:15:09 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: | |||
Bug Depends On: | |||
Bug Blocks: | 830787, 834105 |
Description
Guohua Ouyang
2012-05-25 09:37:34 UTC
This is due to the move to qemu-kvm-rhev in 6.3. in vdsm/caps.py KEY_PACKAGES = ['qemu-kvm', 'qemu-img', 'vdsm', 'spice-server', 'libvirt'] pkgs = {'kernel': kernelDict()} try: for pkg in KEY_PACKAGES: rc, out, err = utils.execCmd([constants.EXT_RPM, '-q', '--qf', '%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n', pkg], sudo=False) if rc: continue line = out[-1] n, v, r, t = line.split() pkgs[pkg] = dict(version=v, release=r, buildtime=t) except: logging.error('', exc_info=True) return pkgs This could be solved using "--whatprovides" flag to rpm command rc, out, err = utils.execCmd([constants.EXT_RPM, '-q', '--qf', '%{NAME}\t%{VERSION}\t%{RELEASE}\t%{BUILDTIME}\n', '--whatprovides', pkg], sudo=False) now that the patch has been pushed to the rhev-3.1 branch (v4.9.6-14-6-g3a0496e), this bug has exhausted its purpose. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Red Hat Enterprise Linux 6.3 included the new qemu-kvm-rhev package. Existing versions of VDSM were not able to correctly determine the version information for hosts with qemu-kvm-rhev installed. As a result the KVM version would be listed as 'N/A' for these hosts in the Red Hat Enterprise Virtualization Manager. VDSM has been updated and will now correctly report the KVM version for hosts, regardless of which qemu-kvm package is installed. |