NoPoolFound exception is catched outside listing endpoints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Undecided
|
Eva Balycheva |
Bug Description
See these lines:
https:/
https:/
https:/
When you try to list resources in these lines, when there are no pools registered in Zaqar, you'll get 500 error response.
Solution:
Move these lines inside try blocks, so they will be catched. Write tests, so the problem will not occur ever again.
Same solution was recently applied to wsgi driver in this patch: https:/
Changed in python-zaqarclient: | |
assignee: | nobody → Eva Balycheva (ubershy) |
description: | updated |
affects: | python-zaqarclient → zaqar |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Websocket: NoPoolsFound exception is catched outside endpoints.py on + Websocket: NoPoolFound exception is catched outside endpoints.py on queue list |
description: | updated |
summary: |
- Websocket: NoPoolFound exception is catched outside endpoints.py on - queue list + NoPoolFound exception is catched outside listing endpoints |
Fix proposed to branch: master /review. openstack. org/283184
Review: https:/