yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05887
[Bug 1241587] Re: Can not delete deleted tenant's default security group
The following case works well
liugya@liugya-ubuntu:~$ nova --os-username foo --os-password foo --os-tenant-id 6111614f84b34c5fbd85e988f388a7a9 secgroup-list
+----+---------+-------------+
| Id | Name | Description |
+----+---------+-------------+
| 15 | default | default |
| 16 | test | test |
+----+---------+-------------+
liugya@liugya-ubuntu:~$ keystone user-delete foo
liugya@liugya-ubuntu:~$ keystone tenant-delete foo
liugya@liugya-ubuntu:~$ nova secgroup-delete 16
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
import gobject._gobject
+----+------+-------------+
| Id | Name | Description |
+----+------+-------------+
| 16 | test | test |
+----+------+-------------+
** Changed in: nova
Status: New => Invalid
--
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):
Invalid
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