need to support all of the keystone v3 auth options

Bug #1451963 reported by Richard Megginson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
puppet-openstacklib
Won't Fix
High
Emilien Macchi

Bug Description

In openstack.rb, def self.password_auth_args(credentials) should handle all of the keystone v3 authentication options specified at http://www.jamielennox.net/blog/2015/02/17/loading-authentication-plugins/

The ones that are missing are:

--os-domain-id
--os-domain-name
--os-project-id
--os-project-domain-id
--os-user-domain-id
--os-user-id
--os-trust-id
--insecure
--os-cacert
--os-cert
--os-key

not sure if --timeout needs to be specified as openstack.rb already handles timeouts/retries.

I would also like the code to use if credentials['value'] instead of credentials.include?('value'). The reason is that it simplifies the client code. For example, glance has to do this now:

if config['user_domain_name']
  credentials['user_domain_name'] = config['user_domain_name']
end

rather than just

credentials['user_domain_name'] = config['user_domain_name']

Because the credentials.include?('value') will be true even if the value is nil

Changed in puppet-openstacklib:
importance: Undecided → High
Changed in puppet-openstacklib:
assignee: nobody → Emilien Macchi (emilienm)
Revision history for this message
Emilien Macchi (emilienm) wrote :

closed as wontfix since it has been superseded by the new auth restructure code

Changed in puppet-openstacklib:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.