Bug 1375232 - Make connection_configuration respect the default authentication type
Summary: Make connection_configuration respect the default authentication type
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.7.0
Assignee: Yaacov Zamir
QA Contact: Einat Pacifici
URL:
Whiteboard:
Depends On:
Blocks: 1376174
TreeView+ depends on / blocked
 
Reported: 2016-09-12 14:06 UTC by John Prause
Modified: 2018-06-05 11:10 UTC (History)
5 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1376174 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:01:48 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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"


Note You need to log in before you can comment on or make changes to this bug.