"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
6
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://paste.openstack.org/show/686090/

+ My local.conf: http://paste.openstack.org/show/686091/

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
Revision history for this message
Trinh Nguyen (dangtrinhnt) wrote : Re: "Unable to find network with name or id 'public'" error when deploying Tacker with devstack with K8S VIM enabled

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-kubernetes/blob/c36a6ddc596269c98a5a2643c275a6a41f887183/devstack/plugin.sh#L287

Changed in tacker:
assignee: nobody → Trinh Nguyen (dangtrinhnt)
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/548109

Changed in tacker:
assignee: Trinh Nguyen (dangtrinhnt) → Cong Phuoc Hoang (hoangphuoc)
status: New → In Progress
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.