Fix the grenade gate
After the upgrade Apache seems unable to reach the Octavia API. It appears that the devstack plugin.sh enables the octavia-wsgi site, but fails to restart the Apache server to pick up this change. This patch corrects that by restarting Apache after any Apache site changes. Change-Id: I972c7d7934268131765ce5eebab1d81cc326fd49
This commit is contained in:
parent
d2324cc276
commit
1e4940f37e
@ -155,8 +155,8 @@ function _start_octavia_apache_wsgi {
|
||||
enable_apache_site octavia-wsgi
|
||||
else
|
||||
enable_apache_site octavia
|
||||
restart_apache_server
|
||||
fi
|
||||
restart_apache_server
|
||||
}
|
||||
|
||||
function _stop_octavia_apache_wsgi {
|
||||
@ -165,8 +165,8 @@ function _stop_octavia_apache_wsgi {
|
||||
stop_process o-api
|
||||
else
|
||||
disable_apache_site octavia
|
||||
restart_apache_server
|
||||
fi
|
||||
restart_apache_server
|
||||
}
|
||||
|
||||
function create_octavia_accounts {
|
||||
|
Loading…
x
Reference in New Issue
Block a user