commit 083bc89f99e007c400b9f89c63ac0459da910df8
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/465173 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=083bc89f99e 007c400b9f89c63 ac0459da910df8
Committed: https:/
Submitter: Zuul
Branch: master
commit 083bc89f99e007c 400b9f89c63ac04 59da910df8
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.
Closes-Bug: #1691274 90df90e542b6af3 c64773ecc87
Change-Id: I58b19ef6b537d6