)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"2b4b3b8914c25b85b4347a0005961eb4802aa2fd","unresolved":false,"context_lines":[{"line_number":12,"context_line":"This was a fragile assumption -- both GlusterFS and Manila can"},{"line_number":13,"context_line":"potentially change how the GlusterFS snapshots are named."},{"line_number":14,"context_line":"(And currently we have a problem as GlusterFS has actually changed"},{"line_number":15,"context_line":"this.)"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Therefore from now on we\u0027ll use the weaker assumption that the"},{"line_number":18,"context_line":"Manila snapshot id is a substring of the backing GlusterFS snapshot"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9a41bdd9_aa7e53e2","line":15,"updated":"2015-07-12 21:02:13.000000000","message":"Can you clarify what has happened that breaks this assumption? Your bug description is actually more clear about this. Otherwise I don\u0027t see why a substring will solve the problem as you can potentially change the name to not to include the snapshot id at all.","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":9521,"name":"Csaba Henk","email":"chenk@redhat.com","username":"chenk"},"change_message_id":"3a0cda8ab227bef110f7815c286826a132973a78","unresolved":false,"context_lines":[{"line_number":12,"context_line":"This was a fragile assumption -- both GlusterFS and Manila can"},{"line_number":13,"context_line":"potentially change how the GlusterFS snapshots are named."},{"line_number":14,"context_line":"(And currently we have a problem as GlusterFS has actually changed"},{"line_number":15,"context_line":"this.)"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Therefore from now on we\u0027ll use the weaker assumption that the"},{"line_number":18,"context_line":"Manila snapshot id is a substring of the backing GlusterFS snapshot"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9a41bdd9_d05edce8","line":15,"in_reply_to":"9a41bdd9_aa7e53e2","updated":"2015-07-13 07:48:51.000000000","message":"Do you mean that the referred lp bug gives a clear explanation but this commit message doesn\u0027t? In that case I don\u0027t see why would we strive for such a redundancy, replicating information that\u0027s properly given at the appropriate place in this commit message (the canonical reference of which points to that place where the information is given).\n\nWrt. me potentially changing the name to not include the snapshot id: sure I *can*, but why would I want to wreck my driver?\n\nOr is it the question that why GlusterFS would not change snapshot naming in a way so that the chosen name is not a substring of the actual snapshot name? That would be too much a radical change to go in unnoticed, without a proper transition phase. Stilll I don\u0027t say it\u0027s *impossible*, I just say the approach implemented in this change is more robust.\n\nTL;DR I don\u0027t understand properly what you miss here --  do you make a call for (beneficial) redundancy, or something is just not made clear? And wrt. \"not made clear\"-- is it the problem that something is not made clear to you, or it\u0027s clear to you, you just worry that it won\u0027t be clear enough for prospective readers of this commit message?","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":2417,"name":"Ben Swartzlander","email":"ben@swartzlander.org","username":"bswartz"},"change_message_id":"17c3e4e4f8789d67c8cb23f29967c1da2c116638","unresolved":false,"context_lines":[{"line_number":12,"context_line":"This was a fragile assumption -- both GlusterFS and Manila can"},{"line_number":13,"context_line":"potentially change how the GlusterFS snapshots are named."},{"line_number":14,"context_line":"(And currently we have a problem as GlusterFS has actually changed"},{"line_number":15,"context_line":"this.)"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Therefore from now on we\u0027ll use the weaker assumption that the"},{"line_number":18,"context_line":"Manila snapshot id is a substring of the backing GlusterFS snapshot"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9a41bdd9_1ee66fb4","line":15,"in_reply_to":"9a41bdd9_d05edce8","updated":"2015-07-13 19:12:59.000000000","message":"I\u0027m okay with the relevant details living in the bug instead of the commit message.","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"}],"manila/share/drivers/glusterfs_native.py":[{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"b28f3aa8d4d2d17d733c407d06d98eb5b27d2726","unresolved":false,"context_lines":[{"line_number":661,"context_line":"            out, err \u003d gluster_mgr.gluster_call(*args)"},{"line_number":662,"context_line":"        except exception.ProcessExecutionError as exc:"},{"line_number":663,"context_line":"            LOG.error(_LE(\"Error retrieving snapshot list: %s\"), exc.stderr)"},{"line_number":664,"context_line":"            raise exception.GlusterfsException(\"gluster %s failed\" %"},{"line_number":665,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_189b5567","line":664,"updated":"2015-07-16 06:19:54.000000000","message":"allow localization with _()","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":9521,"name":"Csaba Henk","email":"chenk@redhat.com","username":"chenk"},"change_message_id":"871cd601cc1c7193d6fd380d5c4c1d8d028462a7","unresolved":false,"context_lines":[{"line_number":661,"context_line":"            out, err \u003d gluster_mgr.gluster_call(*args)"},{"line_number":662,"context_line":"        except exception.ProcessExecutionError as exc:"},{"line_number":663,"context_line":"            LOG.error(_LE(\"Error retrieving snapshot list: %s\"), exc.stderr)"},{"line_number":664,"context_line":"            raise exception.GlusterfsException(\"gluster %s failed\" %"},{"line_number":665,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_7e6b5fb7","line":664,"in_reply_to":"9a41bdd9_189b5567","updated":"2015-07-16 10:32:13.000000000","message":"Done","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"b28f3aa8d4d2d17d733c407d06d98eb5b27d2726","unresolved":false,"context_lines":[{"line_number":676,"context_line":"            out, err \u003d gluster_mgr.gluster_call(*args)"},{"line_number":677,"context_line":"        except exception.ProcessExecutionError as exc:"},{"line_number":678,"context_line":"            LOG.error(_LE(\"Error deleting snapshot: %s\"), exc.stderr)"},{"line_number":679,"context_line":"            raise exception.GlusterfsException(\"gluster %s failed\" %"},{"line_number":680,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":681,"context_line":""},{"line_number":682,"context_line":"        if not out:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_78c38138","line":679,"updated":"2015-07-16 06:19:54.000000000","message":"ditto","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":9521,"name":"Csaba Henk","email":"chenk@redhat.com","username":"chenk"},"change_message_id":"871cd601cc1c7193d6fd380d5c4c1d8d028462a7","unresolved":false,"context_lines":[{"line_number":676,"context_line":"            out, err \u003d gluster_mgr.gluster_call(*args)"},{"line_number":677,"context_line":"        except exception.ProcessExecutionError as exc:"},{"line_number":678,"context_line":"            LOG.error(_LE(\"Error deleting snapshot: %s\"), exc.stderr)"},{"line_number":679,"context_line":"            raise exception.GlusterfsException(\"gluster %s failed\" %"},{"line_number":680,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":681,"context_line":""},{"line_number":682,"context_line":"        if not out:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_9e6663eb","line":679,"in_reply_to":"9a41bdd9_78c38138","updated":"2015-07-16 10:32:13.000000000","message":"Done","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"b28f3aa8d4d2d17d733c407d06d98eb5b27d2726","unresolved":false,"context_lines":[{"line_number":681,"context_line":""},{"line_number":682,"context_line":"        if not out:"},{"line_number":683,"context_line":"            raise exception.GlusterfsException("},{"line_number":684,"context_line":"                \u0027gluster snapshot delete %s: no data received\u0027 %"},{"line_number":685,"context_line":"                gluster_mgr.volume"},{"line_number":686,"context_line":"            )"},{"line_number":687,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_18e915b7","line":684,"updated":"2015-07-16 06:19:54.000000000","message":"ditto","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":9521,"name":"Csaba Henk","email":"chenk@redhat.com","username":"chenk"},"change_message_id":"871cd601cc1c7193d6fd380d5c4c1d8d028462a7","unresolved":false,"context_lines":[{"line_number":681,"context_line":""},{"line_number":682,"context_line":"        if not out:"},{"line_number":683,"context_line":"            raise exception.GlusterfsException("},{"line_number":684,"context_line":"                \u0027gluster snapshot delete %s: no data received\u0027 %"},{"line_number":685,"context_line":"                gluster_mgr.volume"},{"line_number":686,"context_line":"            )"},{"line_number":687,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9a41bdd9_5e5c5b18","line":684,"in_reply_to":"9a41bdd9_18e915b7","updated":"2015-07-16 10:32:13.000000000","message":"Done","commit_id":"5d39dab53abaae09973ba7e9f4250e3cfbef3c25"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"5046a284f6d537ff99fbd276dc97b55386777029","unresolved":false,"context_lines":[{"line_number":665,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":668,"context_line":"            msg \u003d (_(\"Snapshot %(snap_id)s of share %(share_id)s is \""},{"line_number":669,"context_line":"                     \"not found on backend\") %"},{"line_number":670,"context_line":"                   {\u0027snap_id\u0027: snapshot[\u0027id\u0027],"},{"line_number":671,"context_line":"                    \u0027share_id\u0027: snapshot[\u0027share_id\u0027]})"}],"source_content_type":"text/x-python","patch_set":4,"id":"9a41bdd9_2a191122","line":668,"updated":"2015-07-16 11:41:23.000000000","message":"\"NotFound\" when it is equals to \"0\", but it could be \"2+\". And such case should have appropriate message. Now it does not.","commit_id":"cd459ca7b857e274a593c7de55209f81fc975f72"},{"author":{"_account_id":9521,"name":"Csaba Henk","email":"chenk@redhat.com","username":"chenk"},"change_message_id":"2a82319fd75e35b92449a25c035f92665f05ceee","unresolved":false,"context_lines":[{"line_number":665,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":668,"context_line":"            msg \u003d (_(\"Snapshot %(snap_id)s of share %(share_id)s is \""},{"line_number":669,"context_line":"                     \"not found on backend\") %"},{"line_number":670,"context_line":"                   {\u0027snap_id\u0027: snapshot[\u0027id\u0027],"},{"line_number":671,"context_line":"                    \u0027share_id\u0027: snapshot[\u0027share_id\u0027]})"}],"source_content_type":"text/x-python","patch_set":4,"id":"9a41bdd9_936e4c95","line":668,"in_reply_to":"9a41bdd9_2a191122","updated":"2015-07-16 15:00:02.000000000","message":"Done","commit_id":"cd459ca7b857e274a593c7de55209f81fc975f72"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"683f658c461e77bbf96bf889822c34df63e0e2b5","unresolved":false,"context_lines":[{"line_number":665,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":668,"context_line":"            diag \u003d \u0027ambiguous\u0027 if snapgrep else \u0027not found\u0027"},{"line_number":669,"context_line":"            msg \u003d (_(\"Snapshot %(snap_id)s of share %(share_id)s is \""},{"line_number":670,"context_line":"                     \"%s(diag)s on backend\") %"},{"line_number":671,"context_line":"                   {\u0027snap_id\u0027: snapshot[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_92c39d8a","line":668,"updated":"2015-07-16 17:59:51.000000000","message":"Maybe you should allow localization of \u0027ambiguous\u0027 and \u0027not found\u0027.  Or what I\u0027ve done is just say \"expected 1, found X\" with X being the count.","commit_id":"0dbd4fb764c1dbca6fa307cb202071eb420f04f6"},{"author":{"_account_id":9521,"name":"Csaba Henk","email":"chenk@redhat.com","username":"chenk"},"change_message_id":"3f1794cbd4315bed0ac3b0fd91363582029cb513","unresolved":false,"context_lines":[{"line_number":665,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":668,"context_line":"            diag \u003d \u0027ambiguous\u0027 if snapgrep else \u0027not found\u0027"},{"line_number":669,"context_line":"            msg \u003d (_(\"Snapshot %(snap_id)s of share %(share_id)s is \""},{"line_number":670,"context_line":"                     \"%s(diag)s on backend\") %"},{"line_number":671,"context_line":"                   {\u0027snap_id\u0027: snapshot[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":5,"id":"3a50d1a3_a9571301","line":668,"in_reply_to":"9a41bdd9_92c39d8a","updated":"2015-07-21 07:18:33.000000000","message":"Done","commit_id":"0dbd4fb764c1dbca6fa307cb202071eb420f04f6"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"256bb04964cb961b8365beb1e8654ed2567f20fe","unresolved":false,"context_lines":[{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":668,"context_line":"            diag \u003d \u0027ambiguous\u0027 if snapgrep else \u0027not found\u0027"},{"line_number":669,"context_line":"            msg \u003d (_(\"Snapshot %(snap_id)s of share %(share_id)s is \""},{"line_number":670,"context_line":"                     \"%s(diag)s on backend\") %"},{"line_number":671,"context_line":"                   {\u0027snap_id\u0027: snapshot[\u0027id\u0027],"},{"line_number":672,"context_line":"                    \u0027share_id\u0027: snapshot[\u0027share_id\u0027],"},{"line_number":673,"context_line":"                    \u0027diag\u0027: diag})"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_f7c8d6aa","line":670,"updated":"2015-07-16 19:44:56.000000000","message":"s/%s/%/","commit_id":"0dbd4fb764c1dbca6fa307cb202071eb420f04f6"},{"author":{"_account_id":8056,"name":"Ramana Raja","email":"rraja@redhat.com","username":"Ram_Raja"},"change_message_id":"44c33749cb8df08556232b09ac47e0f7a767a5b9","unresolved":false,"context_lines":[{"line_number":681,"context_line":"            raise exception.GlusterfsException(_(\"gluster %s failed\") %"},{"line_number":682,"context_line":"                                               \u0027 \u0027.join(args))"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":"        if not out:"},{"line_number":685,"context_line":"            raise exception.GlusterfsException("},{"line_number":686,"context_line":"                _(\u0027gluster snapshot delete %s: no data received\u0027) %"},{"line_number":687,"context_line":"                gluster_mgr.volume"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a41bdd9_3777d103","line":684,"updated":"2015-07-18 14:45:17.000000000","message":"This condition is not unit-tested.","commit_id":"bfe204b436db4177e1fee5670a7f84abcdd27461"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"7943e5c4202ab6519e2dfd3fbc06729cc433940b","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":668,"context_line":"            msg \u003d (_(\"Failed to identify backing GlusterFS object \""},{"line_number":669,"context_line":"                     \"for snapshot (snap_id)s of share %(share_id)s: \""},{"line_number":670,"context_line":"                     \"a single candidate was expected, %(found)d was found.\") %"},{"line_number":671,"context_line":"                   {\u0027snap_id\u0027: snapshot[\u0027id\u0027],"},{"line_number":672,"context_line":"                    \u0027share_id\u0027: snapshot[\u0027share_id\u0027],"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a50d1a3_bec9637a","line":669,"updated":"2015-07-21 17:31:25.000000000","message":"Missing % in front of (snap_id)s","commit_id":"04ede3fb2206d0abee54c969a77ef208e40afc49"},{"author":{"_account_id":9521,"name":"Csaba Henk","email":"chenk@redhat.com","username":"chenk"},"change_message_id":"3f7c965f61e6f759812979d3f64965da09d5c1d9","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        snapgrep \u003d filter(lambda x: snapshot[\u0027id\u0027] in x, out.split(\"\\n\"))"},{"line_number":667,"context_line":"        if len(snapgrep) !\u003d 1:"},{"line_number":668,"context_line":"            msg \u003d (_(\"Failed to identify backing GlusterFS object \""},{"line_number":669,"context_line":"                     \"for snapshot (snap_id)s of share %(share_id)s: \""},{"line_number":670,"context_line":"                     \"a single candidate was expected, %(found)d was found.\") %"},{"line_number":671,"context_line":"                   {\u0027snap_id\u0027: snapshot[\u0027id\u0027],"},{"line_number":672,"context_line":"                    \u0027share_id\u0027: snapshot[\u0027share_id\u0027],"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a50d1a3_5f45b914","line":669,"in_reply_to":"3a50d1a3_bec9637a","updated":"2015-07-21 19:16:19.000000000","message":"Uh sorry. I always forget flake8 doesn\u0027t test for this and I have to double check the formatting constructs.","commit_id":"04ede3fb2206d0abee54c969a77ef208e40afc49"}]}
