Bug 1375232

Summary: Make connection_configuration respect the default authentication type
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ProvidersAssignee: Yaacov Zamir <yzamir>
Status: CLOSED CURRENTRELEASE QA Contact: Einat Pacifici <epacific>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: jfrey, jhardy, obarenbo, simaishi, yzamir
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376174 (view as bug list) Environment:
Last Closed: 2017-01-11 20:01:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1376174    

Description John Prause 2016-09-12 14:06:18 UTC
When using connection_configurations on ems_container default authentication is nil, because the connection_configuration_by_role method does not respect the authentication default type.

Comment 2 John Prause 2016-09-12 14:07:00 UTC
https://github.com/ManageIQ/manageiq/pull/9845

Comment 6 Tony 2016-11-27 09:34:27 UTC
Verified on 5.7.0.12-rc2. Here is the output:

irb(main):008:0* ExtManagementSystem.first.connection_configuration_by_role("default").authentication.authtype
PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0
=> "bearer"