)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"22ae8ccae3647dfa6b95aaff3a8bd7180a834565","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This was added to support older RPC calls where instance_properties had some"},{"line_number":10,"context_line":"flavor stuff embedded in system_metadata. That is not (AFAIK) still required"},{"line_number":11,"context_line":"after the move to compute RPC v4.0 and the dropping of v3.0 support."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This is required to drop flavors-in-sysmeta compatibility across the board."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"fa32b979_83bf27a9","line":11,"updated":"2015-06-17 20:38:22.000000000","message":"Technically, the change you make in build_req_spec() is not possible due to the compute RPC bump, but rather because the Scheduler API (even v3) doesn\u0027t use the flavor stuff in the instance but rather directly from the Flavor object","commit_id":"4e3b573e4c6e7571fd22c2cc1a62ab17cdd97b1e"}],"nova/compute/resource_tracker.py":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"1854dccdfb0f5396eaba681754b4e73d08907167","unresolved":false,"context_lines":[{"line_number":902,"context_line":"        if isinstance(object_or_dict, objects.Instance):"},{"line_number":903,"context_line":"            usage \u003d obj_base.obj_to_primitive(object_or_dict)"},{"line_number":904,"context_line":"        elif isinstance(object_or_dict, objects.Flavor):"},{"line_number":905,"context_line":"            usage \u003d obj_base.obj_to_primitive(object_or_dict)"},{"line_number":906,"context_line":"        else:"},{"line_number":907,"context_line":"            usage.update(object_or_dict)"},{"line_number":908,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"fa32b979_344b4f5b","line":905,"updated":"2015-06-22 20:19:02.000000000","message":"The above four lines can now be condensed to:\n\n if isinstance(object_or_dict, (objects.Instance, objects.Flavor)):\n     usage \u003d obj_base.obj_to_primitive(object_or_dict)","commit_id":"cd04ad6225d8fcb868a265936428c967c99f63e6"}]}
