Description of problem:
I used a heat template to create some test VMs, Networks and Security groups.
As a side effect I managed to create 2 security groups with the same name.
I tried launching a new VM using one of these security groups (Project -> Compute -> Images -> "RHEL 6" -> Launch)
This resulted in an error "Error: Multiple security_group matches found for name 'SSH and ICMP', use an ID to be more specific. (HTTP 409) (Request-ID: req-c79e0aa9-a42e-469e-836d-8ed6e98d71ae)"
If I create the VM without associating the SecurityGroup, and then associate the SecurityGroup afterwards this works.
Creating a VM under the same conditions using Heat worked fine.
Based on https://bugs.launchpad.net/nova/+bug/1289195 horizon is using the Security Group name rather than the ID when creating a new Instance.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Comment 12Radomir Dopieralski
2015-08-24 14:52:40 UTC
I submitted a patch with a partial fix upstream at https://review.openstack.org/#/c/211046/2
Unfortunately, that only works for Neutron. With Nova-Network, more work is required to allow passing the security groups by ID in the API.
Comment 13Radomir Dopieralski
2015-09-28 09:54:21 UTC
Comment 16Radomir Dopieralski
2015-12-15 16:16:09 UTC
We have a fix for Neutron, that we can backport, however, the fix for Nova-Network is still being reviewed, and since it requires an API change, it's unlikely to be backported. Does the client use Neutron or Nova-Network?
Comment 18Radomir Dopieralski
2015-12-18 14:31:46 UTC
In that case the problem is already solved by the two patches, which are already merged upstream in horizon in liberty and kilo. We need to just backport them to our horizon 5.0.