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
This commit is contained in:
parent
9afa9aa108
commit
e0d8772efa
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue