From 6f86bc13c129cd9ea099ab81209e110c06ddbbd0 Mon Sep 17 00:00:00 2001 From: hyunsikYang Date: Wed, 23 Jan 2019 01:24:11 +0900 Subject: [PATCH] Fixed variables error with 'public-subnet' The current OpenStack Tacker project uses Kuryr-Kubernetes as a network. When installing Kubernetes VIM through Devstack, the subnet name must be changed according to the option. However, currently, it is a fixed value so that it occurs error. To prevent this, you need to modify the current fixed value as a variable. Change-Id: I5c122adb6999d9761f97d52222999a2ac50eff39 Closes-Bug:#1812878 Related-Bug:#1812766 --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index cad8cb5a3..a344ae3a9 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -262,7 +262,7 @@ function create_k8s_api_service { # Regardless of the octavia mode, the k8s API will be behind an L3 mode # amphora driver loadbalancer create_load_balancer_member "$(hostname)" "$address" "$api_port" \ - default/kubernetes:${KURYR_K8S_API_LB_PORT} public-subnet "$lb_name" "$project_id" + default/kubernetes:${KURYR_K8S_API_LB_PORT} ${KURYR_NEUTRON_DEFAULT_EXT_SVC_SUBNET} "$lb_name" "$project_id" } function configure_neutron_defaults {