Unable to remove security groups with same name using nova command.
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, tools, and much more.