Use keystoneauth1 config option loading for masakari client
If a custom CA file is configured via [api] cafile, currently
communication with Keystone will fail, since the session is not created
using this CA file. The [api] insecure option is also ignored.
This change fixes the issue by using keystoneauth loading for the auth
and session, to ensure all standard configuration options are supported.
Reviewed: https:/ /review. opendev. org/742637 /git.openstack. org/cgit/ openstack/ masakari- monitors/ commit/ ?id=e7040458800 2222c8475667ff1 a94f4c265a8def
Committed: https:/
Submitter: Zuul
Branch: master
commit e70404588002222 c8475667ff1a94f 4c265a8def
Author: Mark Goddard <email address hidden>
Date: Fri Jul 17 19:02:28 2020 +0000
Use keystoneauth1 config option loading for masakari client
If a custom CA file is configured via [api] cafile, currently
communication with Keystone will fail, since the session is not created
using this CA file. The [api] insecure option is also ignored.
This change fixes the issue by using keystoneauth loading for the auth
and session, to ensure all standard configuration options are supported.
Change-Id: Idd58b72f7f5242 e8135fec71b42ad f5dd1852417
Closes-Bug: #1873736