[engine-web-admin] engine reports that host cannot join to cluster due to rhev compatibility version issues when it should report about the real issue, which is vdsm compatiblity versions in it's DB
Created attachment 760651[details]
engine log and screenshot
Description of problem:
engine wrongly reports about issues with rhev compatibility issues when trying to attach a new host to cluster that have vdsm version that is not present in it's DB.
I added host with vdsm-4.11* which is not present in DB:
engine=# select * from vdc_options where option_name ilike '%version%';
option_id | option_name | option_value | version
-----------+---------------------------------+---------------+---------
190 | MinimalETLVersion | 3.2.0 | general
223 | OvirtInitialSupportedIsoVersion | 2.5.5 | general
255 | ProductRPMVersion | 3.3.0.0 | general
341 | VdcVersion | 3.3.0.0 | general
304 | SupportedVDSMVersions | 4.9,4.10 | general
1 | BootstrapMinimalVdsmVersion | 4.9 | general
Version-Release number of selected component (if applicable):
rhevm-3.2.0-11.29.el6ev.noarch
How reproducible:
100%
Steps to Reproduce:
1. try to join a non-compatible vdsm-version host to rhev cluster
Actual results:
engine reports:
"Host green-vdsb is compatible with versions (3.0,3.1,3.2,3.3) and cannot join Cluster iscsi2 which is set to version 3.2."
Expected results:
engine should report on the real problem - that vdsm version is not compatible and not rhev version
Additional info:
engine log and screenshot
Created attachment 760651 [details] engine log and screenshot Description of problem: engine wrongly reports about issues with rhev compatibility issues when trying to attach a new host to cluster that have vdsm version that is not present in it's DB. I added host with vdsm-4.11* which is not present in DB: engine=# select * from vdc_options where option_name ilike '%version%'; option_id | option_name | option_value | version -----------+---------------------------------+---------------+--------- 190 | MinimalETLVersion | 3.2.0 | general 223 | OvirtInitialSupportedIsoVersion | 2.5.5 | general 255 | ProductRPMVersion | 3.3.0.0 | general 341 | VdcVersion | 3.3.0.0 | general 304 | SupportedVDSMVersions | 4.9,4.10 | general 1 | BootstrapMinimalVdsmVersion | 4.9 | general Version-Release number of selected component (if applicable): rhevm-3.2.0-11.29.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. try to join a non-compatible vdsm-version host to rhev cluster Actual results: engine reports: "Host green-vdsb is compatible with versions (3.0,3.1,3.2,3.3) and cannot join Cluster iscsi2 which is set to version 3.2." Expected results: engine should report on the real problem - that vdsm version is not compatible and not rhev version Additional info: engine log and screenshot