← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1410651] [NEW] wrong output when trying to delete a default security group of admin tenant

 

Public bug reported:

When we are trying to delete a default security group from admin tenant
then the wrong output displayed to the user.

Steps to replicate :

in admin tenant:

1.  nova secgroup-list
+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| 2d504a0f-b8c6-4ae5-b7f0-7184d43a998a| default | default     |
+--------------------------------------+---------+-------------+
2. nova secgroup-delete default

+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| 2d504a0f-b8c6-4ae5-b7f0-7184d43a998a | default | default     |
+--------------------------------------+---------+-------------+

3. again list the security group you will found the same list

  nova secgroup-list
+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| 2d504a0f-b8c6-4ae5-b7f0-7184d43a998a| default | default     |
+--------------------------------------+---------+-------------+

delete command successfully runs but did not delete the default security
group.

Expected result :

Removing default security group not allowed.

** 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/1410651

Title:
  wrong output when trying to delete a default security group of admin
  tenant

Status in OpenStack Compute (Nova):
  New

Bug description:
  When we are trying to delete a default security group from admin
  tenant then the wrong output displayed to the user.

  Steps to replicate :

  in admin tenant:

  1.  nova secgroup-list
  +--------------------------------------+---------+-------------+
  | Id                                   | Name    | Description |
  +--------------------------------------+---------+-------------+
  | 2d504a0f-b8c6-4ae5-b7f0-7184d43a998a| default | default     |
  +--------------------------------------+---------+-------------+
  2. nova secgroup-delete default

  +--------------------------------------+---------+-------------+
  | Id                                   | Name    | Description |
  +--------------------------------------+---------+-------------+
  | 2d504a0f-b8c6-4ae5-b7f0-7184d43a998a | default | default     |
  +--------------------------------------+---------+-------------+

  3. again list the security group you will found the same list

    nova secgroup-list
  +--------------------------------------+---------+-------------+
  | Id                                   | Name    | Description |
  +--------------------------------------+---------+-------------+
  | 2d504a0f-b8c6-4ae5-b7f0-7184d43a998a| default | default     |
  +--------------------------------------+---------+-------------+

  delete command successfully runs but did not delete the default
  security group.

  Expected result :

  Removing default security group not allowed.

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


Follow ups

References