Bug #6658
closedcreating compute resource with name more than 245 chars fails
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1120271
Description of problem:
Creating a compute resource name with 245 chars fails with the below error.
PGError: ERROR: value too long for type character varying(255) : INSERT INTO "compute_resources" ("attrs", "created_at", "description", "name", "password", "type", "updated_at", "url", "user", "uuid") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id"
I believe the actual limit is 255 chars and anything from 256 chars should fail.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
compute resource name with 245 chars fails
Expected results:
compute resource name with upto 255 chars should be possible.
Additional info: