Merge "Fix KOLLA_CONFIG_STRATEGY in neutron agents"
This commit is contained in:
commit
c940e156e3
@ -12,10 +12,10 @@ source /opt/kolla/config-sudoers.sh
|
|||||||
# this one.
|
# this one.
|
||||||
set_configs() {
|
set_configs() {
|
||||||
case $KOLLA_CONFIG_STRATEGY in
|
case $KOLLA_CONFIG_STRATEGY in
|
||||||
CONFIG_EXTERNAL_COPY_ALWAYS)
|
COPY_ALWAYS)
|
||||||
source /opt/kolla/neutron-dhcp-agent/config-external.sh
|
source /opt/kolla/neutron-dhcp-agent/config-external.sh
|
||||||
;;
|
;;
|
||||||
CONFIG_EXTERNAL_COPY_ONCE)
|
COPY_ONCE)
|
||||||
if [[ -f /configured-dhcp ]]; then
|
if [[ -f /configured-dhcp ]]; then
|
||||||
echo 'INFO - Neutron-dhcp has already been configured; Refusing to copy new configs'
|
echo 'INFO - Neutron-dhcp has already been configured; Refusing to copy new configs'
|
||||||
return
|
return
|
||||||
|
@ -12,10 +12,10 @@ source /opt/kolla/config-sudoers.sh
|
|||||||
# this one.
|
# this one.
|
||||||
set_configs() {
|
set_configs() {
|
||||||
case $KOLLA_CONFIG_STRATEGY in
|
case $KOLLA_CONFIG_STRATEGY in
|
||||||
CONFIG_EXTERNAL_COPY_ALWAYS)
|
COPY_ALWAYS)
|
||||||
source /opt/kolla/neutron-l3-agent/config-external.sh
|
source /opt/kolla/neutron-l3-agent/config-external.sh
|
||||||
;;
|
;;
|
||||||
CONFIG_EXTERNAL_COPY_ONCE)
|
COPY_ONCE)
|
||||||
if [[ -f /configured-l3 ]]; then
|
if [[ -f /configured-l3 ]]; then
|
||||||
echo 'INFO - Neutron-l3 has already been configured; Refusing to copy new configs'
|
echo 'INFO - Neutron-l3 has already been configured; Refusing to copy new configs'
|
||||||
return
|
return
|
||||||
|
@ -12,10 +12,10 @@ source /opt/kolla/config-sudoers.sh
|
|||||||
# this one.
|
# this one.
|
||||||
set_configs() {
|
set_configs() {
|
||||||
case $KOLLA_CONFIG_STRATEGY in
|
case $KOLLA_CONFIG_STRATEGY in
|
||||||
CONFIG_EXTERNAL_COPY_ALWAYS)
|
COPY_ALWAYS)
|
||||||
source /opt/kolla/neutron-metadata-agent/config-external.sh
|
source /opt/kolla/neutron-metadata-agent/config-external.sh
|
||||||
;;
|
;;
|
||||||
CONFIG_EXTERNAL_COPY_ONCE)
|
COPY_ONCE)
|
||||||
if [[ -f /configured-md ]]; then
|
if [[ -f /configured-md ]]; then
|
||||||
echo 'INFO - Neutron-metadata has already been configured; Refusing to copy new configs'
|
echo 'INFO - Neutron-metadata has already been configured; Refusing to copy new configs'
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user