← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1694606] Re: Race condition for subnet-delete and subnet-create

 

Bug closed due to lack of activity, please feel free to reopen if
needed.

** Changed in: neutron
       Status: New => Won't Fix

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

Title:
  Race condition for subnet-delete and subnet-create

Status in neutron:
  Won't Fix

Bug description:
  When user has stopped rabbitmq-server and tries to create a subnet and
  delete that subnet , there is a race condition when rabbitmq-server is
  restarted, i.e. subnet-delete output is displaying first then later
  subnet-create output is displaying.

  Steps to reproduce:-
  1) In first terminal stop rabbitmq-server.
  2) In second terminal create a subnet , there wont be any response to CLI , but there is a DB entry for subnet with <subnet_id> . This can be verified in other terminal by using "neutron subnet-list"
  3) In Third terminal delete the subnet with that same <subnet_id> given in subnet-list. There wont be any response to CLI but the subnet gets deleted from DB. This can be verified in other terminal by using "neutron subnet-list"
  4) Restart rabbitmq-server . 

  Here user can see that subnet-delete output is getting displayed first
  and then later subnet-create output is displayed. Here there is a race
  condition that delete output is displayed before create.

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



References