Bug 1097331

Summary: The CLI info command doesn't report version numbers correctly
Product: Red Hat Enterprise Virtualization Manager Reporter: Chris Pelland <cpelland>
Component: ovirt-engine-cliAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED ERRATA QA Contact: Tareq Alayan <talayan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, cpelland, gklein, iheim, istein, juan.hernandez, juwu, lbopf, oramraz, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: rhevm-cli-3.4.0.6-4.el6ev Doc Type: Bug Fix
Doc Text:
Previously, the CLI info command did not report version numbers correctly. This happened because the CLI checked for the presence of 'ovirt-engine-sdk-python' and 'ovirt-engine-sdk' instead of the actual packages, 'rhevm-sdk-python' and 'rhevm-cli'. Now, the CLI uses the correct package names, and the version numbers are reported correctly.
Story Points: ---
Clone Of: 1097165 Environment:
Last Closed: 2014-07-29 14:07:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1097165    
Bug Blocks:    
Attachments:
Description Flags
Patch to fix the version number reporting none

Description Chris Pelland 2014-05-13 15:00:32 UTC
+++ This bug was initially created as a clone of Bug #1097165 +++

Description of problem:

The rhevm-shell "info" command doesn't report the version numbers of the SDK and the CLI correctly.

Version-Release number of selected component (if applicable):
rhevm-cli-3.4.0.6-3.el6ev.noarch


How reproducible:
Always.


Steps to Reproduce:
1. Start the rhevm-shell.
2. Run the "info" command.

Actual results:
backend version: 3.4
sdk version    : 0.0.0.0
cli version    : 0.0.0.0
python version : 2.6.6.final.0

Expected results:

backend version: 3.4
sdk version    : 3.4.1
cli version    : 3.4.0.6
python version : 2.6.6.final.0

Additional info:

This happens because the CLI is checking the versions of the packages using the upstream names ovirt-engine-sdk-python and ovirt-shell.

--- Additional comment from Juan Hernández on 2014-05-13 05:41:19 EDT ---

Comment 1 Juan Hernández 2014-05-13 15:05:55 UTC
Created attachment 895170 [details]
Patch to fix the version number reporting

Comment 3 Juan Hernández 2014-06-20 17:17:49 UTC
Moved back to MODIFIED as the package hasn't been included in a build released to QE yet.

Comment 4 Juan Hernández 2014-06-26 09:05:58 UTC
The build has been released to QE.

Comment 5 Tareq Alayan 2014-07-08 10:42:39 UTC
verified:


backend version: 3.4
sdk version    : 3.4.1.1
cli version    : 3.4.0.6
python version : 2.6.6.final.0

entry point    : https://10.35.161.144/ovirt-engine/api

Comment 7 errata-xmlrpc 2014-07-29 14:07:38 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-0965.html