Comment 7 for bug 1691274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/pike)

Reviewed: https://review.openstack.org/515418
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fe9192037c2db49393e2e5f4e1c088ad7c38215f
Submitter: Zuul
Branch: stable/pike

commit fe9192037c2db49393e2e5f4e1c088ad7c38215f
Author: Hongbin Lu <email address hidden>
Date: Tue May 16 20:54:25 2017 +0000

    Handle exception on adding secgroup

    If user adds security group to an instance and the instance already
    has that security group, neutron will return a 400 response. Nova
    should handle the 400 response properly. In before, Nova doesn't
    seem to handle this case and end-user gets a 500 response. This
    commit fixed it.

    Conflicts:
          nova/network/security_group/neutron_driver.py

    NOTE(hongbin): The conflict is due to the removal of translation of
    log messages.

    Closes-Bug: #1691274
    Change-Id: I58b19ef6b537d690df90e542b6af3c64773ecc87
    (cherry picked from commit 083bc89f99e007c400b9f89c63ac0459da910df8)