← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1244259] Re: error while creating l2 gateway services in nvp

 

** Also affects: neutron/havana
   Importance: Undecided
       Status: New

** Changed in: neutron/havana
       Status: New => Fix Committed

** Changed in: neutron/havana
    Milestone: None => 2013.2.1

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

Title:
  error while creating l2 gateway services in nvp

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron havana series:
  Fix Committed

Bug description:
  If a conflict occurs while using the L2 Gateway extension, 500 errors
  may mask underlying exceptions, For instance:

  
  2013-10-24 07:42:37.709 ERROR NVPApiHelper [-] Received error code: 409
  2013-10-24 07:42:37.710 ERROR NVPApiHelper [-] Server Error Message: Device breth0 on transport node dd2e6fb9-98fe-4306-a679-30e15f0af06a is already in use as a gateway in Gateway Service 166ddc25-e617-4cfc-bde5-485a0b622fc6
  2013-10-24 07:42:37.710 ERROR neutron.api.v2.resource [-] create failed
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 411, in create
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 1921, in create_network_gateway
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource     "created resource:%s") % nvp_res)
  2013-10-24 07:42:37.710 TRACE neutron.api.v2.resource UnboundLocalError: local variable 'nvp_res' referenced before assignment

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