Ask Your Question

delete hanging security group

asked 2016-09-19 06:09:13 -0600

laurentiusoica gravatar image


I have a stack that was partly removed, excepting a security group that is reported as in use and cannot be deleted. Running "nova list" reports 0 instances so I assume this is a bug as there is no instance that could use the security group.

heat resource-show bc5582c2-ba2f-4a5e-bec6-12cd58a83128 dc_security_groups
| resource_status        | DELETE_FAILED                                                                                                                                                 |
| resource_status_reason | Conflict: resources.dc_security_groups.resources.oam_security_group.resources.tcp_security_group: Security Group 882ebea8-a5a6-4887-9393-6b26a42c406a in use. |

My question is how could I remove the security group manually.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-09-19 08:59:50 -0600

updated 2016-09-19 09:04:26 -0600

using the openstack command and a keystonerc_user file:

security group list
security group delete 882ebea8-a5a6-4887-9393-6b26a42c406a

or in older versions using nova:

secgroup-delete 882ebea8-a5a6-4887-9393-6b26a42c406a

I believe you need to ensure that all resources (ips,instances,etc) got removed as it says it is in use......

edit flag offensive delete link more


security group delete returns

Security Group 882ebea8-a5a6-4887-9393-6b26a42c406a in use. (HTTP 400) (Request-ID: req-1ce31cd2-2900-4715-959a-53a7b5e76de1)

What do you mean by ips resources ? If this is floating ips then I do not have any. And no instances.

laurentiusoica gravatar imagelaurentiusoica ( 2016-09-19 09:16:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-09-19 06:09:13 -0600

Seen: 767 times

Last updated: Sep 19 '16