Bug 977434

Summary: [vdsm] vdsm does not support engine versions 3.2 and 3.3
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: vdsmAssignee: Mooli Tayer <mtayer>
Status: CLOSED ERRATA QA Contact: Barak Dagan <bdagan>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.3.0CC: acathrow, bazulay, bdagan, dougsland, eedri, iheim, jkt, lpeer, mtayer, pstehlik, yeylon, yzaslavs
Target Milestone: ---Keywords: Reopened
Target Release: 3.3.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: is8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 16:08:53 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:

Description Elad 2013-06-24 14:30:49 UTC
Description of problem:
vdsm version 4.11 does not support engine versions that are higher than 3.1:



[root@green-vdsb ~]# vdsClient -s 0 getVdsCaps |grep supportedENGINEs
        supportedENGINEs = ['3.0', '3.1']


/usr/share/vdsm/dsaversion.py :

version_info = {
    'version_name': version_name,
    'software_version': software_version,
    'software_revision': software_revision,
    'supportedENGINEs': ['3.0', '3.1'],
    'supportedProtocols': ['2.2', '2.3'],
    'clusterLevels': ['3.0', '3.1', '3.2', '3.3'],




Version-Release number of selected component (if applicable):
vdsm-4.11


Expected results:
vdsm should support all engine versions

Comment 1 Itamar Heim 2013-06-25 06:13:22 UTC
actually this was fixed already with:
http://gerrit.ovirt.org/#/c/15663/
http://gerrit.ovirt.org/#/c/15675/

*but* iirc we also need supportedRHEVMs for RHEV-M 3.0 / backward compatibility downstream?

Comment 2 Mooli Tayer 2013-07-14 14:31:50 UTC
the variable named "supportedRHEVMs" was renamed to "supportedENGINEs":
http://gerrit.ovirt.org/#/c/8661/

Looking at the history of VdsProperties.java  it appears 'supportedENGINEs' was always expected as described in the above gerrit

Comment 3 Itamar Heim 2013-07-14 20:03:16 UTC
Mooli - how does this resolve my comment 1?

Comment 12 Mooli Tayer 2013-10-31 15:25:53 UTC
Can you please provide info on why we cannot see this commit http://gerrit.ovirt.org/#/c/15675/ downstream?

Comment 14 Barak Dagan 2013-10-31 15:53:39 UTC
It was supposed to be merged in is8, but wasn't merged, apparently, in is14.
re-verified on IS20.1

/usr/share/vdsm/dsaversion.py 

version_name = "Snow Man"
# FIXME: As soon as we can provide a long version/release to oVirt-Engine
#        remove from vdsm.spec the sed to replace the below macros
software_version = "4.13"
software_revision = "0.5"
raw_version_revision = "4.13.0-0.5.beta1.el6ev"

version_info = {
    'version_name': version_name,
    'software_version': software_version,
    'software_revision': software_revision,
    'supportedENGINEs': ['3.0', '3.1', '3.2', '3.3'],
    'supportedRHEVMs': ['3.0'],
    'supportedProtocols': ['2.2', '2.3'],
    'clusterLevels': ['3.0', '3.1', '3.2', '3.3'],


# vdsClient -s 0 getVdsCaps |grep supportedENGINEs
	supportedENGINEs = ['3.0', '3.1', '3.2', '3.3']

Comment 15 Charlie 2013-11-28 00:28:18 UTC
This bug is currently attached to errata RHBA-2013:15291. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to 
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 16 errata-xmlrpc 2014-01-21 16:08:53 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-0040.html