Throw InvalidInput error in case name and description above max length

Bug #2023964 reported by kiran pawar
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
In Progress
kiran pawar

Bug Description

In case of snapshot create, if display name or display description is above max limit (fields created in db with limit 255), manila internally throws DB exception. but the error reported to user is not meaningful.

Fix this by validating name and description length in API layer itself and throw Invalid Input error if above max limit.

Observed backtrace -

kiran pawar (kpdev)
Changed in manila:
assignee: nobody → kiran pawar (kpdev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master

Changed in manila:
status: New → In Progress
kiran pawar (kpdev)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila

This issue was fixed in the openstack/manila release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.