Failed to create queue due to bad query for pools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
In Progress
|
Medium
|
Feilong Wang |
Bug Description
Control plane: sqlalchemy
Data plane: redis
When create a queue, zaqar will query pools' table to see if there is any pool available, but by default, the pool group name is None.
That said, if all the pools in db has a group, the result will be empty. So we need to check if the group is None or not to decide if the query condition should be applied.
Trace:
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
2015-09-07 21:20:44.286 13271 ERROR zaqar.transport
Changed in zaqar: | |
assignee: | nobody → Fei Long Wang (flwang) |
Changed in zaqar: | |
milestone: | none → liberty-rc1 |
description: | updated |
Changed in zaqar: | |
milestone: | liberty-rc1 → mitaka-1 |
Fix proposed to branch: master /review. openstack. org/220849
Review: https:/