Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1581309

Summary: 'test failed unknown error' when adding OSP Glance provider using https
Product: [oVirt] ovirt-engine Reporter: Dave <dfitzpat>
Component: Frontend.WebAdminAssignee: Eyal Shenitzky <eshenitz>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: alhernan, bugs, dfitzpat, mperina, tnisan
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-31 14:12:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1392586    
Bug Blocks:    
Attachments:
Description Flags
ext provider info
none
ext provider info2 + error message
none
ext provider working
none
test_succeeded_1
none
test_succeeded_2
none
/var/log/ovirt-engine/engine.log none

Description Dave 2018-05-22 13:36:42 UTC
Created attachment 1440167 [details]
ext provider info

Description of problem:
When adding an external provider (OSP Glance) to RHV the built in test button claims the test has fails which tells the end user that the connection won't work. This is false. If you ignore the error or don't perform the test and click ok the external provider is added to the inventory and images can be imported successfully. Screenshots attached

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

How reproducible:
Always

Steps to Reproduce:
1. add new external provider 
2. input credentials
3. click test

Actual results:
"Test Failed (unknown error)"

Expected results:
Test returns valid status.

Additional info:
This is reproducible.

Comment 1 Dave 2018-05-22 13:37:31 UTC
Created attachment 1440169 [details]
ext provider info2 + error message

Comment 2 Dave 2018-05-22 13:37:59 UTC
Created attachment 1440170 [details]
ext provider working

Comment 3 Eyal Shenitzky 2018-05-28 05:38:31 UTC
Created attachment 1442700 [details]
test_succeeded_1

Comment 4 Eyal Shenitzky 2018-05-28 05:39:04 UTC
Created attachment 1442701 [details]
test_succeeded_2

Comment 5 Eyal Shenitzky 2018-05-28 05:47:23 UTC
Dave, I tested and tried to add an external provider using 'OpenStack image' type.

Comment 6 Eyal Shenitzky 2018-05-28 05:49:04 UTC
(In reply to Eyal Shenitzky from comment #5)
> Dave, I tested and tried to add an external provider using 'OpenStack image'
> type.

Please ignore the above comment.

So it seems like this issue reproduce when trying to test the connection using 'https'.

Tal, is this storage related issue?

Comment 7 Tal Nisan 2018-05-28 07:44:11 UTC
Basically external image providers are our realm, if you suspect it's a general https issue then you can consult infra

Comment 8 Martin Perina 2018-05-28 12:53:55 UTC
Could you please provide engine.log which included the error?

Comment 11 Dave 2018-05-30 12:28:04 UTC
Created attachment 1445827 [details]
/var/log/ovirt-engine/engine.log

/var/log/ovirt-engine/engine.log immediately after a ext provider was added. the test button was clicked before clicking ok

Comment 12 Eyal Shenitzky 2018-05-31 13:07:28 UTC
This bug depends on RFE 1392586 which marked as WONTFIX.

Tal, do we want to re-open the RFE?

Comment 13 Tal Nisan 2018-05-31 14:12:20 UTC
No, it's quite clear now if it only fails for SSL, closing as a duplicate

*** This bug has been marked as a duplicate of bug 1392586 ***