KURYR_NEUTRON_DEFAULT_EXT_SVC_NET net was not created in devstack during Tacker intallation

Bug #1751804 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

Because KURYR_NEUTRON_DEFAULT_EXT_SVC_NET was not created in devstack env during installation, errors were raised:

http://paste.openstack.org/show/686090/

Problem is here: https://github.com/openstack/kuryr-kubernetes/blob/c36a6ddc596269c98a5a2643c275a6a41f887183/devstack/plugin.sh#L287

Solution: check or create the external network service in the configure_neutron_defaults function of devstack/plugin.sh

Revision history for this message
Yossi Boaron (yossi-boaron-1234) wrote :

Hi Trinh,

Could you please share your test/environment details:

Your local.conf file
kuryr-kubernetes version

the output of 'openstack network list'

Thanks
Yossi

Revision history for this message
Trinh Nguyen (dangtrinhnt) wrote :

Hi Yossi,

I figured that out, it's the Tacker's K8S VIM implementation (devstack) does not create the KURYR_NEUTRON_DEFAULT_EXT_SVC_NET name 'public' so the kuryr plugin script will fail.

Here is the local.conf:

https://github.com/openstack/tacker/blob/master/devstack/local.conf.example#L70

And here is how the networks were created by k8s vim plugin

https://github.com/openstack/tacker/blob/master/devstack/lib/kubernetes_vim

I'm working on a patch on Tacker project to adapt the new change of Kuryr-K8S.

Thanks,

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: nobody → Cong Phuoc Hoang (hoangphuoc)
status: New → In Progress
summary: KURYR_NEUTRON_DEFAULT_EXT_SVC_NET net was not created in devstack during
- intallation
+ Tacker intallation
Changed in tacker:
assignee: Cong Phuoc Hoang (hoangphuoc) → Trinh Nguyen (dangtrinhnt)
Changed in tacker:
assignee: Trinh Nguyen (dangtrinhnt) → Cong Phuoc Hoang (hoangphuoc)
Changed in kuryr-kubernetes:
status: New → Fix Committed
Changed in tacker:
status: In Progress → Fix Committed
no longer affects: kuryr-kubernetes
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.