After looking into this case, I think raising a 5xx error is better since the error is due to server failure. I proposes to use 503: https://review.openstack.org/#/c/525335/ . What do you think?
Regarding to the uwsgi default timeout and its potential conflict with the RPC timeout, I couldn't think of a perfect solution. Perhaps, what we can do is to check if the nova-compute service is down and fail the earlier to avoid the long RPC timeout.
Hi Matt,
After looking into this case, I think raising a 5xx error is better since the error is due to server failure. I proposes to use 503: https:/ /review. openstack. org/#/c/ 525335/ . What do you think?
Regarding to the uwsgi default timeout and its potential conflict with the RPC timeout, I couldn't think of a perfect solution. Perhaps, what we can do is to check if the nova-compute service is down and fail the earlier to avoid the long RPC timeout.