Can't update network in Openstack Horizon dashboard

Bug #1799966 reported by Gleb Zimin
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenContrail
New
Undecided
Unassigned

Bug Description

Using Openstack dashboard Horizon you can't enable shared or external flag on existing network.
Later i found in Neutron logs error like this.

ERROR neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_base [req-822c044e-f2d4-4624-99c8-20ca5278056d 940328fa9e9b4365ac0cf0441af31144 ff7b510b7df7427198b5326e1d23ed3c - - -] BadRequest{u'msg': u'Inconsistent is_shared (True a) and global_access (0)', u'exception': u'BadRequest'}network

So, here we understand that shared flag related to opencontrail global_access network parameter, but in openstack dashboard we can't change global_access. And we have the same situation for external_network parameter. If i want to make my private network to be external i catch the same error.

For external_network parameter i found related patch - https://review.opencontrail.org/#/c/34408/
But i don't think that this is right logic.

So, if we want to make network accessible outside of the project we need to enable shared flag. And if our network has external_network flag enabled it doesn't mean that this network should be accessible outside of project. If i am wrong, please correct me.

Enviroment: Openstack Ocata version, Opencontrail 4.0

UPD:
I used another enviroment with openstack + ovs as an example and it's true that external network should be readable and refer-able from outside, but the bug with shared flag is still relevant.

Gleb Zimin (gzimin)
description: updated
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.