Update rally neutronclient ca_cert option

Recently the neutronclient constructor cacert parameter
has been changed to ca_cert causing rally gate failures.
Fixed it.

Neutron-client Change Id: I9d0395d405b9fbe4db08ad3727f9413be7b82811
Change-Id: Id616d0f315f247d4f89ee779c4424bc93cc208db
Closes-Bug:#1353268
This commit is contained in:
Swapnil Kulkarni 2014-08-06 05:25:28 +00:00
parent 4fbb79e828
commit d9c466c08e
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ class Clients(object):
endpoint_url=network_api_url, endpoint_url=network_api_url,
timeout=CONF.openstack_client_http_timeout, timeout=CONF.openstack_client_http_timeout,
insecure=CONF.https_insecure, insecure=CONF.https_insecure,
cacert=CONF.https_cacert) ca_cert=CONF.https_cacert)
return client return client
@cached @cached

View File

@ -109,7 +109,7 @@ class OSClientsTestCase(test.TestCase):
"endpoint_url": self.service_catalog.url_for.return_value, "endpoint_url": self.service_catalog.url_for.return_value,
"timeout": cfg.CONF.openstack_client_http_timeout, "timeout": cfg.CONF.openstack_client_http_timeout,
"insecure": cfg.CONF.https_insecure, "insecure": cfg.CONF.https_insecure,
"cacert": cfg.CONF.https_cacert "ca_cert": cfg.CONF.https_cacert
} }
self.service_catalog.url_for.assert_called_once_with( self.service_catalog.url_for.assert_called_once_with(
service_type='network', endpoint_type='public', service_type='network', endpoint_type='public',