Deleting a security group fails with error "Failed to delete group with name or ID: HttpException: Conflict"
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
showsSecurityGroupInUse
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.