The nova client (used by the InstanceLocalityFilter for example)
seems to have obscure config options (compared to other projects),
and seems it is buggy too. Fix this by introducing a [nova] section,
where the usual auth parameters can be put (auth_type, auth_url,
username, password, etc...), and deprecate the old options.
Also doesn't play with the Service Catalog, the authentication plugins
can handle it, use a Token authentication plugin when using
the user context, and removed the separate usage of the admin endpoint.
Change-Id: I55613793c8f525a36ac74636f47d7ab76f5c7e39
Closes-bug: #1686616
DocImpact: to use a Nova connection (e.g. for InstanceLocalityFilter),
one has to configure the [nova] section.
Reviewed: https:/ /review. openstack. org/460640 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=da93e11794d 2a7479b037f96fc 5aef83f98be8dd
Committed: https:/
Submitter: Jenkins
Branch: master
commit da93e11794d2a74 79b037f96fc5aef 83f98be8dd
Author: Gyorgy Szombathelyi <email address hidden>
Date: Thu Apr 27 17:25:49 2017 +0200
Modernize the nova client in cinder
The nova client (used by the InstanceLocalit yFilter for example)
seems to have obscure config options (compared to other projects),
and seems it is buggy too. Fix this by introducing a [nova] section,
where the usual auth parameters can be put (auth_type, auth_url,
username, password, etc...), and deprecate the old options.
Also doesn't play with the Service Catalog, the authentication plugins
can handle it, use a Token authentication plugin when using
the user context, and removed the separate usage of the admin endpoint.
Change-Id: I55613793c8f525 a36ac74636f47d7 ab76f5c7e39 yFilter) ,
Closes-bug: #1686616
DocImpact: to use a Nova connection (e.g. for InstanceLocalit
one has to configure the [nova] section.