Deleting trunk port or deleting instance with trunk port failed.

Solution Verified - Updated -

Issue

  • Deleting trunk port or deleting instance with trunk port failed.
  • opnestack network trunk delete will return like:
$ openstack network trunk delete trunk0
Failed to delete trunk with name or ID 'trunk0': Trunk <Trunk UUID> is currently in use.
Neutron server returns request_ids: ['req-<request UUID>']
1 of 1 trunks failed to delete.

Neutron server.log contains the following logs.

# grep req-<req UUID> -r *
2023-05-18 08:32:36.408 26 INFO neutron.services.trunk.plugin [req-<req UUID> XXXX XXXX - default default] Trunk driver does not consider trunk <Trunk UUID> untrunkable
2023-05-18 08:32:36.409 26 INFO neutron.api.v2.resource [req-<req UUID> XXXX XXXX - default default] delete failed (client error): There was a conflict when trying to complete your request.
2023-05-18 08:32:36.411 26 INFO neutron.wsgi [req-<req UUID> XXXX XXXX - default default] <IP address> "DELETE /v2.0/trunks/<Trunk UUID> HTTP/1.1" status: 409  len: 313 time: 0.0961432

Environment

  • Red Hat OpenStack Platform 16.1
  • neutron
  • ML2/OVS

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