)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"05d9198553ed65fc7461678748a2b84ee5f66495","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Adding the share id ensures uniqueness of"},{"line_number":14,"context_line":"Quobyte backend volume names."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Originally started as fix for #1513115 ."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Implements: blueprint display-name-in-quobyte-backend"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"9a8ffd7b_ca8639b9","line":16,"updated":"2015-11-24 16:01:24.000000000","message":"Either set as \"Closes-Bug: #FOO\" or remove.","commit_id":"38c51a640c4199bb7d35968001da2a040f2827be"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"41de0779cec27e18f328fb9431ce22000e4ca304","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Adding the share id ensures uniqueness of"},{"line_number":14,"context_line":"Quobyte backend volume names."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Originally started as fix for #1513115 ."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Implements: blueprint display-name-in-quobyte-backend"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"9a8ffd7b_d5257a5c","line":16,"in_reply_to":"9a8ffd7b_ca8639b9","updated":"2015-11-24 16:06:03.000000000","message":"Done","commit_id":"38c51a640c4199bb7d35968001da2a040f2827be"}],"manila/share/drivers/quobyte/quobyte.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f2ad07f2d129cea166b7e85768fbe4613f844bcb","unresolved":false,"context_lines":[{"line_number":159,"context_line":"                _(\u0027Quobyte driver only supports NFS shares\u0027))"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"        volume_uuid \u003d self._resolve_volume_name("},{"line_number":162,"context_line":"            share[\u0027name\u0027],"},{"line_number":163,"context_line":"            share[\u0027id\u0027],"},{"line_number":164,"context_line":"            self._get_project_name(context, share[\u0027project_id\u0027]))"},{"line_number":165,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_d058fcfc","line":162,"updated":"2015-11-04 16:32:00.000000000","message":"I feel you shouldn\u0027t use share[\u0027name\u0027] here -\u003e This attribute can be \u0027None\u0027. In which case, your _resolve_volume_name will blow up:\n\nTypeError: unsupported operand type(s) for +: \u0027NoneType\u0027 and \u0027str\u0027\n\nAlternatives if you do want to use the name is to perform some sanitization of share[\u0027name\u0027] -\u003e Use it only if not None or give a default name, like \u0027share\u0027 or something..","commit_id":"c2a19af412988df51a867925c07b94b030b97305"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"48550d0dc171a34952cc7a71376ad227de62a654","unresolved":false,"context_lines":[{"line_number":159,"context_line":"                _(\u0027Quobyte driver only supports NFS shares\u0027))"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"        volume_uuid \u003d self._resolve_volume_name("},{"line_number":162,"context_line":"            share[\u0027name\u0027],"},{"line_number":163,"context_line":"            share[\u0027id\u0027],"},{"line_number":164,"context_line":"            self._get_project_name(context, share[\u0027project_id\u0027]))"},{"line_number":165,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa80f949_f305f1c1","line":162,"in_reply_to":"fa80f949_d058fcfc","updated":"2015-11-05 08:22:59.000000000","message":"Thanks for pointing this out!\n\nI\u0027ll probably go with str(..) wrapper to make that an explicit \u0027None\u0027 name...","commit_id":"c2a19af412988df51a867925c07b94b030b97305"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"5a0e4f5c7780485c0497270837e69ec5a07c7868","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    def _resolve_volume_name(self, volume_name, volume_id, tenant_domain):"},{"line_number":141,"context_line":"        \"\"\"Resolve a volume name to the global volume uuid."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"        Creates a volume name from the given parameters and check\u0027s it\u0027s"},{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_6c5b5b88","line":143,"updated":"2015-11-05 11:06:45.000000000","message":"s/check\u0027s it\u0027s/checks for its","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"ecb2562ead507de8b98d32435073af63eec1f4ba","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    def _resolve_volume_name(self, volume_name, volume_id, tenant_domain):"},{"line_number":141,"context_line":"        \"\"\"Resolve a volume name to the global volume uuid."},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"        Creates a volume name from the given parameters and check\u0027s it\u0027s"},{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_2f8b05c5","line":143,"in_reply_to":"fa80f949_6c5b5b88","updated":"2015-11-05 12:23:55.000000000","message":"Done","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"5a0e4f5c7780485c0497270837e69ec5a07c7868","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID !\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_2cdd53e0","line":147,"updated":"2015-11-05 11:06:45.000000000","message":"Remove space between \"ID\" and \"!\".","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"41cf687d4bbe88ba4844279d1c12d1aa8bd7af3c","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID !\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_8c16bf53","line":147,"in_reply_to":"fa80f949_2cdd53e0","updated":"2015-11-05 11:13:07.000000000","message":"Also kind of an overcautious check here... id is not nullable on the ShareInstance model..","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"ecb2562ead507de8b98d32435073af63eec1f4ba","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID !\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_4f8689ba","line":147,"in_reply_to":"fa80f949_2cdd53e0","updated":"2015-11-05 12:23:55.000000000","message":"Done","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"ecb2562ead507de8b98d32435073af63eec1f4ba","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID !\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_d54e8a95","line":147,"in_reply_to":"fa80f949_8c16bf53","updated":"2015-11-05 12:23:55.000000000","message":"@Goutham Yep, a bit paranoid. This is only for potentially catching bugs and to make sure that in that case no \u0027..._None...\u0027 volumes are created in the backend.","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"bdc3461eadf86e4e9115906d89f206a434aa8017","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID!\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("}],"source_content_type":"text/x-python","patch_set":4,"id":"da85f559_6702280c","line":147,"updated":"2015-11-12 04:11:44.000000000","message":"The exception message needs to be wrapped with _()\n\nAlso it should be in this format: exception.InvalidParameterValue(err\u003dmessage)","commit_id":"c90e4910c97ad12179c41b05c4a927f02b1b7ac9"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"96ec16c62fa869a66c3db8d5fa5459df25afffec","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        presence in the backend."},{"line_number":145,"context_line":"        \"\"\""},{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID!\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("}],"source_content_type":"text/x-python","patch_set":4,"id":"da85f559_88a4de4a","line":147,"in_reply_to":"da85f559_6702280c","updated":"2015-11-12 14:38:20.000000000","message":"Done","commit_id":"c90e4910c97ad12179c41b05c4a927f02b1b7ac9"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"bdc3461eadf86e4e9115906d89f206a434aa8017","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID!\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("},{"line_number":151,"context_line":"            volume_name\u003db_name,"},{"line_number":152,"context_line":"            tenant_domain\u003dtenant_domain))"}],"source_content_type":"text/x-python","patch_set":4,"id":"da85f559_87438d6b","line":149,"updated":"2015-11-12 04:11:44.000000000","message":"str -\u003e six.text_type","commit_id":"c90e4910c97ad12179c41b05c4a927f02b1b7ac9"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"96ec16c62fa869a66c3db8d5fa5459df25afffec","unresolved":false,"context_lines":[{"line_number":146,"context_line":"        if volume_id is None:"},{"line_number":147,"context_line":"            raise exception.InvalidParameterValue(\"Missing share ID!\")"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"        b_name \u003d str(volume_name) + \"_\" + str(volume_id)"},{"line_number":150,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("},{"line_number":151,"context_line":"            volume_name\u003db_name,"},{"line_number":152,"context_line":"            tenant_domain\u003dtenant_domain))"}],"source_content_type":"text/x-python","patch_set":4,"id":"da85f559_2866122a","line":149,"in_reply_to":"da85f559_87438d6b","updated":"2015-11-12 14:38:20.000000000","message":"Done","commit_id":"c90e4910c97ad12179c41b05c4a927f02b1b7ac9"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"a243acf8c9d44aa1d6513c278dacd0e9ffeaa039","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        if volume_id is None:"},{"line_number":148,"context_line":"            raise exception.InvalidParameterValue(err\u003d_(\"Missing share ID!\"))"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        b_name \u003d six.text_type(volume_name) + \"_\" + six.text_type(volume_id)"},{"line_number":151,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("},{"line_number":152,"context_line":"            volume_name\u003db_name,"},{"line_number":153,"context_line":"            tenant_domain\u003dtenant_domain))"}],"source_content_type":"text/x-python","patch_set":5,"id":"da85f559_ef9d66bc","line":150,"updated":"2015-11-12 17:22:48.000000000","message":"\u0027_\u0027.join((a,b)) is the more pythonic way to do a + \u0027_\u0027 + b","commit_id":"a31a1db97208078cea72955b4cc55225ab76714e"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"2ea1f1f9c90420ee46958a1585a6b3d995e7cd02","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        if volume_id is None:"},{"line_number":148,"context_line":"            raise exception.InvalidParameterValue(err\u003d_(\"Missing share ID!\"))"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        b_name \u003d six.text_type(volume_name) + \"_\" + six.text_type(volume_id)"},{"line_number":151,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("},{"line_number":152,"context_line":"            volume_name\u003db_name,"},{"line_number":153,"context_line":"            tenant_domain\u003dtenant_domain))"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba8a016a_2933e563","line":150,"in_reply_to":"da85f559_0fee6fec","updated":"2015-11-19 11:44:21.000000000","message":"Had to touch things anyways, so now it\u0027s using join()...","commit_id":"a31a1db97208078cea72955b4cc55225ab76714e"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"d2f445652550d5df3865929224a63d65b1577145","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        if volume_id is None:"},{"line_number":148,"context_line":"            raise exception.InvalidParameterValue(err\u003d_(\"Missing share ID!\"))"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        b_name \u003d six.text_type(volume_name) + \"_\" + six.text_type(volume_id)"},{"line_number":151,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("},{"line_number":152,"context_line":"            volume_name\u003db_name,"},{"line_number":153,"context_line":"            tenant_domain\u003dtenant_domain))"}],"source_content_type":"text/x-python","patch_set":5,"id":"da85f559_0fee6fec","line":150,"in_reply_to":"da85f559_c84abc27","updated":"2015-11-13 17:36:26.000000000","message":"I agree that it takes some getting used to. Yes. Keep it for now, This is not a big performance issue here and it isn\u0027t a PEP violation.  Just something to get in the habit of doing.","commit_id":"a31a1db97208078cea72955b4cc55225ab76714e"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"d362c7a21a04d08ac40fd47941f3f914d6e27584","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        if volume_id is None:"},{"line_number":148,"context_line":"            raise exception.InvalidParameterValue(err\u003d_(\"Missing share ID!\"))"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        b_name \u003d six.text_type(volume_name) + \"_\" + six.text_type(volume_id)"},{"line_number":151,"context_line":"        result \u003d self.rpc.call(\u0027resolveVolumeName\u0027, dict("},{"line_number":152,"context_line":"            volume_name\u003db_name,"},{"line_number":153,"context_line":"            tenant_domain\u003dtenant_domain))"}],"source_content_type":"text/x-python","patch_set":5,"id":"da85f559_c84abc27","line":150,"in_reply_to":"da85f559_ef9d66bc","updated":"2015-11-13 08:02:21.000000000","message":"Thanks for the hint!\nHmm, and join() seems to be way faster than concatenation.\nThat said i do prefer the better readability of the concatenation.\n\nI\u0027ll change this if i need to update this patch but will keep the concat for now, that ok with you?","commit_id":"a31a1db97208078cea72955b4cc55225ab76714e"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"05d9198553ed65fc7461678748a2b84ee5f66495","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        if not volume_uuid:"},{"line_number":174,"context_line":"            result \u003d self.rpc.call(\u0027createVolume\u0027, dict("},{"line_number":175,"context_line":"                name\u003dself._build_volume_name"},{"line_number":176,"context_line":"                (share_display_name\u003dshare[\u0027display_name\u0027],"},{"line_number":177,"context_line":"                 share_id\u003dshare[\u0027id\u0027]),"},{"line_number":178,"context_line":"                tenant_domain\u003dshare[\u0027project_id\u0027],"},{"line_number":179,"context_line":"                root_user_id\u003dself.configuration.quobyte_default_volume_user,"}],"source_content_type":"text/x-python","patch_set":9,"id":"9a8ffd7b_aa02d53c","line":176,"updated":"2015-11-24 16:01:24.000000000","message":"It should be replaced with ID as unique value and have some predefined prefix (configurable?). \"display_name/name\" should not be used for such things as it is not required and not unique key.","commit_id":"38c51a640c4199bb7d35968001da2a040f2827be"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"41de0779cec27e18f328fb9431ce22000e4ca304","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        if not volume_uuid:"},{"line_number":174,"context_line":"            result \u003d self.rpc.call(\u0027createVolume\u0027, dict("},{"line_number":175,"context_line":"                name\u003dself._build_volume_name"},{"line_number":176,"context_line":"                (share_display_name\u003dshare[\u0027display_name\u0027],"},{"line_number":177,"context_line":"                 share_id\u003dshare[\u0027id\u0027]),"},{"line_number":178,"context_line":"                tenant_domain\u003dshare[\u0027project_id\u0027],"},{"line_number":179,"context_line":"                root_user_id\u003dself.configuration.quobyte_default_volume_user,"}],"source_content_type":"text/x-python","patch_set":9,"id":"9a8ffd7b_75692e8b","line":176,"in_reply_to":"9a8ffd7b_aa02d53c","updated":"2015-11-24 16:06:03.000000000","message":"I will add a prefix.\n\nThe share id is added already as a unique value (it\u0027s the other param shown in the line below).","commit_id":"38c51a640c4199bb7d35968001da2a040f2827be"}],"manila/tests/share/drivers/quobyte/test_quobyte.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"41cf687d4bbe88ba4844279d1c12d1aa8bd7af3c","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        self._driver.rpc.call \u003d mock.Mock("},{"line_number":232,"context_line":"            return_value\u003d{\u0027volume_uuid\u0027: \u0027fake_uuid\u0027})"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"        self._driver._resolve_volume_name(\u0027fake_vol_name\u0027,"},{"line_number":235,"context_line":"                                          \u0027fake_vol_id\u0027,"},{"line_number":236,"context_line":"                                          \u0027fake_domain_name\u0027)"},{"line_number":237,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_cf03590c","line":234,"updated":"2015-11-05 11:13:07.000000000","message":"Nit: Tests do not cover situations when volume_name is None and (if you want to keep the check) volume_id is None.","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"ecb2562ead507de8b98d32435073af63eec1f4ba","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        self._driver.rpc.call \u003d mock.Mock("},{"line_number":232,"context_line":"            return_value\u003d{\u0027volume_uuid\u0027: \u0027fake_uuid\u0027})"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"        self._driver._resolve_volume_name(\u0027fake_vol_name\u0027,"},{"line_number":235,"context_line":"                                          \u0027fake_vol_id\u0027,"},{"line_number":236,"context_line":"                                          \u0027fake_domain_name\u0027)"},{"line_number":237,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa80f949_753c7ee2","line":234,"in_reply_to":"fa80f949_cf03590c","updated":"2015-11-05 12:23:55.000000000","message":"hmm, yep, adding now.","commit_id":"1f2b90201c8b1b355d60f62561e814028f2ae140"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"a243acf8c9d44aa1d6513c278dacd0e9ffeaa039","unresolved":false,"context_lines":[{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        self._driver.rpc.call.assert_called_with("},{"line_number":273,"context_line":"            \u0027resolveVolumeName\u0027,"},{"line_number":274,"context_line":"            {\u0027volume_name\u0027: \u0027None_fake_vol_id\u0027,"},{"line_number":275,"context_line":"             \u0027tenant_domain\u0027: \u0027fake_domain_name\u0027})"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    def test_resolve_volume_name_no_id(self):"}],"source_content_type":"text/x-python","patch_set":5,"id":"da85f559_6ffc16b8","line":274,"updated":"2015-11-12 17:22:48.000000000","message":"This is an odd case.  So both None and \u0027None\u0027 would map to the same thing.","commit_id":"a31a1db97208078cea72955b4cc55225ab76714e"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"d362c7a21a04d08ac40fd47941f3f914d6e27584","unresolved":false,"context_lines":[{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        self._driver.rpc.call.assert_called_with("},{"line_number":273,"context_line":"            \u0027resolveVolumeName\u0027,"},{"line_number":274,"context_line":"            {\u0027volume_name\u0027: \u0027None_fake_vol_id\u0027,"},{"line_number":275,"context_line":"             \u0027tenant_domain\u0027: \u0027fake_domain_name\u0027})"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    def test_resolve_volume_name_no_id(self):"}],"source_content_type":"text/x-python","patch_set":5,"id":"da85f559_c8cddc87","line":274,"in_reply_to":"da85f559_6ffc16b8","updated":"2015-11-13 08:02:21.000000000","message":"Yes they do but that\u0027s ok. The share name is no longer used for uniqueness but only for easier readability in the backend (share id is introduced to the storage volume name in this patch to provide the uniqueness). If there\u0027s no id it\u0027s an error (see test below). The share name only helps reading the volume names stored in the backend and in that context having None_id1 created from \u0027None\u0027 and None_id2 created from None is fine.","commit_id":"a31a1db97208078cea72955b4cc55225ab76714e"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"d2f445652550d5df3865929224a63d65b1577145","unresolved":false,"context_lines":[{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        self._driver.rpc.call.assert_called_with("},{"line_number":273,"context_line":"            \u0027resolveVolumeName\u0027,"},{"line_number":274,"context_line":"            {\u0027volume_name\u0027: \u0027None_fake_vol_id\u0027,"},{"line_number":275,"context_line":"             \u0027tenant_domain\u0027: \u0027fake_domain_name\u0027})"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    def test_resolve_volume_name_no_id(self):"}],"source_content_type":"text/x-python","patch_set":5,"id":"da85f559_2fd1f3fb","line":274,"in_reply_to":"da85f559_c8cddc87","updated":"2015-11-13 17:36:26.000000000","message":"Right. They would never map to the same ID.  It\u0027s not as bad as I thought and I already thought it was kind of a nit.","commit_id":"a31a1db97208078cea72955b4cc55225ab76714e"}]}
