** Changed in: glance
       Status: Confirmed => 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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to