Bug 1142945 - [ovirt] [vdsm-jsonrpm] vdsm-json RPC doesn't provide advice about cluster compatibility level
Summary: [ovirt] [vdsm-jsonrpm] vdsm-json RPC doesn't provide advice about cluster com...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm-jsonrpc-java
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.5.0
Assignee: Piotr Kliczewski
QA Contact: Antonin Pagac
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-17 15:58 UTC by Simone Tiraboschi
Modified: 2016-02-10 19:30 UTC (History)
8 users (show)

Fixed In Version: ovirt-3.5.0_rc3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-17 12:28:56 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)
nw_1 (62.12 KB, application/octet-stream)
2014-09-18 15:24 UTC, Simone Tiraboschi
no flags Details
nw_2 (45.44 KB, application/octet-stream)
2014-09-18 15:24 UTC, Simone Tiraboschi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 33076 0 master MERGED core: jsonrpc only for 3.5 cluster compatibility level Never
oVirt gerrit 33137 0 ovirt-engine-3.5 MERGED core: jsonrpc only for 3.5 cluster compatibility level Never

Description Simone Tiraboschi 2014-09-17 15:58:27 UTC
Description of problem:
I'm using two host: one for the engine, the other as an hypervisor.
Both with latest fedora 19 updates.
I installed the ovirt engine, release 3.5 RC2, on the first host and from the web admin UI I was trying to add the second host without adding 3.5 repo on that.



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

How reproducible:
100%

Steps to Reproduce:
1. two fedora 19 hosts, install the engine on one of them
2. Downgrade cluster level to 3.3
3. without adding any additional rpms repository on the second host try to add it via the web admin gui using jsonrpc

Actual results:
If I tray with jsonrpc the host goes into unassigned state without any details, with xmlrpc instead it shows:
'Host f19t12.localdomain is compatible with versions (3.0,3.1,3.2,3.3) and cannot join Cluster Default which is set to version 3.5.'

Expected results:
I got a detailed error message regarding cluster level as xmlrpc does.

Additional info:

Comment 1 Piotr Kliczewski 2014-09-18 14:27:05 UTC
Can you please give more information what you mean in #3 in steps to reproduce?
I do not understand what version you tried to add.

Comment 2 Piotr Kliczewski 2014-09-18 14:50:01 UTC
Please provide engine.log as well.

Comment 3 Simone Tiraboschi 2014-09-18 15:23:36 UTC
Please try with two fedora 19 hosts:

1. on the first one add oVirt 3.5 RC2 yum repository and install the engine as usual; it should create a Default datacenter with a default cluster with 3.5 compatibility level.

2. on the second host don't add oVirt 3.5 RC2 yum repository and just rely on packages from fedora 19 updates repository.

3. try to add the second host to the cluster both using jsonrpc or xmlrpc.

Here my results:

nw_1: fresh f19, no ovirt 3.5 repo, jsonrpc, failed with 'Host f19t14.localdomain installation failed. Network error during communication with the host.'
nw_2: fresh f19, no ovirt 3.5 repo, xmlrpc, failed with 'Host f19t14.localdomain is compatible with versions (3.0,3.1,3.2,3.3) and cannot join Cluster Default which is set to version 3.5.

xmlrpc correctly detects the cluster compatibility level, jsonrpc fails.

I'm attaching my logs.

Comment 4 Simone Tiraboschi 2014-09-18 15:24:02 UTC
Created attachment 938938 [details]
nw_1

Comment 5 Simone Tiraboschi 2014-09-18 15:24:32 UTC
Created attachment 938939 [details]
nw_2

Comment 6 Sandro Bonazzola 2014-10-17 12:28:56 UTC
oVirt 3.5 has been released and should include the fix for this issue.


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