Ensure insecure config option propagated by alarm service
Fixes bug 1292130 Ensure insecure (i.e. non-cert-verifying) access over SSL to keystone works from the alarm evaluator Change-Id: Ice009ad97ea540afede697e9d812f1bde877dd84
This commit is contained in:
parent
2e150c57db
commit
b2be83ed1f
|
@ -86,6 +86,7 @@ class AlarmService(object):
|
|||
os_username=auth_config.os_username,
|
||||
os_cacert=auth_config.os_cacert,
|
||||
os_endpoint_type=auth_config.os_endpoint_type,
|
||||
insecure=auth_config.insecure,
|
||||
)
|
||||
self.api_client = ceiloclient.get_client(2, **creds)
|
||||
return self.api_client
|
||||
|
|
|
@ -101,6 +101,7 @@ class TestSingletonAlarmService(test.BaseTestCase):
|
|||
os_password=conf.os_password,
|
||||
os_username=conf.os_username,
|
||||
os_cacert=conf.os_cacert,
|
||||
os_endpoint_type=conf.os_endpoint_type)]
|
||||
os_endpoint_type=conf.os_endpoint_type,
|
||||
insecure=conf.insecure)]
|
||||
actual = client.call_args_list
|
||||
self.assertEqual(actual, expected)
|
||||
|
|
Loading…
Reference in New Issue