Bug 1113000

Summary: foreman-integration: declare errors for foreman return values
Product: Red Hat Enterprise Virtualization Manager Reporter: Yaniv Bronhaim <ybronhei>
Component: ovirt-engineAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED CURRENTRELEASE QA Contact: movciari
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: gklein, iheim, lpeer, masayag, mmucha, oourfali, pstehlik, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: org.ovirt.engine-root-3.5.0-13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 17:16:22 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: 1165208    
Bug Blocks: 1156162    

Description Yaniv Bronhaim 2014-06-25 08:57:34 UTC
Such as "name already exist", "value error", "syntax error" and so on. Currently such errors throws VdcBllErrors.PROVIDER_FAILURE that doesn't explain anything about the failure and it forces the user to check for foreman's production log to understand what's wrong.

Comment 1 Oved Ourfali 2014-08-12 08:12:20 UTC
*** Bug 1124887 has been marked as a duplicate of this bug. ***

Comment 2 Yaniv Bronhaim 2014-08-30 00:18:18 UTC
patch 31179 is just partial of the fix. we still need to find more generic solution to show foreman's response

Comment 3 Eyal Edri 2014-09-28 11:29:47 UTC
this bug was moved to MODIFIED before vt4 build date thus moving to ON_QA.
if you belive this bug isn't in vt4, please report to rhev-integ

Comment 4 Petr Beňas 2014-11-11 11:55:52 UTC
This looks like a code change and it seems there is nothing to be tested here. If you think otherwise, please provide steps to reproduce.

Comment 5 Yaniv Bronhaim 2014-11-11 15:39:17 UTC
Its really easy to see this case. this bug is a bit similar to Bug 1124891 but talking only on AuthenticationError (maybe we should update the title). referring to the patch comment you see:
""""
On addProvider form the user fills authentication parameters to
communicate with external provider.
This patch adds more detailed warning message if the parameters are
wrong and the authentication failed.
""""

this quite explains the test case

Comment 6 Eyal Edri 2015-02-17 17:16:22 UTC
rhev 3.5.0 was released. closing.