Check for Service disabled_reason allows strings longer than the DB field size
Bug #1583652 reported by
Gorka Eguileor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Gorka Eguileor |
Bug Description
Currently the checks done to see if disabled_reason is valid don't take into consideration leading and trailing spaces, so reasons with more than 255 characters will not raise an error as long as the size of the trimmed string doesn't exceed 255 characters.
Changed in cinder: | |
assignee: | nobody → Gorka Eguileor (gorka) |
Changed in cinder: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/318744
Review: https:/