Instance HA got broken due to env addition in shebang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Damien Ciabrini |
Bug Description
Via change Id915ded03ae5a4
--- a/extraconfig/
+++ b/extraconfig/
@@ -1,4 +1,4 @@
-#!/bin/python -utt
+#!/usr/bin/env python -utt
import os
import sys
The problem is that the above script gets invoked via 'exec' in kolla here:
https:/
Because kolla's start.sh invokes the script in the container via 'exec'.
Exec won't support multiple multiple commands and errors out as follows:
+ echo 'Running command: '\''/var/
+ exec /var/lib/
Running command: '/var/lib/
/usr/bin/env: python -utt: No such file or directory
Fix proposed to branch: master /review. openstack. org/588552
Review: https:/