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)
changes/94/700794/1
Marcin Juszkiewicz 2 years ago
committed by Yang Youseok
parent
commit
7d9cd19673
  1. 1
      docker/aodh/aodh-api/extend_start.sh
  2. 1
      docker/barbican/barbican-api/extend_start.sh
  3. 1
      docker/cinder/cinder-api/extend_start.sh
  4. 1
      docker/cloudkitty/cloudkitty-api/extend_start.sh
  5. 1
      docker/crane/extend_start.sh
  6. 1
      docker/cyborg/cyborg-api/extend_start.sh
  7. 1
      docker/freezer/freezer-api/extend_start.sh
  8. 1
      docker/gnocchi/gnocchi-api/extend_start.sh
  9. 1
      docker/heat/heat-base/extend_start.sh
  10. 1
      docker/ironic/ironic-api/extend_start.sh
  11. 1
      docker/ironic/ironic-pxe/extend_start.sh
  12. 1
      docker/keystone/keystone/extend_start.sh
  13. 1
      docker/manila/manila-api/extend_start.sh
  14. 1
      docker/mistral/mistral-api/extend_start.sh
  15. 1
      docker/monasca/monasca-api/extend_start.sh
  16. 1
      docker/monasca/monasca-log-api/extend_start.sh
  17. 1
      docker/nova/nova-api/extend_start.sh
  18. 1
      docker/octavia/octavia-api/extend_start.sh
  19. 1
      docker/panko/panko-api/extend_start.sh
  20. 1
      docker/tripleo-ui/extend_start.sh
  21. 1
      docker/vitrage/vitrage-api/extend_start.sh
  22. 1
      docker/zaqar/zaqar-wsgi/extend_start.sh
  23. 1
      docker/zun/zun-api/extend_start.sh

1
docker/aodh/aodh-api/extend_start.sh

@ -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
docker/barbican/barbican-api/extend_start.sh

@ -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
docker/cinder/cinder-api/extend_start.sh

@ -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
docker/cloudkitty/cloudkitty-api/extend_start.sh

@ -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
docker/crane/extend_start.sh

@ -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
docker/cyborg/cyborg-api/extend_start.sh

@ -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
docker/freezer/freezer-api/extend_start.sh

@ -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
docker/gnocchi/gnocchi-api/extend_start.sh

@ -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
docker/heat/heat-base/extend_start.sh

@ -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
docker/ironic/ironic-api/extend_start.sh

@ -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
docker/ironic/ironic-pxe/extend_start.sh

@ -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
docker/keystone/keystone/extend_start.sh

@ -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
docker/manila/manila-api/extend_start.sh

@ -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
docker/mistral/mistral-api/extend_start.sh

@ -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
docker/monasca/monasca-api/extend_start.sh

@ -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
docker/monasca/monasca-log-api/extend_start.sh

@ -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
docker/nova/nova-api/extend_start.sh

@ -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
docker/octavia/octavia-api/extend_start.sh

@ -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
docker/panko/panko-api/extend_start.sh

@ -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
docker/tripleo-ui/extend_start.sh

@ -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
docker/vitrage/vitrage-api/extend_start.sh

@ -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
docker/zaqar/zaqar-wsgi/extend_start.sh

@ -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
docker/zun/zun-api/extend_start.sh

@ -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