← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1624065] [NEW] Multiple security groups with the same name are created

 

Public bug reported:

Description:
------------
I am able to create multiple security groups with the same name and same description. This behaviour can result in confusion.

Expected Behaviour:
------------------
Enforcing uniqueness in security group names 


Environment:
-----------
OpenStack Mitaka on Ubuntu 14.04 server

Reproduction Steps:
-------------------

Steps from horizon:
1. Create multiple security groups with same name and same description

Steps from cli:
1. Run the command "nova secgroup-create test test" multiple times


Result: 
------
nova secgroup-list
+--------------------------------------+---------+------------------------+
| Id                                   | Name    | Description            |
+--------------------------------------+---------+------------------------+
| 7708f691-7107-43d3-87f4-1d3e672dbe8d | default | Default security group |
| 60d730cc-476b-4d0b-8fbe-f06f09a0b9cd | test    | test                   |
| 63481312-0f6c-4575-af37-3941e9864cfb | test    | test                   |
| 827a8642-6b14-47b7-970d-38b8136f62a8 | test    | test                   |
| 827c33b5-ee4b-43eb-867d-56b3c858664c | test    | test                   |
| 95607bc1-43a4-4105-9aad-f072ac330499 | test    | test                   |
+--------------------------------------+---------+------------------------+

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1624065

Title:
  Multiple security groups with the same name are created

Status in OpenStack Compute (nova):
  New

Bug description:
  Description:
  ------------
  I am able to create multiple security groups with the same name and same description. This behaviour can result in confusion.

  Expected Behaviour:
  ------------------
  Enforcing uniqueness in security group names 

  
  Environment:
  -----------
  OpenStack Mitaka on Ubuntu 14.04 server

  Reproduction Steps:
  -------------------

  Steps from horizon:
  1. Create multiple security groups with same name and same description

  Steps from cli:
  1. Run the command "nova secgroup-create test test" multiple times

  
  Result: 
  ------
  nova secgroup-list
  +--------------------------------------+---------+------------------------+
  | Id                                   | Name    | Description            |
  +--------------------------------------+---------+------------------------+
  | 7708f691-7107-43d3-87f4-1d3e672dbe8d | default | Default security group |
  | 60d730cc-476b-4d0b-8fbe-f06f09a0b9cd | test    | test                   |
  | 63481312-0f6c-4575-af37-3941e9864cfb | test    | test                   |
  | 827a8642-6b14-47b7-970d-38b8136f62a8 | test    | test                   |
  | 827c33b5-ee4b-43eb-867d-56b3c858664c | test    | test                   |
  | 95607bc1-43a4-4105-9aad-f072ac330499 | test    | test                   |
  +--------------------------------------+---------+------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1624065/+subscriptions


Follow ups