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)"
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.