yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83417
[Bug 1462973] Re: Network gateway flat connection fail because of None tenant_id
** Changed in: vmware-nsx
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1462973
Title:
Network gateway flat connection fail because of None tenant_id
Status in neutron:
Invalid
Status in neutron juno series:
Fix Released
Status in vmware-nsx:
Fix Released
Bug description:
The NSX-mh backend does not accept "None" values for tags.
Tags are applied to all NSX-mh ports. In particular there is always a tag with the neutron tenant_id (q_tenant_id)
_get_tenant_id_for_create now in admin context returns the tenant_id of the resource being created, if there is one.
Otherwise still returns context.tenant_id.
The default L2 gateway unfortunately does not have a tenant_id, but has the tenant_id attribute in its data structure.
This means that _get_tenant_id_for_create will return None, and NSX-mh will reject the request.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1462973/+subscriptions