yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58515
[Bug 1640442] [NEW] glance image-tag-update, not updating a tag whose length is more than 255
Public bug reported:
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)"
** Affects: glance
Importance: Undecided
Assignee: M V P Nitesh (m-nitesh)
Status: New
** Changed in: glance
Assignee: (unassigned) => M V P Nitesh (m-nitesh)
--
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:
New
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
Follow ups