"Unable to find network with name or id 'public'" error when deploying Tacker using devstack with K8S VIM enabled
Bug #1751782 reported by
Trinh Nguyen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Committed
|
Undecided
|
Cong Phuoc Hoang |
Bug Description
I got this error when trying to deploy Tacker with devstack:
Unable to find network with name or id 'public'
+ Full error logs: http://
+ My local.conf: http://
My server is a fresh Ubuntu 16.04 machine.
devstack master branch.
summary: |
"Unable to find network with name or id 'public'" error when deploying - Tacker with devstack w/ K8S VIM enable + Tacker with devstack with K8S VIM enabled |
description: | updated |
summary: |
"Unable to find network with name or id 'public'" error when deploying - Tacker with devstack with K8S VIM enabled + Tacker using devstack with K8S VIM enabled |
Changed in tacker: | |
assignee: | Cong Phuoc Hoang (hoangphuoc) → Trinh Nguyen (dangtrinhnt) |
Changed in tacker: | |
assignee: | Trinh Nguyen (dangtrinhnt) → Cong Phuoc Hoang (hoangphuoc) |
Changed in tacker: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I found the reason why. The devtack plugin.sh which was merged about 10 days ago added this:
ext_ svc_net_ id="$(neutron net-show -c id -f value \
"${KURYR_ NEUTRON_ DEFAULT_ EXT_SVC_ NET}")"
ext_ svc_subnet_ id="$(neutron subnet-show -c id -f value \
"${KURYR_ NEUTRON_ DEFAULT_ EXT_SVC_ SUBNET} ")"
The KURYR_NEUTRON_ DEFAULT_ EXT_SVC_ NET and KURYR_NEUTRON_ DEFAULT_ EXT_SVC_ SUBNET was never created so neutron will fail to query.
https:/ /github. com/openstack/ kuryr-kubernete s/blob/ c36a6ddc596269c 98a5a2643c275a6 a41f887183/ devstack/ plugin. sh#L287