Bug 1097331 - The CLI info command doesn't report version numbers correctly
Summary: The CLI info command doesn't report version numbers correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.1
Assignee: Juan Hernández
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
Depends On: 1097165
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-13 15:00 UTC by Chris Pelland
Modified: 2016-02-10 19:29 UTC (History)
12 users (show)

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.
Clone Of: 1097165
Environment:
Last Closed: 2014-07-29 14:07:38 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to fix the version number reporting (3.16 KB, patch)
2014-05-13 15:05 UTC, Juan Hernández
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0965 0 normal SHIPPED_LIVE rhevm-cli bug fix update 2014-07-29 18:07:00 UTC

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


Note You need to log in before you can comment on or make changes to this bug.