Comment 2 for bug 1328162

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/98956
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=58e6bb5893186517edafe1a4d51710c1362bc9cc
Submitter: Jenkins
Branch: master

commit 58e6bb5893186517edafe1a4d51710c1362bc9cc
Author: Eugene Nikanorov <email address hidden>
Date: Tue Jun 10 07:55:40 2014 +0400

    Fix race condition with firewall deletion

    In some cases when firewall is created and then deleted in short
    period of time, there could be a race condition of firewall status
    changes. Agent may change firewall status from PENDING_DELETE to ACTIVE
    because the agent has just set it up on the backend.
    Delete request then is not properly served and firewall remains in ERROR
    state and can't be deleted at all.

    To fix this changing status from PENDING_DELETE is not allowed.
    Deleting firewall in ERROR state is allowed.

    Change-Id: Iec3cfcb1e03b33dda8e1f10ca51bd9b61fa8030d
    Closes-Bug: #1328162