Bug 891301 - version values for hosts are wrong (major="-1" minor="-1" build="-1" revision="-1")
Summary: version values for hosts are wrong (major="-1" minor="-1" build="-1" revision...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
high
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Ravi Nori
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
Depends On:
Blocks: 904935 915537
TreeView+ depends on / blocked
 
Reported: 2013-01-02 14:17 UTC by Eyal Edri
Modified: 2016-02-10 19:00 UTC (History)
10 users (show)

Fixed In Version: sf4
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 904935 (view as bug list)
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 10687 0 None None None Never

Description Eyal Edri 2013-01-02 14:17:40 UTC
Description of problem:

when running api call for hosts:

2013-01-01 12:17:57,722 - MainThread - root - ERROR - Response href: https://jenkins-automation-rpm-vm31.eng.lab.tlv.redhat.com/api/hosts, status 200 is not valid against xsd schema
2013-01-01 12:17:57,723 - MainThread - root - ERROR - Response body: 
<hosts>
    <host href="/api/hosts/f8e92641-8192-4a29-8d17-fda985a7edfb" id="f8e92641-8192-4a29-8d17-fda985a7edfb">
          ......
          .......

        <version major="-1" minor="-1" build="-1" revision="-1"/>

          ......
    </host>
</hosts>

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


How reproducible:


Steps to Reproduce:
1. install latest sf and add 6.4 host with cluster level 3.1
2.
3.
  
Actual results:


Expected results:
versions shouldn't be < 0 and should reflect the actual version (3.2.0?)

Additional info:

Comment 6 Ravi Nori 2013-01-06 14:20:47 UTC
link : http://gerrit.ovirt.org/#/c/10687/

change id : Ib6cf8f5480b29e07b60f36465b8fa0db74ee5246

This patch suppresses the version infrmation from /api/hosts xml if the version is unknown (-1).

Comment 8 Oded Ramraz 2013-01-24 15:27:56 UTC
<version major="4" minor="10" build="2" revision="0" full_version="vdsm-4.10.2-4.0.el6ev"/>

Verified sf4

Comment 9 Itamar Heim 2013-06-11 08:53:50 UTC
3.2 has been released

Comment 10 Itamar Heim 2013-06-11 08:53:53 UTC
3.2 has been released

Comment 11 Itamar Heim 2013-06-11 08:54:03 UTC
3.2 has been released

Comment 12 Itamar Heim 2013-06-11 08:57:20 UTC
3.2 has been released

Comment 13 Itamar Heim 2013-06-11 09:27:05 UTC
3.2 has been released


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