Deleting a security group fails with error "Failed to delete group with name or ID: HttpException: Conflict"

Solution Verified - Updated -

Issue

  • Deleting a security group fails with below error message
$ openstack security group delete sg-name
Failed to delete group with name or ID 'sg-name'': HttpException: Conflict
1 of 1 groups failed to delete.
  • Running the delete command with --debug shows SecurityGroupInUse error.
RESP BODY: {"NeutronError": {"message": "Security Group xxxxxxxxxxxxxxxxxxxxx in use.", "type": "SecurityGroupInUse", "detail": ""}}

Request returned failure status: 409
Failed to delete group with name or ID 'snmp': HttpException: Conflict

Environment

  • Red Hat OpenStack 10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content