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.
Reviewed: https:/ /review. openstack. org/515418 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=fe9192037c2 db49393e2e5f4e1 c088ad7c38215f
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit fe9192037c2db49 393e2e5f4e1c088 ad7c38215f
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 90df90e542b6af3 c64773ecc87 400b9f89c63ac04 59da910df8)
Change-Id: I58b19ef6b537d6
(cherry picked from commit 083bc89f99e007c