← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1538497] [NEW] Race condition: returns 404 when listing ports

 

Public bug reported:

I've observed this behavior in heat integration tests:
http://logs.openstack.org/51/271451/1/gate/gate-heat-dsvm-functional-
orig-mysql/9f09db7/logs/

When creating a server, nova calls list_ports and it fails because a
network can't be found: http://logs.openstack.org/51/271451/1/gate/gate-
heat-dsvm-functional-orig-
mysql/9f09db7/logs/screen-n-api.txt.gz?level=ERROR

As it turns out, the network has been removed after the list ports has
started, thus making it failing.

It should handle that NotFound and ignore the error, as there is a
transaction issue somewhere.

http://logs.openstack.org/51/271451/1/gate/gate-heat-dsvm-functional-
orig-mysql/9f09db7/logs/screen-q-svc.txt.gz?level=ERROR is the neutron
side failure.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Race condition: returns 404 when listing ports

Status in neutron:
  New

Bug description:
  I've observed this behavior in heat integration tests:
  http://logs.openstack.org/51/271451/1/gate/gate-heat-dsvm-functional-
  orig-mysql/9f09db7/logs/

  When creating a server, nova calls list_ports and it fails because a
  network can't be found: http://logs.openstack.org/51/271451/1/gate
  /gate-heat-dsvm-functional-orig-
  mysql/9f09db7/logs/screen-n-api.txt.gz?level=ERROR

  As it turns out, the network has been removed after the list ports has
  started, thus making it failing.

  It should handle that NotFound and ignore the error, as there is a
  transaction issue somewhere.

  http://logs.openstack.org/51/271451/1/gate/gate-heat-dsvm-functional-
  orig-mysql/9f09db7/logs/screen-q-svc.txt.gz?level=ERROR is the neutron
  side failure.

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