Bug 1097165

Summary: The CLI info command doesn't report version numbers correctly
Product: Red Hat Enterprise Virtualization Manager Reporter: Juan Hernández <juan.hernandez>
Component: ovirt-engine-cliAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acathrow, cpelland, gklein, iheim, istein, oramraz, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: rhevm-cli-3.4.0.6-4.el6ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1097331 (view as bug list) Environment:
Last Closed: 2014-06-20 17:42:03 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:    
Bug Blocks: 1097331, 1142923, 1156165    
Attachments:
Description Flags
Patch to fix the version number reporting none

Description Juan Hernández 2014-05-13 09:36:40 UTC
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.

Comment 1 Juan Hernández 2014-05-13 09:41:19 UTC
Created attachment 895077 [details]
Patch to fix the version number reporting