File 0001-Use-insecure-ssl-if-configured-in-tempest.conf.patch of Package openstack-manila

From 537a0113286a7d4a7fc3ff059d0bafb3ded00253 Mon Sep 17 00:00:00 2001
From: Nicolas Bock <nicolas.bock@suse.com>
Date: Mon, 17 Oct 2016 05:42:25 -0600
Subject: [PATCH] Use 'insecure' ssl if configured in tempest.conf

Change-Id: If20f8b802b1b51e2e027108132d189cdcba2c5f7
Closes-Bug: 1633716
---
 manila_tempest_tests/services/share/json/shares_client.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/manila_tempest_tests/services/share/json/shares_client.py b/manila_tempest_tests/services/share/json/shares_client.py
index 2a48005..3ba59b3 100644
--- a/manila_tempest_tests/services/share/json/shares_client.py
+++ b/manila_tempest_tests/services/share/json/shares_client.py
@@ -40,7 +40,9 @@ class SharesClient(rest_client.RestClient):
             auth_provider,
             CONF.share.catalog_type,
             CONF.share.region or CONF.identity.region,
-            endpoint_type=CONF.share.endpoint_type)
+            endpoint_type=CONF.share.endpoint_type,
+            disable_ssl_certificate_validation=(
+                CONF.identity.disable_ssl_certificate_validation))
         self.share_protocol = None
         if CONF.share.enable_protocols:
             self.share_protocol = CONF.share.enable_protocols[0]
-- 
2.7.3

openSUSE Build Service is sponsored by