Hide Forgot
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/string-length-check-support. Description: Currently, Cinder do not support string length check. Due to in database, for some perperties name, the length is defined 255 charaters, so create a volume with name exceeds 255 chars, it maybe cause dberror. I have checked: For mysql, create a volume with name exceeds 255 chars, it will truncate 255 chars of the user input as the displayname, the parameter --display-description also has this issue For DB2, create a volume with name exceeds 255 chars, it will return one DBerror with 500 internal error. I have checked in Nova component, and found in Nova component, all of the name string length have been checked, so we also need to do this check in Cinder to avoid DBerror and truncate error. Specification URL (additional information): None