From 905499162b33fbac1fd604688d21b73f559ab70d Mon Sep 17 00:00:00 2001 From: Rene Luria Date: Mon, 26 Aug 2019 13:50:42 +0200 Subject: [PATCH] Fix template that generates vrrp check script Correct the inline comment to not include an empty new line at the start of generated /var/lib/octavia/vrrp/check_script.sh that leads to this kind of error: > Aug 26 11:49:32 amphora-12184e15-1ec3-4d80-98a7-c7d1ddb6716f > Keepalived_vrrp[15265]: Error exec-ing command > '/var/lib/octavia/vrrp/check_script.sh', error 8: Exec format error Change-Id: Icddd2873abeb56a389a35356995df6dde70872b2 --- .../agent/api_server/templates/keepalived_check_script.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octavia/amphorae/backends/agent/api_server/templates/keepalived_check_script.conf.j2 b/octavia/amphorae/backends/agent/api_server/templates/keepalived_check_script.conf.j2 index bb1eceb515..e2c85c48af 100644 --- a/octavia/amphorae/backends/agent/api_server/templates/keepalived_check_script.conf.j2 +++ b/octavia/amphorae/backends/agent/api_server/templates/keepalived_check_script.conf.j2 @@ -13,7 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. # -#} +-#} #!/bin/bash # Don't try to run the directory when it is empty