)]}'
{"doc/source/user/metadata.rst":[{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"4b725644b6d9b209f27564537bae103a933b5fcc","unresolved":false,"context_lines":[{"line_number":429,"context_line":""},{"line_number":430,"context_line":"    The provided user data should not be base64-encoded, as it will be"},{"line_number":431,"context_line":"    automatically encoded in order to pass valid input to the REST"},{"line_number":432,"context_line":"    API, which has a limit of 65535 bytes after encoding."},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"Once booted, you can access this data from the instance using either the"},{"line_number":435,"context_line":"metadata service or the config drive. To access it via the metadata service,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7faddb67_221a42c5","line":432,"updated":"2019-08-05 18:14:43.000000000","message":"Would be good to get confirmation that the limit really is 65535 base64 characters (and not 65535 bytes of data in a base64 representation). If so, then maybe it would be even better to say how much unencoded data that is (my math says 49151 bytes, but a human-friendly lower approximation like \"roughly 47 kilobytes\" would be better still).","commit_id":"24c5e6f2969b736f76a53cbd995c19613bb89e04"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"feaecb22c323f8952915fa05620e0cf00066db26","unresolved":false,"context_lines":[{"line_number":429,"context_line":""},{"line_number":430,"context_line":"    The provided user data should not be base64-encoded, as it will be"},{"line_number":431,"context_line":"    automatically encoded in order to pass valid input to the REST"},{"line_number":432,"context_line":"    API, which has a limit of 65535 bytes after encoding."},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"Once booted, you can access this data from the instance using either the"},{"line_number":435,"context_line":"metadata service or the config drive. To access it via the metadata service,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_29e36536","line":432,"in_reply_to":"3fa7e38b_893e19b6","updated":"2019-10-09 16:25:49.000000000","message":"And it looks from the schema like the data stored in that field in base64 encoding, not decoded before it\u0027s stored, so per my original comment it may make more sense to say \"47 kilobytes of data before encoding\" rather than expecting the reader to do the math themselves (or even realize that there\u0027s a difference).","commit_id":"24c5e6f2969b736f76a53cbd995c19613bb89e04"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"9fc82c9c3ee7597db86a91d18e1b26fd008f55a9","unresolved":false,"context_lines":[{"line_number":429,"context_line":""},{"line_number":430,"context_line":"    The provided user data should not be base64-encoded, as it will be"},{"line_number":431,"context_line":"    automatically encoded in order to pass valid input to the REST"},{"line_number":432,"context_line":"    API, which has a limit of 65535 bytes after encoding."},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"Once booted, you can access this data from the instance using either the"},{"line_number":435,"context_line":"metadata service or the config drive. To access it via the metadata service,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3fa7e38b_893e19b6","line":432,"in_reply_to":"7faddb67_01cef95a","updated":"2019-10-09 16:21:12.000000000","message":"It\u0027s the size of the column in the DB:\n\nhttps://github.com/openstack/nova/blob/b96b385a3468e91fa544bffa51832513feb4f383/nova/api/openstack/compute/schemas/servers.py#L215\n\nhttps://github.com/openstack/nova/blob/b96b385a3468e91fa544bffa51832513feb4f383/nova/db/sqlalchemy/models.py#L288","commit_id":"24c5e6f2969b736f76a53cbd995c19613bb89e04"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"3abf9e15fe9c1d082315fd1c1a80fa4fb1ff66f8","unresolved":false,"context_lines":[{"line_number":429,"context_line":""},{"line_number":430,"context_line":"    The provided user data should not be base64-encoded, as it will be"},{"line_number":431,"context_line":"    automatically encoded in order to pass valid input to the REST"},{"line_number":432,"context_line":"    API, which has a limit of 65535 bytes after encoding."},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"Once booted, you can access this data from the instance using either the"},{"line_number":435,"context_line":"metadata service or the config drive. To access it via the metadata service,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7faddb67_a29f1200","line":432,"in_reply_to":"7faddb67_221a42c5","updated":"2019-08-05 18:18:08.000000000","message":"BTW, that number is based on math.floor((6/8)*65535/1024).","commit_id":"24c5e6f2969b736f76a53cbd995c19613bb89e04"},{"author":{"_account_id":2394,"name":"Adam Spiers","email":"aspiers@suse.com","username":"adam.spiers"},"change_message_id":"1a864bd6b2fdf1d44abbf380fc07b3e571aa7553","unresolved":false,"context_lines":[{"line_number":429,"context_line":""},{"line_number":430,"context_line":"    The provided user data should not be base64-encoded, as it will be"},{"line_number":431,"context_line":"    automatically encoded in order to pass valid input to the REST"},{"line_number":432,"context_line":"    API, which has a limit of 65535 bytes after encoding."},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"Once booted, you can access this data from the instance using either the"},{"line_number":435,"context_line":"metadata service or the config drive. To access it via the metadata service,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"7faddb67_01cef95a","line":432,"in_reply_to":"7faddb67_a29f1200","updated":"2019-08-07 16:59:30.000000000","message":"Great suggestions.  Unfortunately I have no idea where this limit comes from, so I can\u0027t check it.  I suspect it\u0027s coming from some middleware, because I see the same limit documented for flavor descriptions:\n\nhttps://docs.openstack.org/api-ref/compute/?expanded\u003dcreate-flavor-detail#create-flavor\n\nCan anyone else chip in here?","commit_id":"24c5e6f2969b736f76a53cbd995c19613bb89e04"}]}
