Skip to content

Commit

Permalink
Fix Openstack InfraManager credential validation
Browse files Browse the repository at this point in the history
This fixes the openstack platform director credential validation.  The
Openstack InfraManager doesn't define an auth_url so this was raising an
exception during validation.  This aligns the task arguments with the
openstack cloud manager.
  • Loading branch information
agrare committed Nov 6, 2017
1 parent 16d30e3 commit ed4a431
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/mixins/ems_common_angular.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ def get_task_args(ems)

[ems.build_connect_params(connect_opts), true]
when 'ManageIQ::Providers::Openstack::InfraManager'
auth_url = ems.auth_url(params[:default_hostname], params[:default_api_port])
[user, password, auth_url]
[password, params.except(:default_password)]
when 'ManageIQ::Providers::Redhat::InfraManager'
[{
:username => user,
Expand Down

0 comments on commit ed4a431

Please sign in to comment.