Avoid neutron to return error 500 when deleting port if designate is down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
Medium
|
Gregoire Mahe |
Bug Description
Hello,
We discovered that when designate is configured on neutron, and the service is down, neutron will fails to delete port.
The current behavior for port creation is not the same for port deletion.
When we create a port, while designate is down, neutron will ignore it, and create the port without the record on designate.
When we delete a port, while designate is down, neutron will return a 500 error because designate is down.
We need to normalize the behavior. For now, I propose to catch the exception, and just logs the exception and continue to delete the port.
In a next step, later on, I maybe suggest to create a "dead queue" on the neutron rabbitmq, and store record creation on error, which can be retried later manually, to keep consistancy.
Changed in neutron: | |
assignee: | nobody → Sapna Jadhav (sapana45) |
Changed in neutron: | |
assignee: | Sapna Jadhav (sapana45) → nobody |
Changed in neutron: | |
assignee: | nobody → Gregoire Mahe (gregoiremahe) |
Changed in neutron: | |
importance: | Wishlist → Medium |
Not tested locally, but that sounds like a nice enhancement/ behaviour standardisation