Browse Source

create missing apache2 directory on Debian/Ubuntu

Ubuntu/source deployment of several images (horizon, placement-api, zun)
failed with:

+ exec /usr/sbin/apache2 -DFOREGROUND
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot

Change-Id: Ie2a1077f7def0743f1403341985e2109aa490026
(cherry picked from commit 932f09bcd6)
tags/8.0.2
Marcin Juszkiewicz Yang Youseok 9 months ago
parent
commit
7d9cd19673
23 changed files with 23 additions and 0 deletions
  1. +1
    -0
      docker/aodh/aodh-api/extend_start.sh
  2. +1
    -0
      docker/barbican/barbican-api/extend_start.sh
  3. +1
    -0
      docker/cinder/cinder-api/extend_start.sh
  4. +1
    -0
      docker/cloudkitty/cloudkitty-api/extend_start.sh
  5. +1
    -0
      docker/crane/extend_start.sh
  6. +1
    -0
      docker/cyborg/cyborg-api/extend_start.sh
  7. +1
    -0
      docker/freezer/freezer-api/extend_start.sh
  8. +1
    -0
      docker/gnocchi/gnocchi-api/extend_start.sh
  9. +1
    -0
      docker/heat/heat-base/extend_start.sh
  10. +1
    -0
      docker/ironic/ironic-api/extend_start.sh
  11. +1
    -0
      docker/ironic/ironic-pxe/extend_start.sh
  12. +1
    -0
      docker/keystone/keystone/extend_start.sh
  13. +1
    -0
      docker/manila/manila-api/extend_start.sh
  14. +1
    -0
      docker/mistral/mistral-api/extend_start.sh
  15. +1
    -0
      docker/monasca/monasca-api/extend_start.sh
  16. +1
    -0
      docker/monasca/monasca-log-api/extend_start.sh
  17. +1
    -0
      docker/nova/nova-api/extend_start.sh
  18. +1
    -0
      docker/octavia/octavia-api/extend_start.sh
  19. +1
    -0
      docker/panko/panko-api/extend_start.sh
  20. +1
    -0
      docker/tripleo-ui/extend_start.sh
  21. +1
    -0
      docker/vitrage/vitrage-api/extend_start.sh
  22. +1
    -0
      docker/zaqar/zaqar-wsgi/extend_start.sh
  23. +1
    -0
      docker/zun/zun-api/extend_start.sh

+ 1
- 0
docker/aodh/aodh-api/extend_start.sh View File

@@ -5,6 +5,7 @@
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/barbican/barbican-api/extend_start.sh View File

@@ -14,6 +14,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/cinder/cinder-api/extend_start.sh View File

@@ -24,6 +24,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/cloudkitty/cloudkitty-api/extend_start.sh View File

@@ -5,6 +5,7 @@
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/crane/extend_start.sh View File

@@ -7,6 +7,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/cyborg/cyborg-api/extend_start.sh View File

@@ -10,6 +10,7 @@ fi
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/freezer/freezer-api/extend_start.sh View File

@@ -10,6 +10,7 @@ fi
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/gnocchi/gnocchi-api/extend_start.sh View File

@@ -5,6 +5,7 @@
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/heat/heat-base/extend_start.sh View File

@@ -14,6 +14,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/ironic/ironic-api/extend_start.sh View File

@@ -25,6 +25,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/ironic/ironic-pxe/extend_start.sh View File

@@ -45,6 +45,7 @@ fi
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/keystone/keystone/extend_start.sh View File

@@ -5,6 +5,7 @@
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/manila/manila-api/extend_start.sh View File

@@ -15,6 +15,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/mistral/mistral-api/extend_start.sh View File

@@ -15,6 +15,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/monasca/monasca-api/extend_start.sh View File

@@ -14,6 +14,7 @@ fi
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/monasca/monasca-log-api/extend_start.sh View File

@@ -7,6 +7,7 @@ SERVICE="monasca-log-api"
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/nova/nova-api/extend_start.sh View File

@@ -27,6 +27,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/octavia/octavia-api/extend_start.sh View File

@@ -14,6 +14,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/panko/panko-api/extend_start.sh View File

@@ -5,6 +5,7 @@
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/tripleo-ui/extend_start.sh View File

@@ -7,6 +7,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/vitrage/vitrage-api/extend_start.sh View File

@@ -5,6 +5,7 @@
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/zaqar/zaqar-wsgi/extend_start.sh View File

@@ -7,6 +7,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


+ 1
- 0
docker/zun/zun-api/extend_start.sh View File

@@ -5,6 +5,7 @@
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*


Loading…
Cancel
Save