"Launch instance" dialog has "Error: Unable to retrieve list of volumes." with postgres db as backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
In Progress
|
Undecided
|
Thomas Bechtold |
Bug Description
When using postgres, searching for volumes with "bootable=1" doesn't work.
The error is from the cinder-api log is:
u'cd20675e9d07
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.159 12837 TRACE oslo_db.
2015-05-20 17:23:56.162 12837 ERROR cinder.
LINE 3: ...volumes.status = 'available' AND volumes.bootable = 1 AND vo...
I think this should be fixed in the cinder code so the search parameters are handled correctly, but as a workarround, search for 'true' does work.
Fix proposed to branch: master /review. openstack. org/184562
Review: https:/