← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1748900] Re: api-ref: value of custom property not limited to 255 chars

 

Reviewed:  https://review.openstack.org/546021
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=601f82ac24038a40dc48579fc3928b6e0f0373bf
Submitter: Zuul
Branch:    master

commit 601f82ac24038a40dc48579fc3928b6e0f0373bf
Author: Brian Rosmaita <rosmaita.fossdev@xxxxxxxxx>
Date:   Mon Feb 19 22:11:44 2018 -0500

    Correct length limit for custom property value
    
    The api-ref states that the both the key and value of a custom
    property are limited to 255 chars.  This limit applies only to
    the key.
    
    Change-Id: I3bacca8b25f2a8339f6d8758e45c690da9968555
    Closes-bug: #1748900


** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1748900

Title:
  api-ref: value of custom property not limited to 255 chars

Status in Glance:
  Fix Released

Bug description:
  - [x] This doc is inaccurate in this way: ______

  https://developer.openstack.org/api-ref/image/v2/index.html#create-an-
  image

  Where it says:

  "Additionally, you may include additional properties specified as
  key:value pairs, where the value must be a string data type. Keys and
  values are limited to 255 chars in length. Available key names may be
  limited by the cloud’s property protection configuration."

  The 255 char length restriction is only for keys, not values:

  https://github.com/openstack/glance/blob/265659e8c34865331568b069fdb27ea272df4eaa/glance/db/sqlalchemy/models.py#L158

  -----------------------------------
  Release: 16.0.0.0rc2.dev10 on 'Sat Feb 10 21:15:25 2018, commit 262e61a'
  SHA: 
  Source: https://git.openstack.org/cgit/openstack/glance/tree/api-ref/source/v2/index.rst
  URL: https://developer.openstack.org/api-ref/image/v2/index.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1748900/+subscriptions


References