Comment 2 for bug 1846703

Revision history for this message
Gregoire Mahe (gregoiremahe) wrote :

@sapana45 : I started to work on it already : https://review.opendev.org/#/c/685644/6

By I think we should do things different :

By default I suggest to return a 502 error on neutron when we want to create port if designate is down, plus, modify 500 error to 502 error on neutron when we want to delete port

That behavior allow neutron and designate to be consistent.

Then, we should create an option on the neutron configuration file to disable this consistency, and to return 200 even if designate is down.

In a later step, maybe we should store unconsistent data on database to allow to retry creation/deletion/update later.