)]}'
{"nova/compute/api.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"d7fcd6d1792945a7bc2d9c0f255e4cf8dc7e8ca5","unresolved":false,"context_lines":[{"line_number":753,"context_line":""},{"line_number":754,"context_line":"        system_metadata \u003d flavors.save_flavor_info("},{"line_number":755,"context_line":"            dict(), instance_type)"},{"line_number":756,"context_line":"        system_metadata[\u0027scheduler_hints\u0027] \u003d jsonutils.dumps(scheduler_hints)"},{"line_number":757,"context_line":""},{"line_number":758,"context_line":"        base_options \u003d {"},{"line_number":759,"context_line":"            \u0027reservation_id\u0027: reservation_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"AAAAUH%2F9cRw%3D","line":756,"updated":"2014-02-06 21:51:51.000000000","message":"system_metadata values are limited to 255 chars. If you end up with some json that is longer than that, it will be truncated and fail to load on the other end. I don\u0027t know that system_metadata is as easy and obvious of a place to stash this as you think.","commit_id":"2d52afe95f1f2861414e44a8ff66f4e2edc682cb"},{"author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"change_message_id":"83ea025bef9f038d7d4b89031d179a49f555ad82","unresolved":false,"context_lines":[{"line_number":753,"context_line":""},{"line_number":754,"context_line":"        system_metadata \u003d flavors.save_flavor_info("},{"line_number":755,"context_line":"            dict(), instance_type)"},{"line_number":756,"context_line":"        system_metadata[\u0027scheduler_hints\u0027] \u003d jsonutils.dumps(scheduler_hints)"},{"line_number":757,"context_line":""},{"line_number":758,"context_line":"        base_options \u003d {"},{"line_number":759,"context_line":"            \u0027reservation_id\u0027: reservation_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"AAAAUH%2F9adM%3D","line":756,"in_reply_to":"AAAAUH%2F9cRw%3D","updated":"2014-02-07 03:15:01.000000000","message":"My first thinking was store scheduler hints to DB (https://review.openstack.org/#/c/62396/10/nova/db/sqlalchemy/models.py)\n\nAfter some talk with you on https://review.openstack.org/#/c/62396/10 , I tried to store it in system_metadata. Yes, system_metadata was limitted to 255 chars, it might be good enough to store it here.\n\nI will try to see if we can store it in DB after this bp was approved. Thanks.","commit_id":"2d52afe95f1f2861414e44a8ff66f4e2edc682cb"}]}
