Return oslo_config Opts to config generator
Return oslo_config Opts to config generator

We shouldn't be returning keystoneauth Opts to the oslo_config
generator. Whilst it mostly works these objects are not interchangable
and it can result in problems. You can see this by entries such as:

  # Warning: Failed to format sample for tenant_name
  # isinstance() arg 2 must be a class, type, or tuple of classes
    and types

in the currently generated config files.

Keystoneauth provides a function that returns oslo_config options so
fetch, process and return those instead.

Change-Id: Ie3fad2381467b19189cbb332c41cea8b6cf6e264
Closes-Bug: #1548433 
(cherry picked from commit c3db0707eff70f381913643891ba4e148977407d)

sebrandon1/neutron,openstack/neutron,openstack/neutron,noironetworks/neutron,sebrandon1/neutron,eayunstack/neutron,huntxu/neutron,eayunstack/neutron,igor-toga/local-snat,mahak/neutron,bigswitch/neutron,mahak/neutron,cloudbase/neutron,igor-toga/local-snat,openstack/neutron,cloudbase/neutron,noironetworks/neutron,mahak/neutron,bigswitch/neutron,huntxu/neutron