Unable to remove security groups with same name using nova command.

Solution Verified - Updated -

Issue

  • Unable to remove security groups with same name using nova command.
[root@openstack ~(keystone_admin)]# nova secgroup-list
+--------------------------------------+---------+-------------+
| Id                                   | Name    | Description |
+--------------------------------------+---------+-------------+
| 698102c9-2d48-40aa-90ea-c2d08d49b6d7 | default | default     |
| 6c705c31-facc-42ae-91e6-095e9d77dc10 | summit  | summit      |
| 811963e7-d4c4-463c-8ccc-ab2073301d1d | test    | test        |
| e9b4c400-bf70-46e5-85a9-412d7abbec26 | test    | test        |
+--------------------------------------+---------+-------------+
[root@openstack ~(keystone_admin)]#  nova secgroup-delete test
ERROR: Multiple security group matches found for name 'test', use an ID to be more specific.
[root@openstack ~(keystone_admin)]#  nova secgroup-delete 811963e7-d4c4-463c-8ccc-ab2073301d1d
ERROR: Secgroup ID or name '811963e7-d4c4-463c-8ccc-ab2073301d1d' not found.

Environment

  • Red Hat OpenStack 4.0
  • python-novaclient

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.