From 1f3a20d8dd85b93454b01573ef1d5d20516671eb Mon Sep 17 00:00:00 2001 From: Jordan Pittier Date: Tue, 15 Mar 2016 11:50:30 +0100 Subject: [PATCH] Heat: wait condition: allow insecure HTTPS url If `heat_wait_condition_server_url` config in heat.conf starts with HTTPS but doesn't have a valid HTTPS certificate, the Tempest test will fail because curl will complain. This patch makes curl happy by allowing self-signed certificate and the like. Change-Id: I64d8f88c229de58572532fd6f0e60082b8a8af9f Closes-Bug: #1512694 --- tempest/api/orchestration/stacks/templates/neutron_basic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempest/api/orchestration/stacks/templates/neutron_basic.yaml b/tempest/api/orchestration/stacks/templates/neutron_basic.yaml index be33c94b6b..ccb1b54c9a 100644 --- a/tempest/api/orchestration/stacks/templates/neutron_basic.yaml +++ b/tempest/api/orchestration/stacks/templates/neutron_basic.yaml @@ -58,7 +58,7 @@ resources: #!/bin/sh -v SIGNAL_DATA='{"Status": "SUCCESS", "Reason": "SmokeServerNeutron created", "Data": "Application has completed configuration.", "UniqueId": "00000"}' - while ! curl --fail -X PUT -H 'Content-Type:' --data-binary "$SIGNAL_DATA" \ + while ! curl --insecure --fail -X PUT -H 'Content-Type:' --data-binary "$SIGNAL_DATA" \ 'wait_handle' ; do sleep 3; done params: wait_handle: {get_resource: WaitHandleNeutron}