devstack: create host interface to the pod subnet

Patch set If5a49bc2010ea59965c5ee9570fb5d131cdf4089 meant that the host
ovs interface was no longer in the pod subnet, meaning that the probes
would return "no route to host".

This patch addresses it by correcting the network selection.

Change-Id: Ic6cacd3e2271f23b7141e0f1fce0d5f1a718ba6e
Closes-Bug: #1707009
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This commit is contained in:
Antoni Segura Puimedon 2017-07-27 18:23:27 +02:00 committed by Antoni Segura Puimedon
parent 79a00b27b8
commit 9ca5177652
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function ovs_bind_for_kubelet() {
--project "$project_id" \
--security-group "$security_group" \
--host "${HOSTNAME}" \
--network private \
--network "${KURYR_NEUTRON_DEFAULT_POD_NET}" \
-f value -c id \
kubelet-"${HOSTNAME}")
ifname="kubelet${port_id}"