Use security group id not name in the create instance dialog
It's possible to create multiple security groups with the same name,
and then launching an instance will error with "Error: Multiple
security_group matches found for name 'foo', use an ID to be more specific."
The solution is to use the group id instead of group name in the form.
This only works with Neutron, because Nova-Network not only requires the
groups to be passed by name, but also passes them by name internally in
several places.
Change-Id: I83587e15a8c18d64a29fd1083e786a73162b19f9
Partial-bug: #1203413
(cherry picked from commit 5562694b7c81821820a846dd76471f66d8a47c12)
Reviewed: https:/ /review. openstack. org/229767 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=5b9bdca15b3 1fbc75dc674da8d 3f965ebe94cf1c
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 5b9bdca15b31fbc 75dc674da8d3f96 5ebe94cf1c
Author: Radomir Dopieralski <email address hidden>
Date: Mon Aug 10 10:48:27 2015 +0200
Use security group id not name in the create instance dialog
It's possible to create multiple security groups with the same name,
and then launching an instance will error with "Error: Multiple
security_group matches found for name 'foo', use an ID to be more specific."
The solution is to use the group id instead of group name in the form.
This only works with Neutron, because Nova-Network not only requires the
groups to be passed by name, but also passes them by name internally in
several places.
Change-Id: I83587e15a8c18d 64a29fd1083e786 a73162b19f9 820a846dd76471f 66d8a47c12)
Partial-bug: #1203413
(cherry picked from commit 5562694b7c81821