)]}'
{"manila/share/api.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1190,"context_line":"        if (new_share_network_id \u003d\u003d share_instance[\u0027share_network_id\u0027] and"},{"line_number":1191,"context_line":"                new_share_type_id \u003d\u003d share_instance[\u0027share_type_id\u0027] and"},{"line_number":1192,"context_line":"                dest_host \u003d\u003d share_instance[\u0027host\u0027]):"},{"line_number":1193,"context_line":"            msg \u003d \"Destination host (%(dest_host)s), share network \" \\"},{"line_number":1194,"context_line":"                  \"(%(dest_sn)s) or share type (%(dest_st)s) are the same \" \\"},{"line_number":1195,"context_line":"                  \"as the current host\u0027s \u0027%(src_host)s\u0027, \u0027%(src_sn)s\u0027 and \" \\"},{"line_number":1196,"context_line":"                  \"\u0027%(src_st)s\u0027 respectively. Nothing to be done.\" % {"},{"line_number":1197,"context_line":"                      \u0027dest_host\u0027: dest_host,"},{"line_number":1198,"context_line":"                      \u0027dest_sn\u0027: new_share_network_id,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_980802da","line":1195,"range":{"start_line":1193,"start_character":18,"end_line":1195,"end_character":77},"updated":"2017-03-30 13:39:40.000000000","message":"wrap this in () instead of using \"\\\"","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/dell_emc/plugins/vmax/connection.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":295,"context_line":"            # Delete mount point"},{"line_number":296,"context_line":"            self._get_context(\u0027MountPoint\u0027).delete(path, vdm_name)"},{"line_number":297,"context_line":"        except exception.EMCVmaxXMLAPIError as e:"},{"line_number":298,"context_line":"            LOG.exception((\"CIFS server %(name)s on mover %(mover_name)s \""},{"line_number":299,"context_line":"                           \"not found due to error %(err)s. Skip the \""},{"line_number":300,"context_line":"                           \"deletion.\"),"},{"line_number":301,"context_line":"                          {\u0027name\u0027: path, \u0027mover_name\u0027: vdm_name,"},{"line_number":302,"context_line":"                          \u0027err\u0027: e.message})"},{"line_number":303,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b89f4664","line":300,"range":{"start_line":298,"start_character":26,"end_line":300,"end_character":39},"updated":"2017-03-30 13:39:40.000000000","message":"redundant paranthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":305,"context_line":"            # Delete file system"},{"line_number":306,"context_line":"            self._get_context(\u0027FileSystem\u0027).delete(share_name)"},{"line_number":307,"context_line":"        except exception.EMCVmaxXMLAPIError as e:"},{"line_number":308,"context_line":"            LOG.exception((\"File system  %(share_name)s not found due to\""},{"line_number":309,"context_line":"                           \"error %(err)s. Skip the deletion.\"),"},{"line_number":310,"context_line":"                          {\u0027share_name\u0027: share_name,"},{"line_number":311,"context_line":"                          \u0027err\u0027: e.message})"},{"line_number":312,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_58aefa98","line":309,"range":{"start_line":308,"start_character":26,"end_line":309,"end_character":63},"updated":"2017-03-30 13:39:40.000000000","message":"same","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        except Exception:"},{"line_number":724,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":725,"context_line":"                LOG.exception((\u0027Could not setup server\u0027))"},{"line_number":726,"context_line":"                server_details \u003d self._construct_backend_details("},{"line_number":727,"context_line":"                    vdm_name, allocated_interfaces)"},{"line_number":728,"context_line":"                self.teardown_server("}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_d899ea79","line":725,"range":{"start_line":725,"start_character":30,"end_line":725,"end_character":56},"updated":"2017-03-30 13:39:40.000000000","message":"same","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/dell_emc/plugins/vnx/connection.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":711,"context_line":""},{"line_number":712,"context_line":"        except Exception:"},{"line_number":713,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":714,"context_line":"                LOG.exception((\u0027Could not setup server.\u0027))"},{"line_number":715,"context_line":"                server_details \u003d self._construct_backend_details("},{"line_number":716,"context_line":"                    vdm_name, allocated_interfaces)"},{"line_number":717,"context_line":"                self.teardown_server("}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_d8720a4a","line":714,"range":{"start_line":714,"start_character":30,"end_line":714,"end_character":57},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/dell_emc/plugins/vnx/connector.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":153,"context_line":"                return out, err"},{"line_number":154,"context_line":"            except processutils.ProcessExecutionError:"},{"line_number":155,"context_line":"                with excutils.save_and_reraise_exception():"},{"line_number":156,"context_line":"                    LOG.exception((\u0027Error running SSH command: %(cmd)s.\u0027),"},{"line_number":157,"context_line":"                                  {\u0027cmd\u0027: command})"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    def log_request(self, cmd, out, err):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_189e3254","line":156,"range":{"start_line":156,"start_character":34,"end_line":156,"end_character":73},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/glusterfs/common.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":248,"context_line":"    def _get_vol_option_via_info(self, option):"},{"line_number":249,"context_line":"        \"\"\"Get the value of an option set on a GlusterFS volume via volinfo.\"\"\""},{"line_number":250,"context_line":"        args \u003d (\u0027--xml\u0027, \u0027volume\u0027, \u0027info\u0027, self.volume)"},{"line_number":251,"context_line":"        out, err \u003d self.gluster_call(*args, log\u003d(\"retrieving volume info\"))"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"        if not out:"},{"line_number":254,"context_line":"            raise exception.GlusterfsException("}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_38cfb658","line":251,"range":{"start_line":251,"start_character":48,"end_line":251,"end_character":49},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":332,"context_line":"        :returns: version (as tuple of strings, example: (\u00273\u0027, \u00276\u0027, \u00270beta2\u0027))"},{"line_number":333,"context_line":"        \"\"\""},{"line_number":334,"context_line":"        out, err \u003d self.gluster_call(\u0027--version\u0027,"},{"line_number":335,"context_line":"                                     log\u003d(\"GlusterFS version query\"))"},{"line_number":336,"context_line":"        try:"},{"line_number":337,"context_line":"            owords \u003d out.split()"},{"line_number":338,"context_line":"            if owords[0] !\u003d \u0027glusterfs\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f8d82e1f","line":335,"range":{"start_line":335,"start_character":41,"end_line":335,"end_character":42},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":431,"context_line":"    # this odd-behaviour of Gluster-CLI."},{"line_number":432,"context_line":"    gluster_mgr.gluster_call("},{"line_number":433,"context_line":"        \u0027volume\u0027, \u0027stop\u0027, gluster_mgr.volume, \u0027--mode\u003dscript\u0027,"},{"line_number":434,"context_line":"        log\u003d(\"stopping GlusterFS volume %s\") % gluster_mgr.volume)"},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"    gluster_mgr.gluster_call("},{"line_number":437,"context_line":"        \u0027volume\u0027, \u0027start\u0027, gluster_mgr.volume,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b804e67f","line":434,"range":{"start_line":434,"start_character":12,"end_line":434,"end_character":13},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":435,"context_line":""},{"line_number":436,"context_line":"    gluster_mgr.gluster_call("},{"line_number":437,"context_line":"        \u0027volume\u0027, \u0027start\u0027, gluster_mgr.volume,"},{"line_number":438,"context_line":"        log\u003d(\"starting GlusterFS volume %s\") % gluster_mgr.volume)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_38f8d67a","line":438,"range":{"start_line":438,"start_character":12,"end_line":438,"end_character":13},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/glusterfs/layout_directory.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":82,"context_line":"        except exception.GlusterfsException:"},{"line_number":83,"context_line":"            if (self.gluster_manager."},{"line_number":84,"context_line":"                    get_vol_option(\u0027features.quota\u0027)) !\u003d \u0027on\u0027:"},{"line_number":85,"context_line":"                LOG.exception((\"Error in tuning GlusterFS volume to enable \""},{"line_number":86,"context_line":"                               \"creation of shares of specific size.\"))"},{"line_number":87,"context_line":"                raise"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        self._ensure_gluster_vol_mounted()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_982ec2f8","line":86,"range":{"start_line":85,"start_character":30,"end_line":86,"end_character":70},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":106,"context_line":"                                      self.gluster_manager.export, mount_path,"},{"line_number":107,"context_line":"                                      ensure\u003dTrue)"},{"line_number":108,"context_line":"        except exception.GlusterfsException:"},{"line_number":109,"context_line":"            LOG.exception((\u0027Could not mount the Gluster volume %s\u0027),"},{"line_number":110,"context_line":"                          self.gluster_manager.volume)"},{"line_number":111,"context_line":"            raise"},{"line_number":112,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b812a6b3","line":109,"range":{"start_line":109,"start_character":26,"end_line":109,"end_character":67},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":182,"context_line":"        try:"},{"line_number":183,"context_line":"            self.driver._execute(*cmd, run_as_root\u003dTrue)"},{"line_number":184,"context_line":"        except exception.ProcessExecutionError:"},{"line_number":185,"context_line":"            LOG.exception((\u0027Unable to delete share %s\u0027), share[\u0027name\u0027])"},{"line_number":186,"context_line":"            raise"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    def ensure_share(self, context, share, share_server\u003dNone):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_780c1e94","line":185,"range":{"start_line":185,"start_character":26,"end_line":185,"end_character":55},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/glusterfs/layout_volume.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":385,"context_line":"        try:"},{"line_number":386,"context_line":"            vol \u003d self._pop_gluster_vol(share[\u0027size\u0027])"},{"line_number":387,"context_line":"        except exception.GlusterfsException:"},{"line_number":388,"context_line":"            msg \u003d ((\"Error creating share %(share_id)s\"),"},{"line_number":389,"context_line":"                   {\u0027share_id\u0027: share[\u0027id\u0027]})"},{"line_number":390,"context_line":"            LOG.error(msg)"},{"line_number":391,"context_line":"            raise"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_1868721f","line":388,"range":{"start_line":388,"start_character":19,"end_line":388,"end_character":56},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":436,"context_line":""},{"line_number":437,"context_line":"            self._push_gluster_vol(gmgr.qualified)"},{"line_number":438,"context_line":"        except exception.GlusterfsException:"},{"line_number":439,"context_line":"            msg \u003d ((\"Error during delete_share request for \""},{"line_number":440,"context_line":"                    \"share %(share_id)s\"), {\u0027share_id\u0027: share[\u0027id\u0027]})"},{"line_number":441,"context_line":"            LOG.error(msg)"},{"line_number":442,"context_line":"            raise"},{"line_number":443,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b8606637","line":440,"range":{"start_line":439,"start_character":19,"end_line":440,"end_character":41},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":449,"context_line":"        args \u003d (\u0027snapshot\u0027, \u0027list\u0027, gluster_mgr.volume, \u0027--mode\u003dscript\u0027)"},{"line_number":450,"context_line":"        out, err \u003d gluster_mgr.gluster_call("},{"line_number":451,"context_line":"            *args,"},{"line_number":452,"context_line":"            log\u003d(\"Retrieving snapshot list\"))"},{"line_number":453,"context_line":"        snapgrep \u003d list(filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\")))"},{"line_number":454,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":455,"context_line":"            msg \u003d (_(\"Failed to identify backing GlusterFS object \""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_38545654","line":452,"range":{"start_line":452,"start_character":16,"end_line":452,"end_character":44},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":493,"context_line":"        for args in args_tuple:"},{"line_number":494,"context_line":"            out, err \u003d old_gmgr.gluster_call("},{"line_number":495,"context_line":"                *args,"},{"line_number":496,"context_line":"                log\u003d(\"Creating share from snapshot\"))"},{"line_number":497,"context_line":""},{"line_number":498,"context_line":"        # Get a manager for the new volume/share."},{"line_number":499,"context_line":"        comp_vol \u003d old_gmgr.components.copy()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f84dcec4","line":496,"range":{"start_line":496,"start_character":20,"end_line":496,"end_character":52},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":509,"context_line":"                  (\u0027start\u0027, []))"},{"line_number":510,"context_line":"        for op, opargs in argseq:"},{"line_number":511,"context_line":"            args \u003d [\u0027volume\u0027, op, gmgr.volume] + opargs"},{"line_number":512,"context_line":"            gmgr.gluster_call(*args, log\u003d(\"Creating share from snapshot\"))"},{"line_number":513,"context_line":""},{"line_number":514,"context_line":"        self.gluster_used_vols.add(gmgr.qualified)"},{"line_number":515,"context_line":"        self.private_storage.update(share[\u0027id\u0027], {\u0027volume\u0027: gmgr.qualified})"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b8c5060d","line":512,"range":{"start_line":512,"start_character":41,"end_line":512,"end_character":73},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":528,"context_line":"                    gluster_mgr.volume)"},{"line_number":529,"context_line":"            out, err \u003d gluster_mgr.gluster_call("},{"line_number":530,"context_line":"                *args,"},{"line_number":531,"context_line":"                log\u003d(\"Retrieving volume info\"))"},{"line_number":532,"context_line":""},{"line_number":533,"context_line":"            if not out:"},{"line_number":534,"context_line":"                raise exception.GlusterfsException("}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_58d4babd","line":531,"range":{"start_line":531,"start_character":20,"end_line":531,"end_character":46},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":570,"context_line":"                \u0027--mode\u003dscript\u0027)"},{"line_number":571,"context_line":"        out, err \u003d gluster_mgr.gluster_call("},{"line_number":572,"context_line":"            *args,"},{"line_number":573,"context_line":"            log\u003d(\"Error deleting snapshot\"))"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":"        if not out:"},{"line_number":576,"context_line":"            raise exception.GlusterfsException("}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f8e26ea0","line":573,"range":{"start_line":573,"start_character":16,"end_line":573,"end_character":43},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/hpe/hpe_3par_mediator.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":978,"context_line":"        try:"},{"line_number":979,"context_line":"            utils.execute(\u0027mkdir\u0027, mount_location, run_as_root\u003dTrue)"},{"line_number":980,"context_line":"        except Exception as err:"},{"line_number":981,"context_line":"            message \u003d ((\"There was an error creating mount directory: \""},{"line_number":982,"context_line":"                        \"%s. The nested file tree will not be deleted.\"),"},{"line_number":983,"context_line":"                       six.text_type(err))"},{"line_number":984,"context_line":"            LOG.warning(message)"},{"line_number":985,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f8a94e24","line":982,"range":{"start_line":981,"start_character":23,"end_line":982,"end_character":72},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1004,"context_line":"                protocol, fpg, vfs, fstore, share_ip)"},{"line_number":1005,"context_line":"            self._mount_share(protocol, mount_location, mount_dir)"},{"line_number":1006,"context_line":"        except Exception as err:"},{"line_number":1007,"context_line":"            message \u003d ((\"There was an error mounting the super share: \""},{"line_number":1008,"context_line":"                        \"%s. The nested file tree will not be deleted.\"),"},{"line_number":1009,"context_line":"                       six.text_type(err))"},{"line_number":1010,"context_line":"            LOG.warning(message)"},{"line_number":1011,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_9866c229","line":1008,"range":{"start_line":1007,"start_character":23,"end_line":1008,"end_character":72},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1025,"context_line":"        try:"},{"line_number":1026,"context_line":"            utils.execute(\u0027rm\u0027, \u0027-rf\u0027, directory, run_as_root\u003dTrue)"},{"line_number":1027,"context_line":"        except Exception as err:"},{"line_number":1028,"context_line":"            message \u003d ((\"There was an error removing the share: \""},{"line_number":1029,"context_line":"                        \"%s. The nested file tree will not be deleted.\"),"},{"line_number":1030,"context_line":"                       six.text_type(err))"},{"line_number":1031,"context_line":"            LOG.warning(message)"},{"line_number":1032,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_1872b2e4","line":1029,"range":{"start_line":1028,"start_character":23,"end_line":1029,"end_character":72},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1212,"context_line":"            self._client.startfsnapclean(fpg, reclaimStrategy\u003d\u0027maxspeed\u0027)"},{"line_number":1213,"context_line":"        except Exception:"},{"line_number":1214,"context_line":"            # Remove already happened so only log this."},{"line_number":1215,"context_line":"            LOG.exception((\u0027Unexpected exception calling startfsnapclean \u0027"},{"line_number":1216,"context_line":"                           \u0027for FPG %(fpg)s.\u0027), {\u0027fpg\u0027: fpg})"},{"line_number":1217,"context_line":""},{"line_number":1218,"context_line":"    @staticmethod"},{"line_number":1219,"context_line":"    def _validate_access_type(protocol, access_type):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b84aa680","line":1216,"range":{"start_line":1215,"start_character":26,"end_line":1216,"end_character":46},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"9720efbc227d6c6d5a2bdfd21913ff0657e016c8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"dfeb2761_e1c1a682","updated":"2017-03-30 17:10:45.000000000","message":"https://review.openstack.org/#/c/449487/2..3/manila/share/drivers/hpe/hpe_3par_mediator.py\n\nIssues in this file have not been addressed","commit_id":"0777c536ae1a310ebc619bb5c7d6d04efbe7d375"}],"manila/share/drivers/huawei/v3/connection.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1780,"context_line":"        try:"},{"line_number":1781,"context_line":"            self.replica_mgr.switch_over(replica_pair_id)"},{"line_number":1782,"context_line":"        except Exception:"},{"line_number":1783,"context_line":"            LOG.exception((\u0027Failed to promote replica %s.\u0027),"},{"line_number":1784,"context_line":"                          replica[\u0027id\u0027])"},{"line_number":1785,"context_line":"            raise"},{"line_number":1786,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_7839bef0","line":1783,"range":{"start_line":1783,"start_character":26,"end_line":1783,"end_character":59},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/huawei/v3/replication.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            pair_info \u003d self.helper.get_replication_pair_by_id("},{"line_number":70,"context_line":"                replica_pair_id)"},{"line_number":71,"context_line":"        except Exception:"},{"line_number":72,"context_line":"            LOG.exception((\u0027Failed to get replication pair info for \u0027"},{"line_number":73,"context_line":"                          \u0027%s.\u0027), replica_pair_id)"},{"line_number":74,"context_line":"            raise"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        return pair_info"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f805ce15","line":73,"range":{"start_line":72,"start_character":26,"end_line":73,"end_character":32},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":192,"context_line":"            # means replication pair is in an abnormal status,"},{"line_number":193,"context_line":"            # ignore this exception, continue to cancel secondary write lock,"},{"line_number":194,"context_line":"            # let secondary share accessible for disaster recovery."},{"line_number":195,"context_line":"            LOG.exception((\u0027Failed to split replication pair %s while \u0027"},{"line_number":196,"context_line":"                           \u0027switching over.\u0027), replica_pair_id)"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"        try:"},{"line_number":199,"context_line":"            self.helper.cancel_pair_secondary_write_lock(replica_pair_id)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_73079f1a","line":196,"range":{"start_line":195,"start_character":26,"end_line":196,"end_character":45},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":198,"context_line":"        try:"},{"line_number":199,"context_line":"            self.helper.cancel_pair_secondary_write_lock(replica_pair_id)"},{"line_number":200,"context_line":"        except Exception:"},{"line_number":201,"context_line":"            LOG.exception((\u0027Failed to cancel replication pair %s \u0027"},{"line_number":202,"context_line":"                           \u0027secondary write lock.\u0027), replica_pair_id)"},{"line_number":203,"context_line":"            raise"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_130e1332","line":202,"range":{"start_line":201,"start_character":26,"end_line":202,"end_character":51},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":207,"context_line":"            self.helper.set_pair_secondary_write_lock(replica_pair_id)"},{"line_number":208,"context_line":"            self.helper.sync_replication_pair(replica_pair_id)"},{"line_number":209,"context_line":"        except Exception:"},{"line_number":210,"context_line":"            LOG.exception((\u0027Failed to completely switch over \u0027"},{"line_number":211,"context_line":"                           \u0027replication pair %s.\u0027), replica_pair_id)"},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"            # for all the rest steps,"},{"line_number":214,"context_line":"            # because secondary share is accessible now,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b32647ba","line":211,"range":{"start_line":210,"start_character":26,"end_line":211,"end_character":50},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":230,"context_line":"        try:"},{"line_number":231,"context_line":"            self.helper.delete_replication_pair(replica_pair_id)"},{"line_number":232,"context_line":"        except Exception:"},{"line_number":233,"context_line":"            LOG.exception((\u0027Failed to delete replication pair %s.\u0027),"},{"line_number":234,"context_line":"                          replica_pair_id)"},{"line_number":235,"context_line":"            raise"},{"line_number":236,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_7320bf9c","line":233,"range":{"start_line":233,"start_character":26,"end_line":233,"end_character":67},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/lvm.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":105,"context_line":"                               share_name), run_as_root\u003dTrue)"},{"line_number":106,"context_line":"        except exception.ProcessExecutionError as exc:"},{"line_number":107,"context_line":"            if \"not found\" not in exc.stderr:"},{"line_number":108,"context_line":"                LOG.exception((\"Error deleting volume\"))"},{"line_number":109,"context_line":"                raise"},{"line_number":110,"context_line":"            LOG.warning(\"Volume not found: %s\" % exc.stderr)"},{"line_number":111,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f333aff5","line":108,"range":{"start_line":108,"start_character":30,"end_line":108,"end_character":55},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/netapp/dataontap/cluster_mode/data_motion.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":267,"context_line":"            )[0]"},{"line_number":268,"context_line":"            if snapmirror.get(\u0027relationship-status\u0027) !\u003d \u0027quiesced\u0027:"},{"line_number":269,"context_line":"                raise exception.ReplicationException("},{"line_number":270,"context_line":"                    reason\u003d(\"Snapmirror relationship is not quiesced.\"))"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        try:"},{"line_number":273,"context_line":"            wait_for_quiesced()"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_13d8537d","line":270,"range":{"start_line":270,"start_character":27,"end_line":270,"end_character":71},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/netapp/dataontap/cluster_mode/lib_multi_svm.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":362,"context_line":"                node \u003d interface[\u0027home-node\u0027]"},{"line_number":363,"context_line":"                self._client.delete_vlan(node, port, vlan)"},{"line_number":364,"context_line":"            except exception.NetAppException:"},{"line_number":365,"context_line":"                LOG.exception((\"Deleting Vserver VLAN failed.\"))"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_53cffbaf","line":365,"range":{"start_line":365,"start_character":30,"end_line":365,"end_character":62},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/netapp/dataontap/cluster_mode/performance.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":60,"context_line":"                self.avg_processor_busy_base_counter_name \u003d \u0027cpu_elapsed_time\u0027"},{"line_number":61,"context_line":"            else:"},{"line_number":62,"context_line":"                self.avg_processor_busy_base_counter_name \u003d \u0027cpu_elapsed_time1\u0027"},{"line_number":63,"context_line":"            LOG.exception((\u0027Could not get performance base counter \u0027"},{"line_number":64,"context_line":"                           \u0027name. Performance-based scheduler \u0027"},{"line_number":65,"context_line":"                           \u0027functions may not be available.\u0027))"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def update_performance_cache(self, flexvol_pools, aggregate_pools):"},{"line_number":68,"context_line":"        \"\"\"Called periodically to update per-pool node utilization metrics.\"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_33c47792","line":65,"range":{"start_line":63,"start_character":26,"end_line":65,"end_character":61},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":194,"context_line":"            return max(min(100.0, node_utilization), 0)"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"        except Exception:"},{"line_number":197,"context_line":"            LOG.exception((\u0027Could not calculate node utilization for \u0027"},{"line_number":198,"context_line":"                           \u0027node %s.\u0027), node_name)"},{"line_number":199,"context_line":"            return DEFAULT_UTILIZATION"},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"    def _get_kahuna_utilization(self, counters_t1, counters_t2):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f3bdef02","line":198,"range":{"start_line":197,"start_character":26,"end_line":198,"end_character":38},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":343,"context_line":"                    self._get_node_utilization_wafl_counters(node_name) +"},{"line_number":344,"context_line":"                    self._get_node_utilization_processor_counters(node_name))"},{"line_number":345,"context_line":"        except netapp_api.NaApiError:"},{"line_number":346,"context_line":"            LOG.exception((\u0027Could not get utilization counters from node \u0027"},{"line_number":347,"context_line":"                           \u0027%s\u0027), node_name)"},{"line_number":348,"context_line":"            return None"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"    def _get_node_utilization_system_counters(self, node_name):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_933a2396","line":347,"range":{"start_line":346,"start_character":26,"end_line":347,"end_character":32},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/netapp/dataontap/protocols/nfs_cmode.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        \"\"\"Checks whether access rule type and level are valid.\"\"\""},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"        if rule[\u0027access_type\u0027] !\u003d \u0027ip\u0027:"},{"line_number":119,"context_line":"            msg \u003d \"Clustered Data ONTAP supports only \u0027ip\u0027 type for share \" \\"},{"line_number":120,"context_line":"                  \"access rules with NFS protocol.\""},{"line_number":121,"context_line":"            raise exception.InvalidShareAccess(reason\u003dmsg)"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        if rule[\u0027access_level\u0027] not in constants.ACCESS_LEVELS:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_7358bff9","line":120,"range":{"start_line":119,"start_character":18,"end_line":120,"end_character":51},"updated":"2017-03-30 13:39:40.000000000","message":"please use () instead of \"\\\"","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/nexenta/ns5/nexenta_nas.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":194,"context_line":"            self._add_permission(share[\u0027name\u0027])"},{"line_number":195,"context_line":"        except exception.NexentaException:"},{"line_number":196,"context_line":"            LOG.exception("},{"line_number":197,"context_line":"                (\u0027Failed to add permissions for %s\u0027), share[\u0027name\u0027])"},{"line_number":198,"context_line":"            try:"},{"line_number":199,"context_line":"                self.delete_share(None, share)"},{"line_number":200,"context_line":"            except exception.NexentaException:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_730d5fe7","line":197,"range":{"start_line":197,"start_character":16,"end_line":197,"end_character":52},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":269,"context_line":"        except exception.NexentaException as e:"},{"line_number":270,"context_line":"            if e.kwargs[\u0027code\u0027] \u003d\u003d \u0027ENOENT\u0027:"},{"line_number":271,"context_line":"                LOG.warning("},{"line_number":272,"context_line":"                    (\u0027snapshot %(name)s not found, response: %(msg)s\u0027), {"},{"line_number":273,"context_line":"                        \u0027name\u0027: snapshot[\u0027name\u0027], \u0027msg\u0027: e.msg})"},{"line_number":274,"context_line":"            else:"},{"line_number":275,"context_line":"                raise"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_33f7d7d7","line":272,"range":{"start_line":272,"start_character":20,"end_line":272,"end_character":70},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/qnap/qnap.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        try:"},{"line_number":84,"context_line":"            self.api_executor \u003d self._create_api_executor()"},{"line_number":85,"context_line":"        except Exception:"},{"line_number":86,"context_line":"            LOG.exception((\u0027Failed to create HTTP client. Check IP \u0027"},{"line_number":87,"context_line":"                           \u0027address, port, username, password and make \u0027"},{"line_number":88,"context_line":"                           \u0027sure the array version is compatible.\u0027))"},{"line_number":89,"context_line":"            raise"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def check_for_setup_error(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_13f4d3ce","line":88,"range":{"start_line":86,"start_character":26,"end_line":88,"end_character":67},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":350,"context_line":"        volID \u003d self.private_storage.get(snapshot[\u0027share\u0027][\u0027id\u0027], \u0027volID\u0027)"},{"line_number":351,"context_line":"        if not volID:"},{"line_number":352,"context_line":"            LOG.warning("},{"line_number":353,"context_line":"                (\u0027volID for Share %s does not exist\u0027),"},{"line_number":354,"context_line":"                snapshot[\u0027share\u0027][\u0027id\u0027])"},{"line_number":355,"context_line":"            raise exception.ShareResourceNotFound("},{"line_number":356,"context_line":"                share_id\u003dsnapshot[\u0027share\u0027][\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f3004fae","line":353,"range":{"start_line":353,"start_character":16,"end_line":353,"end_character":53},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"9720efbc227d6c6d5a2bdfd21913ff0657e016c8","unresolved":false,"context_lines":[{"line_number":350,"context_line":"        volID \u003d self.private_storage.get(snapshot[\u0027share\u0027][\u0027id\u0027], \u0027volID\u0027)"},{"line_number":351,"context_line":"        if not volID:"},{"line_number":352,"context_line":"            LOG.warning("},{"line_number":353,"context_line":"                (\u0027volID for Share %s does not exist\u0027),"},{"line_number":354,"context_line":"                snapshot[\u0027share\u0027][\u0027id\u0027])"},{"line_number":355,"context_line":"            raise exception.ShareResourceNotFound("},{"line_number":356,"context_line":"                share_id\u003dsnapshot[\u0027share\u0027][\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_613b569c","line":353,"range":{"start_line":353,"start_character":16,"end_line":353,"end_character":53},"updated":"2017-03-30 17:10:45.000000000","message":"redundant parenthesis","commit_id":"0777c536ae1a310ebc619bb5c7d6d04efbe7d375"}],"manila/share/drivers/windows/windows_smb_helper.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":126,"context_line":"                              share_name)"},{"line_number":127,"context_line":"                else:"},{"line_number":128,"context_line":"                    LOG.warning("},{"line_number":129,"context_line":"                        (\"Found explicit deny ACE rule that was not \""},{"line_number":130,"context_line":"                         \"created by Manila and will be ignored: %s\"),"},{"line_number":131,"context_line":"                        raw_acl)"},{"line_number":132,"context_line":"                continue"},{"line_number":133,"context_line":"            if access_level \u003d\u003d self._ACCESS_LEVEL_CUSTOM:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_53e01bfb","line":130,"range":{"start_line":129,"start_character":24,"end_line":130,"end_character":69},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":132,"context_line":"                continue"},{"line_number":133,"context_line":"            if access_level \u003d\u003d self._ACCESS_LEVEL_CUSTOM:"},{"line_number":134,"context_line":"                LOG.warning("},{"line_number":135,"context_line":"                    (\"Found \u0027custom\u0027 ACE rule that will be ignored: %s\"),"},{"line_number":136,"context_line":"                    raw_acl)"},{"line_number":137,"context_line":"                continue"},{"line_number":138,"context_line":"            elif access_right \u003d\u003d self._WIN_ACCESS_RIGHT_FULL:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_33e5970b","line":135,"range":{"start_line":135,"start_character":20,"end_line":135,"end_character":72},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":137,"context_line":"                continue"},{"line_number":138,"context_line":"            elif access_right \u003d\u003d self._WIN_ACCESS_RIGHT_FULL:"},{"line_number":139,"context_line":"                LOG.warning("},{"line_number":140,"context_line":"                    (\"Account \u0027%(access_to)s\u0027 was given full access \""},{"line_number":141,"context_line":"                     \"right on share %(share_name)s. Manila only \""},{"line_number":142,"context_line":"                     \"grants \u0027change\u0027 access.\"),"},{"line_number":143,"context_line":"                    {\u0027access_to\u0027: access_to,"},{"line_number":144,"context_line":"                     \u0027share_name\u0027: share_name})"},{"line_number":145,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_13e29302","line":142,"range":{"start_line":140,"start_character":20,"end_line":142,"end_character":47},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/zfsonlinux/driver.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":529,"context_line":"            break"},{"line_number":530,"context_line":"        else:"},{"line_number":531,"context_line":"            LOG.warning("},{"line_number":532,"context_line":"                (\"Share with \u0027%(id)s\u0027 ID and \u0027%(name)s\u0027 NAME is \""},{"line_number":533,"context_line":"                 \"absent on backend. Nothing has been deleted.\"),"},{"line_number":534,"context_line":"                {\u0027id\u0027: share[\u0027id\u0027], \u0027name\u0027: dataset_name})"},{"line_number":535,"context_line":"        self.private_storage.delete(share[\u0027id\u0027])"},{"line_number":536,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_d3c42b62","line":533,"range":{"start_line":532,"start_character":16,"end_line":533,"end_character":64},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":574,"context_line":"                break"},{"line_number":575,"context_line":"        else:"},{"line_number":576,"context_line":"            LOG.warning("},{"line_number":577,"context_line":"                (\"Snapshot with \u0027%(id)s\u0027 ID and \u0027%(name)s\u0027 NAME is \""},{"line_number":578,"context_line":"                 \"absent on backend. Nothing has been deleted.\"),"},{"line_number":579,"context_line":"                {\u0027id\u0027: snapshot[\u0027id\u0027], \u0027name\u0027: snapshot_name})"},{"line_number":580,"context_line":""},{"line_number":581,"context_line":"    @ensure_share_server_not_provided"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_3393575f","line":578,"range":{"start_line":577,"start_character":16,"end_line":578,"end_character":64},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":972,"context_line":"                break"},{"line_number":973,"context_line":"        else:"},{"line_number":974,"context_line":"            LOG.warning("},{"line_number":975,"context_line":"                (\"Share replica with \u0027%(id)s\u0027 ID and \u0027%(name)s\u0027 NAME is \""},{"line_number":976,"context_line":"                 \"absent on backend. Nothing has been deleted.\"),"},{"line_number":977,"context_line":"                {\u0027id\u0027: replica[\u0027id\u0027], \u0027name\u0027: dataset_name})"},{"line_number":978,"context_line":"        self.private_storage.delete(replica[\u0027id\u0027])"},{"line_number":979,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_1390534e","line":976,"range":{"start_line":975,"start_character":16,"end_line":976,"end_character":64},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1153,"context_line":"                constants.REPLICA_STATE_IN_SYNC)"},{"line_number":1154,"context_line":"        except Exception as e:"},{"line_number":1155,"context_line":"            LOG.warning("},{"line_number":1156,"context_line":"                (\"Failed to update currently active replica. \\n%s\"), e)"},{"line_number":1157,"context_line":""},{"line_number":1158,"context_line":"            replica_dict[active_replica[\u0027id\u0027]][\u0027replica_state\u0027] \u003d ("},{"line_number":1159,"context_line":"                constants.REPLICA_STATE_OUT_OF_SYNC)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_d399cb79","line":1156,"range":{"start_line":1156,"start_character":16,"end_line":1156,"end_character":67},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1274,"context_line":"                )"},{"line_number":1275,"context_line":"            except exception.ProcessExecutionError as e:"},{"line_number":1276,"context_line":"                LOG.warning("},{"line_number":1277,"context_line":"                    (\"Failed to sync snapshot instance %(id)s. %(e)s\"),"},{"line_number":1278,"context_line":"                    {\u0027id\u0027: replica_snapshot[\u0027id\u0027], \u0027e\u0027: e})"},{"line_number":1279,"context_line":"                replica_snapshots_dict[replica_snapshot[\u0027id\u0027]][\u0027status\u0027] \u003d ("},{"line_number":1280,"context_line":"                    constants.STATUS_ERROR)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b3888722","line":1277,"range":{"start_line":1277,"start_character":20,"end_line":1277,"end_character":70},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/drivers/zfsonlinux/utils.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":215,"context_line":"        try:"},{"line_number":216,"context_line":"            self.execute(\u0027sudo\u0027, \u0027exportfs\u0027)"},{"line_number":217,"context_line":"        except exception.ProcessExecutionError:"},{"line_number":218,"context_line":"            LOG.exception((\"Call of \u0027exportfs\u0027 utility returned error.\"))"},{"line_number":219,"context_line":"            raise"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        # Init that class instance attribute on start of manila-share service"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_7382ff02","line":218,"range":{"start_line":218,"start_character":26,"end_line":218,"end_character":71},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":300,"context_line":"                break"},{"line_number":301,"context_line":"        else:"},{"line_number":302,"context_line":"            LOG.warning("},{"line_number":303,"context_line":"                (\"Dataset with \u0027%(name)s\u0027 NAME is absent on backend. \""},{"line_number":304,"context_line":"                 \"Access rules were not applied.\"), {\u0027name\u0027: dataset_name})"},{"line_number":305,"context_line":""},{"line_number":306,"context_line":"        # NOTE(vponomaryov): Setting of ZFS share options does not remove rules"},{"line_number":307,"context_line":"        # that were added and then removed. So, remove them explicitly."}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_337c771f","line":304,"range":{"start_line":303,"start_character":16,"end_line":304,"end_character":50},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"9720efbc227d6c6d5a2bdfd21913ff0657e016c8","unresolved":false,"context_lines":[{"line_number":300,"context_line":"                break"},{"line_number":301,"context_line":"        else:"},{"line_number":302,"context_line":"            LOG.warning("},{"line_number":303,"context_line":"                (\"Dataset with \u0027%(name)s\u0027 NAME is absent on backend. \""},{"line_number":304,"context_line":"                 \"Access rules were not applied.\"), {\u0027name\u0027: dataset_name})"},{"line_number":305,"context_line":""},{"line_number":306,"context_line":"        # NOTE(vponomaryov): Setting of ZFS share options does not remove rules"},{"line_number":307,"context_line":"        # that were added and then removed. So, remove them explicitly."}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_a1503ed6","line":304,"range":{"start_line":303,"start_character":16,"end_line":304,"end_character":50},"updated":"2017-03-30 17:10:45.000000000","message":"redundant","commit_id":"0777c536ae1a310ebc619bb5c7d6d04efbe7d375"}],"manila/share/drivers/zfssa/zfssarest.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":233,"context_line":"        svc \u003d self.share_path % (pool, project, share)"},{"line_number":234,"context_line":"        ret \u003d self.rclient.delete(svc)"},{"line_number":235,"context_line":"        if ret.status !\u003d restclient.Status.NO_CONTENT:"},{"line_number":236,"context_line":"            exception_msg \u003d ((\u0027Error deleting \u0027"},{"line_number":237,"context_line":"                              \u0027share: %(share)s to \u0027"},{"line_number":238,"context_line":"                              \u0027pool: %(pool)s \u0027"},{"line_number":239,"context_line":"                              \u0027project: %(project)s \u0027"},{"line_number":240,"context_line":"                              \u0027return code: %(ret.status)d \u0027"},{"line_number":241,"context_line":"                              \u0027message: %(ret.data)s.\u0027),"},{"line_number":242,"context_line":"                             {\u0027share\u0027: share,"},{"line_number":243,"context_line":"                              \u0027pool\u0027: pool,"},{"line_number":244,"context_line":"                              \u0027project\u0027: project,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_1379732e","line":241,"range":{"start_line":236,"start_character":29,"end_line":241,"end_character":55},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share/manager.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":250,"context_line":"            try:"},{"line_number":251,"context_line":"                pool \u003d self.driver.get_pool(share_instance)"},{"line_number":252,"context_line":"            except Exception:"},{"line_number":253,"context_line":"                LOG.exception((\"Failed to fetch pool name for share: \""},{"line_number":254,"context_line":"                               \"%(share)s.\"),"},{"line_number":255,"context_line":"                              {\u0027share\u0027: share_instance[\u0027id\u0027]})"},{"line_number":256,"context_line":"                return"},{"line_number":257,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_73979f3c","line":254,"range":{"start_line":253,"start_character":30,"end_line":254,"end_character":44},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":277,"context_line":"            self.driver.check_for_setup_error()"},{"line_number":278,"context_line":"        except Exception:"},{"line_number":279,"context_line":"            LOG.exception("},{"line_number":280,"context_line":"                (\"Error encountered during initialization of driver \""},{"line_number":281,"context_line":"                 \"\u0027%(name)s\u0027 on \u0027%(host)s\u0027 host.\"), {"},{"line_number":282,"context_line":"                    \"name\": self.driver.__class__.__name__,"},{"line_number":283,"context_line":"                    \"host\": self.host,"},{"line_number":284,"context_line":"                }"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_139e1354","line":281,"range":{"start_line":280,"start_character":16,"end_line":281,"end_character":50},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":322,"context_line":"                export_locations \u003d self.driver.ensure_share("},{"line_number":323,"context_line":"                    ctxt, share_instance, share_server\u003dshare_server)"},{"line_number":324,"context_line":"            except Exception:"},{"line_number":325,"context_line":"                LOG.exception((\"Caught exception trying ensure \""},{"line_number":326,"context_line":"                               \"share \u0027%(s_id)s\u0027.\"),"},{"line_number":327,"context_line":"                              {\u0027s_id\u0027: share_instance[\u0027id\u0027]})"},{"line_number":328,"context_line":"                continue"},{"line_number":329,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b3b647dc","line":326,"range":{"start_line":325,"start_character":30,"end_line":326,"end_character":51},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":341,"context_line":"                        ctxt, share_instance[\u0027id\u0027], share_server\u003dshare_server)"},{"line_number":342,"context_line":"                except Exception:"},{"line_number":343,"context_line":"                    LOG.exception("},{"line_number":344,"context_line":"                        (\"Unexpected error occurred while updating access \""},{"line_number":345,"context_line":"                         \"rules for share instance %(s_id)s.\"),"},{"line_number":346,"context_line":"                        {\u0027s_id\u0027: share_instance[\u0027id\u0027]},"},{"line_number":347,"context_line":"                    )"},{"line_number":348,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_73b0bfde","line":345,"range":{"start_line":344,"start_character":24,"end_line":345,"end_character":62},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":369,"context_line":"                        self.snapshot_access_helper.update_access_rules("},{"line_number":370,"context_line":"                            ctxt, snap_instance[\u0027id\u0027], share_server)"},{"line_number":371,"context_line":"                    except Exception:"},{"line_number":372,"context_line":"                        LOG.exception(("},{"line_number":373,"context_line":"                            \"Unexpected error occurred while updating \""},{"line_number":374,"context_line":"                            \"access rules for snapshot instance %s.\"),"},{"line_number":375,"context_line":"                            snap_instance[\u0027id\u0027])"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"        self.publish_service_capabilities(ctxt)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b3dbe71f","line":374,"range":{"start_line":372,"start_character":38,"end_line":374,"end_character":69},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":431,"context_line":"                    context, parent_share_server_id)"},{"line_number":432,"context_line":"            except exception.ShareServerNotFound:"},{"line_number":433,"context_line":"                with excutils.save_and_reraise_exception():"},{"line_number":434,"context_line":"                    error((\"Parent share server %s does not exist.\"),"},{"line_number":435,"context_line":"                          parent_share_server_id)"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":"            if parent_share_server[\u0027status\u0027] !\u003d constants.STATUS_ACTIVE:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_93e0e3ce","line":434,"range":{"start_line":434,"start_character":26,"end_line":434,"end_character":68},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":439,"context_line":"                    \u0027id\u0027: parent_share_server_id,"},{"line_number":440,"context_line":"                    \u0027status\u0027: parent_share_server[\u0027status\u0027],"},{"line_number":441,"context_line":"                }"},{"line_number":442,"context_line":"                error((\"Parent share server %(id)s has invalid status \""},{"line_number":443,"context_line":"                       \"\u0027%(status)s\u0027.\"), error_params)"},{"line_number":444,"context_line":"                raise exception.InvalidShareServer("},{"line_number":445,"context_line":"                    share_server_id\u003dparent_share_server"},{"line_number":446,"context_line":"                )"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_73e55fdc","line":443,"range":{"start_line":442,"start_character":22,"end_line":443,"end_character":39},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":478,"context_line":"                    )"},{"line_number":479,"context_line":"                except Exception as e:"},{"line_number":480,"context_line":"                    with excutils.save_and_reraise_exception():"},{"line_number":481,"context_line":"                        error((\"Cannot choose compatible share server: %s\"),"},{"line_number":482,"context_line":"                              e)"},{"line_number":483,"context_line":""},{"line_number":484,"context_line":"            if not compatible_share_server:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_53ea5bac","line":481,"range":{"start_line":481,"start_character":30,"end_line":481,"end_character":76},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":640,"context_line":"                    )"},{"line_number":641,"context_line":"                except Exception as e:"},{"line_number":642,"context_line":"                    with excutils.save_and_reraise_exception():"},{"line_number":643,"context_line":"                        error((\"Cannot choose compatible share-server: %s\"),"},{"line_number":644,"context_line":"                              e)"},{"line_number":645,"context_line":""},{"line_number":646,"context_line":"            if not compatible_share_server:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f3d84f1f","line":643,"range":{"start_line":643,"start_character":30,"end_line":643,"end_character":75},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":1074,"context_line":"            except Exception as e:"},{"line_number":1075,"context_line":"                if not isinstance(e, NotImplementedError):"},{"line_number":1076,"context_line":"                    LOG.exception("},{"line_number":1077,"context_line":"                        (\"The driver could not migrate the share %(shr)s\"),"},{"line_number":1078,"context_line":"                        {\u0027shr\u0027: share_id})"},{"line_number":1079,"context_line":""},{"line_number":1080,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b3040780","line":1077,"range":{"start_line":1077,"start_character":24,"end_line":1077,"end_character":74},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":2150,"context_line":"            self.db.share_replica_update(context, share_replica[\u0027id\u0027],"},{"line_number":2151,"context_line":"                                         {\u0027replica_state\u0027: replica_state})"},{"line_number":2152,"context_line":"        elif replica_state:"},{"line_number":2153,"context_line":"            msg \u003d ((\"Replica %(id)s cannot be set to %(state)s \""},{"line_number":2154,"context_line":"                    \"through update call.\") %"},{"line_number":2155,"context_line":"                   {\u0027id\u0027: share_replica[\u0027id\u0027], \u0027state\u0027: replica_state})"},{"line_number":2156,"context_line":"            LOG.warning(msg)"},{"line_number":2157,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_d3ee6bb3","line":2154,"range":{"start_line":2153,"start_character":19,"end_line":2154,"end_character":44},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":2697,"context_line":"                    share_server\u003dshare_server)"},{"line_number":2698,"context_line":"            except Exception:"},{"line_number":2699,"context_line":"                LOG.exception("},{"line_number":2700,"context_line":"                    (\"Failed to remove access rules for snapshot %s.\"),"},{"line_number":2701,"context_line":"                    snapshot_instance[\u0027id\u0027])"},{"line_number":2702,"context_line":"                LOG.warning(\"The driver was unable to remove access rules \""},{"line_number":2703,"context_line":"                            \"for snapshot %s. Moving on.\","}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_133a9333","line":2700,"range":{"start_line":2700,"start_character":20,"end_line":2700,"end_character":70},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":2731,"context_line":"                user_id\u003dsnapshot_ref[\u0027user_id\u0027])"},{"line_number":2732,"context_line":"        except Exception:"},{"line_number":2733,"context_line":"            reservations \u003d None"},{"line_number":2734,"context_line":"            LOG.exception((\"Failed to update quota usages while deleting \""},{"line_number":2735,"context_line":"                           \"snapshot %s.\"), snapshot_id)"},{"line_number":2736,"context_line":""},{"line_number":2737,"context_line":"        if reservations:"},{"line_number":2738,"context_line":"            QUOTAS.commit(context, reservations, project_id\u003dproject_id,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_d3430baf","line":2735,"range":{"start_line":2734,"start_character":26,"end_line":2735,"end_character":42},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":3044,"context_line":"                self.db.share_snapshot_instance_delete("},{"line_number":3045,"context_line":"                    context, replica_snapshot[\u0027id\u0027])"},{"line_number":3046,"context_line":"            else:"},{"line_number":3047,"context_line":"                LOG.exception((\"Replica snapshot %s was not found on \""},{"line_number":3048,"context_line":"                               \"the backend.\"), replica_snapshot[\u0027id\u0027])"},{"line_number":3049,"context_line":"                self.db.share_snapshot_instance_update("},{"line_number":3050,"context_line":"                    context, replica_snapshot[\u0027id\u0027],"},{"line_number":3051,"context_line":"                    {\u0027status\u0027: constants.STATUS_ERROR})"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_b312c7b3","line":3048,"range":{"start_line":3047,"start_character":30,"end_line":3048,"end_character":46},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":3050,"context_line":"                    context, replica_snapshot[\u0027id\u0027],"},{"line_number":3051,"context_line":"                    {\u0027status\u0027: constants.STATUS_ERROR})"},{"line_number":3052,"context_line":"        except Exception:"},{"line_number":3053,"context_line":"            LOG.exception((\"Driver error while updating replica snapshot: \""},{"line_number":3054,"context_line":"                           \"%s\"), replica_snapshot[\u0027id\u0027])"},{"line_number":3055,"context_line":"            self.db.share_snapshot_instance_update("},{"line_number":3056,"context_line":"                context, replica_snapshot[\u0027id\u0027],"},{"line_number":3057,"context_line":"                {\u0027status\u0027: constants.STATUS_ERROR})"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_9317c3a4","line":3054,"range":{"start_line":3053,"start_character":26,"end_line":3054,"end_character":32},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":3336,"context_line":"            self.driver.extend_share("},{"line_number":3337,"context_line":"                share_instance, new_size, share_server\u003dshare_server)"},{"line_number":3338,"context_line":"        except Exception as e:"},{"line_number":3339,"context_line":"            LOG.exception((\"Extend share failed.\"), resource\u003dshare)"},{"line_number":3340,"context_line":""},{"line_number":3341,"context_line":"            try:"},{"line_number":3342,"context_line":"                self.db.share_update("}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_730c3f94","line":3339,"range":{"start_line":3339,"start_character":26,"end_line":3339,"end_character":50},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":3396,"context_line":"                                          gigabytes\u003d-size_decrease)"},{"line_number":3397,"context_line":"        except Exception as e:"},{"line_number":3398,"context_line":"            error_occurred("},{"line_number":3399,"context_line":"                e, (\"Failed to update quota on share shrinking.\"))"},{"line_number":3400,"context_line":""},{"line_number":3401,"context_line":"        try:"},{"line_number":3402,"context_line":"            self.driver.shrink_share("}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_7381dfc3","line":3399,"range":{"start_line":3399,"start_character":19,"end_line":3399,"end_character":65},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"9720efbc227d6c6d5a2bdfd21913ff0657e016c8","unresolved":false,"context_lines":[{"line_number":277,"context_line":"            self.driver.check_for_setup_error()"},{"line_number":278,"context_line":"        except Exception:"},{"line_number":279,"context_line":"            LOG.exception("},{"line_number":280,"context_line":"                (\"Error encountered during initialization of driver \""},{"line_number":281,"context_line":"                 \"\u0027%(name)s\u0027 on \u0027%(host)s\u0027 host.\"), {"},{"line_number":282,"context_line":"                    \"name\": self.driver.__class__.__name__,"},{"line_number":283,"context_line":"                    \"host\": self.host,"},{"line_number":284,"context_line":"                }"}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_415972fc","line":281,"range":{"start_line":280,"start_character":16,"end_line":281,"end_character":50},"updated":"2017-03-30 17:10:45.000000000","message":"redundant parenthesis","commit_id":"0777c536ae1a310ebc619bb5c7d6d04efbe7d375"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"9720efbc227d6c6d5a2bdfd21913ff0657e016c8","unresolved":false,"context_lines":[{"line_number":341,"context_line":"                        ctxt, share_instance[\u0027id\u0027], share_server\u003dshare_server)"},{"line_number":342,"context_line":"                except Exception:"},{"line_number":343,"context_line":"                    LOG.exception("},{"line_number":344,"context_line":"                        (\"Unexpected error occurred while updating access \""},{"line_number":345,"context_line":"                         \"rules for share instance %(s_id)s.\"),"},{"line_number":346,"context_line":"                        {\u0027s_id\u0027: share_instance[\u0027id\u0027]},"},{"line_number":347,"context_line":"                    )"},{"line_number":348,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"dfeb2761_81041ac8","line":345,"range":{"start_line":344,"start_character":25,"end_line":345,"end_character":62},"updated":"2017-03-30 17:10:45.000000000","message":"redundant paranthesis","commit_id":"0777c536ae1a310ebc619bb5c7d6d04efbe7d375"}],"manila/share/share_types.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":52,"context_line":"                                             is_public\u003dis_public),"},{"line_number":53,"context_line":"                                        projects\u003dprojects)"},{"line_number":54,"context_line":"    except db_exception.DBError:"},{"line_number":55,"context_line":"        LOG.exception((\u0027DB error.\u0027))"},{"line_number":56,"context_line":"        raise exception.ShareTypeCreateFailed(name\u003dname,"},{"line_number":57,"context_line":"                                              extra_specs\u003dextra_specs)"},{"line_number":58,"context_line":"    return type_ref"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_735aff83","line":55,"range":{"start_line":55,"start_character":22,"end_line":55,"end_character":35},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":85,"context_line":"            required_extra_specs \u003d get_valid_required_extra_specs("},{"line_number":86,"context_line":"                type_args[\u0027extra_specs\u0027])"},{"line_number":87,"context_line":"        except exception.InvalidExtraSpec:"},{"line_number":88,"context_line":"            LOG.exception((\u0027Share type %(share_type)s has invalid required\u0027"},{"line_number":89,"context_line":"                           \u0027 extra specs.\u0027), {\u0027share_type\u0027: type_name})"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"        type_args[\u0027required_extra_specs\u0027] \u003d required_extra_specs"},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_13517363","line":89,"range":{"start_line":88,"start_character":26,"end_line":89,"end_character":43},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        # Couldn\u0027t find share type with the name in default_share_type"},{"line_number":172,"context_line":"        # flag, record this issue and move on"},{"line_number":173,"context_line":"        # TODO(zhiteng) consider add notification to warn admin"},{"line_number":174,"context_line":"        LOG.exception((\u0027Default share type is not found, \u0027"},{"line_number":175,"context_line":"                       \u0027please check default_share_type config: %s\u0027),"},{"line_number":176,"context_line":"                      e)"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_f34defc4","line":175,"range":{"start_line":174,"start_character":22,"end_line":175,"end_character":68},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}],"manila/share_group/share_group_types.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":37,"context_line":"             \"share_types\": share_types},"},{"line_number":38,"context_line":"            projects\u003dprojects)"},{"line_number":39,"context_line":"    except db_exception.DBError:"},{"line_number":40,"context_line":"        LOG.exception((\u0027DB error\u0027))"},{"line_number":41,"context_line":"        raise exception.ShareGroupTypeCreateFailed("},{"line_number":42,"context_line":"            name\u003dname, group_specs\u003dgroup_specs)"},{"line_number":43,"context_line":"    return type_ref"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_d34aebaa","line":40,"range":{"start_line":40,"start_character":22,"end_line":40,"end_character":34},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0c992a218c0040d682efb68a975e391a5f393dc5","unresolved":false,"context_lines":[{"line_number":141,"context_line":"        return get_by_name(ctxt, name)"},{"line_number":142,"context_line":"    except exception.ShareGroupTypeNotFoundByName:"},{"line_number":143,"context_line":"        LOG.exception("},{"line_number":144,"context_line":"            (\"Default share group type \u0027%s\u0027 is not found, \""},{"line_number":145,"context_line":"             \"please check \u0027default_share_group_type\u0027 config.\"),"},{"line_number":146,"context_line":"            name,"},{"line_number":147,"context_line":"        )"},{"line_number":148,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_73cf9f29","line":145,"range":{"start_line":144,"start_character":11,"end_line":145,"end_character":63},"updated":"2017-03-30 13:39:40.000000000","message":"redundant parenthesis","commit_id":"b095afd65dfd1e9ad228024f7c357d8384a0b1cc"}]}
