← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1120962] Re: shared network cannot be created in NEC plugin

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1120962

Title:
  shared network cannot be created in NEC plugin

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  Creating a shared network failed in NEC plugin when a user other than a onwer of the shared network tries to create a port.
  NEC plugin now checks if a corresponding tenant exists on OFC but in a case of shared network a tenant who tries to create a port may be different from a network owner. Thus there is a case where the tenant creating the port does not exist on OFC.
  To support shared network, decoupling OFC tenants from Quantum tenant is needed.

  2013-02-10 17:02:24.429 4412 DEBUG quantum.plugins.nec.nec_plugin [-] NECPluginV2.create_port() called, port={u'port': {'binding:host_id': <object object at 0x7fd5ccc95140>, 'name': '', u'admin_state_up': True, u'network_id': u'79ca4bb1-05c4-49c8-895a-dfb61120710e', u'tenant_id': u'bc996fc3e1f340dcb09b178435fd0d37', u'device_owner': u'compute:None', 'mac_address': <object object at 0x7fd5ccc95140>, 'binding:profile': <object object at 0x7fd5ccc95140>, 'fixed_ips': <object object at 0x7fd5ccc95140>, u'device_id': u'a07ab148-1272-4e77-a399-472ed3af35ef'}} . create_port /opt/stack/quantum/quantum/plugins/nec/nec_plugin.py:339
  2013-02-10 17:02:24.474 4412 DEBUG quantum.plugins.nec.nec_plugin [-] activate_port_if_ready(): skip, no portinfo for this port. activate_port_if_ready /opt/stack/quantum/quantum/plugins/nec/nec_plugin.py:129
  2013-02-10 17:02:32.429 4412 DEBUG quantum.plugins.nec.nec_plugin [-] NECPluginV2RPCCallbacks.update_ports() called, kwargs={u'topic': u'q-agent-notifier', u'port_added': [{u'mac': u'fa:16:3e:ae:a2:73', u'id': u'1fd60bdb-ab9c-42a6-96d7-e40328e5249b', u'port_no': u'6'}], u'port_removed': [], u'datapath_id': u'0x0000b296c0ad1f4a', u'agent_id': u'nec-q-agent.ostack02'} . update_ports /opt/stack/quantum/quantum/plugins/nec/nec_plugin.py:559
  2013-02-10 17:02:32.456 4412 ERROR quantum.plugins.nec.nec_plugin [-] create_ofc_port() failed due to Consistency of Quantum-OFC resource map is broken: NotFound ofc_tenant for quantum_id=bc996fc3e1f340dcb09b178435fd0d37.

To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1120962/+subscriptions