)]}'
{"manila/share/drivers/huawei/v3/connection.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"b55d89a4c138419cdad23ba3437ae079478d85cb","unresolved":false,"context_lines":[{"line_number":101,"context_line":"            if fs_id is not None:"},{"line_number":102,"context_line":"                self.helper._delete_fs(fs_id)"},{"line_number":103,"context_line":"            raise exception.InvalidShare("},{"line_number":104,"context_line":"                reason\u003d(_(\u0027Failed to create share %(name)s. \u0027"},{"line_number":105,"context_line":"                          \u0027Reason: %(err)s.\u0027)"},{"line_number":106,"context_line":"                        % {\u0027name\u0027: share_name,"},{"line_number":107,"context_line":"                           \u0027err\u0027: err}))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_4bb0df8b","line":104,"updated":"2015-08-10 10:26:47.000000000","message":"out of scope for this commit","commit_id":"5619b1e3f8c1d72febc2dba86802b2cc882d8f5b"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"b799af99190423f964641b3836ef063a0a95b7db","unresolved":false,"context_lines":[{"line_number":101,"context_line":"            if fs_id is not None:"},{"line_number":102,"context_line":"                self.helper._delete_fs(fs_id)"},{"line_number":103,"context_line":"            raise exception.InvalidShare("},{"line_number":104,"context_line":"                reason\u003d(_(\u0027Failed to create share %(name)s. \u0027"},{"line_number":105,"context_line":"                          \u0027Reason: %(err)s.\u0027)"},{"line_number":106,"context_line":"                        % {\u0027name\u0027: share_name,"},{"line_number":107,"context_line":"                           \u0027err\u0027: err}))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_d66b531e","line":104,"in_reply_to":"1a4dcd0f_4bb0df8b","updated":"2015-08-14 02:21:20.000000000","message":"Done","commit_id":"5619b1e3f8c1d72febc2dba86802b2cc882d8f5b"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"b55d89a4c138419cdad23ba3437ae079478d85cb","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        current_size \u003d int(fs_info[\u0027CAPACITY\u0027]) / units.Mi / 2"},{"line_number":131,"context_line":"        if current_size \u003e new_size:"},{"line_number":132,"context_line":"            err_msg \u003d (_(\"New size for extend must be great than current \""},{"line_number":133,"context_line":"                         \"size on array. (current: %(size)s, \""},{"line_number":134,"context_line":"                         \"new: %(new_size)s).\")"},{"line_number":135,"context_line":"                       % {\u0027size\u0027: current_size, \u0027new_size\u0027: new_size})"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_cbbb8f74","line":132,"updated":"2015-08-10 10:26:47.000000000","message":"s/great/greater/\n\nbut better to use \"bigger\"","commit_id":"5619b1e3f8c1d72febc2dba86802b2cc882d8f5b"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"b799af99190423f964641b3836ef063a0a95b7db","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        current_size \u003d int(fs_info[\u0027CAPACITY\u0027]) / units.Mi / 2"},{"line_number":131,"context_line":"        if current_size \u003e new_size:"},{"line_number":132,"context_line":"            err_msg \u003d (_(\"New size for extend must be great than current \""},{"line_number":133,"context_line":"                         \"size on array. (current: %(size)s, \""},{"line_number":134,"context_line":"                         \"new: %(new_size)s).\")"},{"line_number":135,"context_line":"                       % {\u0027size\u0027: current_size, \u0027new_size\u0027: new_size})"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_b6724710","line":132,"in_reply_to":"1a4dcd0f_cbbb8f74","updated":"2015-08-14 02:21:20.000000000","message":"Done","commit_id":"5619b1e3f8c1d72febc2dba86802b2cc882d8f5b"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"2e8f2a497dfa79fef974543d2ac9b5ff2d54f675","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        fs_info \u003d self.helper._get_fs_info_by_id(fsid)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        current_size \u003d int(fs_info[\u0027CAPACITY\u0027]) / units.Mi / 2"},{"line_number":131,"context_line":"        if current_size \u003e new_size:"},{"line_number":132,"context_line":"            err_msg \u003d (_(\"New size for extend must be bigger than current \""},{"line_number":133,"context_line":"                         \"size on array. (current: %(size)s, \""},{"line_number":134,"context_line":"                         \"new: %(new_size)s).\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_cb2f1c87","line":131,"updated":"2015-08-14 10:19:29.000000000","message":"\"equal\" case should lead to error too.\n\n\"\"\"\n\nif current_size \u003e\u003d new_size:\n\n\"\"\"","commit_id":"14cd0c19f88acbbb9285a8a7250f4e45746646ad"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"2e6632d04bda0fad7153bc12cab68eb432ed7295","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        fs_info \u003d self.helper._get_fs_info_by_id(fsid)"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"        current_size \u003d int(fs_info[\u0027CAPACITY\u0027]) / units.Mi / 2"},{"line_number":131,"context_line":"        if current_size \u003e new_size:"},{"line_number":132,"context_line":"            err_msg \u003d (_(\"New size for extend must be bigger than current \""},{"line_number":133,"context_line":"                         \"size on array. (current: %(size)s, \""},{"line_number":134,"context_line":"                         \"new: %(new_size)s).\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_a12167b6","line":131,"in_reply_to":"1a4dcd0f_cb2f1c87","updated":"2015-08-19 01:23:43.000000000","message":"This is solve the problem that user manual change the share size on array. Prevent is originally \"extend_share\" into \"shrink_share\". If the current_size is equal with new_size, it not means \"shrink_share\". So it is ok. But the log is not clear, I will modify the log.\n Thank you for your points out.","commit_id":"14cd0c19f88acbbb9285a8a7250f4e45746646ad"}],"manila/tests/share/drivers/huawei/test_huawei_nas.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"2e8f2a497dfa79fef974543d2ac9b5ff2d54f675","unresolved":false,"context_lines":[{"line_number":782,"context_line":"        self.assertRaises(exception.InvalidInput,"},{"line_number":783,"context_line":"                          self.driver.extend_share,"},{"line_number":784,"context_line":"                          self.share_nfs,"},{"line_number":785,"context_line":"                          3,"},{"line_number":786,"context_line":"                          self.share_server)"},{"line_number":787,"context_line":""},{"line_number":788,"context_line":"    def test_extend_share_not_exist(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_0b6424e3","line":785,"updated":"2015-08-14 10:19:29.000000000","message":"Need to add test where we have equality for \"current\" size and \"new\" size.","commit_id":"14cd0c19f88acbbb9285a8a7250f4e45746646ad"}]}
