Browse Source

Fix Freezer & Cyborg API startup on CentOS

Affects: Ussuri, Train

As part of the CentOS 8 support, we added a kolla_httpd_setup script,
however this was not used for Cyborg or Freezer. This has been fixed
since Victoria as part of commit
032804e5a0, but this was not backported to
Ussuri.

Closes-Bug: #1909981
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>

Change-Id: I88e5bcf35207670b8611aeee3072215a7d7eb6e5
changes/17/769117/1 10.2.0
Radosław Piliszek 2 years ago committed by Mark Goddard
parent
commit
e0d8772efa
  1. 9
      docker/cyborg/cyborg-api/extend_start.sh
  2. 9
      docker/freezer/freezer-api/extend_start.sh

9
docker/cyborg/cyborg-api/extend_start.sh

@ -7,11 +7,4 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
exit 0
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*
fi
. /usr/local/bin/kolla_httpd_setup

9
docker/freezer/freezer-api/extend_start.sh

@ -7,11 +7,4 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
exit 0
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*
fi
. /usr/local/bin/kolla_httpd_setup

Loading…
Cancel
Save