)]}'
{"manila/share/drivers/netapp/dataontap/cluster_mode/lib_base.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"cb539d7df0c81644bfab94da33600232b31435c2","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        share_name \u003d self._get_valid_share_name(share[\u0027id\u0027])"},{"line_number":639,"context_line":"        LOG.debug(\u0027Extending share %(name)s to %(size)s GB.\u0027,"},{"line_number":640,"context_line":"                  {\u0027name\u0027: share_name, \u0027size\u0027: new_size})"},{"line_number":641,"context_line":"        vserver_client.set_volume_size(share_name, new_size)"},{"line_number":642,"context_line":""},{"line_number":643,"context_line":"    @na_utils.trace"},{"line_number":644,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_68926ff8","line":641,"updated":"2015-08-14 21:20:29.000000000","message":"I did not find place where you verify that \"new\" size is bigger than \"old\" one. I see that it is \"resize\"-like, but not exactly \"extend\".","commit_id":"385c062c9029d23a71fef8c35fc10d458d1025f6"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"480f6bb515a1faa2999fcf79d406b0ae2c96026c","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        share_name \u003d self._get_valid_share_name(share[\u0027id\u0027])"},{"line_number":639,"context_line":"        LOG.debug(\u0027Extending share %(name)s to %(size)s GB.\u0027,"},{"line_number":640,"context_line":"                  {\u0027name\u0027: share_name, \u0027size\u0027: new_size})"},{"line_number":641,"context_line":"        vserver_client.set_volume_size(share_name, new_size)"},{"line_number":642,"context_line":""},{"line_number":643,"context_line":"    @na_utils.trace"},{"line_number":644,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_4be1a329","line":641,"in_reply_to":"1a4dcd0f_1cdf6c3b","updated":"2015-08-15 13:33:25.000000000","message":"If the share size has been manually changed on array. Manila cannot perceive. At this time, the API share size is inconsistent with really share size(on array).\n\nIn the API layer think \"new\" size is bigger than \"old\" one(API layer), but in fact \"new\" size is lesser than \"old\" one(on array).","commit_id":"385c062c9029d23a71fef8c35fc10d458d1025f6"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"f01ebb7d319e8fcd678e715a903d92bf8d73e3fe","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        share_name \u003d self._get_valid_share_name(share[\u0027id\u0027])"},{"line_number":639,"context_line":"        LOG.debug(\u0027Extending share %(name)s to %(size)s GB.\u0027,"},{"line_number":640,"context_line":"                  {\u0027name\u0027: share_name, \u0027size\u0027: new_size})"},{"line_number":641,"context_line":"        vserver_client.set_volume_size(share_name, new_size)"},{"line_number":642,"context_line":""},{"line_number":643,"context_line":"    @na_utils.trace"},{"line_number":644,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_eec51d0a","line":641,"in_reply_to":"1a4dcd0f_4be1a329","updated":"2015-08-15 17:15:54.000000000","message":"It doesn\u0027t seem practical to design for whatever changes a misguided administrator has made to the array without Manila\u0027s knowledge.  If Manila is managing the share, then going around Manila is asking for trouble.","commit_id":"385c062c9029d23a71fef8c35fc10d458d1025f6"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"6ca1f03b717ab15a6707a0458594dd28aa917110","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        share_name \u003d self._get_valid_share_name(share[\u0027id\u0027])"},{"line_number":639,"context_line":"        LOG.debug(\u0027Extending share %(name)s to %(size)s GB.\u0027,"},{"line_number":640,"context_line":"                  {\u0027name\u0027: share_name, \u0027size\u0027: new_size})"},{"line_number":641,"context_line":"        vserver_client.set_volume_size(share_name, new_size)"},{"line_number":642,"context_line":""},{"line_number":643,"context_line":"    @na_utils.trace"},{"line_number":644,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_1cdf6c3b","line":641,"in_reply_to":"1a4dcd0f_68926ff8","updated":"2015-08-14 21:43:27.000000000","message":"True.  Igor placed that check in the API layer so the drivers wouldn\u0027t all have to do it separately.\n\nhttps://github.com/openstack/manila/blob/master/manila/share/api.py#L701","commit_id":"385c062c9029d23a71fef8c35fc10d458d1025f6"},{"author":{"_account_id":14232,"name":"Igor Malinovskiy","email":"u.glide@gmail.com","username":"imalinovskiy"},"change_message_id":"b543c147c456b08f859ec11e64552182d32f8220","unresolved":false,"context_lines":[{"line_number":638,"context_line":"        share_name \u003d self._get_valid_share_name(share[\u0027id\u0027])"},{"line_number":639,"context_line":"        LOG.debug(\u0027Extending share %(name)s to %(size)s GB.\u0027,"},{"line_number":640,"context_line":"                  {\u0027name\u0027: share_name, \u0027size\u0027: new_size})"},{"line_number":641,"context_line":"        vserver_client.set_volume_size(share_name, new_size)"},{"line_number":642,"context_line":""},{"line_number":643,"context_line":"    @na_utils.trace"},{"line_number":644,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_75e27fa1","line":641,"in_reply_to":"1a4dcd0f_eec51d0a","updated":"2015-08-17 14:48:27.000000000","message":"@Clinton +1\n\nAlso, race conditions between \u0027extend\u0027 and \u0027shrink\u0027 operations should be handled in Share manager.","commit_id":"385c062c9029d23a71fef8c35fc10d458d1025f6"}]}
