)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"50e03480456488aef09583b0c5f96e351fca5a23","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Implements ensure_share() in Quobyte driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"As create_share() also handles (re-)exporting existing shares"},{"line_number":10,"context_line":"it is called by ensure_share(), too."},{"line_number":11,"context_line":"Unit tests are added."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Ifbb144fa16df5d0ff3560d1a7476b75e5ccf184a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a26ad4f_9d4ef094","line":10,"updated":"2015-10-30 15:53:09.000000000","message":"Guess this isn\u0027t true anymore?\n\ncreate_share() isn\u0027t called by ensure_share() in Patchsets 2, 3","commit_id":"1fc0a0576a49ac98aab899bd991f5d0829585e2e"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"1394628386e35c571d12c71b066b3d11e9c1728c","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Implements ensure_share() in Quobyte driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"As create_share() also handles (re-)exporting existing shares"},{"line_number":10,"context_line":"it is called by ensure_share(), too."},{"line_number":11,"context_line":"Unit tests are added."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Ifbb144fa16df5d0ff3560d1a7476b75e5ccf184a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a26ad4f_a9f59757","line":10,"in_reply_to":"1a26ad4f_9d4ef094","updated":"2015-11-02 08:41:17.000000000","message":"Done","commit_id":"1fc0a0576a49ac98aab899bd991f5d0829585e2e"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"2ec31e0bb7b5e5050150d70f3b3febeb5ac728a3","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Added ensure_share implementation that checks share instance"},{"line_number":10,"context_line":"availability and re-exports the given share instance."},{"line_number":11,"context_line":"Unit tests are added as well as a new ShareInstanceNotFound"},{"line_number":12,"context_line":"Exception (with it\u0027s own unit test)."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Ifbb144fa16df5d0ff3560d1a7476b75e5ccf184a"},{"line_number":15,"context_line":"Closes-Bug: #1510552"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"da85f559_62d4b21f","line":12,"updated":"2015-11-10 21:05:06.000000000","message":"s/it\u0027s/its/","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"db16d0a8cd691686754d96e0b611bfb89fdcade0","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Added ensure_share implementation that checks share instance"},{"line_number":10,"context_line":"availability and re-exports the given share instance."},{"line_number":11,"context_line":"Unit tests are added as well as a new ShareInstanceNotFound"},{"line_number":12,"context_line":"Exception (with it\u0027s own unit test)."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Ifbb144fa16df5d0ff3560d1a7476b75e5ccf184a"},{"line_number":15,"context_line":"Closes-Bug: #1510552"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"da85f559_157b6b8d","line":12,"in_reply_to":"da85f559_62d4b21f","updated":"2015-11-12 15:09:44.000000000","message":"Done","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"}],"manila/exception.py":[{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"2ec31e0bb7b5e5050150d70f3b3febeb5ac728a3","unresolved":false,"context_lines":[{"line_number":686,"context_line":"    message \u003d _(\"Share driver \u0027%(driver)s\u0027 not initialized.\")"},{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareInstanceNotFound(NotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance %(share_instance_id)s could not be found.\")"}],"source_content_type":"text/x-python","patch_set":9,"id":"da85f559_6aea36ae","line":689,"updated":"2015-11-10 21:05:06.000000000","message":"You are using this exception to indicate a storage resource on your backend wasn\u0027t found.  So I suggest you extend the exception StorageResourceNotFound with something like ShareResourceNotFound.","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"db16d0a8cd691686754d96e0b611bfb89fdcade0","unresolved":false,"context_lines":[{"line_number":686,"context_line":"    message \u003d _(\"Share driver \u0027%(driver)s\u0027 not initialized.\")"},{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareInstanceNotFound(NotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance %(share_instance_id)s could not be found.\")"}],"source_content_type":"text/x-python","patch_set":9,"id":"da85f559_032f703f","line":689,"in_reply_to":"da85f559_6aea36ae","updated":"2015-11-12 15:09:44.000000000","message":"Done","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"96e62649a7d55ca11cbce39e74eca48e9057eff0","unresolved":false,"context_lines":[{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance id %(share_instance_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":11,"id":"da85f559_d49912d2","line":690,"updated":"2015-11-12 19:43:45.000000000","message":"Since your exception name does not mention Share Instances anymore I think you should not refer to \"instances\" in the message as well.","commit_id":"6f1365973ba04d3153ed0e292e65d3f9f082e7c7"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"45404d59efac6f8d72ae1aa8a811c025a7339d71","unresolved":false,"context_lines":[{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance id %(share_instance_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba8a016a_63d26c5e","line":690,"in_reply_to":"ba8a016a_ab44d073","updated":"2015-11-18 10:23:34.000000000","message":"Ok, moving to share_id","commit_id":"6f1365973ba04d3153ed0e292e65d3f9f082e7c7"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ed481ceb49e0209f828f81f0d43fee8dc45bebb7","unresolved":false,"context_lines":[{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance id %(share_instance_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba8a016a_e19c3f5f","line":690,"in_reply_to":"ba8a016a_d2ca396e","updated":"2015-11-17 18:26:58.000000000","message":"At this layer, we shouldn\u0027t concern ourselves of instances.. \n\nWe intended instances to be something only Manila and administrators would know/care about - not the user, or the drivers... For either of them, share_instances should be as good as shares.. \n\nWe should refer to these as Shares to stay consistent with the rest of the drivers in Manila.","commit_id":"6f1365973ba04d3153ed0e292e65d3f9f082e7c7"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"71f749135be652f0741b72fdd45077a32cd1c8d9","unresolved":false,"context_lines":[{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance id %(share_instance_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba8a016a_ab44d073","line":690,"in_reply_to":"ba8a016a_e19c3f5f","updated":"2015-11-17 18:39:07.000000000","message":"Goutham: +1","commit_id":"6f1365973ba04d3153ed0e292e65d3f9f082e7c7"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"e893e0344e7f28ebd1f8d75ddc56c5cfd7572935","unresolved":false,"context_lines":[{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance id %(share_instance_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":11,"id":"ba8a016a_d2ca396e","line":690,"in_reply_to":"da85f559_b4ac7836","updated":"2015-11-17 12:42:49.000000000","message":"I just think it does not make sense for the exception name to be \"ShareResourceNotFound\" and the message refers to \"Share Instances\", either both should be referred as shares or referred as share instances.","commit_id":"6f1365973ba04d3153ed0e292e65d3f9f082e7c7"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"34126c38082c00c4952f444bf87236fac50e01df","unresolved":false,"context_lines":[{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share instance id %(share_instance_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":11,"id":"da85f559_b4ac7836","line":690,"in_reply_to":"da85f559_d49912d2","updated":"2015-11-13 07:46:27.000000000","message":"I thought about this, too, but came to the conclusion that what the manager.py hands in to the drivers is explicitely a share_instance_id. As written in earlier comments i don\u0027t want to do a whole class refactoring for the driver regarding the share vs. share_instance naming.\nBut adding this new exception i decided to go with the intended share_instance as this is an Exception not specifically tied to the Quobyte driver.\n\nIf that does not make sense to you i can switch, of course... :)","commit_id":"6f1365973ba04d3153ed0e292e65d3f9f082e7c7"},{"author":{"_account_id":7102,"name":"Thomas Bechtold","email":"thomas.bechtold@chainguard.dev","username":"toabctl"},"change_message_id":"14c56c9f6c3ae5dc1b5334aefe98c0e59ed98779","unresolved":false,"context_lines":[{"line_number":686,"context_line":"    message \u003d _(\"Share driver \u0027%(driver)s\u0027 not initialized.\")"},{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share id %(share_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"ba8a016a_7d2df5a6","line":689,"updated":"2015-11-19 07:13:35.000000000","message":"Hm. I\u0027ve seen Clinton\u0027s comment to do this. But StorageResourceNotFound is not used by any other code path. I would remove that and use a Quobyte specific exception. Something like QuobyteResourceNotFound because Quobyte is the only user of the exception.","commit_id":"80dfcfa7a27160e07624695f4a839b094da22cdc"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"8347cfa6d618566b26b6f472ed585bc8ffcf682b","unresolved":false,"context_lines":[{"line_number":686,"context_line":"    message \u003d _(\"Share driver \u0027%(driver)s\u0027 not initialized.\")"},{"line_number":687,"context_line":""},{"line_number":688,"context_line":""},{"line_number":689,"context_line":"class ShareResourceNotFound(StorageResourceNotFound):"},{"line_number":690,"context_line":"    message \u003d _(\"Share id %(share_id)s could not be found \""},{"line_number":691,"context_line":"                \"in storage backend.\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"ba8a016a_5a74ac34","line":689,"in_reply_to":"ba8a016a_7d2df5a6","updated":"2015-11-19 10:56:29.000000000","message":"I\u0027d prefer to stick with ShareResourceNotFound, for the same reason.\nI think it is useful \u0026 reusable for other backends.\nMost probably have scenarios where some external change might affect an element that is available as a share in Manila and then have a driver run into a missing resource in the backend.\nMaking this Quobyte specific can be done but will not carry more information than the more generic exception and possibly causes creation of more vendor specific exception types later on.","commit_id":"80dfcfa7a27160e07624695f4a839b094da22cdc"}],"manila/share/drivers/quobyte/quobyte.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"2a504d4fdafdb2cac5b3401f96d47a030794ca48","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        \"\"\""},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        # create_share also re-exports existing shares, therefore call it"},{"line_number":212,"context_line":"        return self.create_share(context, share, share_server)"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":215,"context_line":"        \"\"\"Allow access to a share.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_a1e4550d","line":212,"updated":"2015-10-27 15:36:31.000000000","message":"It will \"create\" volume if it does not exist. It is not \"ensure\" approach.","commit_id":"268fc8bcd3b79802f62835dafcb618d3599bebdd"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"7b7b0b09f0f0eccf9a6990117209d1d30ff8adb6","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        \"\"\""},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        # create_share also re-exports existing shares, therefore call it"},{"line_number":212,"context_line":"        return self.create_share(context, share, share_server)"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":215,"context_line":"        \"\"\"Allow access to a share.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_c9c71711","line":212,"in_reply_to":"1a26ad4f_11b1c08f","updated":"2015-10-28 14:50:47.000000000","message":"Agree the one use case Valeriy mentioned is legit. \n\nI don\u0027t think ensure_server is meant to be user or admin facing (There is no API endpoint to ensure_server call, it is getting called during host/driver initialization) - So, it will never be called with a nonexistent id. (hopefully, unless the database is corrupted in some way).\n\nWhat if an existing share(with some data in it) was somehow deleted on the backend, outside of manila? This implementation will just go ahead and create a new share... Should we avoid this and throw an exception instead?\n(One driver seems to have implemented this behavior: https://github.com/openstack/manila/blob/ed6ed4720277772bd333ca4a641808118672ed2d/manila/share/drivers/zfssa/zfssashare.py#L272)","commit_id":"268fc8bcd3b79802f62835dafcb618d3599bebdd"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"6e898e8555f7ae41035a8ab5ce19e8e20e007774","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        \"\"\""},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        # create_share also re-exports existing shares, therefore call it"},{"line_number":212,"context_line":"        return self.create_share(context, share, share_server)"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":215,"context_line":"        \"\"\"Allow access to a share.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_11b1c08f","line":212,"in_reply_to":"1a26ad4f_913710b0","updated":"2015-10-28 09:19:54.000000000","message":"In case the share already exists create_share() will return with the original shares handle. A new share is only created if it did not exist in the backend beforehand. create_share() checks if there\u0027s already a matching volume_uuid in the backend (see _resolve_volume_name() call). If yes that is re-exported, if no it sends a createVolume message.\n\nHowever there will be a new share created if ensure_share() is called with a non existant id. In that case a new share is returned. In all other cases the existing share\u0027s handles will be returned.\n\nIs creating a new share when ensure_share() is called with a non-existant id valid?","commit_id":"268fc8bcd3b79802f62835dafcb618d3599bebdd"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"fdd6e8ad70e054160b09a93590b9b33e9b9f5b0c","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        \"\"\""},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        # create_share also re-exports existing shares, therefore call it"},{"line_number":212,"context_line":"        return self.create_share(context, share, share_server)"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":215,"context_line":"        \"\"\"Allow access to a share.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_cee4190f","line":212,"in_reply_to":"1a26ad4f_a1e4550d","updated":"2015-10-27 17:56:25.000000000","message":"https://review.openstack.org/#/c/235914/7/doc/source/devref/driver_requirements.rst\n\nThe driver requirements document leaves this pretty vague... \n\n\"...Manila attempts to ensure created shares, so the driver must implement a function that checks shares\u0027 status and perform maintenance if needed, re-exporting.\"\n\nSo I guess the driver may choose to re-create the share if it is missing, as part of the maintenance.","commit_id":"268fc8bcd3b79802f62835dafcb618d3599bebdd"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"e03e2e93715d1a6a4c94646bcf36c880fcbdd62b","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        \"\"\""},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        # create_share also re-exports existing shares, therefore call it"},{"line_number":212,"context_line":"        return self.create_share(context, share, share_server)"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":215,"context_line":"        \"\"\"Allow access to a share.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_afb97beb","line":212,"in_reply_to":"1a26ad4f_c9c71711","updated":"2015-10-28 15:34:23.000000000","message":"Yep, i discussed this with Valeriy in irc and am currently implementing the exception and additional tests, change update will follow.\nThanks for looking into this.","commit_id":"268fc8bcd3b79802f62835dafcb618d3599bebdd"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"19a3e3bcc60d57a9b1fcb882213959dfd75a3afc","unresolved":false,"context_lines":[{"line_number":209,"context_line":"        \"\"\""},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        # create_share also re-exports existing shares, therefore call it"},{"line_number":212,"context_line":"        return self.create_share(context, share, share_server)"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"    def allow_access(self, context, share, access, share_server\u003dNone):"},{"line_number":215,"context_line":"        \"\"\"Allow access to a share.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_913710b0","line":212,"in_reply_to":"1a26ad4f_cee4190f","updated":"2015-10-28 08:55:12.000000000","message":"Recreate if it is missing? If I had data in \"missing\" share? So, admin can lose share somehow and for user it will be recreated and he will be surprised seeing empty share.\n\nFor example, in case of Generic driver, we can recreate share server, because the value in volumes we attach to it, but not recreate volumes. Same here.","commit_id":"268fc8bcd3b79802f62835dafcb618d3599bebdd"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"85c1b7f6abc46bc4e7fe6f8e740dfc87e8fe7a68","unresolved":false,"context_lines":[{"line_number":149,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":150,"context_line":"        \"\"\"Create or export a volume that is usable as a Manila share."},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"        :param context: The `context.RequestContext` object for the request"},{"line_number":153,"context_line":"        :param share: Share that will be checked."},{"line_number":154,"context_line":"        :param share_server: Data structure with share server information."},{"line_number":155,"context_line":"        Not used by this driver."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a26ad4f_657104e0","line":152,"updated":"2015-10-30 12:36:29.000000000","message":"This change now not related to the goal of commit.","commit_id":"9972130d907dfb39b3ed08d165766d2b32b3ff68"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"204dfa69e74e1f9518d6ee67b6e2770269dc2dba","unresolved":false,"context_lines":[{"line_number":149,"context_line":"    def create_share(self, context, share, share_server\u003dNone):"},{"line_number":150,"context_line":"        \"\"\"Create or export a volume that is usable as a Manila share."},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"        :param context: The `context.RequestContext` object for the request"},{"line_number":153,"context_line":"        :param share: Share that will be checked."},{"line_number":154,"context_line":"        :param share_server: Data structure with share server information."},{"line_number":155,"context_line":"        Not used by this driver."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a26ad4f_1aad0631","line":152,"in_reply_to":"1a26ad4f_657104e0","updated":"2015-10-30 14:58:36.000000000","message":"Done","commit_id":"9972130d907dfb39b3ed08d165766d2b32b3ff68"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"50e03480456488aef09583b0c5f96e351fca5a23","unresolved":false,"context_lines":[{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            LOG.exception(nfe)"},{"line_number":214,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":217,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a26ad4f_d030cfea","line":214,"updated":"2015-10-30 15:53:09.000000000","message":"I guess you have a py34 error here.. You can skip LOG.exception, it will be logged anyway, use LOG.error if you have an alt message to log..","commit_id":"1fc0a0576a49ac98aab899bd991f5d0829585e2e"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"52da67c543aeaa84a3e7655eece67160c7190038","unresolved":false,"context_lines":[{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            LOG.exception(nfe)"},{"line_number":214,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":217,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a26ad4f_cfa81323","line":214,"in_reply_to":"1a26ad4f_a9cef72b","updated":"2015-11-02 09:43:53.000000000","message":"LOG.exception requires presence of stacktrace. it appears only if some exception was raised. But in your case there is no raised exception on step you call \"LOG.exception\". So, for logging, you have used \"LOG.error\".","commit_id":"1fc0a0576a49ac98aab899bd991f5d0829585e2e"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"3f26f13ee22fcb1309035c9b3346d185b68e6b94","unresolved":false,"context_lines":[{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            LOG.exception(nfe)"},{"line_number":214,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":217,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a26ad4f_0f284b99","line":214,"in_reply_to":"1a26ad4f_cfa81323","updated":"2015-11-02 09:46:00.000000000","message":"ok, thanks for clarifying!","commit_id":"1fc0a0576a49ac98aab899bd991f5d0829585e2e"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"1394628386e35c571d12c71b066b3d11e9c1728c","unresolved":false,"context_lines":[{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            LOG.exception(nfe)"},{"line_number":214,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":217,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a26ad4f_a9cef72b","line":214,"in_reply_to":"1a26ad4f_d030cfea","updated":"2015-11-02 08:41:17.000000000","message":"Kicked the extra logging.\nWhat exactly is the py34 error?","commit_id":"1fc0a0576a49ac98aab899bd991f5d0829585e2e"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"91172173a4baf39511eca195656885fa895c9c38","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        if not volume_uuid:"},{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":216,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a26ad4f_7e240e5f","line":213,"updated":"2015-11-02 10:26:02.000000000","message":"Would be better to keep logging:\n\n\"\"\"\n\nLOG.error(nfe)\n\nraise exception.NotFound(nfe)\n\n\"\"\"","commit_id":"c7ce3c20af1c2e174226f80b122ac963969b7379"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"073c3c32334308c91585ba7f0db39c27929ac36c","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        if not volume_uuid:"},{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":216,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa80f949_df5d2416","line":213,"in_reply_to":"1a26ad4f_613f9324","updated":"2015-11-06 06:06:46.000000000","message":"Is this volume_uuid, not share_uuid?  I\u0027m confused with the term here.\n\nCan you add a ShareNotFound exception in exception.py and use it here?  We have ShareSnapshotNotFound, VolumeNotFound and a few other exceptions, but not ShareNotFound.  We should have it.","commit_id":"c7ce3c20af1c2e174226f80b122ac963969b7379"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"3bd61c755a37a1938817297dcefdf555364d05ec","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        if not volume_uuid:"},{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":216,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a26ad4f_613f9324","line":213,"in_reply_to":"1a26ad4f_7e240e5f","updated":"2015-11-02 11:03:58.000000000","message":"Shouldn\u0027t the raised exception be logged, too? That\u0027s why i removed the extra LOG call previously...","commit_id":"c7ce3c20af1c2e174226f80b122ac963969b7379"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"5bb8f2a9e0bdabea75fdd03c43e8fc90ec228624","unresolved":false,"context_lines":[{"line_number":210,"context_line":"        if not volume_uuid:"},{"line_number":211,"context_line":"            nfe \u003d (_(\u0027Share %s cannot be ensured as it does not exist\u0027)"},{"line_number":212,"context_line":"                   % share[\u0027name\u0027])"},{"line_number":213,"context_line":"            raise exception.NotFound(nfe)"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":216,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa80f949_a29cc30f","line":213,"in_reply_to":"fa80f949_df5d2416","updated":"2015-11-06 07:13:30.000000000","message":"Manila shares are mapped to Quobyte volumes in the backend. That\u0027s why this var is named volume_uuid, it is a unique identifier for the backend volume.\n\nI\u0027ll add  the exception. Thanks for taking a look!","commit_id":"c7ce3c20af1c2e174226f80b122ac963969b7379"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"149009762e55fdd0ae3db5bfe6165ade5f509d82","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        Not used by this driver."},{"line_number":201,"context_line":"        :returns: IP:\u003cnfs_export_path\u003e of share"},{"line_number":202,"context_line":"        :raises:"},{"line_number":203,"context_line":"            :NotFound: If share cannot be found in backend"},{"line_number":204,"context_line":"        \"\"\""},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        volume_uuid \u003d self._resolve_volume_name("}],"source_content_type":"text/x-python","patch_set":6,"id":"da85f559_06e208d6","line":203,"updated":"2015-11-07 02:21:02.000000000","message":"raises ShareNotFound... if you make another patch... but since it inherits NotFound, this is just a nitpick.","commit_id":"3430b3cdd11dae2010dc75966f1a8eed0de81615"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"cff1c5e78fa4b805cf982768ce7d501e25dee35b","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        Not used by this driver."},{"line_number":201,"context_line":"        :returns: IP:\u003cnfs_export_path\u003e of share"},{"line_number":202,"context_line":"        :raises:"},{"line_number":203,"context_line":"            :NotFound: If share cannot be found in backend"},{"line_number":204,"context_line":"        \"\"\""},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        volume_uuid \u003d self._resolve_volume_name("}],"source_content_type":"text/x-python","patch_set":6,"id":"da85f559_3a93a0fc","line":203,"in_reply_to":"da85f559_06e208d6","updated":"2015-11-07 04:21:17.000000000","message":"It\u0027s good to fix this.  Looks good otherwise.","commit_id":"3430b3cdd11dae2010dc75966f1a8eed0de81615"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"08a20d5b20beefed81dafacf6b0eff16471f4ab7","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        Not used by this driver."},{"line_number":201,"context_line":"        :returns: IP:\u003cnfs_export_path\u003e of share"},{"line_number":202,"context_line":"        :raises:"},{"line_number":203,"context_line":"            :NotFound: If share cannot be found in backend"},{"line_number":204,"context_line":"        \"\"\""},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        volume_uuid \u003d self._resolve_volume_name("}],"source_content_type":"text/x-python","patch_set":6,"id":"da85f559_5cb0c5f4","line":203,"in_reply_to":"da85f559_3a93a0fc","updated":"2015-11-09 08:51:26.000000000","message":"done \u0026 thanks","commit_id":"3430b3cdd11dae2010dc75966f1a8eed0de81615"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"fce029de6e027ed2b64ae74997d082b13e110c0f","unresolved":false,"context_lines":[{"line_number":191,"context_line":"            volume_uuid\u003dvolume_uuid,"},{"line_number":192,"context_line":"            remove_export\u003dTrue))"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    def ensure_share(self, context, share, share_server\u003dNone):"},{"line_number":195,"context_line":"        \"\"\"Invoked to ensure that share is exported."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"        :param context: The `context.RequestContext` object for the request"}],"source_content_type":"text/x-python","patch_set":7,"id":"da85f559_6574059c","line":194,"updated":"2015-11-09 11:31:28.000000000","message":"s/share/share_instance/","commit_id":"708de77bd774721d19b4cd0d7ddf2327bd1d238c"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"f1203e87887b33138c716bd60dfa61d85c70d605","unresolved":false,"context_lines":[{"line_number":191,"context_line":"            volume_uuid\u003dvolume_uuid,"},{"line_number":192,"context_line":"            remove_export\u003dTrue))"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    def ensure_share(self, context, share, share_server\u003dNone):"},{"line_number":195,"context_line":"        \"\"\"Invoked to ensure that share is exported."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"        :param context: The `context.RequestContext` object for the request"}],"source_content_type":"text/x-python","patch_set":7,"id":"da85f559_79cb1ba6","line":194,"in_reply_to":"da85f559_55116a51","updated":"2015-11-10 09:58:32.000000000","message":"I think Valeriy is right on this, at least as long as the manager explicitely hands in share_instance the driver should stick to this.","commit_id":"708de77bd774721d19b4cd0d7ddf2327bd1d238c"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ccfabd99b33658fca69a359877fb7a335390cfbf","unresolved":false,"context_lines":[{"line_number":191,"context_line":"            volume_uuid\u003dvolume_uuid,"},{"line_number":192,"context_line":"            remove_export\u003dTrue))"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    def ensure_share(self, context, share, share_server\u003dNone):"},{"line_number":195,"context_line":"        \"\"\"Invoked to ensure that share is exported."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"        :param context: The `context.RequestContext` object for the request"}],"source_content_type":"text/x-python","patch_set":7,"id":"da85f559_55116a51","line":194,"in_reply_to":"da85f559_6574059c","updated":"2015-11-09 14:28:50.000000000","message":"I\u0027m not sure we want to change this at the driver level. If anything, we should have logging at the manager.. \n\nhttps://bugs.launchpad.net/manila/+bug/1496010\n\n\"Share instance xyz maps to Share abc.\"\n\nBecause whether it is a share or an instance, the drivers are doing nothing different. My two cents..","commit_id":"708de77bd774721d19b4cd0d7ddf2327bd1d238c"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"fce029de6e027ed2b64ae74997d082b13e110c0f","unresolved":false,"context_lines":[{"line_number":208,"context_line":"            self._get_project_name(context, share[\u0027project_id\u0027]))"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"        if not volume_uuid:"},{"line_number":211,"context_line":"            raise exception.ShareNotFound(share_id\u003dshare[\u0027id\u0027])"},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":214,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":7,"id":"da85f559_c53131ee","line":211,"updated":"2015-11-09 11:31:28.000000000","message":"Share drivers work with \"share instances\". See [1]. So, you raise incorrect exception with incorrect info.\n\n[1] https://github.com/openstack/manila/blob/b4611145/manila/share/manager.py#L247","commit_id":"708de77bd774721d19b4cd0d7ddf2327bd1d238c"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"f1203e87887b33138c716bd60dfa61d85c70d605","unresolved":false,"context_lines":[{"line_number":208,"context_line":"            self._get_project_name(context, share[\u0027project_id\u0027]))"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"        if not volume_uuid:"},{"line_number":211,"context_line":"            raise exception.ShareNotFound(share_id\u003dshare[\u0027id\u0027])"},{"line_number":212,"context_line":""},{"line_number":213,"context_line":"        result \u003d self.rpc.call(\u0027exportVolume\u0027, dict("},{"line_number":214,"context_line":"            volume_uuid\u003dvolume_uuid,"}],"source_content_type":"text/x-python","patch_set":7,"id":"da85f559_1969af8b","line":211,"in_reply_to":"da85f559_c53131ee","updated":"2015-11-10 09:58:32.000000000","message":"Updated the exception to ShareInstanceNotFound, too.","commit_id":"708de77bd774721d19b4cd0d7ddf2327bd1d238c"},{"author":{"_account_id":14232,"name":"Igor Malinovskiy","email":"u.glide@gmail.com","username":"imalinovskiy"},"change_message_id":"9e30379fe080183e8d6807d7a70517006e68c319","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        Not used by this driver."},{"line_number":201,"context_line":"        :returns: IP:\u003cnfs_export_path\u003e of share"},{"line_number":202,"context_line":"        :raises:"},{"line_number":203,"context_line":"            :ShareNotFound: If share cannot be found in backend"},{"line_number":204,"context_line":"        \"\"\""},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        volume_uuid \u003d self._resolve_volume_name("}],"source_content_type":"text/x-python","patch_set":8,"id":"da85f559_53af0a94","line":203,"updated":"2015-11-10 13:47:28.000000000","message":"s/ShareNotFound/ShareInstanceNotFound","commit_id":"ba37c30e91aa2fe7246f8613d0b26f4b0c55401e"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"cf659257223a415cb8d38dbd5d13d5dd2f02be85","unresolved":false,"context_lines":[{"line_number":200,"context_line":"        Not used by this driver."},{"line_number":201,"context_line":"        :returns: IP:\u003cnfs_export_path\u003e of share"},{"line_number":202,"context_line":"        :raises:"},{"line_number":203,"context_line":"            :ShareNotFound: If share cannot be found in backend"},{"line_number":204,"context_line":"        \"\"\""},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"        volume_uuid \u003d self._resolve_volume_name("}],"source_content_type":"text/x-python","patch_set":8,"id":"da85f559_1665f0df","line":203,"in_reply_to":"da85f559_53af0a94","updated":"2015-11-10 13:58:14.000000000","message":"Done","commit_id":"ba37c30e91aa2fe7246f8613d0b26f4b0c55401e"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"2ec31e0bb7b5e5050150d70f3b3febeb5ac728a3","unresolved":false,"context_lines":[{"line_number":191,"context_line":"            volume_uuid\u003dvolume_uuid,"},{"line_number":192,"context_line":"            remove_export\u003dTrue))"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    def ensure_share(self, context, share_instance, share_server\u003dNone):"},{"line_number":195,"context_line":"        \"\"\"Invoked to ensure that share is exported."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"        :param context: The `context.RequestContext` object for the request"}],"source_content_type":"text/x-python","patch_set":9,"id":"da85f559_62903244","line":194,"updated":"2015-11-10 21:05:06.000000000","message":"By design, drivers aren\u0027t aware of share instances, so I\u0027m not sure this parameter name makes sense.  At a minimum, it\u0027s inconsistent with the rest of your driver.","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"db16d0a8cd691686754d96e0b611bfb89fdcade0","unresolved":false,"context_lines":[{"line_number":191,"context_line":"            volume_uuid\u003dvolume_uuid,"},{"line_number":192,"context_line":"            remove_export\u003dTrue))"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    def ensure_share(self, context, share_instance, share_server\u003dNone):"},{"line_number":195,"context_line":"        \"\"\"Invoked to ensure that share is exported."},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"        :param context: The `context.RequestContext` object for the request"}],"source_content_type":"text/x-python","patch_set":9,"id":"da85f559_06d3fe60","line":194,"in_reply_to":"da85f559_62903244","updated":"2015-11-12 15:09:44.000000000","message":"In version 7 of this patch Valeriy requested to change this to share_instance. It makes sense to me insofar as share/manager.py uses share_instance labelled vars to feed these parameters.\n\nAs this change is about adding ensure_share to the driver and not about refactoring the variable naming scheme i propose to do that in a different change. Especially as other drivers label the same parameter in ensure_share as \u0027share\u0027 instead of \u0027share_instance\u0027 anyway.\n\nSo I\u0027ll rename vars \u0026 elements in this change to a somewhat consistent state. And we can dot a refactoring in a different change.\n\nThat ok (@Valeriy, @Clinton)?","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b850fe914bb11442765c4f86063e5185f517db67","unresolved":false,"context_lines":[{"line_number":205,"context_line":"        \"\"\""},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"        volume_uuid \u003d self._resolve_volume_name("},{"line_number":208,"context_line":"            share_instance[\u0027name\u0027],"},{"line_number":209,"context_line":"            self._get_project_name(context, share_instance[\u0027project_id\u0027]))"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        if not volume_uuid:"}],"source_content_type":"text/x-python","patch_set":9,"id":"da85f559_c268fe89","line":208,"updated":"2015-11-10 15:13:07.000000000","message":"I believe you have another patch that adds share_id argument to this function, correct? If so, I suggest adding this patch as a depency to the other patch and include the modification here as well.","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"b52e89f8aa54c1f6c033496530545daff17c9b2a","unresolved":false,"context_lines":[{"line_number":205,"context_line":"        \"\"\""},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"        volume_uuid \u003d self._resolve_volume_name("},{"line_number":208,"context_line":"            share_instance[\u0027name\u0027],"},{"line_number":209,"context_line":"            self._get_project_name(context, share_instance[\u0027project_id\u0027]))"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        if not volume_uuid:"}],"source_content_type":"text/x-python","patch_set":9,"id":"da85f559_ed5f333f","line":208,"in_reply_to":"da85f559_c268fe89","updated":"2015-11-10 15:30:26.000000000","message":"I was blatantly planning to rebase as soon as one of the two patches is merged. If that\u0027s not ok i can add the dependency.","commit_id":"f34c0ce12a12021437867a04a08e61d4888e067b"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"086131857c33f27b4587b08f172e99f8fb9f867c","unresolved":false,"context_lines":[{"line_number":209,"context_line":"            self._get_project_name(context, share_instance[\u0027project_id\u0027]))"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        if not volume_uuid:"},{"line_number":212,"context_line":"            raise (exception."},{"line_number":213,"context_line":"                   ShareInstanceNotFound"},{"line_number":214,"context_line":"                   (share_instance_id\u003dshare_instance[\u0027id\u0027]))"},{"line_number":215,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"da85f559_fbc8e3a9","line":212,"updated":"2015-11-12 11:45:39.000000000","message":"raise exception.ShareInstanceNotFound(\n\n    share_instance_id\u003dshare_instance[\u0027id\u0027])","commit_id":"90b64f5f20da3c8d9e5f7f764d3f8efd7f1d0fcf"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"7d6c24f6a1ee0fe3e037547f6db2dbddb4a8a364","unresolved":false,"context_lines":[{"line_number":209,"context_line":"            self._get_project_name(context, share_instance[\u0027project_id\u0027]))"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        if not volume_uuid:"},{"line_number":212,"context_line":"            raise (exception."},{"line_number":213,"context_line":"                   ShareInstanceNotFound"},{"line_number":214,"context_line":"                   (share_instance_id\u003dshare_instance[\u0027id\u0027]))"},{"line_number":215,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"da85f559_e3a90d91","line":212,"in_reply_to":"da85f559_fbc8e3a9","updated":"2015-11-12 14:44:27.000000000","message":"Done","commit_id":"90b64f5f20da3c8d9e5f7f764d3f8efd7f1d0fcf"}]}
