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)
Reviewed: https:/ /review. openstack. org/302728 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=9679285f547 b301a511e02ebc7 63b5406fb03ffc
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 9679285f547b301 a511e02ebc763b5 406fb03ffc
Author: Jamie Lennox <email address hidden>
Date: Tue Mar 15 10:05:29 2016 +1100
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: Ie3fad2381467b1 9189cbb332c41ce a8b6cf6e264 81913643891ba4e 148977407d)
Closes-Bug: #1548433
(cherry picked from commit c3db0707eff70f3