← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241587] Re: Can not delete deleted tenant's default security group

 

** Changed in: nova
       Status: Invalid => Confirmed

** Changed in: nova
     Assignee: Jay Lau (jay-lau-513) => Chris St. Pierre (stpierre)

-- 
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/1241587

Title:
  Can not delete deleted tenant's default security group

Status in OpenStack Compute (Nova):
  Confirmed

Bug description:
  $ keystone tenant-create --name foo
  +-------------+----------------------------------+
  |   Property  |              Value               |
  +-------------+----------------------------------+
  | description |                                  |
  |   enabled   |               True               |
  |      id     | 7149cdf591364e17a15e30229f2e023e |
  |     name    |               foo                |
  +-------------+----------------------------------+

  $ keystone user-create --name foo --pass foo --tenant foo
  +----------+----------------------------------+
  | Property |              Value               |
  +----------+----------------------------------+
  |  email   |                                  |
  | enabled  |               True               |
  |    id    | e5a5cd548ab446d5b787e6b37415707d |
  |   name   |               foo                |
  | tenantId | 7149cdf591364e17a15e30229f2e023e |
  +----------+----------------------------------+

  $nova --os-username foo --os-password foo --os-tenant-id 7149cdf591364e17a15e30229f2e023e  secgroup-list
  +-----+---------+-------------+
  | Id  | Name    | Description |
  +-----+---------+-------------+
  | 111 | default | default     |
  +-----+---------+-------------+

  
  ### AS ADMIN ###
  $ keystone user-delete foo
  $ keystone tenant-delete foo
  $ nova secgroup-delete 111
  ERROR: Unable to delete system group 'default' (HTTP 400) (Request-ID: req-9f62f3fe-1cd7-46dc-801c-335900b6f903)

  As admin when the tenant does not exists I should be able to delete
  the security group (may be with an additional force argument)

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