)]}'
{"ironic/objects/node.py":[{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"a64cd234c9c147630a9ceb3c888d6d7b39d9fce8","unresolved":false,"context_lines":[{"line_number":158,"context_line":"                   {\u0027node\u0027: self.uuid, \u0027msgs\u0027: \u0027, \u0027.join(invalid_msgs_list)})"},{"line_number":159,"context_line":"            raise exception.InvalidParameterValue(msg)"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"    def _convert_to_version(self, target_version, change_fields\u003dTrue):"},{"line_number":162,"context_line":"        \"\"\"Convert this object to the target version."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        :param target_version: the desired version of the object"}],"source_content_type":"text/x-python","patch_set":10,"id":"3f1d235d_e1261fbb","line":161,"range":{"start_line":161,"start_character":8,"end_line":161,"end_character":27},"updated":"2017-07-09 05:01:13.000000000","message":"I have a problem with this function during testing rolling upgrade.\n\nThis one overwrite a function in IronicObject class [1]. However, the convert_to_version in IronicObject will call this one in some with different input in some case. that why I get a error during testing [2]. What do you think?\n\n[1] https://review.openstack.org/#/c/476779/5/ironic/objects/base.py \n\n[2] http://paste.openstack.org/show/614850/","commit_id":"9fc145cfb3a6480ae7d2dd9ca2adb1b07d869842"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"4f6365a94ce3f8a36da0d006ed128a74207724a0","unresolved":false,"context_lines":[{"line_number":158,"context_line":"                   {\u0027node\u0027: self.uuid, \u0027msgs\u0027: \u0027, \u0027.join(invalid_msgs_list)})"},{"line_number":159,"context_line":"            raise exception.InvalidParameterValue(msg)"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"    def _convert_to_version(self, target_version, change_fields\u003dTrue):"},{"line_number":162,"context_line":"        \"\"\"Convert this object to the target version."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"        :param target_version: the desired version of the object"}],"source_content_type":"text/x-python","patch_set":10,"id":"1f1a1f67_05f374a0","line":161,"range":{"start_line":161,"start_character":8,"end_line":161,"end_character":27},"in_reply_to":"3f1d235d_e1261fbb","updated":"2017-07-12 15:14:02.000000000","message":"Thank you for detecting this. I didn\u0027t rebase this patch properly after I made changes to https://review.openstack.org/#/c/476779/.","commit_id":"9fc145cfb3a6480ae7d2dd9ca2adb1b07d869842"},{"author":{"_account_id":19554,"name":"Nam","email":"namnh68@fsoft.com.vn","username":"namnh"},"change_message_id":"09a4e9dea4a79aa739b7e80f8b0020bf40853521","unresolved":false,"context_lines":[{"line_number":471,"context_line":"    max_count \u003d max_count or total"},{"line_number":472,"context_line":"    done \u003d 0"},{"line_number":473,"context_line":"    for db_node in db_nodes:"},{"line_number":474,"context_line":"        node \u003d objects.Node._from_db_object(objects.Node(context), db_node)"},{"line_number":475,"context_line":"        node.save()"},{"line_number":476,"context_line":"        done +\u003d 1"},{"line_number":477,"context_line":"        if done \u003d\u003d max_count:"}],"source_content_type":"text/x-python","patch_set":13,"id":"ff346bd7_08bdb7b6","line":474,"range":{"start_line":474,"start_character":44,"end_line":474,"end_character":74},"updated":"2017-07-24 10:41:32.000000000","message":"hi Ruby,\n\nI am testing this patch, it seems OK but i think that you are missing a context variable at this point.\nBecause the result of command \"ironic-dbsync online_data_migrations\" raise TypeError [1]\n\nP/s: I will send the detail of my testing later.\n\n[1] http://paste.openstack.org/show/616290/","commit_id":"bb82409370fe9ba948a6134c13d0c6b733ee01c6"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"65e6be5c7528e8baa7375e26c57e272de045704f","unresolved":false,"context_lines":[{"line_number":471,"context_line":"    max_count \u003d max_count or total"},{"line_number":472,"context_line":"    done \u003d 0"},{"line_number":473,"context_line":"    for db_node in db_nodes:"},{"line_number":474,"context_line":"        node \u003d objects.Node._from_db_object(objects.Node(context), db_node)"},{"line_number":475,"context_line":"        node.save()"},{"line_number":476,"context_line":"        done +\u003d 1"},{"line_number":477,"context_line":"        if done \u003d\u003d max_count:"}],"source_content_type":"text/x-python","patch_set":13,"id":"ff346bd7_3a91da9a","line":474,"range":{"start_line":474,"start_character":44,"end_line":474,"end_character":74},"in_reply_to":"ff346bd7_08bdb7b6","updated":"2017-07-24 14:50:59.000000000","message":"Hi Nam, yes, you\u0027re right. Thx for noticing. This patch has been around for awhile and the  ironic code has changed and I didn\u0027t notice this. (Also because I didn\u0027t put in complete unit tests for this since it is just throw-away code...)","commit_id":"bb82409370fe9ba948a6134c13d0c6b733ee01c6"}]}
