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
This commit is contained in:
parent
22b9fec99e
commit
1f3a20d8dd
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user