Postgresql fails to apply default sort key when using "--with-count"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Goutham Pacha Ravi |
Bug Description
Description
===========
This issue was found on the CI tempest test job for the container driver. This test job runs manila tempest tests with postgresql database (as opposed to mysql as many of the other jobs do).
manila_
DEBUG [tempest.
Body: None
Response - Headers: {'date': 'Fri, 26 Mar 2021 14:44:02 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'x-openstack-
Body: b'{"computeFault": {"code": 500, "message": "The server has either erred or is incapable of performing the requested operation."}}'
}}}
Traceback (most recent call last):
File "/opt/stack/
shares = self.shares_
File "/opt/stack/
return self.list_
File "/opt/stack/
resp, body = self.get(uri, headers=headers, extra_headers=
File "/opt/stack/
resp, body = super(SharesV2C
File "/opt/stack/
return self.request('GET', url, extra_headers, headers)
File "/opt/stack/
File "/opt/stack/
raise exceptions.
tempest.
Details: The server has either erred or is incapable of performing the requested operation.
On the server, there's a db traceback: http://
Steps to reproduce
==================
1. Setup manila with postgresdb and any backend driver
2. manila list --with-count
Expected result
===============
HTTP 200, List of shares with count
Actual result
=============
HTTP 500 with error traceback in the API logs
Environment
===========
1. Wallaby RC1 of manila
2. Ubuntu 20.04 LTS with postgresql-
tags: | added: wallaby-backport-potential |
Changed in manila: | |
status: | New → Fix Released |
Additional comments http:// eavesdrop. openstack. org/meetings/ manila/ 2021/manila. 2021-04- 15-15.01. log.html