Ask Your Question

Revision history [back]

For me it works this way

[root@dfw02 ~(keystone_boris)]$ nova secgroup-list
+--------------------------------------+---------+-----------------------------+
| Id                                   | Name    | Description                 |
+--------------------------------------+---------+-----------------------------+
| 4b72bcaf-b456-4222-afcc-8885326b96b2 | default | default                     |
| bcf315e7-48d2-4509-8dc6-6e557f303895 | rdp01   | RDP-enabled Windows domains |
+--------------------------------------+---------+-----------------------------+
[root@dfw02 ~(keystone_boris)]$  nova secgroup-delete bcf315e7-48d2-4509-8dc6-6e557f303895
ERROR: Secgroup ID or name 'bcf315e7-48d2-4509-8dc6-6e557f303895' not found.
[root@dfw02 ~(keystone_boris)]$  nova secgroup-delete rdp01
+--------------------------------------+-------+-----------------------------+
| Id                                   | Name  | Description                 |
+--------------------------------------+-------+-----------------------------+
| bcf315e7-48d2-4509-8dc6-6e557f303895 | rdp01 | RDP-enabled Windows domains |
+--------------------------------------+-------+-----------------------------+
[root@dfw02 ~(keystone_boris)]$ nova secgroup-list
+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| 4b72bcaf-b456-4222-afcc-8885326b96b2 | default | default     |
+--------------------------------------+---------+-------------+

For me it works this way

[root@dfw02 ~(keystone_boris)]$ nova secgroup-list
+--------------------------------------+---------+-----------------------------+
| Id                                   | Name    | Description                 |
+--------------------------------------+---------+-----------------------------+
| 4b72bcaf-b456-4222-afcc-8885326b96b2 | default | default                     |
| bcf315e7-48d2-4509-8dc6-6e557f303895 | rdp01   | RDP-enabled Windows domains |
+--------------------------------------+---------+-----------------------------+
[root@dfw02 ~(keystone_boris)]$  nova secgroup-delete bcf315e7-48d2-4509-8dc6-6e557f303895
ERROR: Secgroup ID or name 'bcf315e7-48d2-4509-8dc6-6e557f303895' not found.
[root@dfw02 ~(keystone_boris)]$  nova secgroup-delete rdp01
+--------------------------------------+-------+-----------------------------+
| Id                                   | Name  | Description                 |
+--------------------------------------+-------+-----------------------------+
| bcf315e7-48d2-4509-8dc6-6e557f303895 | rdp01 | RDP-enabled Windows domains |
+--------------------------------------+-------+-----------------------------+
[root@dfw02 ~(keystone_boris)]$ nova secgroup-list
+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| 4b72bcaf-b456-4222-afcc-8885326b96b2 | default | default     |
+--------------------------------------+---------+-------------+

Just name of secgroup not id.