Fixed an issue that prevent kube-proxy to start

In k8s minion node, kube-proxy container failed to start because
the path of TLS certificates is not configured correctly. By
debuging further, it looks the script that write down the path
exited unexpectedly with the following error:

/etc/sysconfig/heat-params: line 25: WAIT_CURL: unbound variable

Therefore, the fix is to fill that variable.

Change-Id: I3e510f5bd52c20090696da8030b7203e395d960b
Closes-Bug: #1538796
This commit is contained in:
Hongbin Lu 2016-01-27 19:07:50 -05:00
parent ca8268f8b9
commit 22af82e37d
1 changed files with 1 additions and 0 deletions

View File

@ -216,6 +216,7 @@ resources:
$HTTP_PROXY: {get_param: http_proxy}
$HTTPS_PROXY: {get_param: https_proxy}
$NO_PROXY: {get_param: no_proxy}
$WAIT_CURL: {get_attr: [minion_wait_handle, curl_cli]}
write_kubeconfig:
type: OS::Heat::SoftwareConfig