yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58516
[Bug 1640442] Re: glance image-tag-update, not updating a tag whose length is more than 255
As reported in the response, the maximum length you can set the tag to
is 255 characters:
'maxLength': 255
So Glance is correctly enforcing this limit.
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1640442
Title:
glance image-tag-update, not updating a tag whose length is more than
255
Status in Glance:
Invalid
Bug description:
The command "glance image-tag-update <IMAGE_ID> <TAG_VALUE>" will
update the tag to the give <IMAGE_ID>. If the length of the
<TAG_VALUE> is more than 255 , it won't update the tag and throws the
below error:
"400 Bad Request: Provided object does not match schema 'image':
u'123niteshgjkdhgjfdghfdjghfdjkghjfdghsdjfghjsdfghfdjghfdjghfdjghsdfgjkshdkjsfhdgljksfdghfsdkjghfdsjkdkghdsfjghdfjkhgjkdfghjkdfghjsdfkghfdjkghdfjkghsdfkjghsdfgkljsfhdgsjkdfghfsdjkghsddjskfndjighfnidughndfjgkhfndjkbhfdnbujfhdnbuidfsdsafsfsdfsdfdsfsdfdsdfdfffsdfsdfdsfsdf'
is too long: Failed validating 'maxLength' in
schema['properties']['tags']['items']:: {'maxLength': 255, 'type':
'string'}: On instance['tags'][0]::
u'123niteshgjkdhgjfdghfdjghfdjkghjfdghsdjfghjsdfghfdjghfdjghfdjghsdfgjkshdkjsfhdgljksfdghfsdkjghfdsjkdkghdsfjghdfjkhgjkdfghjkdfghjsdfkghfdjkghdfjkghsdfkjghsdfgkljsfhdgsjkdfghfsdjkghsddjskfndjighfnidughndfjgkhfndjkbhfdnbujfhdnbuidfsdsafsfsdfsdfdsfsdfdsdfdfffsdfsdfdsfsdf'
(HTTP 400)"
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1640442/+subscriptions
References