Comment 10 for bug 1419723

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

Reviewed: https://review.openstack.org/165290
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5dccff1cb3367f88b7a7851988b19caad313b036
Submitter: Jenkins
Branch: master

commit 5dccff1cb3367f88b7a7851988b19caad313b036
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Mar 18 11:07:09 2015 +0900

    Fix DBDuplicateError handling in _ensure_default_security_group

    The coding in change-id Ibb0597d4db187c856f9ac1d9700701e0165c3c73
    catches and ignores DBDuplicateError in a nested transaction.
    It would cause another exception, InvalidRequestError, on the
    next operation. ("This Session's transaction has been rolled back")
    This commit fixes it.

    Also, tweak a test case to expose the error.

    Closes-Bug: #1433418
    Related-Bug: #1419723
    Change-Id: Ie4de271c0512fb2ecc6ed6842ad20386e3785a9c