)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"8b23c18635ad4338c1b70fe8d5106fd7c4aafd97","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Move RBD calls to a separate threads"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"RBD lib is a python binding for librados and doesn\u0027t"},{"line_number":10,"context_line":"patched by eventlet. This patch moves all rados calls to"},{"line_number":11,"context_line":"a separate python thread."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dac4157f_a3f3fc09","line":9,"updated":"2015-04-20 20:03:42.000000000","message":"This sentence doesn\u0027t make a lot of sense.  Suggest:\n\nRBD li has a python binding for librados which isn\u0027t patched by eventlet.","commit_id":"5f361826dd931ef39dbbbfecb3cef420c9bc4a1c"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"8b23c18635ad4338c1b70fe8d5106fd7c4aafd97","unresolved":false,"context_lines":[{"line_number":9,"context_line":"RBD lib is a python binding for librados and doesn\u0027t"},{"line_number":10,"context_line":"patched by eventlet. This patch moves all rados calls to"},{"line_number":11,"context_line":"a separate python thread."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Logs from cinder-volume after patch apply:"},{"line_number":14,"context_line":"http://paste.openstack.org/show/204915/"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dac4157f_03e50836","line":12,"updated":"2015-04-20 20:03:42.000000000","message":"Can you add some detail from the bug about why this is necessary please?\n\nThanks!","commit_id":"5f361826dd931ef39dbbbfecb3cef420c9bc4a1c"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"3fc4c3312af82f48b004703cb90f1ba695067f84","unresolved":false,"context_lines":[{"line_number":14,"context_line":"http://paste.openstack.org/show/204915/"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: Ibaf43858d60e1320c339f2523b5c09c7f7c7f91e"},{"line_number":17,"context_line":"Closes-Bug: bug #1401335"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"dac4157f_4370a072","line":17,"updated":"2015-04-20 20:05:47.000000000","message":"Can remove \"bug\".","commit_id":"5f361826dd931ef39dbbbfecb3cef420c9bc4a1c"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"d9cac7b0e302fdf1266d44d8343a9419043750db","unresolved":false,"context_lines":[{"line_number":17,"context_line":"doesn\u0027t block eventlet loop."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Tested with 150GB volume."},{"line_number":20,"context_line":"Logs from cinder-volume after patch apply:"},{"line_number":21,"context_line":"http://paste.openstack.org/show/204956/"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Change-Id: Ibaf43858d60e1320c339f2523b5c09c7f7c7f91e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"dac4157f_7dec338f","line":20,"updated":"2015-04-21 20:03:48.000000000","message":"Code looks good but I\u0027d really prefer we not link to pastebins in the commit message.  (Especially in this case where it doesn\u0027t show anything that interesting AFAICT.)","commit_id":"8825c1607656beb3f4d891e8a9c8dbe8258c405d"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"5caf98a0d2a44f2959f56fa6f437c487529e7218","unresolved":false,"context_lines":[{"line_number":17,"context_line":"doesn\u0027t block eventlet loop."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Tested with 150GB volume."},{"line_number":20,"context_line":"Logs from cinder-volume after patch apply:"},{"line_number":21,"context_line":"http://paste.openstack.org/show/204956/"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Change-Id: Ibaf43858d60e1320c339f2523b5c09c7f7c7f91e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"dac4157f_bd676b24","line":20,"in_reply_to":"dac4157f_7dec338f","updated":"2015-04-21 20:05:52.000000000","message":"Thanks, I\u0027ll move it out of the commit message","commit_id":"8825c1607656beb3f4d891e8a9c8dbe8258c405d"}],"cinder/volume/drivers/rbd.py":[{"author":{"_account_id":1107,"name":"Josh Durgin","email":"jdurgin@redhat.com","username":"jdurgin"},"change_message_id":"2c3a5c48ed264455272c9ce9d295b416a0c163eb","unresolved":false,"context_lines":[{"line_number":308,"context_line":"        # It blocks eventlet loop so we need to run it in a native"},{"line_number":309,"context_line":"        # python thread."},{"line_number":310,"context_line":"        client \u003d tpool.Proxy("},{"line_number":311,"context_line":"            self.rados.Rados("},{"line_number":312,"context_line":"                rados_id\u003dself.configuration.rbd_user,"},{"line_number":313,"context_line":"                clustername\u003dself.configuration.rbd_cluster_name,"},{"line_number":314,"context_line":"                conffile\u003dself.configuration.rbd_ceph_conf))"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_86f806e7","line":311,"updated":"2015-04-20 20:35:21.000000000","message":"how does this help calls that don\u0027t go through RADOSClient, like image deletion (rbd.RBD().remove())?\n\nThe rbd python bindings are only using radosclient.ioctx, which doesn\u0027t seem affected by this... is there something about tpool.Proxy() that I\u0027m missing?","commit_id":"971476089b1f151e965c76424dee796f4addbbe0"},{"author":{"_account_id":1107,"name":"Josh Durgin","email":"jdurgin@redhat.com","username":"jdurgin"},"change_message_id":"45eabe311f756cd5239336ecdc9c1f41cb49b6a8","unresolved":false,"context_lines":[{"line_number":308,"context_line":"        # It blocks eventlet loop so we need to run it in a native"},{"line_number":309,"context_line":"        # python thread."},{"line_number":310,"context_line":"        client \u003d tpool.Proxy("},{"line_number":311,"context_line":"            self.rados.Rados("},{"line_number":312,"context_line":"                rados_id\u003dself.configuration.rbd_user,"},{"line_number":313,"context_line":"                clustername\u003dself.configuration.rbd_cluster_name,"},{"line_number":314,"context_line":"                conffile\u003dself.configuration.rbd_ceph_conf))"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_2977cb3b","line":311,"in_reply_to":"dac4157f_26dc9a11","updated":"2015-04-20 21:18:36.000000000","message":"That only patches methods though: https://github.com/eventlet/eventlet/blob/master/eventlet/tpool.py#L177 Attributes like ioctx are unaffected.\n\nIt\u0027s not clear to me whether passing ioctx as an autowrap_name would be sufficient to handle the rbd calls. Can you test with more deletes of large volumes than there are cinder-volume workers?","commit_id":"971476089b1f151e965c76424dee796f4addbbe0"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"addc5f7bec19050f703859f91365dead3d538bbd","unresolved":false,"context_lines":[{"line_number":308,"context_line":"        # It blocks eventlet loop so we need to run it in a native"},{"line_number":309,"context_line":"        # python thread."},{"line_number":310,"context_line":"        client \u003d tpool.Proxy("},{"line_number":311,"context_line":"            self.rados.Rados("},{"line_number":312,"context_line":"                rados_id\u003dself.configuration.rbd_user,"},{"line_number":313,"context_line":"                clustername\u003dself.configuration.rbd_cluster_name,"},{"line_number":314,"context_line":"                conffile\u003dself.configuration.rbd_ceph_conf))"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_15d2ccd2","line":311,"in_reply_to":"dac4157f_2977cb3b","updated":"2015-04-21 09:30:11.000000000","message":"You\u0027re right Josh. Thank you for reviewing. I\u0027ll fix it in the following patch","commit_id":"971476089b1f151e965c76424dee796f4addbbe0"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"7e44c2abe75d696eb8c3f0ffd7978e48f7181beb","unresolved":false,"context_lines":[{"line_number":308,"context_line":"        # It blocks eventlet loop so we need to run it in a native"},{"line_number":309,"context_line":"        # python thread."},{"line_number":310,"context_line":"        client \u003d tpool.Proxy("},{"line_number":311,"context_line":"            self.rados.Rados("},{"line_number":312,"context_line":"                rados_id\u003dself.configuration.rbd_user,"},{"line_number":313,"context_line":"                clustername\u003dself.configuration.rbd_cluster_name,"},{"line_number":314,"context_line":"                conffile\u003dself.configuration.rbd_ceph_conf))"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_26dc9a11","line":311,"in_reply_to":"dac4157f_86f806e7","updated":"2015-04-20 20:47:21.000000000","message":"@Josh, rbd.RBD().remove receives client.ioctx witch is property of RADOSClient so it would be invoked by tpool.Proxy instance [1] after my patch.\n\n[1] http://eventlet.net/doc/threading.html#eventlet.tpool.Proxy","commit_id":"971476089b1f151e965c76424dee796f4addbbe0"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"f967fa785dfe14eae61d38626679a96ed7611122","unresolved":false,"context_lines":[{"line_number":307,"context_line":"        LOG.debug(\"opening connection to ceph cluster (timeout\u003d%s).\" %"},{"line_number":308,"context_line":"                  (self.configuration.rados_connect_timeout))"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"        # NOTE (e0ne): rados is binding to C lirary librados."},{"line_number":311,"context_line":"        # It blocks eventlet loop so we need to run it in a native"},{"line_number":312,"context_line":"        # python thread."},{"line_number":313,"context_line":"        client \u003d tpool.Proxy("}],"source_content_type":"text/x-python","patch_set":4,"id":"dac4157f_aaba9621","line":310,"updated":"2015-04-21 11:11:41.000000000","message":"s/lirary/library/","commit_id":"095f9702a8ceede859bc830bffd029ee4a25751d"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"3956345fe6cf92aa218ca2d2d9870a902b16b8c9","unresolved":false,"context_lines":[{"line_number":307,"context_line":"        LOG.debug(\"opening connection to ceph cluster (timeout\u003d%s).\" %"},{"line_number":308,"context_line":"                  (self.configuration.rados_connect_timeout))"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"        # NOTE (e0ne): rados is binding to C lirary librados."},{"line_number":311,"context_line":"        # It blocks eventlet loop so we need to run it in a native"},{"line_number":312,"context_line":"        # python thread."},{"line_number":313,"context_line":"        client \u003d tpool.Proxy("}],"source_content_type":"text/x-python","patch_set":4,"id":"dac4157f_6a891e26","line":310,"in_reply_to":"dac4157f_aaba9621","updated":"2015-04-21 11:16:50.000000000","message":"Done","commit_id":"095f9702a8ceede859bc830bffd029ee4a25751d"},{"author":{"_account_id":1107,"name":"Josh Durgin","email":"jdurgin@redhat.com","username":"jdurgin"},"change_message_id":"27ba361c5f613bca64096a968b6a0fd52eff2578","unresolved":false,"context_lines":[{"line_number":630,"context_line":"        # keep walking up the chain if it is itself a clone."},{"line_number":631,"context_line":"        if (not parent_has_snaps) and parent_name.endswith(\u0027.deleted\u0027):"},{"line_number":632,"context_line":"            LOG.debug(\"deleting parent %s\" % (parent_name))"},{"line_number":633,"context_line":"            self.rbd.RBD().remove(client.ioctx, parent_name)"},{"line_number":634,"context_line":""},{"line_number":635,"context_line":"            # Now move up to grandparent if there is one"},{"line_number":636,"context_line":"            if g_parent:"}],"source_content_type":"text/x-python","patch_set":5,"id":"dac4157f_78356ad8","line":633,"updated":"2015-04-21 16:23:00.000000000","message":"one more call to wrap","commit_id":"c81c3dd17876125b92e23fa901bc0fd35f7bddf3"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"b74e15ff8a8cd6858b641e987fe25dd42ed2ecb2","unresolved":false,"context_lines":[{"line_number":630,"context_line":"        # keep walking up the chain if it is itself a clone."},{"line_number":631,"context_line":"        if (not parent_has_snaps) and parent_name.endswith(\u0027.deleted\u0027):"},{"line_number":632,"context_line":"            LOG.debug(\"deleting parent %s\" % (parent_name))"},{"line_number":633,"context_line":"            self.rbd.RBD().remove(client.ioctx, parent_name)"},{"line_number":634,"context_line":""},{"line_number":635,"context_line":"            # Now move up to grandparent if there is one"},{"line_number":636,"context_line":"            if g_parent:"}],"source_content_type":"text/x-python","patch_set":5,"id":"dac4157f_f8829aff","line":633,"in_reply_to":"dac4157f_78356ad8","updated":"2015-04-21 16:31:02.000000000","message":"Done","commit_id":"c81c3dd17876125b92e23fa901bc0fd35f7bddf3"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"dfe805155160fdc2f48fe03435fae1dcff34b78b","unresolved":false,"context_lines":[{"line_number":307,"context_line":"        LOG.debug(\"opening connection to ceph cluster (timeout\u003d%s).\" %"},{"line_number":308,"context_line":"                  (self.configuration.rados_connect_timeout))"},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"        # NOTE (e0ne): rados is binding to C lbirary librados."},{"line_number":311,"context_line":"        # It blocks eventlet loop so we need to run it in a native"},{"line_number":312,"context_line":"        # python thread."},{"line_number":313,"context_line":"        client \u003d tpool.Proxy("}],"source_content_type":"text/x-python","patch_set":7,"id":"dac4157f_03a71650","line":310,"updated":"2015-04-21 20:49:37.000000000","message":"/lbirary/library/\n\nOnly if you need to do another update, IMO.","commit_id":"9f83602a82153e0be8c127c3d936b512327336f7"}]}
