8f4b740ca5
When cinder-api runs behind a load balancer(eg haproxy), the load balancer can return 504 Gateway Timeout when cinder-api does not respond within timeout. This change ensures nova retries deleting a volume attachment in that case. Also this change makes nova ignore 404 in the API call. This is required because cinder might continue deleting the attachment even if the load balancer returns 504. This also helps us in the situation where the volume attachment was accidentally removed by users. Closes-Bug: #1978444 Change-Id: I593011d9f4c43cdae7a3d53b556c6e2a2b939989
8 lines
269 B
YAML
8 lines
269 B
YAML
---
|
|
fixes:
|
|
- |
|
|
`Bug #1978444 <https://bugs.launchpad.net/nova/+bug/1978444>`_: Now nova
|
|
retries deleting a volume attachment in case Cinder API returns
|
|
``504 Gateway Timeout``. Also, ``404 Not Found`` is now ignored and
|
|
leaves only a warning message.
|