Fix for defect 1439161

Devstack scripts were trying to copy l2gateway_agent.ini in
/etc/neutron before neutron was setup.
As part of fix moved copy and configuration of conf files in
post-config

Change-Id: I322955108e300765b7361b7c681e8f1b482ef3cb
Closes-Bug:#1439161
stable/ocata
Alok Maurya 8 years ago
parent 77ea0ad892
commit cd693f0302
  1. 4
      devstack/plugin.sh

@ -40,8 +40,8 @@ if is_service_enabled l2gw-plugin; then
:
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
install_l2gw
configure_l2gw_plugin
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
configure_l2gw_plugin
run_l2gw_alembic_migration
elif [[ "$1" == "stack" && "$2" == "post-extra" ]]; then
# no-op
@ -65,8 +65,8 @@ if is_service_enabled l2gw-agent; then
:
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
install_l2gw
configure_agent_conf
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
configure_agent_conf
start_l2gw_agent
fi

Loading…
Cancel
Save