setting manila quota raises db error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Low
|
Paul Ali |
Bug Description
Setting any manila quota with a value greater than 2147483647 raises oslo_db.
This is understandable given the mariadb integer limit of 2147483647.However, a more descriptive error should be communicated to the user as when a share quota that is less than -1 is being set.A more descriptive error message is reported to the user :
ERROR: Quota limit must be -1 or greater. (HTTP 400)
Steps to reproduce:
manila quota-update %share_id% --snapshots 10000000000
Actual Result:
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-1d03200b-
Logs for manila API service
http://
Changed in manila: | |
status: | Confirmed → In Progress |
Changed in manila: | |
milestone: | wallaby-2 → wallaby-3 |
Changed in manila: | |
milestone: | wallaby-3 → wallaby-rc1 |
tags: | added: wallaby-rc-bugsquash |
Changed in manila: | |
milestone: | wallaby-rc1 → xena-1 |
tags: | removed: wallaby-rc-bugsquash |
Changed in manila: | |
milestone: | xena-1 → xena-2 |
Thanks for finding this bug, Paul. I confirmed it. Are you planning on submitting a fix yourself?