Bug 1178009

Summary: [RHEVM][FOREMAN-INTEGRATION] picking "Use Foreman Hosts Providers" removes the "Use JSON protocol"
Product: Red Hat Enterprise Virtualization Manager Reporter: Yaniv Bronhaim <ybronhei>
Component: ovirt-engine-webadmin-portalAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED ERRATA QA Contact: movciari
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: bazulay, ecohen, gklein, iheim, lsurette, oourfali, pkliczew, pstehlik, rbalakri, Rhev-m-bugs, ybronhei, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: vt13.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-15 09:14:18 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: 1164308, 1164311    

Description Yaniv Bronhaim 2015-01-01 11:51:17 UTC
Description of problem:
by default "Use JSON protocol" is enabled. when clicking on "Use Foreman Hosts Providers" we automatically disable "Use JSON protocol". clicking again (disabling) "Use Foreman Hosts Providers" leaves "Use JSON Protocol" disabled.


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

How reproducible:
100%

Actual results:
"Use JSON Protocol" is disabled

Expected results:
keep "Use JSON Protocol" value as default.

Comment 1 Yaniv Bronhaim 2015-01-02 05:18:23 UTC
The UI default is to enable Json Protocol, but VDS object default for vds.protocol is XML. therefore, when choosing discovered host we set the AddHost form with vds defaults before choosing the host to discover. The initial form values are cleaned, so UI default doesn't really catch.

It is not a bug or the fix should be to set Json Protocol as default for VDS object. Any problems with doing that?

Comment 2 Piotr Kliczewski 2015-01-03 09:28:34 UTC
It looks like a bug. Default protocol should be set based on cluster level. Other than that it is ok to set json protocol as default.

Comment 3 movciari 2015-01-20 13:27:14 UTC
org.ovirt.engine-root-3.5.0-30 doesn't seem like version of rpm...
could you provide version of rpm where this is fixed so i test it on correct version, please?

Comment 5 Eyal Edri 2015-02-15 09:14:18 UTC
bugs were moved by ERRATA to RELEASE PENDING bug not closed probably due to errata error.
closing as 3.5.0 is released.