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 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.