diff options
| author | xionglingfeng <xionglingfeng@Gmail.com> | 2016-02-13 15:39:22 -0330 |
|---|---|---|
| committer | xionglingfeng <xionglingfeng@Gmail.com> | 2016-02-13 15:39:22 -0330 |
| commit | 50b885c260430029e05edb477dcd3b7d0ed6d754 (patch) | |
| tree | 961c5b62da95b396731ccbeed97278aa5824d48a /docker | |
| parent | e92b18a8a8c0d7dd3d05ac2b48e469b5b4773215 (diff) | |
| download | kolla-50b885c260430029e05edb477dcd3b7d0ed6d754.tar.gz kolla-50b885c260430029e05edb477dcd3b7d0ed6d754.zip | |
Fix horizon startup failure
original extend_start.sh try to write temp files to a non-existent folder (/home/horizon) and cause horizon failed to start. It is fixed by moving the file to /tmp.
Partial-Bug: 1543429
Change-Id: I8d8778be755a4db9e57d6ff7aaee623547c4243e
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/horizon/extend_start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index c3ef0e895..fe58e023f 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -16,7 +16,7 @@ fi # NOTE(jeffrey4l): The local_settings file affect django-compress # behavior, so re-generate the compressed javascript and css if it # is changed -MD5SUM_TXT_PATH="/home/horizon/.local_settings.md5sum.txt" +MD5SUM_TXT_PATH="/tmp/.local_settings.md5sum.txt" if [[ ! -f ${MD5SUM_TXT_PATH} || $(md5sum -c --status ${MD5SUM_TXT_PATH};echo $?) != 0 ]]; then md5sum /etc/openstack-dashboard/local_settings > ${MD5SUM_TXT_PATH} if [[ "${KOLLA_INSTALL_TYPE}" == "binary" ]]; then |
