)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":17,"context_line":"share must preserve all file metadata on migration."},{"line_number":18,"context_line":"- Added \u0027Non-disruptive\u0027 API parameter: user chooses whether"},{"line_number":19,"context_line":"migration of share must be performed non-disruptively."},{"line_number":20,"context_line":"- Removed existing \u0027Notify\u0027, thus removing 1-phase migration"},{"line_number":21,"context_line":"possibility."},{"line_number":22,"context_line":"- Renamed existing \u0027Force Host Copy\u0027 parameter to \u0027Skip Optimized"},{"line_number":23,"context_line":"Migration\u0027."},{"line_number":24,"context_line":"- Renamed all \u0027migration_info\u0027 and \u0027migration_get_info\u0027 entries to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":50,"id":"fa7ab95a_0ea59a45","line":21,"range":{"start_line":20,"start_character":1,"end_line":21,"end_character":12},"updated":"2016-08-30 14:43:25.000000000","message":"Please add that os-migrate_share was removed with no backwards compatibility","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":17,"context_line":"share must preserve all file metadata on migration."},{"line_number":18,"context_line":"- Added \u0027Non-disruptive\u0027 API parameter: user chooses whether"},{"line_number":19,"context_line":"migration of share must be performed non-disruptively."},{"line_number":20,"context_line":"- Removed existing \u0027Notify\u0027, thus removing 1-phase migration"},{"line_number":21,"context_line":"possibility."},{"line_number":22,"context_line":"- Renamed existing \u0027Force Host Copy\u0027 parameter to \u0027Skip Optimized"},{"line_number":23,"context_line":"Migration\u0027."},{"line_number":24,"context_line":"- Renamed all \u0027migration_info\u0027 and \u0027migration_get_info\u0027 entries to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":50,"id":"fa7ab95a_68fb5748","line":21,"range":{"start_line":20,"start_character":1,"end_line":21,"end_character":12},"in_reply_to":"fa7ab95a_0ea59a45","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":32,"context_line":"can be mounted."},{"line_number":33,"context_line":"- Driver may override _get_access_mapping if supports a different"},{"line_number":34,"context_line":"access_type/protocol combination than what is defined by default."},{"line_number":35,"context_line":"- Added experimental CIFS share protocol support."},{"line_number":36,"context_line":"- Added possibility to change share-network when migrating a share."},{"line_number":37,"context_line":"- Bumped microversion to 2.22."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":50,"id":"fa7ab95a_4e508232","line":35,"range":{"start_line":35,"start_character":0,"end_line":35,"end_character":49},"updated":"2016-08-30 14:43:25.000000000","message":"?","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"7941614a03be22551026d10e390c1c891ed22866","unresolved":false,"context_lines":[{"line_number":32,"context_line":"can be mounted."},{"line_number":33,"context_line":"- Driver may override _get_access_mapping if supports a different"},{"line_number":34,"context_line":"access_type/protocol combination than what is defined by default."},{"line_number":35,"context_line":"- Added experimental CIFS share protocol support."},{"line_number":36,"context_line":"- Added possibility to change share-network when migrating a share."},{"line_number":37,"context_line":"- Bumped microversion to 2.22."},{"line_number":38,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":50,"id":"fa7ab95a_7b441f49","line":35,"range":{"start_line":35,"start_character":0,"end_line":35,"end_character":49},"in_reply_to":"fa7ab95a_4e508232","updated":"2016-08-30 16:06:23.000000000","message":"Rodrigo wanted to say that \"support\" is experimental. Support for CIFS share protocol. But I agree, better to rewrite this sentence.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"contrib/ci/post_test_hook.sh":[{"author":{"_account_id":17097,"name":"Tiago Pasqualini da Silva","email":"t.pasqualini@luizalabs.com","username":"tiago.pasqualini"},"change_message_id":"bb38e386b952f2e3b284a407ed0383060cb538bf","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    export BACKENDS_NAMES\u003d\"ALPHA,BETA\""},{"line_number":48,"context_line":"elif [[ \"$BACK_END_TYPE\" \u003d\u003d \"multibackend\" ]]; then"},{"line_number":49,"context_line":"    iniset $TEMPEST_CONFIG share multi_backend True"},{"line_number":50,"context_line":"    iniset $TEMPEST_CONFIG share run_fallback_migration_tests $(trueorfalse True RUN_MANILA_FALLBACK_MIGRATION_TESTS)"},{"line_number":51,"context_line":"    iniset $TEMPEST_CONFIG share run_optimized_migration_tests $(trueorfalse False RUN_MANILA_OPTIMIZED_MIGRATION_TESTS)"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    # Set share backends names, they are defined within pre_test_hook"}],"source_content_type":"text/x-sh","patch_set":34,"id":"9ad45d7e_49a021a6","line":50,"range":{"start_line":50,"start_character":81,"end_line":50,"end_character":116},"updated":"2016-08-12 17:42:29.000000000","message":"All CIs would need to change this variable. Isn\u0027t it better to keep the old name? This will break every CI that do not run migration tests.","commit_id":"6f87f42fd53df5c0aa03f45c03e7e0a0cd751aef"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"f360a620fa17c13278461e1399ed1f56b6addec7","unresolved":false,"context_lines":[{"line_number":47,"context_line":"    export BACKENDS_NAMES\u003d\"ALPHA,BETA\""},{"line_number":48,"context_line":"elif [[ \"$BACK_END_TYPE\" \u003d\u003d \"multibackend\" ]]; then"},{"line_number":49,"context_line":"    iniset $TEMPEST_CONFIG share multi_backend True"},{"line_number":50,"context_line":"    iniset $TEMPEST_CONFIG share run_fallback_migration_tests $(trueorfalse True RUN_MANILA_FALLBACK_MIGRATION_TESTS)"},{"line_number":51,"context_line":"    iniset $TEMPEST_CONFIG share run_optimized_migration_tests $(trueorfalse False RUN_MANILA_OPTIMIZED_MIGRATION_TESTS)"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    # Set share backends names, they are defined within pre_test_hook"}],"source_content_type":"text/x-sh","patch_set":34,"id":"7ac969e8_3aca6950","line":50,"range":{"start_line":50,"start_character":81,"end_line":50,"end_character":116},"in_reply_to":"9ad45d7e_49a021a6","updated":"2016-08-12 23:05:47.000000000","message":"No, see deprecated name in https://review.openstack.org/#/c/328431/34/manila_tempest_tests/config.py","commit_id":"6f87f42fd53df5c0aa03f45c03e7e0a0cd751aef"}],"manila/api/openstack/api_version_request.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":73,"context_line":"            (list/show/detail/reset-status)."},{"line_number":74,"context_line":"    * 2.20 - Add MTU to the JSON response of share network show API."},{"line_number":75,"context_line":"    * 2.21 - Add access_key to the response of access_list API."},{"line_number":76,"context_line":"    * 2.22 - Updated migration_start API with additional parameters and removed"},{"line_number":77,"context_line":"            \u0027notify\u0027."},{"line_number":78,"context_line":"\"\"\""},{"line_number":79,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_0e2afa8f","line":76,"range":{"start_line":76,"start_character":41,"end_line":76,"end_character":67},"updated":"2016-08-30 14:43:25.000000000","message":"what additional parameters? What other removals were made? What about setting task_state to None?","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":73,"context_line":"            (list/show/detail/reset-status)."},{"line_number":74,"context_line":"    * 2.20 - Add MTU to the JSON response of share network show API."},{"line_number":75,"context_line":"    * 2.21 - Add access_key to the response of access_list API."},{"line_number":76,"context_line":"    * 2.22 - Updated migration_start API with additional parameters and removed"},{"line_number":77,"context_line":"            \u0027notify\u0027."},{"line_number":78,"context_line":"\"\"\""},{"line_number":79,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_2dcc1aba","line":76,"range":{"start_line":76,"start_character":41,"end_line":76,"end_character":67},"in_reply_to":"fa7ab95a_0e2afa8f","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila/api/openstack/rest_api_version_history.rst":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"2.22"},{"line_number":135,"context_line":"----"},{"line_number":136,"context_line":"  Updated migration_start API with additional parameters and removed \u0027notify\u0027."}],"source_content_type":"text/x-rst","patch_set":50,"id":"fa7ab95a_ae0f4e35","line":136,"range":{"start_line":136,"start_character":2,"end_line":136,"end_character":78},"updated":"2016-08-30 14:43:25.000000000","message":"same question.. Please mention the renames as well","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"2.22"},{"line_number":135,"context_line":"----"},{"line_number":136,"context_line":"  Updated migration_start API with additional parameters and removed \u0027notify\u0027."}],"source_content_type":"text/x-rst","patch_set":50,"id":"fa7ab95a_edd87255","line":136,"range":{"start_line":136,"start_character":2,"end_line":136,"end_character":78},"in_reply_to":"fa7ab95a_ae0f4e35","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"cd219593db5023e6fd1dc190297ac686c9676610","unresolved":false,"context_lines":[{"line_number":136,"context_line":"  Updated migration_start API with \u0027preserve-metadata\u0027, \u0027writable\u0027,"},{"line_number":137,"context_line":"  \u0027nondisruptive\u0027 and \u0027new_share_network_id\u0027 parameters, renamed"},{"line_number":138,"context_line":"  \u0027force_host_copy\u0027 to \u0027force_host_assisted_migration\u0027, removed \u0027notify\u0027 parameter"},{"line_number":139,"context_line":"  and removed previous migrate_share API  API support. Updated reset_task_state"},{"line_number":140,"context_line":"  API to accept \u0027None\u0027 value."}],"source_content_type":"text/x-rst","patch_set":56,"id":"fa7ab95a_f78022fa","line":139,"range":{"start_line":139,"start_character":37,"end_line":139,"end_character":46},"updated":"2016-08-31 03:21:50.000000000","message":"API","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"dd2eeeca10bb1991e8311c7bb99d73266cc6295c","unresolved":false,"context_lines":[{"line_number":136,"context_line":"  Updated migration_start API with \u0027preserve-metadata\u0027, \u0027writable\u0027,"},{"line_number":137,"context_line":"  \u0027nondisruptive\u0027 and \u0027new_share_network_id\u0027 parameters, renamed"},{"line_number":138,"context_line":"  \u0027force_host_copy\u0027 to \u0027force_host_assisted_migration\u0027, removed \u0027notify\u0027 parameter"},{"line_number":139,"context_line":"  and removed previous migrate_share API  API support. Updated reset_task_state"},{"line_number":140,"context_line":"  API to accept \u0027None\u0027 value."}],"source_content_type":"text/x-rst","patch_set":56,"id":"fa7ab95a_c4398eda","line":139,"range":{"start_line":139,"start_character":37,"end_line":139,"end_character":46},"in_reply_to":"fa7ab95a_f78022fa","updated":"2016-08-31 13:11:11.000000000","message":"Done","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"}],"manila/api/openstack/wsgi.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"7941614a03be22551026d10e390c1c891ed22866","unresolved":false,"context_lines":[{"line_number":1215,"context_line":"            raise webob.exc.HTTPBadRequest(explanation\u003dmsg)"},{"line_number":1216,"context_line":"        if update[status_attr] not in self.valid_statuses[status_attr]:"},{"line_number":1217,"context_line":"            expl \u003d (_(\"Invalid state. Valid states: %s.\") %"},{"line_number":1218,"context_line":"                    \", \".join(six.text_type(i) for i in"},{"line_number":1219,"context_line":"                              self.valid_statuses[status_attr]))"},{"line_number":1220,"context_line":"            raise webob.exc.HTTPBadRequest(explanation\u003dexpl)"},{"line_number":1221,"context_line":"        return update"},{"line_number":1222,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_2d009a65","line":1219,"range":{"start_line":1218,"start_character":20,"end_line":1219,"end_character":64},"updated":"2016-08-30 16:06:23.000000000","message":"This looks redundant.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":1215,"context_line":"            raise webob.exc.HTTPBadRequest(explanation\u003dmsg)"},{"line_number":1216,"context_line":"        if update[status_attr] not in self.valid_statuses[status_attr]:"},{"line_number":1217,"context_line":"            expl \u003d (_(\"Invalid state. Valid states: %s.\") %"},{"line_number":1218,"context_line":"                    \", \".join(six.text_type(i) for i in"},{"line_number":1219,"context_line":"                              self.valid_statuses[status_attr]))"},{"line_number":1220,"context_line":"            raise webob.exc.HTTPBadRequest(explanation\u003dexpl)"},{"line_number":1221,"context_line":"        return update"},{"line_number":1222,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_83197524","line":1219,"range":{"start_line":1218,"start_character":20,"end_line":1219,"end_character":64},"in_reply_to":"fa7ab95a_2d009a65","updated":"2016-08-31 00:47:31.000000000","message":"This is required for \"None\" value to be included among the Task_states.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila/api/v1/shares.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ad760cb9f7d3429a5003ad1bdd7d4f3f41cf559c","unresolved":false,"context_lines":[{"line_number":132,"context_line":"            try:"},{"line_number":133,"context_line":"                complete \u003d strutils.bool_from_string(complete, strict\u003dTrue)"},{"line_number":134,"context_line":"            except ValueError:"},{"line_number":135,"context_line":"                msg \u003d _(\"Invalid value %s for \u0027notify\u0027. \""},{"line_number":136,"context_line":"                        \"Expecting a boolean.\") % complete"},{"line_number":137,"context_line":"                raise exc.HTTPBadRequest(explanation\u003dmsg)"},{"line_number":138,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_2560fdce","line":135,"range":{"start_line":135,"start_character":47,"end_line":135,"end_character":53},"updated":"2016-06-13 06:40:33.000000000","message":"s/notify/complete","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"200258e8bca6c73a4123b8b155e11e6fcf225145","unresolved":false,"context_lines":[{"line_number":132,"context_line":"            try:"},{"line_number":133,"context_line":"                complete \u003d strutils.bool_from_string(complete, strict\u003dTrue)"},{"line_number":134,"context_line":"            except ValueError:"},{"line_number":135,"context_line":"                msg \u003d _(\"Invalid value %s for \u0027notify\u0027. \""},{"line_number":136,"context_line":"                        \"Expecting a boolean.\") % complete"},{"line_number":137,"context_line":"                raise exc.HTTPBadRequest(explanation\u003dmsg)"},{"line_number":138,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_4c6722b7","line":135,"range":{"start_line":135,"start_character":47,"end_line":135,"end_character":53},"in_reply_to":"7aa08908_2560fdce","updated":"2016-06-13 13:18:53.000000000","message":"Done","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":118,"context_line":"            raise exc.HTTPBadRequest(explanation\u003d_(\"Must specify \u0027host\u0027.\"))"},{"line_number":119,"context_line":"        if req.api_version_request \u003e\u003d ("},{"line_number":120,"context_line":"                api_version.APIVersionRequest(\"2.22\")):"},{"line_number":121,"context_line":"            skip_optimized_migration \u003d params.get("},{"line_number":122,"context_line":"                \u0027skip_optimized_migration\u0027, False)"},{"line_number":123,"context_line":"        else:"},{"line_number":124,"context_line":"            skip_optimized_migration \u003d params.get(\u0027force_host_copy\u0027, False)"},{"line_number":125,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_d744b075","line":122,"range":{"start_line":121,"start_character":39,"end_line":122,"end_character":50},"updated":"2016-08-28 00:40:53.000000000","message":"what if your req param skip_optimized_migration was provided like this:\n\n ?skip_optimized_migration\u003dnull","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":118,"context_line":"            raise exc.HTTPBadRequest(explanation\u003d_(\"Must specify \u0027host\u0027.\"))"},{"line_number":119,"context_line":"        if req.api_version_request \u003e\u003d ("},{"line_number":120,"context_line":"                api_version.APIVersionRequest(\"2.22\")):"},{"line_number":121,"context_line":"            skip_optimized_migration \u003d params.get("},{"line_number":122,"context_line":"                \u0027skip_optimized_migration\u0027, False)"},{"line_number":123,"context_line":"        else:"},{"line_number":124,"context_line":"            skip_optimized_migration \u003d params.get(\u0027force_host_copy\u0027, False)"},{"line_number":125,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_5f7eebae","line":122,"range":{"start_line":121,"start_character":39,"end_line":122,"end_character":50},"in_reply_to":"fa7ab95a_d744b075","updated":"2016-08-28 03:16:23.000000000","message":"will fix this and below items in next PS","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":126,"context_line":"            skip_optimized_migration \u003d strutils.bool_from_string("},{"line_number":127,"context_line":"                skip_optimized_migration, strict\u003dTrue)"},{"line_number":128,"context_line":"        except ValueError:"},{"line_number":129,"context_line":"            msg \u003d _(\"Invalid value %s for \u0027skip_optimized_migration\u0027. \""},{"line_number":130,"context_line":"                    \"Expecting a boolean.\") % skip_optimized_migration"},{"line_number":131,"context_line":"            raise exc.HTTPBadRequest(explanation\u003dmsg)"},{"line_number":132,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9763081a","line":129,"range":{"start_line":129,"start_character":43,"end_line":129,"end_character":67},"updated":"2016-08-28 00:40:53.000000000","message":"What if the microversion was less than 2.22? this message wouldn\u0027t make sense...\n\nI don\u0027t think you need to preserve backwards compatibility with this API..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"        new_share_network \u003d None"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if check_all_parameters:"},{"line_number":136,"context_line":"            preserve_metadata \u003d params.get(\u0027preserve_metadata\u0027, True)"},{"line_number":137,"context_line":"            try:"},{"line_number":138,"context_line":"                preserve_metadata \u003d strutils.bool_from_string("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_f770d4de","line":135,"range":{"start_line":135,"start_character":0,"end_line":135,"end_character":31},"updated":"2016-08-28 00:40:53.000000000","message":"same comment as above..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":133,"context_line":"        new_share_network \u003d None"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"        if check_all_parameters:"},{"line_number":136,"context_line":"            preserve_metadata \u003d params.get(\u0027preserve_metadata\u0027, True)"},{"line_number":137,"context_line":"            try:"},{"line_number":138,"context_line":"                preserve_metadata \u003d strutils.bool_from_string("},{"line_number":139,"context_line":"                    preserve_metadata, strict\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_57598059","line":136,"range":{"start_line":136,"start_character":0,"end_line":136,"end_character":69},"updated":"2016-08-28 00:40:53.000000000","message":"same comment as \u0027skip_optimized_migration\u0027","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":141,"context_line":"                msg \u003d _(\"Invalid value %s for \u0027preserve_metadata\u0027. \""},{"line_number":142,"context_line":"                        \"Expecting a boolean.\") % preserve_metadata"},{"line_number":143,"context_line":"                raise exc.HTTPBadRequest(explanation\u003dmsg)"},{"line_number":144,"context_line":"            writable \u003d params.get(\u0027writable\u0027, True)"},{"line_number":145,"context_line":"            try:"},{"line_number":146,"context_line":"                writable \u003d strutils.bool_from_string(writable, strict\u003dTrue)"},{"line_number":147,"context_line":"            except ValueError:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9731480e","line":144,"range":{"start_line":144,"start_character":12,"end_line":144,"end_character":51},"updated":"2016-08-28 00:40:53.000000000","message":"same question as \u0027skip_optimized_migration\u0027","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":166,"context_line":"                            \"found.\") % new_share_network_id"},{"line_number":167,"context_line":"                    raise exc.HTTPNotFound(explanation\u003dmsg)"},{"line_number":168,"context_line":"        else:"},{"line_number":169,"context_line":"            # NOTE(ganso): for backwards compatibility, these values default to"},{"line_number":170,"context_line":"            # False in previous versions of API."},{"line_number":171,"context_line":"            writable \u003d False"},{"line_number":172,"context_line":"            preserve_metadata \u003d False"},{"line_number":173,"context_line":"            nondisruptive \u003d False"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_5707c01b","line":170,"range":{"start_line":169,"start_character":0,"end_line":170,"end_character":48},"updated":"2016-08-28 00:40:53.000000000","message":"IMHO, don\u0027t bother about backwards compatibility with this API.. you should only worry about preserving API backwards compatibility for the shares API that\u0027s changed in this patch..\n\nbecause the experience is fragmented.. You don\u0027t microversion the removal of notify, but you microversion the change in force_host_copy and these new parameters..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"7941614a03be22551026d10e390c1c891ed22866","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        return webob.Response(status_int\u003d202)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _migration_start(self, req, id, body):"},{"line_number":104,"context_line":"        \"\"\"Migrate a share to the specified host.\"\"\""},{"line_number":105,"context_line":"        context \u003d req.environ[\u0027manila.context\u0027]"},{"line_number":106,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_ad1aeac3","line":103,"range":{"start_line":103,"start_character":4,"end_line":103,"end_character":46},"updated":"2016-08-30 16:06:23.000000000","message":"Whole this method should be in \"v2\" module because you just removed support of old code.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        return webob.Response(status_int\u003d202)"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def _migration_start(self, req, id, body):"},{"line_number":104,"context_line":"        \"\"\"Migrate a share to the specified host.\"\"\""},{"line_number":105,"context_line":"        context \u003d req.environ[\u0027manila.context\u0027]"},{"line_number":106,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_03dc8544","line":103,"range":{"start_line":103,"start_character":4,"end_line":103,"end_character":46},"in_reply_to":"fa7ab95a_ad1aeac3","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila/api/v2/shares.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":108,"context_line":"    def migration_get_progress(self, req, id, body):"},{"line_number":109,"context_line":"        return self._migration_get_progress(req, id, body)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    @wsgi.Controller.api_version(\u00272.15\u0027, experimental\u003dTrue)"},{"line_number":112,"context_line":"    @wsgi.action(\"reset_task_state\")"},{"line_number":113,"context_line":"    @wsgi.Controller.authorize"},{"line_number":114,"context_line":"    def reset_task_state(self, req, id, body):"},{"line_number":115,"context_line":"        return self._reset_status(req, id, body, status_attr\u003d\u0027task_state\u0027)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    @wsgi.Controller.api_version(\u00272.0\u0027, \u00272.6\u0027)"},{"line_number":118,"context_line":"    @wsgi.action(\u0027os-allow_access\u0027)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_edf58b83","line":115,"range":{"start_line":111,"start_character":0,"end_line":115,"end_character":74},"updated":"2016-08-20 05:13:18.000000000","message":"you\u0027re not micro versioning resetting state to None?","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":108,"context_line":"    def migration_get_progress(self, req, id, body):"},{"line_number":109,"context_line":"        return self._migration_get_progress(req, id, body)"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    @wsgi.Controller.api_version(\u00272.15\u0027, experimental\u003dTrue)"},{"line_number":112,"context_line":"    @wsgi.action(\"reset_task_state\")"},{"line_number":113,"context_line":"    @wsgi.Controller.authorize"},{"line_number":114,"context_line":"    def reset_task_state(self, req, id, body):"},{"line_number":115,"context_line":"        return self._reset_status(req, id, body, status_attr\u003d\u0027task_state\u0027)"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    @wsgi.Controller.api_version(\u00272.0\u0027, \u00272.6\u0027)"},{"line_number":118,"context_line":"    @wsgi.action(\u0027os-allow_access\u0027)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_ee2617b9","line":115,"range":{"start_line":111,"start_character":0,"end_line":115,"end_character":74},"in_reply_to":"1ac06dbe_edf58b83","updated":"2016-08-21 15:36:01.000000000","message":"it is experimental. According to Ben it does not need to be microversioned within experimental microversions.","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"}],"manila/api/views/share_migration.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def get_progress(self, request, progress):"},{"line_number":26,"context_line":"        \"\"\"View of share migration job progress.\"\"\""},{"line_number":27,"context_line":"        result \u003d {\u0027total_progress\u0027: progress[\u0027total_progress\u0027]}"},{"line_number":28,"context_line":"        self.update_versioned_resource_dict(request, result, progress)"},{"line_number":29,"context_line":"        return result"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_094914b7","line":27,"range":{"start_line":27,"start_character":8,"end_line":27,"end_character":63},"updated":"2016-08-30 14:43:25.000000000","message":"IMHO insufficient information. I think it needs task_state; i shouldn\u0027t need to issue two separate APIs to get information regarding a share that\u0027s migrating..","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def get_progress(self, request, progress):"},{"line_number":26,"context_line":"        \"\"\"View of share migration job progress.\"\"\""},{"line_number":27,"context_line":"        result \u003d {\u0027total_progress\u0027: progress[\u0027total_progress\u0027]}"},{"line_number":28,"context_line":"        self.update_versioned_resource_dict(request, result, progress)"},{"line_number":29,"context_line":"        return result"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_3a29a7e6","line":27,"range":{"start_line":27,"start_character":8,"end_line":27,"end_character":63},"in_reply_to":"fa7ab95a_094914b7","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila/common/constants.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"780d6a693ec3c0e1f8a774960ed7e19be957444a","unresolved":false,"context_lines":[{"line_number":146,"context_line":"    TASK_STATE_DATA_COPYING_COMPLETED,"},{"line_number":147,"context_line":"    TASK_STATE_DATA_COPYING_CANCELLED,"},{"line_number":148,"context_line":"    TASK_STATE_DATA_COPYING_ERROR,"},{"line_number":149,"context_line":"    None,"},{"line_number":150,"context_line":")"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"REPLICA_STATE_ACTIVE \u003d \u0027active\u0027"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_6d7542c9","line":149,"range":{"start_line":149,"start_character":4,"end_line":149,"end_character":9},"updated":"2016-08-30 16:35:44.000000000","message":"I see that you add it in lots of places. But it is unclear why it was added.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":146,"context_line":"    TASK_STATE_DATA_COPYING_COMPLETED,"},{"line_number":147,"context_line":"    TASK_STATE_DATA_COPYING_CANCELLED,"},{"line_number":148,"context_line":"    TASK_STATE_DATA_COPYING_ERROR,"},{"line_number":149,"context_line":"    None,"},{"line_number":150,"context_line":")"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"REPLICA_STATE_ACTIVE \u003d \u0027active\u0027"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_da651b45","line":149,"range":{"start_line":149,"start_character":4,"end_line":149,"end_character":9},"in_reply_to":"fa7ab95a_6d7542c9","updated":"2016-08-31 00:47:31.000000000","message":"to unset it","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila/data/helper.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ad760cb9f7d3429a5003ad1bdd7d4f3f41cf559c","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        help\u003d\"The certificate installed in the data node in order to \""},{"line_number":44,"context_line":"             \"allow access to certificate authentication-based shares.\"),"},{"line_number":45,"context_line":"    cfg.StrOpt("},{"line_number":46,"context_line":"        \u0027data_node_admin_user\u0027,"},{"line_number":47,"context_line":"        help\u003d\"The admin user name registered in the security service in order \""},{"line_number":48,"context_line":"             \"to allow access to user authentication-based shares.\"),"},{"line_number":49,"context_line":"    cfg.DictOpt("}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_85d3b1d4","line":46,"range":{"start_line":46,"start_character":9,"end_line":46,"end_character":29},"updated":"2016-06-13 06:40:33.000000000","message":"How about named \u0027data_node_access...\u0027, so it could be consistent with other name(\u0027data_node_access_ip\u0027 or \u0027data_node_access_cert\u0027).","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"200258e8bca6c73a4123b8b155e11e6fcf225145","unresolved":false,"context_lines":[{"line_number":43,"context_line":"        help\u003d\"The certificate installed in the data node in order to \""},{"line_number":44,"context_line":"             \"allow access to certificate authentication-based shares.\"),"},{"line_number":45,"context_line":"    cfg.StrOpt("},{"line_number":46,"context_line":"        \u0027data_node_admin_user\u0027,"},{"line_number":47,"context_line":"        help\u003d\"The admin user name registered in the security service in order \""},{"line_number":48,"context_line":"             \"to allow access to user authentication-based shares.\"),"},{"line_number":49,"context_line":"    cfg.DictOpt("}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_6cc65e69","line":46,"range":{"start_line":46,"start_character":9,"end_line":46,"end_character":29},"in_reply_to":"7aa08908_85d3b1d4","updated":"2016-06-13 13:18:53.000000000","message":"Done","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"91abd3726cb823a0605a3be9acbeac565e29b0d7","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            self.context, self.db, instance, self.wait_access_rules_timeout)"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    def allow_access_to_data_service("},{"line_number":133,"context_line":"            self, share_instance, migration_info_src, dest_share_instance\u003dNone,"},{"line_number":134,"context_line":"            migration_info_dest\u003dNone):"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        # NOTE(ganso): intersect the access type compatible with both instances"}],"source_content_type":"text/x-python","patch_set":10,"id":"1aa78d24_cc06c61f","line":133,"range":{"start_line":133,"start_character":34,"end_line":133,"end_character":52},"updated":"2016-07-09 07:39:23.000000000","message":"How about not use \u0027migration_ ..\u0027 in this parameter? It could reused in share backup feature or some other features. If the parameter named \u0027migration_info_src\u0027, it will sounds a litter weird in other feature. If this function does not used in other feature, then it is ok.","commit_id":"6eadf641ea0a907bc8401d14190a2b2b82171699"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"dfe76590286911d099c4dfc7e99e07b68c2cfe8a","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            self.context, self.db, instance, self.wait_access_rules_timeout)"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    def allow_access_to_data_service("},{"line_number":133,"context_line":"            self, share_instance, migration_info_src, dest_share_instance\u003dNone,"},{"line_number":134,"context_line":"            migration_info_dest\u003dNone):"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        # NOTE(ganso): intersect the access type compatible with both instances"}],"source_content_type":"text/x-python","patch_set":10,"id":"1aa78d24_ffca1e4e","line":133,"range":{"start_line":133,"start_character":34,"end_line":133,"end_character":52},"in_reply_to":"1aa78d24_cc06c61f","updated":"2016-07-11 12:01:49.000000000","message":"how about connection_info ?","commit_id":"6eadf641ea0a907bc8401d14190a2b2b82171699"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"079381cb3d9a2d9a0cc59101ecfc4e62d92bafb7","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            self.context, self.db, instance, self.wait_access_rules_timeout)"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    def allow_access_to_data_service("},{"line_number":133,"context_line":"            self, share_instance, migration_info_src, dest_share_instance\u003dNone,"},{"line_number":134,"context_line":"            migration_info_dest\u003dNone):"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        # NOTE(ganso): intersect the access type compatible with both instances"}],"source_content_type":"text/x-python","patch_set":10,"id":"1aa78d24_90dad249","line":133,"range":{"start_line":133,"start_character":34,"end_line":133,"end_character":52},"in_reply_to":"1aa78d24_da1bf01a","updated":"2016-07-11 19:49:07.000000000","message":"Ok, I will rename this and migration_generic to migration_fallback once https://review.openstack.org/#/c/332267 merges","commit_id":"6eadf641ea0a907bc8401d14190a2b2b82171699"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"6b9071e45f699b081ddb0840df10772ba2a7bb8a","unresolved":false,"context_lines":[{"line_number":130,"context_line":"            self.context, self.db, instance, self.wait_access_rules_timeout)"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    def allow_access_to_data_service("},{"line_number":133,"context_line":"            self, share_instance, migration_info_src, dest_share_instance\u003dNone,"},{"line_number":134,"context_line":"            migration_info_dest\u003dNone):"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        # NOTE(ganso): intersect the access type compatible with both instances"}],"source_content_type":"text/x-python","patch_set":10,"id":"1aa78d24_da1bf01a","line":133,"range":{"start_line":133,"start_character":34,"end_line":133,"end_character":52},"in_reply_to":"1aa78d24_ffca1e4e","updated":"2016-07-11 12:14:56.000000000","message":"It is ok for me.","commit_id":"6eadf641ea0a907bc8401d14190a2b2b82171699"},{"author":{"_account_id":16203,"name":"zengyingzhe","email":"zengyingzhe@huawei.com","username":"zengyingzhe"},"change_message_id":"e539bcc3f417568608625e8f43ac758b078c5216","unresolved":false,"context_lines":[{"line_number":134,"context_line":"            dest_share_instance\u003dNone, connection_info_dest\u003dNone):"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        # NOTE(ganso): intersect the access type compatible with both instances"},{"line_number":137,"context_line":"        if dest_share_instance and connection_info_dest:"},{"line_number":138,"context_line":"            access_mapping \u003d {}"},{"line_number":139,"context_line":"            for a_type, protocols in ("},{"line_number":140,"context_line":"                    six.iteritems(connection_info_src[\u0027access_mapping\u0027])):"}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_8505cac3","line":137,"range":{"start_line":137,"start_character":11,"end_line":137,"end_character":30},"updated":"2016-07-28 11:23:54.000000000","message":"Why dest_share_instance must not be None here? This logic snippet only uses connection_info_dest.","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c30cf1c54b9e17961925cc58e468c1090f7b924a","unresolved":false,"context_lines":[{"line_number":134,"context_line":"            dest_share_instance\u003dNone, connection_info_dest\u003dNone):"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"        # NOTE(ganso): intersect the access type compatible with both instances"},{"line_number":137,"context_line":"        if dest_share_instance and connection_info_dest:"},{"line_number":138,"context_line":"            access_mapping \u003d {}"},{"line_number":139,"context_line":"            for a_type, protocols in ("},{"line_number":140,"context_line":"                    six.iteritems(connection_info_src[\u0027access_mapping\u0027])):"}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_d0c5a93c","line":137,"range":{"start_line":137,"start_character":11,"end_line":137,"end_character":30},"in_reply_to":"bacf61ea_8505cac3","updated":"2016-07-28 20:31:33.000000000","message":"this block and the one below should only run where both share instances and both connection_info are specified. This is a scenario where access is being allowed to two instances related to a single share, so the access rule created for the share will be related to both instances at the same time.","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":16203,"name":"zengyingzhe","email":"zengyingzhe@huawei.com","username":"zengyingzhe"},"change_message_id":"e539bcc3f417568608625e8f43ac758b078c5216","unresolved":false,"context_lines":[{"line_number":172,"context_line":""},{"line_number":173,"context_line":"            self._change_data_access_to_instance("},{"line_number":174,"context_line":"                share_instance, access_ref, allow\u003dTrue)"},{"line_number":175,"context_line":"            if dest_share_instance and connection_info_dest:"},{"line_number":176,"context_line":"                self._change_data_access_to_instance("},{"line_number":177,"context_line":"                    dest_share_instance, access_ref, allow\u003dTrue)"},{"line_number":178,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_e592c656","line":175,"range":{"start_line":175,"start_character":39,"end_line":175,"end_character":59},"updated":"2016-07-28 11:23:54.000000000","message":"no need to check connection_info_dest here?","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c30cf1c54b9e17961925cc58e468c1090f7b924a","unresolved":false,"context_lines":[{"line_number":172,"context_line":""},{"line_number":173,"context_line":"            self._change_data_access_to_instance("},{"line_number":174,"context_line":"                share_instance, access_ref, allow\u003dTrue)"},{"line_number":175,"context_line":"            if dest_share_instance and connection_info_dest:"},{"line_number":176,"context_line":"                self._change_data_access_to_instance("},{"line_number":177,"context_line":"                    dest_share_instance, access_ref, allow\u003dTrue)"},{"line_number":178,"context_line":""}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_10de2111","line":175,"range":{"start_line":175,"start_character":39,"end_line":175,"end_character":59},"in_reply_to":"bacf61ea_e592c656","updated":"2016-07-28 20:31:33.000000000","message":"see explanation above","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        \u0027data_node_mount_options\u0027,"},{"line_number":51,"context_line":"        default\u003d{},"},{"line_number":52,"context_line":"        help\u003d\"Mount options to be included in the mount command for share \""},{"line_number":53,"context_line":"             \"protocols. Use dictionary format, see example: \""},{"line_number":54,"context_line":"             \"{\u0027nfs\u0027: \u0027-o nfsvers\u003d3\u0027, \u0027cifs\u0027: -o user\u003dfoo,pass\u003dbar}\"),"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_ed6aab19","line":53,"range":{"start_line":53,"start_character":48,"end_line":53,"end_character":51},"updated":"2016-08-20 05:13:18.000000000","message":"remove word","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        \u0027data_node_mount_options\u0027,"},{"line_number":51,"context_line":"        default\u003d{},"},{"line_number":52,"context_line":"        help\u003d\"Mount options to be included in the mount command for share \""},{"line_number":53,"context_line":"             \"protocols. Use dictionary format, see example: \""},{"line_number":54,"context_line":"             \"{\u0027nfs\u0027: \u0027-o nfsvers\u003d3\u0027, \u0027cifs\u0027: -o user\u003dfoo,pass\u003dbar}\"),"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_d7e80713","line":53,"range":{"start_line":53,"start_character":48,"end_line":53,"end_character":51},"in_reply_to":"1ac06dbe_ed6aab19","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":51,"context_line":"        default\u003d{},"},{"line_number":52,"context_line":"        help\u003d\"Mount options to be included in the mount command for share \""},{"line_number":53,"context_line":"             \"protocols. Use dictionary format, see example: \""},{"line_number":54,"context_line":"             \"{\u0027nfs\u0027: \u0027-o nfsvers\u003d3\u0027, \u0027cifs\u0027: -o user\u003dfoo,pass\u003dbar}\"),"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"]"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_0d6e272f","line":54,"range":{"start_line":54,"start_character":46,"end_line":54,"end_character":66},"updated":"2016-08-20 05:13:18.000000000","message":"missing quotes","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":51,"context_line":"        default\u003d{},"},{"line_number":52,"context_line":"        help\u003d\"Mount options to be included in the mount command for share \""},{"line_number":53,"context_line":"             \"protocols. Use dictionary format, see example: \""},{"line_number":54,"context_line":"             \"{\u0027nfs\u0027: \u0027-o nfsvers\u003d3\u0027, \u0027cifs\u0027: -o user\u003dfoo,pass\u003dbar}\"),"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"]"},{"line_number":57,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_b7e3cb32","line":54,"range":{"start_line":54,"start_character":46,"end_line":54,"end_character":66},"in_reply_to":"1ac06dbe_0d6e272f","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        if allow_access_to_destination_instance:"},{"line_number":141,"context_line":"            access_mapping \u003d {}"},{"line_number":142,"context_line":"            for a_type, protocols in ("},{"line_number":143,"context_line":"                    six.iteritems(connection_info_src[\u0027access_mapping\u0027])):"},{"line_number":144,"context_line":"                for proto in protocols:"},{"line_number":145,"context_line":"                    if (a_type in connection_info_dest[\u0027access_mapping\u0027]"},{"line_number":146,"context_line":"                            and proto in"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_82b58432","line":143,"range":{"start_line":143,"start_character":20,"end_line":143,"end_character":72},"updated":"2016-08-28 00:40:53.000000000","message":"connection_info_src[\u0027access_mapping\u0027].items()","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        if allow_access_to_destination_instance:"},{"line_number":141,"context_line":"            access_mapping \u003d {}"},{"line_number":142,"context_line":"            for a_type, protocols in ("},{"line_number":143,"context_line":"                    six.iteritems(connection_info_src[\u0027access_mapping\u0027])):"},{"line_number":144,"context_line":"                for proto in protocols:"},{"line_number":145,"context_line":"                    if (a_type in connection_info_dest[\u0027access_mapping\u0027]"},{"line_number":146,"context_line":"                            and proto in"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7f648f21","line":143,"range":{"start_line":143,"start_character":20,"end_line":143,"end_character":72},"in_reply_to":"fa7ab95a_82b58432","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":160,"context_line":"                \u0027share_id\u0027: self.share[\u0027id\u0027],"},{"line_number":161,"context_line":"                \u0027access_type\u0027: access[\u0027access_type\u0027],"},{"line_number":162,"context_line":"                \u0027access_level\u0027: access[\u0027access_level\u0027],"},{"line_number":163,"context_line":"                \u0027access_to\u0027: access[\u0027access_to\u0027]"},{"line_number":164,"context_line":"            }"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"            old_access_list \u003d self.db.share_access_get_all_by_type_and_access("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_c29eacb7","line":163,"range":{"start_line":163,"start_character":46,"end_line":163,"end_character":48},"updated":"2016-08-28 00:40:53.000000000","message":"trailing comma","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":160,"context_line":"                \u0027share_id\u0027: self.share[\u0027id\u0027],"},{"line_number":161,"context_line":"                \u0027access_type\u0027: access[\u0027access_type\u0027],"},{"line_number":162,"context_line":"                \u0027access_level\u0027: access[\u0027access_level\u0027],"},{"line_number":163,"context_line":"                \u0027access_to\u0027: access[\u0027access_to\u0027]"},{"line_number":164,"context_line":"            }"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"            old_access_list \u003d self.db.share_access_get_all_by_type_and_access("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9f679324","line":163,"range":{"start_line":163,"start_character":46,"end_line":163,"end_character":48},"in_reply_to":"fa7ab95a_c29eacb7","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        access_list \u003d []"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"        for access_type, protocols in six.iteritems(access_mapping):"},{"line_number":194,"context_line":"            if access_type.lower() \u003d\u003d \u0027cert\u0027:"},{"line_number":195,"context_line":"                access_to \u003d CONF.data_node_access_cert"},{"line_number":196,"context_line":"            elif access_type.lower() \u003d\u003d \u0027ip\u0027:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_42929ca0","line":193,"range":{"start_line":193,"start_character":38,"end_line":193,"end_character":67},"updated":"2016-08-28 00:40:53.000000000","message":"access_mapping.items()","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"        access_list \u003d []"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"        for access_type, protocols in six.iteritems(access_mapping):"},{"line_number":194,"context_line":"            if access_type.lower() \u003d\u003d \u0027cert\u0027:"},{"line_number":195,"context_line":"                access_to \u003d CONF.data_node_access_cert"},{"line_number":196,"context_line":"            elif access_type.lower() \u003d\u003d \u0027ip\u0027:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bf6e17ff","line":193,"range":{"start_line":193,"start_character":38,"end_line":193,"end_character":67},"in_reply_to":"fa7ab95a_42929ca0","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":205,"context_line":"                        \"has not been set.\") % access_type"},{"line_number":206,"context_line":"                raise exception.ShareDataCopyFailed(reason\u003dmsg)"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"            access \u003d {\u0027access_type\u0027: access_type,"},{"line_number":209,"context_line":"                      \u0027access_level\u0027: constants.ACCESS_LEVEL_RW,"},{"line_number":210,"context_line":"                      \u0027access_to\u0027: access_to}"},{"line_number":211,"context_line":"            access_list.append(access)"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_62916099","line":209,"range":{"start_line":208,"start_character":12,"end_line":209,"end_character":46},"updated":"2016-08-28 00:40:53.000000000","message":"wrapping","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":205,"context_line":"                        \"has not been set.\") % access_type"},{"line_number":206,"context_line":"                raise exception.ShareDataCopyFailed(reason\u003dmsg)"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"            access \u003d {\u0027access_type\u0027: access_type,"},{"line_number":209,"context_line":"                      \u0027access_level\u0027: constants.ACCESS_LEVEL_RW,"},{"line_number":210,"context_line":"                      \u0027access_to\u0027: access_to}"},{"line_number":211,"context_line":"            access_list.append(access)"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_df711be2","line":209,"range":{"start_line":208,"start_character":12,"end_line":209,"end_character":46},"in_reply_to":"fa7ab95a_62916099","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        path \u003d os.path.join(mount_path, share_instance[\u0027id\u0027])"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"        options \u003d CONF.data_node_mount_options"},{"line_number":231,"context_line":"        options \u003d {k.lower(): v for k, v in six.iteritems(options)}"},{"line_number":232,"context_line":"        proto_options \u003d options.get(share_instance[\u0027share_proto\u0027].lower())"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"        if not proto_options:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_828ca480","line":231,"range":{"start_line":231,"start_character":44,"end_line":231,"end_character":66},"updated":"2016-08-28 00:40:53.000000000","message":"options.items()","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":228,"context_line":"        path \u003d os.path.join(mount_path, share_instance[\u0027id\u0027])"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"        options \u003d CONF.data_node_mount_options"},{"line_number":231,"context_line":"        options \u003d {k.lower(): v for k, v in six.iteritems(options)}"},{"line_number":232,"context_line":"        proto_options \u003d options.get(share_instance[\u0027share_proto\u0027].lower())"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"        if not proto_options:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1f7463cd","line":231,"range":{"start_line":231,"start_character":44,"end_line":231,"end_character":66},"in_reply_to":"fa7ab95a_828ca480","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        \u0027data_node_access_cert\u0027,"},{"line_number":42,"context_line":"        help\u003d\"The certificate installed in the data node in order to \""},{"line_number":43,"context_line":"             \"allow access to certificate authentication-based shares.\"),"},{"line_number":44,"context_line":"    cfg.StrOpt("},{"line_number":45,"context_line":"        \u0027data_node_access_admin_user\u0027,"},{"line_number":46,"context_line":"        help\u003d\"The admin user name registered in the security service in order \""},{"line_number":47,"context_line":"             \"to allow access to user authentication-based shares.\"),"},{"line_number":48,"context_line":"    cfg.DictOpt("},{"line_number":49,"context_line":"        \u0027data_node_mount_options\u0027,"},{"line_number":50,"context_line":"        default\u003d{},"},{"line_number":51,"context_line":"        help\u003d\"Mount options to be included in the mount command for share \""},{"line_number":52,"context_line":"             \"protocols. Use dictionary format, example: \""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_09e03495","line":49,"range":{"start_line":44,"start_character":4,"end_line":49,"end_character":34},"updated":"2016-08-30 14:43:25.000000000","message":"needs to be added to the release note.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":41,"context_line":"        \u0027data_node_access_cert\u0027,"},{"line_number":42,"context_line":"        help\u003d\"The certificate installed in the data node in order to \""},{"line_number":43,"context_line":"             \"allow access to certificate authentication-based shares.\"),"},{"line_number":44,"context_line":"    cfg.StrOpt("},{"line_number":45,"context_line":"        \u0027data_node_access_admin_user\u0027,"},{"line_number":46,"context_line":"        help\u003d\"The admin user name registered in the security service in order \""},{"line_number":47,"context_line":"             \"to allow access to user authentication-based shares.\"),"},{"line_number":48,"context_line":"    cfg.DictOpt("},{"line_number":49,"context_line":"        \u0027data_node_mount_options\u0027,"},{"line_number":50,"context_line":"        default\u003d{},"},{"line_number":51,"context_line":"        help\u003d\"Mount options to be included in the mount command for share \""},{"line_number":52,"context_line":"             \"protocols. Use dictionary format, example: \""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_ed095296","line":49,"range":{"start_line":44,"start_character":4,"end_line":49,"end_character":34},"in_reply_to":"fa7ab95a_09e03495","updated":"2016-08-31 00:47:31.000000000","message":"data_node_access_admin_user is part of \"Added CIFS and HDFS protocol support to Data Service\"","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila/data/manager.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ad760cb9f7d3429a5003ad1bdd7d4f3f41cf559c","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"data_opts \u003d ["},{"line_number":37,"context_line":"    cfg.StrOpt("},{"line_number":38,"context_line":"        \u0027mount_tmp_location\u0027,"},{"line_number":39,"context_line":"        default\u003d\u0027/tmp/\u0027,"},{"line_number":40,"context_line":"        help\u003d\"Temporary path to create and mount shares during migration.\"),"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_e5b1d590","line":38,"range":{"start_line":38,"start_character":8,"end_line":38,"end_character":28},"updated":"2016-06-13 06:40:33.000000000","message":"Does this option maintain backward compatibility?\nThe earlier option needs to be properly deprecated... \nTake a look at oslo_config\u0027s deprecated_name and DeprecatedOpt?","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"200258e8bca6c73a4123b8b155e11e6fcf225145","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"data_opts \u003d ["},{"line_number":37,"context_line":"    cfg.StrOpt("},{"line_number":38,"context_line":"        \u0027mount_tmp_location\u0027,"},{"line_number":39,"context_line":"        default\u003d\u0027/tmp/\u0027,"},{"line_number":40,"context_line":"        help\u003d\"Temporary path to create and mount shares during migration.\"),"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_ec7fee14","line":38,"range":{"start_line":38,"start_character":8,"end_line":38,"end_character":28},"in_reply_to":"7aa08908_e5b1d590","updated":"2016-06-13 13:18:53.000000000","message":"Done","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":73,"context_line":"                        share_instance_id, dest_share_instance_id,"},{"line_number":74,"context_line":"                        connection_info_src, connection_info_dest):"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        LOG.info(_LI("},{"line_number":77,"context_line":"            \"Received request to migrate share content from share instance \""},{"line_number":78,"context_line":"            \"%(instance_id)s to instance %(dest_instance_id)s.\"),"},{"line_number":79,"context_line":"            {\u0027instance_id\u0027: share_instance_id,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_a237e8ae","line":76,"range":{"start_line":76,"start_character":8,"end_line":76,"end_character":21},"updated":"2016-08-28 00:40:53.000000000","message":"see comment below..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":73,"context_line":"                        share_instance_id, dest_share_instance_id,"},{"line_number":74,"context_line":"                        connection_info_src, connection_info_dest):"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        LOG.info(_LI("},{"line_number":77,"context_line":"            \"Received request to migrate share content from share instance \""},{"line_number":78,"context_line":"            \"%(instance_id)s to instance %(dest_instance_id)s.\"),"},{"line_number":79,"context_line":"            {\u0027instance_id\u0027: share_instance_id,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1fad4331","line":76,"range":{"start_line":76,"start_character":8,"end_line":76,"end_character":21},"in_reply_to":"fa7ab95a_a237e8ae","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":122,"context_line":"             \u0027dest_instance_id\u0027: dest_share_instance_id})"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def data_copy_cancel(self, context, share_id):"},{"line_number":125,"context_line":"        LOG.info(_LI(\"Received request to cancel data copy \""},{"line_number":126,"context_line":"                     \"of share %s.\"), share_id)"},{"line_number":127,"context_line":"        copy \u003d self.busy_tasks_shares.get(share_id)"},{"line_number":128,"context_line":"        if copy:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_82bae408","line":125,"range":{"start_line":125,"start_character":8,"end_line":125,"end_character":16},"updated":"2016-08-28 00:40:53.000000000","message":"LOG.debug\n\n\ninfo should be after an action has been performed..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":122,"context_line":"             \u0027dest_instance_id\u0027: dest_share_instance_id})"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def data_copy_cancel(self, context, share_id):"},{"line_number":125,"context_line":"        LOG.info(_LI(\"Received request to cancel data copy \""},{"line_number":126,"context_line":"                     \"of share %s.\"), share_id)"},{"line_number":127,"context_line":"        copy \u003d self.busy_tasks_shares.get(share_id)"},{"line_number":128,"context_line":"        if copy:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_ffb17f90","line":125,"range":{"start_line":125,"start_character":8,"end_line":125,"end_character":16},"in_reply_to":"fa7ab95a_82bae408","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":134,"context_line":"            raise exception.InvalidShare(reason\u003dmsg)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def data_copy_get_progress(self, context, share_id):"},{"line_number":137,"context_line":"        LOG.info(_LI(\"Received request to get data copy information \""},{"line_number":138,"context_line":"                     \"of share %s.\"), share_id)"},{"line_number":139,"context_line":"        copy \u003d self.busy_tasks_shares.get(share_id)"},{"line_number":140,"context_line":"        if copy:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_0245f415","line":137,"range":{"start_line":137,"start_character":8,"end_line":137,"end_character":19},"updated":"2016-08-28 00:40:53.000000000","message":"see comment above..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":134,"context_line":"            raise exception.InvalidShare(reason\u003dmsg)"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"    def data_copy_get_progress(self, context, share_id):"},{"line_number":137,"context_line":"        LOG.info(_LI(\"Received request to get data copy information \""},{"line_number":138,"context_line":"                     \"of share %s.\"), share_id)"},{"line_number":139,"context_line":"        copy \u003d self.busy_tasks_shares.get(share_id)"},{"line_number":140,"context_line":"        if copy:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_3facc733","line":137,"range":{"start_line":137,"start_character":8,"end_line":137,"end_character":19},"in_reply_to":"fa7ab95a_0245f415","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"}],"manila/data/utils.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":145,"context_line":"                              dest_item, run_as_root\u003dTrue)"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"                if self.check_hash:"},{"line_number":148,"context_line":"                    try:"},{"line_number":149,"context_line":"                        _validate_item(src_item, dest_item)"},{"line_number":150,"context_line":"                    except exception.ShareDataCopyFailed:"},{"line_number":151,"context_line":"                        # NOTE(ganso): try again at most one more time."},{"line_number":152,"context_line":"                        utils.execute(\"cp\", \"-P\", \"--preserve\u003dall\", src_item,"},{"line_number":153,"context_line":"                                      dest_item, run_as_root\u003dTrue)"},{"line_number":154,"context_line":"                        _validate_item(src_item, dest_item)"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"                self.current_size +\u003d int(size)"},{"line_number":157,"context_line":"                LOG.info(six.text_type(self.get_progress()))"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_cd5a4f83","line":154,"range":{"start_line":148,"start_character":0,"end_line":154,"end_character":59},"updated":"2016-08-20 05:13:18.000000000","message":"case for utils.retry..","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":144,"context_line":"                utils.execute(\"cp\", \"-P\", \"--preserve\u003dall\", src_item,"},{"line_number":145,"context_line":"                              dest_item, run_as_root\u003dTrue)"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"                if self.check_hash:"},{"line_number":148,"context_line":"                    try:"},{"line_number":149,"context_line":"                        _validate_item(src_item, dest_item)"},{"line_number":150,"context_line":"                    except exception.ShareDataCopyFailed:"},{"line_number":151,"context_line":"                        # NOTE(ganso): try again at most one more time."},{"line_number":152,"context_line":"                        utils.execute(\"cp\", \"-P\", \"--preserve\u003dall\", src_item,"},{"line_number":153,"context_line":"                                      dest_item, run_as_root\u003dTrue)"},{"line_number":154,"context_line":"                        _validate_item(src_item, dest_item)"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"                self.current_size +\u003d int(size)"},{"line_number":157,"context_line":"                LOG.info(six.text_type(self.get_progress()))"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_2273d881","line":154,"range":{"start_line":147,"start_character":0,"end_line":154,"end_character":59},"updated":"2016-08-28 00:40:53.000000000","message":"use utils.retry..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":144,"context_line":"                utils.execute(\"cp\", \"-P\", \"--preserve\u003dall\", src_item,"},{"line_number":145,"context_line":"                              dest_item, run_as_root\u003dTrue)"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"                if self.check_hash:"},{"line_number":148,"context_line":"                    try:"},{"line_number":149,"context_line":"                        _validate_item(src_item, dest_item)"},{"line_number":150,"context_line":"                    except exception.ShareDataCopyFailed:"},{"line_number":151,"context_line":"                        # NOTE(ganso): try again at most one more time."},{"line_number":152,"context_line":"                        utils.execute(\"cp\", \"-P\", \"--preserve\u003dall\", src_item,"},{"line_number":153,"context_line":"                                      dest_item, run_as_root\u003dTrue)"},{"line_number":154,"context_line":"                        _validate_item(src_item, dest_item)"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"                self.current_size +\u003d int(size)"},{"line_number":157,"context_line":"                LOG.info(six.text_type(self.get_progress()))"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_dfbafb6d","line":154,"range":{"start_line":147,"start_character":0,"end_line":154,"end_character":59},"in_reply_to":"fa7ab95a_2273d881","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"}],"manila/share/api.py":[{"author":{"_account_id":16203,"name":"zengyingzhe","email":"zengyingzhe@huawei.com","username":"zengyingzhe"},"change_message_id":"e539bcc3f417568608625e8f43ac758b078c5216","unresolved":false,"context_lines":[{"line_number":887,"context_line":"        if CONF.disable_share_migration:"},{"line_number":888,"context_line":"            msg \u003d _(\u0027Migration of share %s cannot be started because Share \u0027"},{"line_number":889,"context_line":"                    \u0027Migration feature is disabled.\u0027) % share[\u0027id\u0027]"},{"line_number":890,"context_line":"            LOG.warning(msg)"},{"line_number":891,"context_line":"            raise exception.Conflict(err\u003dmsg)"},{"line_number":892,"context_line":""},{"line_number":893,"context_line":"        share_instance \u003d share.instance"}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_aab09df5","line":890,"range":{"start_line":890,"start_character":24,"end_line":890,"end_character":27},"updated":"2016-07-28 11:23:54.000000000","message":"warning message should be wrapped by _LW.","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c30cf1c54b9e17961925cc58e468c1090f7b924a","unresolved":false,"context_lines":[{"line_number":887,"context_line":"        if CONF.disable_share_migration:"},{"line_number":888,"context_line":"            msg \u003d _(\u0027Migration of share %s cannot be started because Share \u0027"},{"line_number":889,"context_line":"                    \u0027Migration feature is disabled.\u0027) % share[\u0027id\u0027]"},{"line_number":890,"context_line":"            LOG.warning(msg)"},{"line_number":891,"context_line":"            raise exception.Conflict(err\u003dmsg)"},{"line_number":892,"context_line":""},{"line_number":893,"context_line":"        share_instance \u003d share.instance"}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_0b6276ad","line":890,"range":{"start_line":890,"start_character":24,"end_line":890,"end_character":27},"in_reply_to":"bacf61ea_aab09df5","updated":"2016-07-28 20:31:33.000000000","message":"Done","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                help\u003d\u0027If set to False, then share creation from snapshot will \u0027"},{"line_number":51,"context_line":"                     \u0027be performed on the same host. \u0027"},{"line_number":52,"context_line":"                     \u0027If set to True, then scheduling step will be used.\u0027),"},{"line_number":53,"context_line":"    cfg.BoolOpt(\u0027disable_share_migration\u0027,"},{"line_number":54,"context_line":"                default\u003dFalse,"},{"line_number":55,"context_line":"                help\u003d\u0027Chooses whether share migration feature should be \u0027"},{"line_number":56,"context_line":"                     \u0027disabled. If True, all requests to Share Migration APIs \u0027"},{"line_number":57,"context_line":"                     \u0027will be rejected.\u0027)"},{"line_number":58,"context_line":"]"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_94e3fb32","line":57,"range":{"start_line":53,"start_character":0,"end_line":57,"end_character":41},"updated":"2016-08-28 00:40:53.000000000","message":"Why have this option? see comment on https://review.openstack.org/#/c/315707\n\n\nTo \"disable\" APIs we use the policy file.. why do we need yet another way. Is there a use case?","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"56c8bdae5c63d15c862bc5c1a1d12ba481d73419","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                help\u003d\u0027If set to False, then share creation from snapshot will \u0027"},{"line_number":51,"context_line":"                     \u0027be performed on the same host. \u0027"},{"line_number":52,"context_line":"                     \u0027If set to True, then scheduling step will be used.\u0027),"},{"line_number":53,"context_line":"    cfg.BoolOpt(\u0027disable_share_migration\u0027,"},{"line_number":54,"context_line":"                default\u003dFalse,"},{"line_number":55,"context_line":"                help\u003d\u0027Chooses whether share migration feature should be \u0027"},{"line_number":56,"context_line":"                     \u0027disabled. If True, all requests to Share Migration APIs \u0027"},{"line_number":57,"context_line":"                     \u0027will be rejected.\u0027)"},{"line_number":58,"context_line":"]"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_d6a49da7","line":57,"range":{"start_line":53,"start_character":0,"end_line":57,"end_character":41},"in_reply_to":"fa7ab95a_80d48b47","updated":"2016-08-28 17:32:19.000000000","message":"I am thinking about other approach. Setting migration to disabled for each individual backend (for this I would move the config option to driver.py). This way if there is a specific backend the administrator does not want a share to be migrated from, the admin can disable it and show the same message as we have today. Also, the same behavior can be accomplished by disabling this on all backends. I am thinking about this because what we discussed in Austin was that some clouds may not want sensitive data to be handled by the data service, but now I am thinking that maybe sensitive data could be selectively placed on specific backends and then migration would be disabled just for those.","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                help\u003d\u0027If set to False, then share creation from snapshot will \u0027"},{"line_number":51,"context_line":"                     \u0027be performed on the same host. \u0027"},{"line_number":52,"context_line":"                     \u0027If set to True, then scheduling step will be used.\u0027),"},{"line_number":53,"context_line":"    cfg.BoolOpt(\u0027disable_share_migration\u0027,"},{"line_number":54,"context_line":"                default\u003dFalse,"},{"line_number":55,"context_line":"                help\u003d\u0027Chooses whether share migration feature should be \u0027"},{"line_number":56,"context_line":"                     \u0027disabled. If True, all requests to Share Migration APIs \u0027"},{"line_number":57,"context_line":"                     \u0027will be rejected.\u0027)"},{"line_number":58,"context_line":"]"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bfa0d744","line":57,"range":{"start_line":53,"start_character":0,"end_line":57,"end_character":41},"in_reply_to":"fa7ab95a_94e3fb32","updated":"2016-08-28 03:16:23.000000000","message":"Will discuss this on IRC.","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"da50181dd1e0ac39393cc671af0055a41cccde31","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                help\u003d\u0027If set to False, then share creation from snapshot will \u0027"},{"line_number":51,"context_line":"                     \u0027be performed on the same host. \u0027"},{"line_number":52,"context_line":"                     \u0027If set to True, then scheduling step will be used.\u0027),"},{"line_number":53,"context_line":"    cfg.BoolOpt(\u0027disable_share_migration\u0027,"},{"line_number":54,"context_line":"                default\u003dFalse,"},{"line_number":55,"context_line":"                help\u003d\u0027Chooses whether share migration feature should be \u0027"},{"line_number":56,"context_line":"                     \u0027disabled. If True, all requests to Share Migration APIs \u0027"},{"line_number":57,"context_line":"                     \u0027will be rejected.\u0027)"},{"line_number":58,"context_line":"]"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_80d48b47","line":57,"range":{"start_line":53,"start_character":0,"end_line":57,"end_character":41},"in_reply_to":"fa7ab95a_bfa0d744","updated":"2016-08-28 14:02:45.000000000","message":"To disable APIs, you can set the policy to \"!\" or something that shouldn\u0027t match anybody, like \"group:nobody\" in policy.json..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":946,"context_line":"            availability_zone_id\u003dservice[\u0027availability_zone_id\u0027],"},{"line_number":947,"context_line":"            share_network_id\u003dnew_share_network_id)"},{"line_number":948,"context_line":""},{"line_number":949,"context_line":"        # NOTE(ganso): there is the possibility of an error between here and"},{"line_number":950,"context_line":"        # manager code, which will cause the share to be stuck in"},{"line_number":951,"context_line":"        # MIGRATION_STARTING status. According to Liberty Midcycle discussion,"},{"line_number":952,"context_line":"        # this kind of scenario should not be cleaned up, the administrator"},{"line_number":953,"context_line":"        # should be issued to clear this status before a new migration request"},{"line_number":954,"context_line":"        # is made"},{"line_number":955,"context_line":"        self.db.share_update("},{"line_number":956,"context_line":"            context, share[\u0027id\u0027],"},{"line_number":957,"context_line":"            {\u0027task_state\u0027: constants.TASK_STATE_MIGRATION_STARTING})"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_94ba1b09","line":954,"range":{"start_line":949,"start_character":0,"end_line":954,"end_character":17},"updated":"2016-08-28 00:40:53.000000000","message":"in the rpc layer?","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":946,"context_line":"            availability_zone_id\u003dservice[\u0027availability_zone_id\u0027],"},{"line_number":947,"context_line":"            share_network_id\u003dnew_share_network_id)"},{"line_number":948,"context_line":""},{"line_number":949,"context_line":"        # NOTE(ganso): there is the possibility of an error between here and"},{"line_number":950,"context_line":"        # manager code, which will cause the share to be stuck in"},{"line_number":951,"context_line":"        # MIGRATION_STARTING status. According to Liberty Midcycle discussion,"},{"line_number":952,"context_line":"        # this kind of scenario should not be cleaned up, the administrator"},{"line_number":953,"context_line":"        # should be issued to clear this status before a new migration request"},{"line_number":954,"context_line":"        # is made"},{"line_number":955,"context_line":"        self.db.share_update("},{"line_number":956,"context_line":"            context, share[\u0027id\u0027],"},{"line_number":957,"context_line":"            {\u0027task_state\u0027: constants.TASK_STATE_MIGRATION_STARTING})"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_dfa3db4d","line":954,"range":{"start_line":949,"start_character":0,"end_line":954,"end_character":17},"in_reply_to":"fa7ab95a_94ba1b09","updated":"2016-08-28 03:16:23.000000000","message":"leftovers I guess","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"780d6a693ec3c0e1f8a774960ed7e19be957444a","unresolved":false,"context_lines":[{"line_number":49,"context_line":"                default\u003dFalse,"},{"line_number":50,"context_line":"                help\u003d\u0027If set to False, then share creation from snapshot will \u0027"},{"line_number":51,"context_line":"                     \u0027be performed on the same host. \u0027"},{"line_number":52,"context_line":"                     \u0027If set to True, then scheduling step will be used.\u0027),"},{"line_number":53,"context_line":"]"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_c6d54b1c","line":52,"range":{"start_line":52,"start_character":73,"end_line":52,"end_character":75},"updated":"2016-08-30 16:35:44.000000000","message":"One more unrelated change. Please, do not  do such changes in such already huge commit.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":49,"context_line":"                default\u003dFalse,"},{"line_number":50,"context_line":"                help\u003d\u0027If set to False, then share creation from snapshot will \u0027"},{"line_number":51,"context_line":"                     \u0027be performed on the same host. \u0027"},{"line_number":52,"context_line":"                     \u0027If set to True, then scheduling step will be used.\u0027),"},{"line_number":53,"context_line":"]"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_ba65b71e","line":52,"range":{"start_line":52,"start_character":73,"end_line":52,"end_character":75},"in_reply_to":"fa7ab95a_c6d54b1c","updated":"2016-08-31 00:47:31.000000000","message":"sorry I did not notice this change","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":990,"context_line":""},{"line_number":991,"context_line":"        return share_instance_id, new_share_instance_id"},{"line_number":992,"context_line":""},{"line_number":993,"context_line":"    def migration_get_progress(self, context, share):"},{"line_number":994,"context_line":""},{"line_number":995,"context_line":"        if share[\u0027task_state\u0027] \u003d\u003d ("},{"line_number":996,"context_line":"                constants.TASK_STATE_MIGRATION_DRIVER_IN_PROGRESS):"},{"line_number":997,"context_line":""},{"line_number":998,"context_line":"            share_instance_id, migrating_instance_id \u003d ("},{"line_number":999,"context_line":"                self.get_migrating_instances(share))"},{"line_number":1000,"context_line":""},{"line_number":1001,"context_line":"            share_instance_ref \u003d self.db.share_instance_get("},{"line_number":1002,"context_line":"                context, share_instance_id, with_share_data\u003dTrue)"},{"line_number":1003,"context_line":""},{"line_number":1004,"context_line":"            service_host \u003d share_utils.extract_host(share_instance_ref[\u0027host\u0027])"},{"line_number":1005,"context_line":""},{"line_number":1006,"context_line":"            service \u003d self.db.service_get_by_args("},{"line_number":1007,"context_line":"                context, service_host, \u0027manila-share\u0027)"},{"line_number":1008,"context_line":""},{"line_number":1009,"context_line":"            if utils.service_is_up(service):"},{"line_number":1010,"context_line":"                try:"},{"line_number":1011,"context_line":"                    result \u003d self.share_rpcapi.migration_get_progress("},{"line_number":1012,"context_line":"                        context, share_instance_ref, migrating_instance_id)"},{"line_number":1013,"context_line":"                except Exception:"},{"line_number":1014,"context_line":"                    msg \u003d _(\"Failed to obtain migration progress of share \""},{"line_number":1015,"context_line":"                            \"%s.\") % share[\u0027id\u0027]"},{"line_number":1016,"context_line":"                    LOG.exception(msg)"},{"line_number":1017,"context_line":"                    raise exception.ShareMigrationError(reason\u003dmsg)"},{"line_number":1018,"context_line":"            else:"},{"line_number":1019,"context_line":"                result \u003d None"},{"line_number":1020,"context_line":""},{"line_number":1021,"context_line":"        elif share[\u0027task_state\u0027] \u003d\u003d ("},{"line_number":1022,"context_line":"                constants.TASK_STATE_DATA_COPYING_IN_PROGRESS):"},{"line_number":1023,"context_line":"            data_rpc \u003d data_rpcapi.DataAPI()"},{"line_number":1024,"context_line":"            LOG.info(_LI(\"Sending request to get share migration information\""},{"line_number":1025,"context_line":"                     \" of share %s.\") % share[\u0027id\u0027])"},{"line_number":1026,"context_line":""},{"line_number":1027,"context_line":"            services \u003d self.db.service_get_all_by_topic(context, \u0027manila-data\u0027)"},{"line_number":1028,"context_line":""},{"line_number":1029,"context_line":"            if len(services) \u003e 0 and utils.service_is_up(services[0]):"},{"line_number":1030,"context_line":""},{"line_number":1031,"context_line":"                try:"},{"line_number":1032,"context_line":"                    result \u003d data_rpc.data_copy_get_progress("},{"line_number":1033,"context_line":"                        context, share[\u0027id\u0027])"},{"line_number":1034,"context_line":"                except Exception:"},{"line_number":1035,"context_line":"                    msg \u003d _(\"Failed to obtain migration progress of share \""},{"line_number":1036,"context_line":"                            \"%s.\") % share[\u0027id\u0027]"},{"line_number":1037,"context_line":"                    LOG.exception(msg)"},{"line_number":1038,"context_line":"                    raise exception.ShareMigrationError(reason\u003dmsg)"},{"line_number":1039,"context_line":"            else:"},{"line_number":1040,"context_line":"                result \u003d None"},{"line_number":1041,"context_line":""},{"line_number":1042,"context_line":"        else:"},{"line_number":1043,"context_line":"            result \u003d None"},{"line_number":1044,"context_line":""},{"line_number":1045,"context_line":"        if not (result and result.get(\u0027total_progress\u0027) is not None):"},{"line_number":1046,"context_line":"            msg \u003d self._migration_validate_error_message(share)"},{"line_number":1047,"context_line":"            if msg is None:"},{"line_number":1048,"context_line":"                msg \u003d _(\"Migration progress of share %s cannot be obtained at \""},{"line_number":1049,"context_line":"                        \"this moment.\") % share[\u0027id\u0027]"},{"line_number":1050,"context_line":"            LOG.error(msg)"},{"line_number":1051,"context_line":"            raise exception.InvalidShare(reason\u003dmsg)"},{"line_number":1052,"context_line":""},{"line_number":1053,"context_line":"        return result"},{"line_number":1054,"context_line":""},{"line_number":1055,"context_line":"    def _migration_validate_error_message(self, share):"},{"line_number":1056,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_09bcb1b9","line":1053,"range":{"start_line":993,"start_character":0,"end_line":1053,"end_character":21},"updated":"2016-08-30 14:43:25.000000000","message":"It is weird to get InvalidShare when a migration is still in progress. For user sanity, i think you should always allow get_progress API or combine the attr with the share API.. i don\u0027t think you should expect that users will check the task_state on the share and the progress using this API.. building applications around this limitation would be hard.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"b710da018f14d2643a716c6742cc90159df8208c","unresolved":false,"context_lines":[{"line_number":990,"context_line":""},{"line_number":991,"context_line":"        return share_instance_id, new_share_instance_id"},{"line_number":992,"context_line":""},{"line_number":993,"context_line":"    def migration_get_progress(self, context, share):"},{"line_number":994,"context_line":""},{"line_number":995,"context_line":"        if share[\u0027task_state\u0027] \u003d\u003d ("},{"line_number":996,"context_line":"                constants.TASK_STATE_MIGRATION_DRIVER_IN_PROGRESS):"},{"line_number":997,"context_line":""},{"line_number":998,"context_line":"            share_instance_id, migrating_instance_id \u003d ("},{"line_number":999,"context_line":"                self.get_migrating_instances(share))"},{"line_number":1000,"context_line":""},{"line_number":1001,"context_line":"            share_instance_ref \u003d self.db.share_instance_get("},{"line_number":1002,"context_line":"                context, share_instance_id, with_share_data\u003dTrue)"},{"line_number":1003,"context_line":""},{"line_number":1004,"context_line":"            service_host \u003d share_utils.extract_host(share_instance_ref[\u0027host\u0027])"},{"line_number":1005,"context_line":""},{"line_number":1006,"context_line":"            service \u003d self.db.service_get_by_args("},{"line_number":1007,"context_line":"                context, service_host, \u0027manila-share\u0027)"},{"line_number":1008,"context_line":""},{"line_number":1009,"context_line":"            if utils.service_is_up(service):"},{"line_number":1010,"context_line":"                try:"},{"line_number":1011,"context_line":"                    result \u003d self.share_rpcapi.migration_get_progress("},{"line_number":1012,"context_line":"                        context, share_instance_ref, migrating_instance_id)"},{"line_number":1013,"context_line":"                except Exception:"},{"line_number":1014,"context_line":"                    msg \u003d _(\"Failed to obtain migration progress of share \""},{"line_number":1015,"context_line":"                            \"%s.\") % share[\u0027id\u0027]"},{"line_number":1016,"context_line":"                    LOG.exception(msg)"},{"line_number":1017,"context_line":"                    raise exception.ShareMigrationError(reason\u003dmsg)"},{"line_number":1018,"context_line":"            else:"},{"line_number":1019,"context_line":"                result \u003d None"},{"line_number":1020,"context_line":""},{"line_number":1021,"context_line":"        elif share[\u0027task_state\u0027] \u003d\u003d ("},{"line_number":1022,"context_line":"                constants.TASK_STATE_DATA_COPYING_IN_PROGRESS):"},{"line_number":1023,"context_line":"            data_rpc \u003d data_rpcapi.DataAPI()"},{"line_number":1024,"context_line":"            LOG.info(_LI(\"Sending request to get share migration information\""},{"line_number":1025,"context_line":"                     \" of share %s.\") % share[\u0027id\u0027])"},{"line_number":1026,"context_line":""},{"line_number":1027,"context_line":"            services \u003d self.db.service_get_all_by_topic(context, \u0027manila-data\u0027)"},{"line_number":1028,"context_line":""},{"line_number":1029,"context_line":"            if len(services) \u003e 0 and utils.service_is_up(services[0]):"},{"line_number":1030,"context_line":""},{"line_number":1031,"context_line":"                try:"},{"line_number":1032,"context_line":"                    result \u003d data_rpc.data_copy_get_progress("},{"line_number":1033,"context_line":"                        context, share[\u0027id\u0027])"},{"line_number":1034,"context_line":"                except Exception:"},{"line_number":1035,"context_line":"                    msg \u003d _(\"Failed to obtain migration progress of share \""},{"line_number":1036,"context_line":"                            \"%s.\") % share[\u0027id\u0027]"},{"line_number":1037,"context_line":"                    LOG.exception(msg)"},{"line_number":1038,"context_line":"                    raise exception.ShareMigrationError(reason\u003dmsg)"},{"line_number":1039,"context_line":"            else:"},{"line_number":1040,"context_line":"                result \u003d None"},{"line_number":1041,"context_line":""},{"line_number":1042,"context_line":"        else:"},{"line_number":1043,"context_line":"            result \u003d None"},{"line_number":1044,"context_line":""},{"line_number":1045,"context_line":"        if not (result and result.get(\u0027total_progress\u0027) is not None):"},{"line_number":1046,"context_line":"            msg \u003d self._migration_validate_error_message(share)"},{"line_number":1047,"context_line":"            if msg is None:"},{"line_number":1048,"context_line":"                msg \u003d _(\"Migration progress of share %s cannot be obtained at \""},{"line_number":1049,"context_line":"                        \"this moment.\") % share[\u0027id\u0027]"},{"line_number":1050,"context_line":"            LOG.error(msg)"},{"line_number":1051,"context_line":"            raise exception.InvalidShare(reason\u003dmsg)"},{"line_number":1052,"context_line":""},{"line_number":1053,"context_line":"        return result"},{"line_number":1054,"context_line":""},{"line_number":1055,"context_line":"    def _migration_validate_error_message(self, share):"},{"line_number":1056,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_2c40a306","line":1053,"range":{"start_line":993,"start_character":0,"end_line":1053,"end_character":21},"in_reply_to":"fa7ab95a_09bcb1b9","updated":"2016-08-30 14:51:56.000000000","message":"What I mean to say is: 400 BadRequest is something applications should not be expected to code against. A human readable error message does not get us out of jail when we\u0027re expecting manila APIs to be used in applications.. i\u0027m against having to send too many requests to the manila server to get the status of a migration..","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":990,"context_line":""},{"line_number":991,"context_line":"        return share_instance_id, new_share_instance_id"},{"line_number":992,"context_line":""},{"line_number":993,"context_line":"    def migration_get_progress(self, context, share):"},{"line_number":994,"context_line":""},{"line_number":995,"context_line":"        if share[\u0027task_state\u0027] \u003d\u003d ("},{"line_number":996,"context_line":"                constants.TASK_STATE_MIGRATION_DRIVER_IN_PROGRESS):"},{"line_number":997,"context_line":""},{"line_number":998,"context_line":"            share_instance_id, migrating_instance_id \u003d ("},{"line_number":999,"context_line":"                self.get_migrating_instances(share))"},{"line_number":1000,"context_line":""},{"line_number":1001,"context_line":"            share_instance_ref \u003d self.db.share_instance_get("},{"line_number":1002,"context_line":"                context, share_instance_id, with_share_data\u003dTrue)"},{"line_number":1003,"context_line":""},{"line_number":1004,"context_line":"            service_host \u003d share_utils.extract_host(share_instance_ref[\u0027host\u0027])"},{"line_number":1005,"context_line":""},{"line_number":1006,"context_line":"            service \u003d self.db.service_get_by_args("},{"line_number":1007,"context_line":"                context, service_host, \u0027manila-share\u0027)"},{"line_number":1008,"context_line":""},{"line_number":1009,"context_line":"            if utils.service_is_up(service):"},{"line_number":1010,"context_line":"                try:"},{"line_number":1011,"context_line":"                    result \u003d self.share_rpcapi.migration_get_progress("},{"line_number":1012,"context_line":"                        context, share_instance_ref, migrating_instance_id)"},{"line_number":1013,"context_line":"                except Exception:"},{"line_number":1014,"context_line":"                    msg \u003d _(\"Failed to obtain migration progress of share \""},{"line_number":1015,"context_line":"                            \"%s.\") % share[\u0027id\u0027]"},{"line_number":1016,"context_line":"                    LOG.exception(msg)"},{"line_number":1017,"context_line":"                    raise exception.ShareMigrationError(reason\u003dmsg)"},{"line_number":1018,"context_line":"            else:"},{"line_number":1019,"context_line":"                result \u003d None"},{"line_number":1020,"context_line":""},{"line_number":1021,"context_line":"        elif share[\u0027task_state\u0027] \u003d\u003d ("},{"line_number":1022,"context_line":"                constants.TASK_STATE_DATA_COPYING_IN_PROGRESS):"},{"line_number":1023,"context_line":"            data_rpc \u003d data_rpcapi.DataAPI()"},{"line_number":1024,"context_line":"            LOG.info(_LI(\"Sending request to get share migration information\""},{"line_number":1025,"context_line":"                     \" of share %s.\") % share[\u0027id\u0027])"},{"line_number":1026,"context_line":""},{"line_number":1027,"context_line":"            services \u003d self.db.service_get_all_by_topic(context, \u0027manila-data\u0027)"},{"line_number":1028,"context_line":""},{"line_number":1029,"context_line":"            if len(services) \u003e 0 and utils.service_is_up(services[0]):"},{"line_number":1030,"context_line":""},{"line_number":1031,"context_line":"                try:"},{"line_number":1032,"context_line":"                    result \u003d data_rpc.data_copy_get_progress("},{"line_number":1033,"context_line":"                        context, share[\u0027id\u0027])"},{"line_number":1034,"context_line":"                except Exception:"},{"line_number":1035,"context_line":"                    msg \u003d _(\"Failed to obtain migration progress of share \""},{"line_number":1036,"context_line":"                            \"%s.\") % share[\u0027id\u0027]"},{"line_number":1037,"context_line":"                    LOG.exception(msg)"},{"line_number":1038,"context_line":"                    raise exception.ShareMigrationError(reason\u003dmsg)"},{"line_number":1039,"context_line":"            else:"},{"line_number":1040,"context_line":"                result \u003d None"},{"line_number":1041,"context_line":""},{"line_number":1042,"context_line":"        else:"},{"line_number":1043,"context_line":"            result \u003d None"},{"line_number":1044,"context_line":""},{"line_number":1045,"context_line":"        if not (result and result.get(\u0027total_progress\u0027) is not None):"},{"line_number":1046,"context_line":"            msg \u003d self._migration_validate_error_message(share)"},{"line_number":1047,"context_line":"            if msg is None:"},{"line_number":1048,"context_line":"                msg \u003d _(\"Migration progress of share %s cannot be obtained at \""},{"line_number":1049,"context_line":"                        \"this moment.\") % share[\u0027id\u0027]"},{"line_number":1050,"context_line":"            LOG.error(msg)"},{"line_number":1051,"context_line":"            raise exception.InvalidShare(reason\u003dmsg)"},{"line_number":1052,"context_line":""},{"line_number":1053,"context_line":"        return result"},{"line_number":1054,"context_line":""},{"line_number":1055,"context_line":"    def _migration_validate_error_message(self, share):"},{"line_number":1056,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_bad2175a","line":1053,"range":{"start_line":993,"start_character":0,"end_line":1053,"end_character":21},"in_reply_to":"fa7ab95a_2c40a306","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"cd219593db5023e6fd1dc190297ac686c9676610","unresolved":false,"context_lines":[{"line_number":1070,"context_line":"            return {\u0027total_progress\u0027: 0}"},{"line_number":1071,"context_line":"        else:"},{"line_number":1072,"context_line":"            return None"},{"line_number":1073,"context_line":""},{"line_number":1074,"context_line":"    def _migration_validate_error_message(self, share):"},{"line_number":1075,"context_line":""},{"line_number":1076,"context_line":"        task_state \u003d share[\u0027task_state\u0027]"}],"source_content_type":"text/x-python","patch_set":56,"id":"fa7ab95a_97735615","line":1073,"range":{"start_line":1073,"start_character":0,"end_line":1073,"end_character":0},"updated":"2016-08-31 03:21:50.000000000","message":"+100. Great stuff","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"dd2eeeca10bb1991e8311c7bb99d73266cc6295c","unresolved":false,"context_lines":[{"line_number":1070,"context_line":"            return {\u0027total_progress\u0027: 0}"},{"line_number":1071,"context_line":"        else:"},{"line_number":1072,"context_line":"            return None"},{"line_number":1073,"context_line":""},{"line_number":1074,"context_line":"    def _migration_validate_error_message(self, share):"},{"line_number":1075,"context_line":""},{"line_number":1076,"context_line":"        task_state \u003d share[\u0027task_state\u0027]"}],"source_content_type":"text/x-python","patch_set":56,"id":"fa7ab95a_739fa6b4","line":1073,"range":{"start_line":1073,"start_character":0,"end_line":1073,"end_character":0},"in_reply_to":"fa7ab95a_97735615","updated":"2016-08-31 13:11:11.000000000","message":"Added TASK_STATE_MIGRATION_ERROR as well.","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"}],"manila/share/driver.py":[{"author":{"_account_id":16203,"name":"zengyingzhe","email":"zengyingzhe@huawei.com","username":"zengyingzhe"},"change_message_id":"e539bcc3f417568608625e8f43ac758b078c5216","unresolved":false,"context_lines":[{"line_number":366,"context_line":"        :param complete: Whether the migration should complete or wait for"},{"line_number":367,"context_line":"            2nd phase call. Driver may throw exception when validating this"},{"line_number":368,"context_line":"            parameter if it does not support 1-phase or 2-phase approach when"},{"line_number":369,"context_line":"            requested. If 1-phase approach is used (notify\u003dTrue), driver should"},{"line_number":370,"context_line":"            delete all original share data from source backend."},{"line_number":371,"context_line":"        :param writable: Whether the user requires the share to remain"},{"line_number":372,"context_line":"        writable."}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_2a74ad33","line":369,"range":{"start_line":369,"start_character":52,"end_line":369,"end_character":58},"updated":"2016-07-28 11:23:54.000000000","message":"complete?","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c30cf1c54b9e17961925cc58e468c1090f7b924a","unresolved":false,"context_lines":[{"line_number":366,"context_line":"        :param complete: Whether the migration should complete or wait for"},{"line_number":367,"context_line":"            2nd phase call. Driver may throw exception when validating this"},{"line_number":368,"context_line":"            parameter if it does not support 1-phase or 2-phase approach when"},{"line_number":369,"context_line":"            requested. If 1-phase approach is used (notify\u003dTrue), driver should"},{"line_number":370,"context_line":"            delete all original share data from source backend."},{"line_number":371,"context_line":"        :param writable: Whether the user requires the share to remain"},{"line_number":372,"context_line":"        writable."}],"source_content_type":"text/x-python","patch_set":22,"id":"bacf61ea_ab736a7f","line":369,"range":{"start_line":369,"start_character":52,"end_line":369,"end_character":58},"in_reply_to":"bacf61ea_2a74ad33","updated":"2016-07-28 20:31:33.000000000","message":"Done","commit_id":"50ab2272463fba353f4552ce3742c5a387c43462"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":98,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":99,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027hdfs\u0027],"},{"line_number":100,"context_line":"            \u0027cert\u0027: [\u0027glusterfs\u0027],"},{"line_number":101,"context_line":"            \u0027cephx\u0027: [\u0027cephfs\u0027]"},{"line_number":102,"context_line":"        },"},{"line_number":103,"context_line":"        help\u003d\"Protocol access mapping for this backend. Should be a \""},{"line_number":104,"context_line":"             \"dictionary comprised of \""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_add6f3c2","line":101,"range":{"start_line":101,"start_character":12,"end_line":101,"end_character":31},"updated":"2016-08-20 05:13:18.000000000","message":"why have this here if it isn\u0027t supported","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":98,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":99,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027hdfs\u0027],"},{"line_number":100,"context_line":"            \u0027cert\u0027: [\u0027glusterfs\u0027],"},{"line_number":101,"context_line":"            \u0027cephx\u0027: [\u0027cephfs\u0027]"},{"line_number":102,"context_line":"        },"},{"line_number":103,"context_line":"        help\u003d\"Protocol access mapping for this backend. Should be a \""},{"line_number":104,"context_line":"             \"dictionary comprised of \""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_17d1ff57","line":101,"range":{"start_line":101,"start_character":12,"end_line":101,"end_character":31},"in_reply_to":"1ac06dbe_add6f3c2","updated":"2016-08-21 15:36:01.000000000","message":"good point. It was there so it could show the unsupported message, but we have an else for that.","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":532,"context_line":""},{"line_number":533,"context_line":"        access_mapping \u003d self._get_access_mapping(context, share, share_server)"},{"line_number":534,"context_line":""},{"line_number":535,"context_line":"        info \u003d {\u0027mount\u0027: mount_template,"},{"line_number":536,"context_line":"                \u0027unmount\u0027: unmount_template,"},{"line_number":537,"context_line":"                \u0027access_mapping\u0027: access_mapping}"},{"line_number":538,"context_line":""},{"line_number":539,"context_line":"        LOG.debug(\"Migration info obtained for share %(share_id)s: %(info)s.\","},{"line_number":540,"context_line":"                  {\u0027share_id\u0027: share[\u0027id\u0027], \u0027info\u0027: six.text_type(info)})"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_edd8ebf1","line":537,"range":{"start_line":535,"start_character":15,"end_line":537,"end_character":49},"updated":"2016-08-20 05:13:18.000000000","message":"wrap dictionary","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":532,"context_line":""},{"line_number":533,"context_line":"        access_mapping \u003d self._get_access_mapping(context, share, share_server)"},{"line_number":534,"context_line":""},{"line_number":535,"context_line":"        info \u003d {\u0027mount\u0027: mount_template,"},{"line_number":536,"context_line":"                \u0027unmount\u0027: unmount_template,"},{"line_number":537,"context_line":"                \u0027access_mapping\u0027: access_mapping}"},{"line_number":538,"context_line":""},{"line_number":539,"context_line":"        LOG.debug(\"Migration info obtained for share %(share_id)s: %(info)s.\","},{"line_number":540,"context_line":"                  {\u0027share_id\u0027: share[\u0027id\u0027], \u0027info\u0027: six.text_type(info)})"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_f7d3835d","line":537,"range":{"start_line":535,"start_character":15,"end_line":537,"end_character":49},"in_reply_to":"1ac06dbe_edd8ebf1","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":543,"context_line":""},{"line_number":544,"context_line":"    def _get_access_mapping(self, context, share, share_server):"},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"        mapping \u003d self.configuration.safe_get(\u0027protocol_access_mapping\u0027)"},{"line_number":547,"context_line":"        result \u003d {}"},{"line_number":548,"context_line":"        share_proto \u003d share[\u0027share_proto\u0027].lower()"},{"line_number":549,"context_line":"        for access_type, protocols in six.iteritems(mapping):"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_6df35b74","line":546,"range":{"start_line":546,"start_character":70,"end_line":546,"end_character":72},"updated":"2016-08-20 05:13:18.000000000","message":"or {}","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":543,"context_line":""},{"line_number":544,"context_line":"    def _get_access_mapping(self, context, share, share_server):"},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"        mapping \u003d self.configuration.safe_get(\u0027protocol_access_mapping\u0027)"},{"line_number":547,"context_line":"        result \u003d {}"},{"line_number":548,"context_line":"        share_proto \u003d share[\u0027share_proto\u0027].lower()"},{"line_number":549,"context_line":"        for access_type, protocols in six.iteritems(mapping):"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_37cebbb4","line":546,"range":{"start_line":546,"start_character":70,"end_line":546,"end_character":72},"in_reply_to":"1ac06dbe_6df35b74","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":546,"context_line":"        mapping \u003d self.configuration.safe_get(\u0027protocol_access_mapping\u0027)"},{"line_number":547,"context_line":"        result \u003d {}"},{"line_number":548,"context_line":"        share_proto \u003d share[\u0027share_proto\u0027].lower()"},{"line_number":549,"context_line":"        for access_type, protocols in six.iteritems(mapping):"},{"line_number":550,"context_line":"            if share_proto in [y.lower() for y in protocols]:"},{"line_number":551,"context_line":"                result[access_type] \u003d result.get(access_type, [])"},{"line_number":552,"context_line":"                result[access_type].append(share_proto)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_2de323a5","line":549,"range":{"start_line":549,"start_character":38,"end_line":549,"end_character":60},"updated":"2016-08-20 05:13:18.000000000","message":"mapping.items()","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":546,"context_line":"        mapping \u003d self.configuration.safe_get(\u0027protocol_access_mapping\u0027)"},{"line_number":547,"context_line":"        result \u003d {}"},{"line_number":548,"context_line":"        share_proto \u003d share[\u0027share_proto\u0027].lower()"},{"line_number":549,"context_line":"        for access_type, protocols in six.iteritems(mapping):"},{"line_number":550,"context_line":"            if share_proto in [y.lower() for y in protocols]:"},{"line_number":551,"context_line":"                result[access_type] \u003d result.get(access_type, [])"},{"line_number":552,"context_line":"                result[access_type].append(share_proto)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_d76da799","line":549,"range":{"start_line":549,"start_character":38,"end_line":549,"end_character":60},"in_reply_to":"1ac06dbe_2de323a5","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":559,"context_line":""},{"line_number":560,"context_line":"        mount_export \u003d self._get_mount_export(share_instance, share_server)"},{"line_number":561,"context_line":""},{"line_number":562,"context_line":"        format_template \u003d {\u0027proto\u0027: share_instance[\u0027share_proto\u0027].lower(),"},{"line_number":563,"context_line":"                           \u0027export\u0027: mount_export,"},{"line_number":564,"context_line":"                           \u0027path\u0027: \u0027%(path)s\u0027,"},{"line_number":565,"context_line":"                           \u0027options\u0027: \u0027%(options)s\u0027}"},{"line_number":566,"context_line":""},{"line_number":567,"context_line":"        return mount_template % format_template"},{"line_number":568,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_4de65fb5","line":565,"range":{"start_line":562,"start_character":26,"end_line":565,"end_character":52},"updated":"2016-08-20 05:13:18.000000000","message":"same","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":559,"context_line":""},{"line_number":560,"context_line":"        mount_export \u003d self._get_mount_export(share_instance, share_server)"},{"line_number":561,"context_line":""},{"line_number":562,"context_line":"        format_template \u003d {\u0027proto\u0027: share_instance[\u0027share_proto\u0027].lower(),"},{"line_number":563,"context_line":"                           \u0027export\u0027: mount_export,"},{"line_number":564,"context_line":"                           \u0027path\u0027: \u0027%(path)s\u0027,"},{"line_number":565,"context_line":"                           \u0027options\u0027: \u0027%(options)s\u0027}"},{"line_number":566,"context_line":""},{"line_number":567,"context_line":"        return mount_template % format_template"},{"line_number":568,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_b768eb88","line":565,"range":{"start_line":562,"start_character":26,"end_line":565,"end_character":52},"in_reply_to":"1ac06dbe_4de65fb5","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":78,"context_line":"             \"Items should be names (not including any path).\"),"},{"line_number":79,"context_line":"    cfg.StrOpt("},{"line_number":80,"context_line":"        \u0027share_mount_template\u0027,"},{"line_number":81,"context_line":"        default\u003d\u0027mount -vt %(options)s %(proto)s %(export)s %(path)s\u0027,"},{"line_number":82,"context_line":"        help\u003d\"The template for mounting shares for this backend. Must specify \""},{"line_number":83,"context_line":"             \"the executable with all necessary parameters for the protocol \""},{"line_number":84,"context_line":"             \"supported. \u0027proto\u0027 template element may not be required if \""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_145c4bec","line":81,"range":{"start_line":81,"start_character":27,"end_line":81,"end_character":38},"updated":"2016-08-28 00:40:53.000000000","message":"-t %(proto)s -o %(options)s ?","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":78,"context_line":"             \"Items should be names (not including any path).\"),"},{"line_number":79,"context_line":"    cfg.StrOpt("},{"line_number":80,"context_line":"        \u0027share_mount_template\u0027,"},{"line_number":81,"context_line":"        default\u003d\u0027mount -vt %(options)s %(proto)s %(export)s %(path)s\u0027,"},{"line_number":82,"context_line":"        help\u003d\"The template for mounting shares for this backend. Must specify \""},{"line_number":83,"context_line":"             \"the executable with all necessary parameters for the protocol \""},{"line_number":84,"context_line":"             \"supported. \u0027proto\u0027 template element may not be required if \""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9ff2336e","line":81,"range":{"start_line":81,"start_character":27,"end_line":81,"end_character":38},"in_reply_to":"fa7ab95a_145c4bec","updated":"2016-08-28 03:16:23.000000000","message":"inverted proto and options. Also, -o should be included in the string, not the template, for the case where other parameters are added besides \"-o\"","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        .. note::"},{"line_number":337,"context_line":"            Is called to test compatibility with destination backend."},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"        Based on destination_driver_connection_info, driver should check if it"},{"line_number":340,"context_line":"        is compatible with destination backend so optimized migration can"},{"line_number":341,"context_line":"        proceed."},{"line_number":342,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_f40fe7de","line":339,"range":{"start_line":339,"start_character":17,"end_line":339,"end_character":51},"updated":"2016-08-28 00:40:53.000000000","message":"?","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":336,"context_line":"        .. note::"},{"line_number":337,"context_line":"            Is called to test compatibility with destination backend."},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"        Based on destination_driver_connection_info, driver should check if it"},{"line_number":340,"context_line":"        is compatible with destination backend so optimized migration can"},{"line_number":341,"context_line":"        proceed."},{"line_number":342,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bfe9b782","line":339,"range":{"start_line":339,"start_character":17,"end_line":339,"end_character":51},"in_reply_to":"fa7ab95a_f40fe7de","updated":"2016-08-28 03:16:23.000000000","message":"leftovers","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":358,"context_line":"                \u0027compatible\u0027: True,"},{"line_number":359,"context_line":"                \u0027writable\u0027: True,"},{"line_number":360,"context_line":"                \u0027preserve_metadata\u0027: True,"},{"line_number":361,"context_line":"                \u0027non-disruptive\u0027: True,"},{"line_number":362,"context_line":"            }"},{"line_number":363,"context_line":"        \"\"\""},{"line_number":364,"context_line":"        return {"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bcb70585","line":361,"range":{"start_line":361,"start_character":17,"end_line":361,"end_character":31},"updated":"2016-08-28 00:40:53.000000000","message":"nondisruptive","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":358,"context_line":"                \u0027compatible\u0027: True,"},{"line_number":359,"context_line":"                \u0027writable\u0027: True,"},{"line_number":360,"context_line":"                \u0027preserve_metadata\u0027: True,"},{"line_number":361,"context_line":"                \u0027non-disruptive\u0027: True,"},{"line_number":362,"context_line":"            }"},{"line_number":363,"context_line":"        \"\"\""},{"line_number":364,"context_line":"        return {"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_ff033f40","line":361,"range":{"start_line":361,"start_character":17,"end_line":361,"end_character":31},"in_reply_to":"fa7ab95a_bcb70585","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":365,"context_line":"            \u0027compatible\u0027: False,"},{"line_number":366,"context_line":"            \u0027writable\u0027: False,"},{"line_number":367,"context_line":"            \u0027preserve_metadata\u0027: False,"},{"line_number":368,"context_line":"            \u0027non-disruptive\u0027: False,"},{"line_number":369,"context_line":"        }"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"    def migration_start("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_dcba096e","line":368,"range":{"start_line":368,"start_character":13,"end_line":368,"end_character":27},"updated":"2016-08-28 00:40:53.000000000","message":"same\n\nor non_disruptive, to be in line with preserve_metadata","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":365,"context_line":"            \u0027compatible\u0027: False,"},{"line_number":366,"context_line":"            \u0027writable\u0027: False,"},{"line_number":367,"context_line":"            \u0027preserve_metadata\u0027: False,"},{"line_number":368,"context_line":"            \u0027non-disruptive\u0027: False,"},{"line_number":369,"context_line":"        }"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"    def migration_start("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1fff0335","line":368,"range":{"start_line":368,"start_character":13,"end_line":368,"end_character":27},"in_reply_to":"fa7ab95a_dcba096e","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":500,"context_line":"        info \u003d {"},{"line_number":501,"context_line":"            \u0027mount\u0027: mount_template,"},{"line_number":502,"context_line":"            \u0027unmount\u0027: unmount_template,"},{"line_number":503,"context_line":"            \u0027access_mapping\u0027: access_mapping"},{"line_number":504,"context_line":"        }"},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"        LOG.debug(\"Migration info obtained for share %(share_id)s: %(info)s.\","}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_d42f433c","line":503,"range":{"start_line":503,"start_character":30,"end_line":503,"end_character":44},"updated":"2016-08-28 00:40:53.000000000","message":"trailing comma","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":500,"context_line":"        info \u003d {"},{"line_number":501,"context_line":"            \u0027mount\u0027: mount_template,"},{"line_number":502,"context_line":"            \u0027unmount\u0027: unmount_template,"},{"line_number":503,"context_line":"            \u0027access_mapping\u0027: access_mapping"},{"line_number":504,"context_line":"        }"},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"        LOG.debug(\"Migration info obtained for share %(share_id)s: %(info)s.\","}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_3ffe8737","line":503,"range":{"start_line":503,"start_character":30,"end_line":503,"end_character":44},"in_reply_to":"fa7ab95a_d42f433c","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        default\u003d{"},{"line_number":98,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":99,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027hdfs\u0027],"},{"line_number":100,"context_line":"            \u0027cert\u0027: [\u0027glusterfs\u0027],"},{"line_number":101,"context_line":"        },"},{"line_number":102,"context_line":"        help\u003d\"Protocol access mapping for this backend. Should be a \""},{"line_number":103,"context_line":"             \"dictionary comprised of \""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_643ac5e8","line":100,"range":{"start_line":100,"start_character":13,"end_line":100,"end_character":33},"updated":"2016-08-30 14:43:25.000000000","message":"Is this tested/allowed?","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        default\u003d{"},{"line_number":98,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":99,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027hdfs\u0027],"},{"line_number":100,"context_line":"            \u0027cert\u0027: [\u0027glusterfs\u0027],"},{"line_number":101,"context_line":"        },"},{"line_number":102,"context_line":"        help\u003d\"Protocol access mapping for this backend. Should be a \""},{"line_number":103,"context_line":"             \"dictionary comprised of \""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_8d760604","line":100,"range":{"start_line":100,"start_character":13,"end_line":100,"end_character":33},"in_reply_to":"fa7ab95a_643ac5e8","updated":"2016-08-31 00:47:31.000000000","message":"it is allowed. Hasn\u0027t been added to the gluster CI yet.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"cd219593db5023e6fd1dc190297ac686c9676610","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        default\u003d{"},{"line_number":98,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":99,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027hdfs\u0027],"},{"line_number":100,"context_line":"            \u0027cert\u0027: [\u0027glusterfs\u0027],"},{"line_number":101,"context_line":"        },"},{"line_number":102,"context_line":"        help\u003d\"Protocol access mapping for this backend. Should be a \""},{"line_number":103,"context_line":"             \"dictionary comprised of \""}],"source_content_type":"text/x-python","patch_set":56,"id":"fa7ab95a_7780928c","line":100,"range":{"start_line":100,"start_character":12,"end_line":100,"end_character":34},"updated":"2016-08-31 03:21:50.000000000","message":"is this really supported?","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0b4b283a8ebff504c6f4d1454bb7eefcab687a59","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        default\u003d{"},{"line_number":98,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":99,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027hdfs\u0027],"},{"line_number":100,"context_line":"            \u0027cert\u0027: [\u0027glusterfs\u0027],"},{"line_number":101,"context_line":"        },"},{"line_number":102,"context_line":"        help\u003d\"Protocol access mapping for this backend. Should be a \""},{"line_number":103,"context_line":"             \"dictionary comprised of \""}],"source_content_type":"text/x-python","patch_set":56,"id":"fa7ab95a_89bdfa04","line":100,"range":{"start_line":100,"start_character":12,"end_line":100,"end_character":34},"in_reply_to":"fa7ab95a_7780928c","updated":"2016-08-31 03:34:07.000000000","message":"Sorry, didn\u0027t see your response on PS 50.. alright, we need to test it on Gluster CI though; i for one haven\u0027t ever used the Gluster driver and tested locally..","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"dd2eeeca10bb1991e8311c7bb99d73266cc6295c","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        default\u003d{"},{"line_number":98,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":99,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027hdfs\u0027],"},{"line_number":100,"context_line":"            \u0027cert\u0027: [\u0027glusterfs\u0027],"},{"line_number":101,"context_line":"        },"},{"line_number":102,"context_line":"        help\u003d\"Protocol access mapping for this backend. Should be a \""},{"line_number":103,"context_line":"             \"dictionary comprised of \""}],"source_content_type":"text/x-python","patch_set":56,"id":"fa7ab95a_c467cee8","line":100,"range":{"start_line":100,"start_character":12,"end_line":100,"end_character":34},"in_reply_to":"fa7ab95a_89bdfa04","updated":"2016-08-31 13:11:11.000000000","message":"I think that there is no harm in including here even if it does not work in CI as long as we do not list in the release notes. Looking at Gluster CI I believe we will not be able to test it in time.","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"}],"manila/share/manager.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":99,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":100,"context_line":"                    \u0027the share manager will poll for the health \u0027"},{"line_number":101,"context_line":"                    \u0027(replica_state) of each replica instance.\u0027),"},{"line_number":102,"context_line":"    cfg.BoolOpt(\u0027disable_fallback_share_migration\u0027,"},{"line_number":103,"context_line":"                default\u003dFalse,"},{"line_number":104,"context_line":"                help\u003d\u0027This option chooses whether fallback Share Migration \u0027"},{"line_number":105,"context_line":"                     \u0027should be prevented from running. This may be useful \u0027"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7c901d44","line":102,"range":{"start_line":102,"start_character":25,"end_line":102,"end_character":33},"updated":"2016-08-28 00:40:53.000000000","message":"Suggest calling this something else.. \"host assisted data copy\"?","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":99,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":100,"context_line":"                    \u0027the share manager will poll for the health \u0027"},{"line_number":101,"context_line":"                    \u0027(replica_state) of each replica instance.\u0027),"},{"line_number":102,"context_line":"    cfg.BoolOpt(\u0027disable_fallback_share_migration\u0027,"},{"line_number":103,"context_line":"                default\u003dFalse,"},{"line_number":104,"context_line":"                help\u003d\u0027This option chooses whether fallback Share Migration \u0027"},{"line_number":105,"context_line":"                     \u0027should be prevented from running. This may be useful \u0027"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_5f1d0bbc","line":102,"range":{"start_line":102,"start_character":25,"end_line":102,"end_character":33},"in_reply_to":"fa7ab95a_7c901d44","updated":"2016-08-28 03:16:23.000000000","message":"I will spend some time thinking about this","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                    \u0027(replica_state) of each replica instance.\u0027),"},{"line_number":102,"context_line":"    cfg.BoolOpt(\u0027disable_fallback_share_migration\u0027,"},{"line_number":103,"context_line":"                default\u003dFalse,"},{"line_number":104,"context_line":"                help\u003d\u0027This option chooses whether fallback Share Migration \u0027"},{"line_number":105,"context_line":"                     \u0027should be prevented from running. This may be useful \u0027"},{"line_number":106,"context_line":"                     \u0027for environments that apply strict security \u0027"},{"line_number":107,"context_line":"                     \u0027restrictions that do not comply with the Data Service \u0027"},{"line_number":108,"context_line":"                     \u0027mounting shares.\u0027),"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bc9aa561","line":105,"range":{"start_line":104,"start_character":22,"end_line":105,"end_character":55},"updated":"2016-08-28 00:40:53.000000000","message":"This option disables share migration to be performed through host assisted data copy.","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                    \u0027(replica_state) of each replica instance.\u0027),"},{"line_number":102,"context_line":"    cfg.BoolOpt(\u0027disable_fallback_share_migration\u0027,"},{"line_number":103,"context_line":"                default\u003dFalse,"},{"line_number":104,"context_line":"                help\u003d\u0027This option chooses whether fallback Share Migration \u0027"},{"line_number":105,"context_line":"                     \u0027should be prevented from running. This may be useful \u0027"},{"line_number":106,"context_line":"                     \u0027for environments that apply strict security \u0027"},{"line_number":107,"context_line":"                     \u0027restrictions that do not comply with the Data Service \u0027"},{"line_number":108,"context_line":"                     \u0027mounting shares.\u0027),"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7f7acff2","line":105,"range":{"start_line":104,"start_character":22,"end_line":105,"end_character":55},"in_reply_to":"fa7ab95a_bc9aa561","updated":"2016-08-28 03:16:23.000000000","message":"I will spend some time thinking about this","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":109,"context_line":"    cfg.IntOpt(\u0027migration_driver_continue_update_interval\u0027,"},{"line_number":110,"context_line":"               default\u003d60,"},{"line_number":111,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":112,"context_line":"                    \u0027the share manager will poll the driver to perform the \u0027"},{"line_number":113,"context_line":"                    \u0027next step of migration, for the migrating share\u0027"},{"line_number":114,"context_line":"                    \u0027instances.\u0027),"},{"line_number":115,"context_line":"]"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_f4dd2743","line":114,"range":{"start_line":112,"start_character":63,"end_line":114,"end_character":30},"updated":"2016-08-28 00:40:53.000000000","message":"check the health of an ongoing migration until its completion.","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":109,"context_line":"    cfg.IntOpt(\u0027migration_driver_continue_update_interval\u0027,"},{"line_number":110,"context_line":"               default\u003d60,"},{"line_number":111,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":112,"context_line":"                    \u0027the share manager will poll the driver to perform the \u0027"},{"line_number":113,"context_line":"                    \u0027next step of migration, for the migrating share\u0027"},{"line_number":114,"context_line":"                    \u0027instances.\u0027),"},{"line_number":115,"context_line":"]"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_3f220701","line":114,"range":{"start_line":112,"start_character":63,"end_line":114,"end_character":30},"in_reply_to":"fa7ab95a_f4dd2743","updated":"2016-08-28 03:16:23.000000000","message":"this is not to check the health of an ongoing migration. I will spend some time thinking about this","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":725,"context_line":"                }"},{"line_number":726,"context_line":"                raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":727,"context_line":""},{"line_number":728,"context_line":"            if (not compatibility.get(\u0027non-disruptive\u0027) and"},{"line_number":729,"context_line":"                    nondisruptive):"},{"line_number":730,"context_line":"                msg \u003d _(\"Driver cannot perform a non-disruptive migration of \""},{"line_number":731,"context_line":"                        \"share %s.\") % share_ref[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_fcb18d90","line":728,"range":{"start_line":728,"start_character":42,"end_line":728,"end_character":43},"updated":"2016-08-28 00:40:53.000000000","message":"nondisruptive or non_disruptive","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":725,"context_line":"                }"},{"line_number":726,"context_line":"                raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":727,"context_line":""},{"line_number":728,"context_line":"            if (not compatibility.get(\u0027non-disruptive\u0027) and"},{"line_number":729,"context_line":"                    nondisruptive):"},{"line_number":730,"context_line":"                msg \u003d _(\"Driver cannot perform a non-disruptive migration of \""},{"line_number":731,"context_line":"                        \"share %s.\") % share_ref[\u0027id\u0027]"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9f7dd3e9","line":728,"range":{"start_line":728,"start_character":42,"end_line":728,"end_character":43},"in_reply_to":"fa7ab95a_fcb18d90","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":855,"context_line":"                        {\u0027task_state\u0027: constants.TASK_STATE_MIGRATION_ERROR})"},{"line_number":856,"context_line":"                    msg \u003d _(\"Driver optimized migration failed.\")"},{"line_number":857,"context_line":"                    LOG.exception(msg)"},{"line_number":858,"context_line":"                    raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":859,"context_line":""},{"line_number":860,"context_line":"    @utils.require_driver_initialized"},{"line_number":861,"context_line":"    def migration_start(self, context, share_id, dest_host,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bce9c582","line":858,"range":{"start_line":858,"start_character":20,"end_line":858,"end_character":68},"updated":"2016-08-28 00:40:53.000000000","message":"not necessary... you should just log and move on to the next share that\u0027s being migrated..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":855,"context_line":"                        {\u0027task_state\u0027: constants.TASK_STATE_MIGRATION_ERROR})"},{"line_number":856,"context_line":"                    msg \u003d _(\"Driver optimized migration failed.\")"},{"line_number":857,"context_line":"                    LOG.exception(msg)"},{"line_number":858,"context_line":"                    raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":859,"context_line":""},{"line_number":860,"context_line":"    @utils.require_driver_initialized"},{"line_number":861,"context_line":"    def migration_start(self, context, share_id, dest_host,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_df875bd5","line":858,"range":{"start_line":858,"start_character":20,"end_line":858,"end_character":68},"in_reply_to":"fa7ab95a_bce9c582","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":887,"context_line":"                    new_az_id)"},{"line_number":888,"context_line":""},{"line_number":889,"context_line":"            except Exception as e:"},{"line_number":890,"context_line":"                if not isinstance(e, NotImplementedError):"},{"line_number":891,"context_line":"                    LOG.exception("},{"line_number":892,"context_line":"                        _LE(\"The driver could not migrate the share %(shr)s\"),"},{"line_number":893,"context_line":"                        {\u0027shr\u0027: share_id})"},{"line_number":894,"context_line":""},{"line_number":895,"context_line":"        if not success and not CONF.disable_fallback_share_migration:"},{"line_number":896,"context_line":""},{"line_number":897,"context_line":"            try:"},{"line_number":898,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1cff1135","line":895,"range":{"start_line":890,"start_character":0,"end_line":895,"end_character":69},"updated":"2016-08-28 00:40:53.000000000","message":"What if:\n\ni. Request is to skip_optimized_migration and you fail in _migration_start_driver; but you aren\u0027t allowed to fallback on host data copy.. \nii. Request is to skip_optimized_migration and CONF.disable_fallback_migration is True.","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":887,"context_line":"                    new_az_id)"},{"line_number":888,"context_line":""},{"line_number":889,"context_line":"            except Exception as e:"},{"line_number":890,"context_line":"                if not isinstance(e, NotImplementedError):"},{"line_number":891,"context_line":"                    LOG.exception("},{"line_number":892,"context_line":"                        _LE(\"The driver could not migrate the share %(shr)s\"),"},{"line_number":893,"context_line":"                        {\u0027shr\u0027: share_id})"},{"line_number":894,"context_line":""},{"line_number":895,"context_line":"        if not success and not CONF.disable_fallback_share_migration:"},{"line_number":896,"context_line":""},{"line_number":897,"context_line":"            try:"},{"line_number":898,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_df5e7b75","line":895,"range":{"start_line":890,"start_character":0,"end_line":895,"end_character":69},"in_reply_to":"fa7ab95a_1cff1135","updated":"2016-08-28 03:16:23.000000000","message":"i. is skip_optimized_migration is set, code will not invoke _migration_start_driver.\n\nii. I will fix the condition so the status can be fixed","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":903,"context_line":"                            \"preserve all file metadata or be performed \""},{"line_number":904,"context_line":"                            \"non-disruptively.\") % share_id"},{"line_number":905,"context_line":""},{"line_number":906,"context_line":"                    raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":907,"context_line":""},{"line_number":908,"context_line":"                LOG.debug(\"Starting fallback migration \""},{"line_number":909,"context_line":"                          \"for share %s.\", share_id)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1c79d12f","line":906,"range":{"start_line":906,"start_character":20,"end_line":906,"end_character":68},"updated":"2016-08-28 00:40:53.000000000","message":"same","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":903,"context_line":"                            \"preserve all file metadata or be performed \""},{"line_number":904,"context_line":"                            \"non-disruptively.\") % share_id"},{"line_number":905,"context_line":""},{"line_number":906,"context_line":"                    raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":907,"context_line":""},{"line_number":908,"context_line":"                LOG.debug(\"Starting fallback migration \""},{"line_number":909,"context_line":"                          \"for share %s.\", share_id)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_5f4b4bb0","line":906,"range":{"start_line":906,"start_character":20,"end_line":906,"end_character":68},"in_reply_to":"fa7ab95a_1c79d12f","updated":"2016-08-28 03:16:23.000000000","message":"sorry, same as which comment?","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":1098,"context_line":"        LOG.info(_LI(\"Share Migration for share %s\""},{"line_number":1099,"context_line":"                     \" completed successfully.\"), share_ref[\u0027id\u0027])"},{"line_number":1100,"context_line":""},{"line_number":1101,"context_line":"    def _migration_complete_fallback(self, context, share_ref,"},{"line_number":1102,"context_line":"                                     src_instance_id, dest_instance_id):"},{"line_number":1103,"context_line":""},{"line_number":1104,"context_line":"        src_share_instance \u003d self.db.share_instance_get("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_fc8a6dbe","line":1101,"range":{"start_line":1101,"start_character":28,"end_line":1101,"end_character":36},"updated":"2016-08-28 00:40:53.000000000","message":"curious.. why was this changed..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":1098,"context_line":"        LOG.info(_LI(\"Share Migration for share %s\""},{"line_number":1099,"context_line":"                     \" completed successfully.\"), share_ref[\u0027id\u0027])"},{"line_number":1100,"context_line":""},{"line_number":1101,"context_line":"    def _migration_complete_fallback(self, context, share_ref,"},{"line_number":1102,"context_line":"                                     src_instance_id, dest_instance_id):"},{"line_number":1103,"context_line":""},{"line_number":1104,"context_line":"        src_share_instance \u003d self.db.share_instance_get("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_3f50475d","line":1101,"range":{"start_line":1101,"start_character":28,"end_line":1101,"end_character":36},"in_reply_to":"fa7ab95a_fc8a6dbe","updated":"2016-08-28 03:16:23.000000000","message":"decided at midcycle, we should not name \"generic migration\" anymore","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    cfg.IntOpt(\u0027migration_driver_continue_update_interval\u0027,"},{"line_number":103,"context_line":"               default\u003d60,"},{"line_number":104,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":105,"context_line":"                    \u0027the share manager will poll the driver to perform the \u0027"},{"line_number":106,"context_line":"                    \u0027next step of migration, for the migrating share\u0027"},{"line_number":107,"context_line":"                    \u0027instances.\u0027),"},{"line_number":108,"context_line":"]"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_c64f1632","line":106,"range":{"start_line":105,"start_character":63,"end_line":106,"end_character":44},"updated":"2016-08-30 14:43:25.000000000","message":"this is confusing.. what do you mean by next step?","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    cfg.IntOpt(\u0027migration_driver_continue_update_interval\u0027,"},{"line_number":103,"context_line":"               default\u003d60,"},{"line_number":104,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":105,"context_line":"                    \u0027the share manager will poll the driver to perform the \u0027"},{"line_number":106,"context_line":"                    \u0027next step of migration, for the migrating share\u0027"},{"line_number":107,"context_line":"                    \u0027instances.\u0027),"},{"line_number":108,"context_line":"]"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_2da17a46","line":106,"range":{"start_line":105,"start_character":63,"end_line":106,"end_character":44},"in_reply_to":"fa7ab95a_c64f1632","updated":"2016-08-31 00:47:31.000000000","message":"next steps of migration in the backend. Will include \u0027in the backend\u0027 to avoid confusion.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":104,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":105,"context_line":"                    \u0027the share manager will poll the driver to perform the \u0027"},{"line_number":106,"context_line":"                    \u0027next step of migration, for the migrating share\u0027"},{"line_number":107,"context_line":"                    \u0027instances.\u0027),"},{"line_number":108,"context_line":"]"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_260e02e5","line":107,"range":{"start_line":107,"start_character":21,"end_line":107,"end_character":30},"updated":"2016-08-30 14:43:25.000000000","message":"remove","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":104,"context_line":"               help\u003d\u0027This value, specified in seconds, determines how often \u0027"},{"line_number":105,"context_line":"                    \u0027the share manager will poll the driver to perform the \u0027"},{"line_number":106,"context_line":"                    \u0027next step of migration, for the migrating share\u0027"},{"line_number":107,"context_line":"                    \u0027instances.\u0027),"},{"line_number":108,"context_line":"]"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_4d8cfed9","line":107,"range":{"start_line":107,"start_character":21,"end_line":107,"end_character":30},"in_reply_to":"fa7ab95a_260e02e5","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":732,"context_line":""},{"line_number":733,"context_line":"            if not compatibility.get(\u0027writable\u0027) and writable:"},{"line_number":734,"context_line":"                msg \u003d _(\"Driver cannot perform migration of share %s while \""},{"line_number":735,"context_line":"                        \"writable.\") % share_ref[\u0027id\u0027]"},{"line_number":736,"context_line":"                raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":737,"context_line":""},{"line_number":738,"context_line":"            if not compatibility.get(\u0027writable\u0027):"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_a6f052ca","line":735,"range":{"start_line":735,"start_character":25,"end_line":735,"end_character":33},"updated":"2016-08-30 14:43:25.000000000","message":"remaining writable","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":732,"context_line":""},{"line_number":733,"context_line":"            if not compatibility.get(\u0027writable\u0027) and writable:"},{"line_number":734,"context_line":"                msg \u003d _(\"Driver cannot perform migration of share %s while \""},{"line_number":735,"context_line":"                        \"writable.\") % share_ref[\u0027id\u0027]"},{"line_number":736,"context_line":"                raise exception.ShareMigrationFailed(reason\u003dmsg)"},{"line_number":737,"context_line":""},{"line_number":738,"context_line":"            if not compatibility.get(\u0027writable\u0027):"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_f0a689bf","line":735,"range":{"start_line":735,"start_character":25,"end_line":735,"end_character":33},"in_reply_to":"fa7ab95a_a6f052ca","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":910,"context_line":"                    new_share_network_id, new_az_id)"},{"line_number":911,"context_line":""},{"line_number":912,"context_line":"        except Exception:"},{"line_number":913,"context_line":"            msg \u003d _(\"Fallback migration failed for share %s.\") % share_id"},{"line_number":914,"context_line":"            LOG.exception(msg)"},{"line_number":915,"context_line":"            self.db.share_update("},{"line_number":916,"context_line":"                context, share_id,"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_c6d556e5","line":913,"range":{"start_line":913,"start_character":21,"end_line":913,"end_character":56},"updated":"2016-08-30 14:43:25.000000000","message":"\"Fallback\" is not a term well understood by administrators.. unless you want to call it this in all documentation.. it\u0027s not ideal to term something fallback; if that\u0027s what is requested when administrators issue the migration command with --skip_optimized_migration","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"35d9c96124cd8767dccd19b95b4d6f5eb0becbf8","unresolved":false,"context_lines":[{"line_number":910,"context_line":"                    new_share_network_id, new_az_id)"},{"line_number":911,"context_line":""},{"line_number":912,"context_line":"        except Exception:"},{"line_number":913,"context_line":"            msg \u003d _(\"Fallback migration failed for share %s.\") % share_id"},{"line_number":914,"context_line":"            LOG.exception(msg)"},{"line_number":915,"context_line":"            self.db.share_update("},{"line_number":916,"context_line":"                context, share_id,"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_e6e24fd4","line":913,"range":{"start_line":913,"start_character":21,"end_line":913,"end_character":56},"in_reply_to":"fa7ab95a_c6d556e5","updated":"2016-08-30 16:38:46.000000000","message":"Emm, agree. It is \"generic\" and \"driver-based\" migrations.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":910,"context_line":"                    new_share_network_id, new_az_id)"},{"line_number":911,"context_line":""},{"line_number":912,"context_line":"        except Exception:"},{"line_number":913,"context_line":"            msg \u003d _(\"Fallback migration failed for share %s.\") % share_id"},{"line_number":914,"context_line":"            LOG.exception(msg)"},{"line_number":915,"context_line":"            self.db.share_update("},{"line_number":916,"context_line":"                context, share_id,"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_682ef7a6","line":913,"range":{"start_line":913,"start_character":21,"end_line":913,"end_character":56},"in_reply_to":"fa7ab95a_e6e24fd4","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila/tests/api/v2/test_shares.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":459,"context_line":"                          self.controller.reset_task_state, req, share[\u0027id\u0027],"},{"line_number":460,"context_line":"                          body)"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"    def test_reset_task_state_error_empty(self):"},{"line_number":463,"context_line":"        share \u003d db_utils.create_share()"},{"line_number":464,"context_line":"        req \u003d fakes.HTTPRequest.blank(\u0027/shares/%s/action\u0027 % share[\u0027id\u0027],"},{"line_number":465,"context_line":"                                      use_admin_context\u003dTrue, version\u003d\u00272.15\u0027)"},{"line_number":466,"context_line":"        req.method \u003d \u0027POST\u0027"},{"line_number":467,"context_line":"        req.headers[\u0027content-type\u0027] \u003d \u0027application/json\u0027"},{"line_number":468,"context_line":"        req.api_version_request.experimental \u003d True"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"        update \u003d {\u0027task_state\u0027: None}"},{"line_number":471,"context_line":"        body \u003d {\u0027reset_task_state\u0027: update}"},{"line_number":472,"context_line":""},{"line_number":473,"context_line":"        self.assertRaises(webob.exc.HTTPBadRequest,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9c67a124","side":"PARENT","line":470,"range":{"start_line":462,"start_character":0,"end_line":470,"end_character":37},"updated":"2016-08-28 00:40:53.000000000","message":"why remove this?","commit_id":"4c72cc4272a685a66976df4dca4e2fcf3e0a2b9d"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":459,"context_line":"                          self.controller.reset_task_state, req, share[\u0027id\u0027],"},{"line_number":460,"context_line":"                          body)"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"    def test_reset_task_state_error_empty(self):"},{"line_number":463,"context_line":"        share \u003d db_utils.create_share()"},{"line_number":464,"context_line":"        req \u003d fakes.HTTPRequest.blank(\u0027/shares/%s/action\u0027 % share[\u0027id\u0027],"},{"line_number":465,"context_line":"                                      use_admin_context\u003dTrue, version\u003d\u00272.15\u0027)"},{"line_number":466,"context_line":"        req.method \u003d \u0027POST\u0027"},{"line_number":467,"context_line":"        req.headers[\u0027content-type\u0027] \u003d \u0027application/json\u0027"},{"line_number":468,"context_line":"        req.api_version_request.experimental \u003d True"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"        update \u003d {\u0027task_state\u0027: None}"},{"line_number":471,"context_line":"        body \u003d {\u0027reset_task_state\u0027: update}"},{"line_number":472,"context_line":""},{"line_number":473,"context_line":"        self.assertRaises(webob.exc.HTTPBadRequest,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_ff27bf0f","side":"PARENT","line":470,"range":{"start_line":462,"start_character":0,"end_line":470,"end_character":37},"in_reply_to":"fa7ab95a_9c67a124","updated":"2016-08-28 03:16:23.000000000","message":"it now can be empty and has a default value. I added a DDT to the reset_task_state test","commit_id":"4c72cc4272a685a66976df4dca4e2fcf3e0a2b9d"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"da50181dd1e0ac39393cc671af0055a41cccde31","unresolved":false,"context_lines":[{"line_number":459,"context_line":"                          self.controller.reset_task_state, req, share[\u0027id\u0027],"},{"line_number":460,"context_line":"                          body)"},{"line_number":461,"context_line":""},{"line_number":462,"context_line":"    def test_reset_task_state_error_empty(self):"},{"line_number":463,"context_line":"        share \u003d db_utils.create_share()"},{"line_number":464,"context_line":"        req \u003d fakes.HTTPRequest.blank(\u0027/shares/%s/action\u0027 % share[\u0027id\u0027],"},{"line_number":465,"context_line":"                                      use_admin_context\u003dTrue, version\u003d\u00272.15\u0027)"},{"line_number":466,"context_line":"        req.method \u003d \u0027POST\u0027"},{"line_number":467,"context_line":"        req.headers[\u0027content-type\u0027] \u003d \u0027application/json\u0027"},{"line_number":468,"context_line":"        req.api_version_request.experimental \u003d True"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"        update \u003d {\u0027task_state\u0027: None}"},{"line_number":471,"context_line":"        body \u003d {\u0027reset_task_state\u0027: update}"},{"line_number":472,"context_line":""},{"line_number":473,"context_line":"        self.assertRaises(webob.exc.HTTPBadRequest,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_c0b853e8","side":"PARENT","line":470,"range":{"start_line":462,"start_character":0,"end_line":470,"end_character":37},"in_reply_to":"fa7ab95a_ff27bf0f","updated":"2016-08-28 14:02:45.000000000","message":"Yes, i wasn\u0027t able to find the test that set/tested None via ddt...","commit_id":"4c72cc4272a685a66976df4dca4e2fcf3e0a2b9d"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        else:"},{"line_number":311,"context_line":"            self.mock_object(db, \u0027share_network_get\u0027, mock.Mock("},{"line_number":312,"context_line":"                return_value\u003dshare_network))"},{"line_number":313,"context_line":"            body \u003d {\u0027migration_start\u0027: {"},{"line_number":314,"context_line":"                \u0027host\u0027: \u0027fake_host\u0027,"},{"line_number":315,"context_line":"                \u0027new_share_network_id\u0027: \u0027fake_net_id\u0027,"},{"line_number":316,"context_line":"                }"},{"line_number":317,"context_line":"            }"},{"line_number":318,"context_line":"            method \u003d \u0027migration_start\u0027"},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"        self.mock_object(share_api.API, \u0027migration_start\u0027)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1cad5131","line":317,"range":{"start_line":313,"start_character":19,"end_line":317,"end_character":13},"updated":"2016-08-28 00:40:53.000000000","message":"wrapping","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        else:"},{"line_number":311,"context_line":"            self.mock_object(db, \u0027share_network_get\u0027, mock.Mock("},{"line_number":312,"context_line":"                return_value\u003dshare_network))"},{"line_number":313,"context_line":"            body \u003d {\u0027migration_start\u0027: {"},{"line_number":314,"context_line":"                \u0027host\u0027: \u0027fake_host\u0027,"},{"line_number":315,"context_line":"                \u0027new_share_network_id\u0027: \u0027fake_net_id\u0027,"},{"line_number":316,"context_line":"                }"},{"line_number":317,"context_line":"            }"},{"line_number":318,"context_line":"            method \u003d \u0027migration_start\u0027"},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"        self.mock_object(share_api.API, \u0027migration_start\u0027)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_df103bab","line":317,"range":{"start_line":313,"start_character":19,"end_line":317,"end_character":13},"in_reply_to":"fa7ab95a_1cad5131","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"}],"manila/tests/data/test_helper.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    def test_allow_access_to_data_service(self, allow_dest_instance):"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"        access \u003d db_utils.create_access(share_id\u003dself.share[\u0027id\u0027])"},{"line_number":54,"context_line":"        info_src \u003d {\u0027access_mapping\u0027: {"},{"line_number":55,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":56,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027nfs\u0027],"},{"line_number":57,"context_line":"        }}"},{"line_number":58,"context_line":"        info_dest \u003d {\u0027access_mapping\u0027: {"},{"line_number":59,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027, \u0027cifs\u0027],"},{"line_number":60,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027],"},{"line_number":61,"context_line":"        }}"},{"line_number":62,"context_line":"        if allow_dest_instance:"},{"line_number":63,"context_line":"            mapping \u003d {\u0027ip\u0027: [\u0027nfs\u0027], \u0027user\u0027: [\u0027cifs\u0027]}"},{"line_number":64,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_dc7129e2","line":61,"range":{"start_line":54,"start_character":8,"end_line":61,"end_character":10},"updated":"2016-08-28 00:40:53.000000000","message":"wrapping","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":51,"context_line":"    def test_allow_access_to_data_service(self, allow_dest_instance):"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"        access \u003d db_utils.create_access(share_id\u003dself.share[\u0027id\u0027])"},{"line_number":54,"context_line":"        info_src \u003d {\u0027access_mapping\u0027: {"},{"line_number":55,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027],"},{"line_number":56,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027, \u0027nfs\u0027],"},{"line_number":57,"context_line":"        }}"},{"line_number":58,"context_line":"        info_dest \u003d {\u0027access_mapping\u0027: {"},{"line_number":59,"context_line":"            \u0027ip\u0027: [\u0027nfs\u0027, \u0027cifs\u0027],"},{"line_number":60,"context_line":"            \u0027user\u0027: [\u0027cifs\u0027],"},{"line_number":61,"context_line":"        }}"},{"line_number":62,"context_line":"        if allow_dest_instance:"},{"line_number":63,"context_line":"            mapping \u003d {\u0027ip\u0027: [\u0027nfs\u0027], \u0027user\u0027: [\u0027cifs\u0027]}"},{"line_number":64,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1ff54382","line":61,"range":{"start_line":54,"start_character":8,"end_line":61,"end_character":10},"in_reply_to":"fa7ab95a_dc7129e2","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"}],"manila/tests/data/test_manager.py":[{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ad760cb9f7d3429a5003ad1bdd7d4f3f41cf559c","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        db.share_update.assert_has_calls(update_list)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        helper.DataServiceHelper.allow_access_to_data_service.\\"},{"line_number":225,"context_line":"            assert_called_once_with("},{"line_number":226,"context_line":"                self.share[\u0027instance\u0027], migration_info_src,"},{"line_number":227,"context_line":"                self.share[\u0027instance\u0027], migration_info_dest)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_3e664e51","line":224,"range":{"start_line":224,"start_character":62,"end_line":224,"end_character":63},"updated":"2016-06-13 06:40:33.000000000","message":"Please wrap in () and remove use of \\ for line continuation.","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"200258e8bca6c73a4123b8b155e11e6fcf225145","unresolved":false,"context_lines":[{"line_number":221,"context_line":""},{"line_number":222,"context_line":"        db.share_update.assert_has_calls(update_list)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        helper.DataServiceHelper.allow_access_to_data_service.\\"},{"line_number":225,"context_line":"            assert_called_once_with("},{"line_number":226,"context_line":"                self.share[\u0027instance\u0027], migration_info_src,"},{"line_number":227,"context_line":"                self.share[\u0027instance\u0027], migration_info_dest)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_ece40ee1","line":224,"range":{"start_line":224,"start_character":62,"end_line":224,"end_character":63},"in_reply_to":"7aa08908_3e664e51","updated":"2016-06-13 13:18:53.000000000","message":"Done","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ad760cb9f7d3429a5003ad1bdd7d4f3f41cf559c","unresolved":false,"context_lines":[{"line_number":374,"context_line":"            self.context, self.share[\u0027id\u0027],"},{"line_number":375,"context_line":"            {\u0027task_state\u0027: constants.TASK_STATE_DATA_COPYING_STARTING})"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"        helper.DataServiceHelper.allow_access_to_data_service.\\"},{"line_number":378,"context_line":"            assert_called_once_with("},{"line_number":379,"context_line":"                self.share[\u0027instance\u0027], migration_info_src,"},{"line_number":380,"context_line":"                self.share[\u0027instance\u0027], migration_info_dest)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_fe4846b5","line":377,"range":{"start_line":377,"start_character":62,"end_line":377,"end_character":63},"updated":"2016-06-13 06:40:33.000000000","message":"try to avoid using the \\","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"200258e8bca6c73a4123b8b155e11e6fcf225145","unresolved":false,"context_lines":[{"line_number":374,"context_line":"            self.context, self.share[\u0027id\u0027],"},{"line_number":375,"context_line":"            {\u0027task_state\u0027: constants.TASK_STATE_DATA_COPYING_STARTING})"},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"        helper.DataServiceHelper.allow_access_to_data_service.\\"},{"line_number":378,"context_line":"            assert_called_once_with("},{"line_number":379,"context_line":"                self.share[\u0027instance\u0027], migration_info_src,"},{"line_number":380,"context_line":"                self.share[\u0027instance\u0027], migration_info_dest)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_2cd3b605","line":377,"range":{"start_line":377,"start_character":62,"end_line":377,"end_character":63},"in_reply_to":"7aa08908_fe4846b5","updated":"2016-06-13 13:18:53.000000000","message":"Done","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"ad760cb9f7d3429a5003ad1bdd7d4f3f41cf559c","unresolved":false,"context_lines":[{"line_number":385,"context_line":"            mock.call(migration_info_dest[\u0027mount\u0027], \u0027/tmp/\u0027,"},{"line_number":386,"context_line":"                      self.share[\u0027instance\u0027])])"},{"line_number":387,"context_line":""},{"line_number":388,"context_line":"        helper.DataServiceHelper.cleanup_unmount_temp_folder.\\"},{"line_number":389,"context_line":"            assert_called_once_with("},{"line_number":390,"context_line":"                migration_info_src[\u0027unmount\u0027], \u0027/tmp/\u0027, \u0027ins1_id\u0027)"},{"line_number":391,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_5ec87a22","line":388,"range":{"start_line":388,"start_character":61,"end_line":388,"end_character":62},"updated":"2016-06-13 06:40:33.000000000","message":"try to avoid using the \\","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"200258e8bca6c73a4123b8b155e11e6fcf225145","unresolved":false,"context_lines":[{"line_number":385,"context_line":"            mock.call(migration_info_dest[\u0027mount\u0027], \u0027/tmp/\u0027,"},{"line_number":386,"context_line":"                      self.share[\u0027instance\u0027])])"},{"line_number":387,"context_line":""},{"line_number":388,"context_line":"        helper.DataServiceHelper.cleanup_unmount_temp_folder.\\"},{"line_number":389,"context_line":"            assert_called_once_with("},{"line_number":390,"context_line":"                migration_info_src[\u0027unmount\u0027], \u0027/tmp/\u0027, \u0027ins1_id\u0027)"},{"line_number":391,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_0cd07af5","line":388,"range":{"start_line":388,"start_character":61,"end_line":388,"end_character":62},"in_reply_to":"7aa08908_5ec87a22","updated":"2016-06-13 13:18:53.000000000","message":"Done","commit_id":"5e332967cf26df45a80e24c051d50778a87cfcfa"}],"manila/tests/share/test_driver.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9c4ec194","line":511,"range":{"start_line":508,"start_character":7,"end_line":511,"end_character":54},"updated":"2016-08-28 00:40:53.000000000","message":"wrap","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9f087393","line":511,"range":{"start_line":508,"start_character":7,"end_line":511,"end_character":54},"in_reply_to":"fa7ab95a_9c4ec194","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"},{"line_number":515,"context_line":"                                            \u0027is_admin_only\u0027: admin}]}"},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"        driver.CONF.set_default(\u0027driver_handles_share_servers\u0027, False)"},{"line_number":518,"context_line":"        share_driver \u003d driver.ShareDriver(False)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_3c83f599","line":515,"range":{"start_line":508,"start_character":8,"end_line":515,"end_character":69},"updated":"2016-08-28 00:40:53.000000000","message":"wrapping","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"},{"line_number":515,"context_line":"                                            \u0027is_admin_only\u0027: admin}]}"},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"        driver.CONF.set_default(\u0027driver_handles_share_servers\u0027, False)"},{"line_number":518,"context_line":"        share_driver \u003d driver.ShareDriver(False)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_5c7ef9ae","line":515,"range":{"start_line":508,"start_character":0,"end_line":515,"end_character":69},"updated":"2016-08-28 00:40:53.000000000","message":"wrapping","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"},{"line_number":515,"context_line":"                                            \u0027is_admin_only\u0027: admin}]}"},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"        driver.CONF.set_default(\u0027driver_handles_share_servers\u0027, False)"},{"line_number":518,"context_line":"        share_driver \u003d driver.ShareDriver(False)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7c4bbd87","line":515,"range":{"start_line":508,"start_character":0,"end_line":515,"end_character":69},"updated":"2016-08-28 00:40:53.000000000","message":"wrapping","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"},{"line_number":515,"context_line":"                                            \u0027is_admin_only\u0027: admin}]}"},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"        driver.CONF.set_default(\u0027driver_handles_share_servers\u0027, False)"},{"line_number":518,"context_line":"        share_driver \u003d driver.ShareDriver(False)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bffff765","line":515,"range":{"start_line":508,"start_character":8,"end_line":515,"end_character":69},"in_reply_to":"fa7ab95a_3c83f599","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"},{"line_number":515,"context_line":"                                            \u0027is_admin_only\u0027: admin}]}"},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"        driver.CONF.set_default(\u0027driver_handles_share_servers\u0027, False)"},{"line_number":518,"context_line":"        share_driver \u003d driver.ShareDriver(False)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_df02fb6e","line":515,"range":{"start_line":508,"start_character":0,"end_line":515,"end_character":69},"in_reply_to":"fa7ab95a_5c7ef9ae","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"},{"line_number":515,"context_line":"                                            \u0027is_admin_only\u0027: admin}]}"},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"        driver.CONF.set_default(\u0027driver_handles_share_servers\u0027, False)"},{"line_number":518,"context_line":"        share_driver \u003d driver.ShareDriver(False)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_fff97f81","line":515,"range":{"start_line":508,"start_character":0,"end_line":515,"end_character":69},"in_reply_to":"fa7ab95a_7c4bbd87","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"da50181dd1e0ac39393cc671af0055a41cccde31","unresolved":false,"context_lines":[{"line_number":505,"context_line":"    @ddt.data(True, False)"},{"line_number":506,"context_line":"    def test_connection_get_info(self, admin):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        expected \u003d {\u0027mount\u0027: \u0027mount -vt %(options)s nfs /fake/fake_id\u0027"},{"line_number":509,"context_line":"                             \u0027 %(path)s\u0027,"},{"line_number":510,"context_line":"                    \u0027unmount\u0027: \u0027umount -v %(path)s\u0027,"},{"line_number":511,"context_line":"                    \u0027access_mapping\u0027: {\u0027ip\u0027: [\u0027nfs\u0027]}}"},{"line_number":512,"context_line":"        fake_share \u003d {\u0027id\u0027: \u0027fake_id\u0027,"},{"line_number":513,"context_line":"                      \u0027share_proto\u0027: \u0027nfs\u0027,"},{"line_number":514,"context_line":"                      \u0027export_locations\u0027: [{\u0027path\u0027: \u0027/fake/fake_id\u0027,"},{"line_number":515,"context_line":"                                            \u0027is_admin_only\u0027: admin}]}"},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"        driver.CONF.set_default(\u0027driver_handles_share_servers\u0027, False)"},{"line_number":518,"context_line":"        share_driver \u003d driver.ShareDriver(False)"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_e0cf177d","line":515,"range":{"start_line":508,"start_character":0,"end_line":515,"end_character":69},"in_reply_to":"fa7ab95a_fff97f81","updated":"2016-08-28 14:02:45.000000000","message":"that was gerrit misbehaving :)","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"}],"manila_tempest_tests/config.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"e8f6b600380ac267259953e22fecf4df6b7e7d9f","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                help\u003d\"Defines whether to run replication tests or not. \""},{"line_number":169,"context_line":"                     \"Enable this feature if the driver is configured \""},{"line_number":170,"context_line":"                     \"for replication.\"),"},{"line_number":171,"context_line":"    cfg.BoolOpt(\"run_fallback_migration_tests\","},{"line_number":172,"context_line":"                default\u003dFalse,"},{"line_number":173,"context_line":"                help\u003d\"Enable or disable fallback migration tests.\"),"},{"line_number":174,"context_line":"    cfg.BoolOpt(\"run_optimized_migration_tests\","},{"line_number":175,"context_line":"                default\u003dFalse,"},{"line_number":176,"context_line":"                help\u003d\"Enable or disable optimized migration tests.\"),"}],"source_content_type":"text/x-python","patch_set":30,"id":"9ad45d7e_369cc10e","line":173,"range":{"start_line":171,"start_character":4,"end_line":173,"end_character":68},"updated":"2016-08-10 12:49:02.000000000","message":"You cannot just get and rename config option. It should follow deprecation approach only.","commit_id":"9a1cf207542e57a10402a68b042b10b753923d4c"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"7a7547de9c718d6e0ed8d3ec09239d0a86d48c5a","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                help\u003d\"Defines whether to run replication tests or not. \""},{"line_number":169,"context_line":"                     \"Enable this feature if the driver is configured \""},{"line_number":170,"context_line":"                     \"for replication.\"),"},{"line_number":171,"context_line":"    cfg.BoolOpt(\"run_fallback_migration_tests\","},{"line_number":172,"context_line":"                default\u003dFalse,"},{"line_number":173,"context_line":"                help\u003d\"Enable or disable fallback migration tests.\"),"},{"line_number":174,"context_line":"    cfg.BoolOpt(\"run_optimized_migration_tests\","},{"line_number":175,"context_line":"                default\u003dFalse,"},{"line_number":176,"context_line":"                help\u003d\"Enable or disable optimized migration tests.\"),"}],"source_content_type":"text/x-python","patch_set":30,"id":"9ad45d7e_8fae3096","line":173,"range":{"start_line":171,"start_character":4,"end_line":173,"end_character":68},"in_reply_to":"9ad45d7e_369cc10e","updated":"2016-08-10 13:36:40.000000000","message":"Done","commit_id":"9a1cf207542e57a10402a68b042b10b753923d4c"}],"manila_tempest_tests/services/share/v2/json/shares_client.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":1022,"context_line":"                      preserve_metadata\u003dFalse, nondisruptive\u003dFalse,"},{"line_number":1023,"context_line":"                      version\u003dLATEST_MICROVERSION):"},{"line_number":1024,"context_line":"        action_name \u003d \u0027migration_start\u0027"},{"line_number":1025,"context_line":"        body_content \u003d {"},{"line_number":1026,"context_line":"            \u0027skip_optimized_migration\u0027: skip_optimized_migration,"},{"line_number":1027,"context_line":"            \u0027new_share_network_id\u0027: new_share_network_id,"},{"line_number":1028,"context_line":"            \u0027writable\u0027: writable,"},{"line_number":1029,"context_line":"            \u0027preserve_metadata\u0027: preserve_metadata,"},{"line_number":1030,"context_line":"            \u0027nondisruptive\u0027: nondisruptive,"},{"line_number":1031,"context_line":"        }"},{"line_number":1032,"context_line":""},{"line_number":1033,"context_line":"        post_body \u003d {"},{"line_number":1034,"context_line":"            action_name: {"},{"line_number":1035,"context_line":"                \u0027host\u0027: host,"},{"line_number":1036,"context_line":"            }"},{"line_number":1037,"context_line":"        }"},{"line_number":1038,"context_line":""},{"line_number":1039,"context_line":"        post_body[action_name].update(body_content)"},{"line_number":1040,"context_line":""},{"line_number":1041,"context_line":"        body \u003d json.dumps(post_body)"},{"line_number":1042,"context_line":"        return self.post(\u0027shares/%s/action\u0027 % share_id, body,"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_c629d69c","line":1039,"range":{"start_line":1025,"start_character":8,"end_line":1039,"end_character":51},"updated":"2016-08-30 14:43:25.000000000","message":"combine.. for readability.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"d0b6eaa75cfef0b9b05abb9598fbd9099a9af654","unresolved":false,"context_lines":[{"line_number":1022,"context_line":"                      preserve_metadata\u003dFalse, nondisruptive\u003dFalse,"},{"line_number":1023,"context_line":"                      version\u003dLATEST_MICROVERSION):"},{"line_number":1024,"context_line":"        action_name \u003d \u0027migration_start\u0027"},{"line_number":1025,"context_line":"        body_content \u003d {"},{"line_number":1026,"context_line":"            \u0027skip_optimized_migration\u0027: skip_optimized_migration,"},{"line_number":1027,"context_line":"            \u0027new_share_network_id\u0027: new_share_network_id,"},{"line_number":1028,"context_line":"            \u0027writable\u0027: writable,"},{"line_number":1029,"context_line":"            \u0027preserve_metadata\u0027: preserve_metadata,"},{"line_number":1030,"context_line":"            \u0027nondisruptive\u0027: nondisruptive,"},{"line_number":1031,"context_line":"        }"},{"line_number":1032,"context_line":""},{"line_number":1033,"context_line":"        post_body \u003d {"},{"line_number":1034,"context_line":"            action_name: {"},{"line_number":1035,"context_line":"                \u0027host\u0027: host,"},{"line_number":1036,"context_line":"            }"},{"line_number":1037,"context_line":"        }"},{"line_number":1038,"context_line":""},{"line_number":1039,"context_line":"        post_body[action_name].update(body_content)"},{"line_number":1040,"context_line":""},{"line_number":1041,"context_line":"        body \u003d json.dumps(post_body)"},{"line_number":1042,"context_line":"        return self.post(\u0027shares/%s/action\u0027 % share_id, body,"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_861fc3b5","line":1039,"range":{"start_line":1025,"start_character":8,"end_line":1039,"end_character":51},"in_reply_to":"fa7ab95a_c629d69c","updated":"2016-08-30 16:39:44.000000000","message":"+1, you do not have any conditions here. No need to separate at all.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":1022,"context_line":"                      preserve_metadata\u003dFalse, nondisruptive\u003dFalse,"},{"line_number":1023,"context_line":"                      version\u003dLATEST_MICROVERSION):"},{"line_number":1024,"context_line":"        action_name \u003d \u0027migration_start\u0027"},{"line_number":1025,"context_line":"        body_content \u003d {"},{"line_number":1026,"context_line":"            \u0027skip_optimized_migration\u0027: skip_optimized_migration,"},{"line_number":1027,"context_line":"            \u0027new_share_network_id\u0027: new_share_network_id,"},{"line_number":1028,"context_line":"            \u0027writable\u0027: writable,"},{"line_number":1029,"context_line":"            \u0027preserve_metadata\u0027: preserve_metadata,"},{"line_number":1030,"context_line":"            \u0027nondisruptive\u0027: nondisruptive,"},{"line_number":1031,"context_line":"        }"},{"line_number":1032,"context_line":""},{"line_number":1033,"context_line":"        post_body \u003d {"},{"line_number":1034,"context_line":"            action_name: {"},{"line_number":1035,"context_line":"                \u0027host\u0027: host,"},{"line_number":1036,"context_line":"            }"},{"line_number":1037,"context_line":"        }"},{"line_number":1038,"context_line":""},{"line_number":1039,"context_line":"        post_body[action_name].update(body_content)"},{"line_number":1040,"context_line":""},{"line_number":1041,"context_line":"        body \u003d json.dumps(post_body)"},{"line_number":1042,"context_line":"        return self.post(\u0027shares/%s/action\u0027 % share_id, body,"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_f0304958","line":1039,"range":{"start_line":1025,"start_character":8,"end_line":1039,"end_character":51},"in_reply_to":"fa7ab95a_c629d69c","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila_tempest_tests/tests/api/admin/test_admin_actions.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        super(AdminActionsTest, cls).resource_setup()"},{"line_number":31,"context_line":"        cls.states \u003d [\"error\", \"available\"]"},{"line_number":32,"context_line":"        cls.task_states \u003d [\"migration_starting\", \"data_copying_in_progress\","},{"line_number":33,"context_line":"                           \"migration_success\", None]"},{"line_number":34,"context_line":"        cls.bad_status \u003d \"error_deleting\""},{"line_number":35,"context_line":"        cls.sh \u003d cls.create_share()"},{"line_number":36,"context_line":"        cls.sh_instance \u003d ("}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_c600f604","line":33,"range":{"start_line":33,"start_character":46,"end_line":33,"end_character":52},"updated":"2016-08-30 14:43:25.000000000","message":"This should be microversioned..","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        super(AdminActionsTest, cls).resource_setup()"},{"line_number":31,"context_line":"        cls.states \u003d [\"error\", \"available\"]"},{"line_number":32,"context_line":"        cls.task_states \u003d [\"migration_starting\", \"data_copying_in_progress\","},{"line_number":33,"context_line":"                           \"migration_success\", None]"},{"line_number":34,"context_line":"        cls.bad_status \u003d \"error_deleting\""},{"line_number":35,"context_line":"        cls.sh \u003d cls.create_share()"},{"line_number":36,"context_line":"        cls.sh_instance \u003d ("}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_7000b934","line":33,"range":{"start_line":33,"start_character":46,"end_line":33,"end_character":52},"in_reply_to":"fa7ab95a_c600f604","updated":"2016-08-31 00:47:31.000000000","message":"it is experimental, I am dropping support. See below.","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"}],"manila_tempest_tests/tests/api/admin/test_admin_actions_negative.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":123,"context_line":"                          self.member_client.get_instances_of_share,"},{"line_number":124,"context_line":"                          self.sh[\u0027id\u0027])"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API_WITH_BACKEND])"},{"line_number":127,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"},{"line_number":128,"context_line":"    def test_reset_task_state_empty(self):"},{"line_number":129,"context_line":"        self.assertRaises("},{"line_number":130,"context_line":"            lib_exc.BadRequest, self.admin_client.reset_task_state,"},{"line_number":131,"context_line":"            self.sh[\u0027id\u0027], None)"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API_WITH_BACKEND])"},{"line_number":134,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_2df04390","side":"PARENT","line":131,"range":{"start_line":126,"start_character":0,"end_line":131,"end_character":32},"updated":"2016-08-20 05:13:18.000000000","message":"unmicroversioned change?","commit_id":"658c51c7bd2558363b756eff405df3a23134fb36"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":123,"context_line":"                          self.member_client.get_instances_of_share,"},{"line_number":124,"context_line":"                          self.sh[\u0027id\u0027])"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API_WITH_BACKEND])"},{"line_number":127,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"},{"line_number":128,"context_line":"    def test_reset_task_state_empty(self):"},{"line_number":129,"context_line":"        self.assertRaises("},{"line_number":130,"context_line":"            lib_exc.BadRequest, self.admin_client.reset_task_state,"},{"line_number":131,"context_line":"            self.sh[\u0027id\u0027], None)"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API_WITH_BACKEND])"},{"line_number":134,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_17061fce","side":"PARENT","line":131,"range":{"start_line":126,"start_character":0,"end_line":131,"end_character":32},"in_reply_to":"1ac06dbe_2df04390","updated":"2016-08-21 15:36:01.000000000","message":"it is experimental. According to Ben it does not need to be microversioned within experimental microversions.","commit_id":"658c51c7bd2558363b756eff405df3a23134fb36"}],"manila_tempest_tests/tests/api/admin/test_migration.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":54,"context_line":"            message \u003d \"%s tests are disabled\" % cls.protocol"},{"line_number":55,"context_line":"            raise cls.skipException(message)"},{"line_number":56,"context_line":"        if len(CONF.share.backend_names) \u003c 2:"},{"line_number":57,"context_line":"            raise cls.skipException(\"For running migration tests it is \""},{"line_number":58,"context_line":"                                    \"required two backend names in config.\")"},{"line_number":59,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":60,"context_line":"                CONF.share.run_optimized_migration_tests):"},{"line_number":61,"context_line":"            raise cls.skipException(\"Share migration tests disabled.\")"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_ad9ef353","line":58,"range":{"start_line":57,"start_character":0,"end_line":58,"end_character":76},"updated":"2016-08-20 05:13:18.000000000","message":"You should be able to migrate within host across two different pools..","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":54,"context_line":"            message \u003d \"%s tests are disabled\" % cls.protocol"},{"line_number":55,"context_line":"            raise cls.skipException(message)"},{"line_number":56,"context_line":"        if len(CONF.share.backend_names) \u003c 2:"},{"line_number":57,"context_line":"            raise cls.skipException(\"For running migration tests it is \""},{"line_number":58,"context_line":"                                    \"required two backend names in config.\")"},{"line_number":59,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":60,"context_line":"                CONF.share.run_optimized_migration_tests):"},{"line_number":61,"context_line":"            raise cls.skipException(\"Share migration tests disabled.\")"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_57109701","line":58,"range":{"start_line":57,"start_character":0,"end_line":58,"end_character":76},"in_reply_to":"1ac06dbe_ad9ef353","updated":"2016-08-21 15:36:01.000000000","message":"This is in fact a workaround to have a mechanism to choose backends to use within tempest. On dummy driver which has 4 backends enabled at the same time with different DHSS modes, tempest does not know which one to choose, while an admin would.","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":58,"context_line":"                                    \"required two backend names in config.\")"},{"line_number":59,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":60,"context_line":"                CONF.share.run_optimized_migration_tests):"},{"line_number":61,"context_line":"            raise cls.skipException(\"Share migration tests disabled.\")"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"    @test.attr(type\u003d[base.TAG_POSITIVE, base.TAG_BACKEND])"},{"line_number":64,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_6d94fb36","line":61,"range":{"start_line":61,"start_character":58,"end_line":61,"end_character":59},"updated":"2016-08-20 05:13:18.000000000","message":"are","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":58,"context_line":"                                    \"required two backend names in config.\")"},{"line_number":59,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":60,"context_line":"                CONF.share.run_optimized_migration_tests):"},{"line_number":61,"context_line":"            raise cls.skipException(\"Share migration tests disabled.\")"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"    @test.attr(type\u003d[base.TAG_POSITIVE, base.TAG_BACKEND])"},{"line_number":64,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_97fa0fbc","line":61,"range":{"start_line":61,"start_character":58,"end_line":61,"end_character":59},"in_reply_to":"1ac06dbe_6d94fb36","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                       if x[\u0027is_admin_only\u0027] is False]"},{"line_number":77,"context_line":"        self.assertNotEmpty(old_exports)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        status \u003d (\u0027data_copying_completed\u0027 if skip_optimized else"},{"line_number":80,"context_line":"                  \u0027migration_driver_phase1_done\u0027)"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        old_share_network_id \u003d share[\u0027share_network_id\u0027]"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_2dab2376","line":79,"range":{"start_line":79,"start_character":19,"end_line":79,"end_character":41},"updated":"2016-08-20 05:13:18.000000000","message":"this","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                       if x[\u0027is_admin_only\u0027] is False]"},{"line_number":77,"context_line":"        self.assertNotEmpty(old_exports)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        status \u003d (\u0027data_copying_completed\u0027 if skip_optimized else"},{"line_number":80,"context_line":"                  \u0027migration_driver_phase1_done\u0027)"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        old_share_network_id \u003d share[\u0027share_network_id\u0027]"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_f72f033c","line":79,"range":{"start_line":79,"start_character":19,"end_line":79,"end_character":41},"in_reply_to":"1ac06dbe_2dab2376","updated":"2016-08-21 15:36:01.000000000","message":"good now we have constants file in tempest plugin","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        self.assertNotEmpty(old_exports)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        status \u003d (\u0027data_copying_completed\u0027 if skip_optimized else"},{"line_number":80,"context_line":"                  \u0027migration_driver_phase1_done\u0027)"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        old_share_network_id \u003d share[\u0027share_network_id\u0027]"},{"line_number":83,"context_line":"        new_share_network_id \u003d self._create_secondary_share_network("}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_6dbb5bc5","line":80,"range":{"start_line":80,"start_character":19,"end_line":80,"end_character":47},"updated":"2016-08-20 05:13:18.000000000","message":"and this belong in the constants file","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":77,"context_line":"        self.assertNotEmpty(old_exports)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        status \u003d (\u0027data_copying_completed\u0027 if skip_optimized else"},{"line_number":80,"context_line":"                  \u0027migration_driver_phase1_done\u0027)"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        old_share_network_id \u003d share[\u0027share_network_id\u0027]"},{"line_number":83,"context_line":"        new_share_network_id \u003d self._create_secondary_share_network("}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_5727f763","line":80,"range":{"start_line":80,"start_character":19,"end_line":80,"end_character":47},"in_reply_to":"1ac06dbe_6dbb5bc5","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"        share \u003d self.migrate_share("},{"line_number":87,"context_line":"            share[\u0027id\u0027], dest_pool, skip_optimized_migration\u003dskip_optimized,"},{"line_number":88,"context_line":"            wait_for_status\u003dstatus, new_share_network_id\u003dnew_share_network_id)"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        self._validate_migration_successful("},{"line_number":91,"context_line":"            dest_pool, share, complete\u003dFalse,"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_8d04d77e","line":88,"range":{"start_line":88,"start_character":36,"end_line":88,"end_character":77},"updated":"2016-08-20 05:13:18.000000000","message":"what bout the test case where you don\u0027t want to change the share network..","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        # Share migrated"},{"line_number":150,"context_line":"        if complete:"},{"line_number":151,"context_line":"            self.assertEqual(dest_pool, share[\u0027host\u0027])"},{"line_number":152,"context_line":"            self.assertEqual(\u0027migration_success\u0027, share[\u0027task_state\u0027])"},{"line_number":153,"context_line":"            self.shares_v2_client.delete_share(share[\u0027id\u0027])"},{"line_number":154,"context_line":"            self.shares_v2_client.wait_for_resource_deletion("},{"line_number":155,"context_line":"                share_id\u003dshare[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_adb553ce","line":152,"range":{"start_line":152,"start_character":29,"end_line":152,"end_character":48},"updated":"2016-08-20 05:13:18.000000000","message":"move to constants file","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        # Share migrated"},{"line_number":150,"context_line":"        if complete:"},{"line_number":151,"context_line":"            self.assertEqual(dest_pool, share[\u0027host\u0027])"},{"line_number":152,"context_line":"            self.assertEqual(\u0027migration_success\u0027, share[\u0027task_state\u0027])"},{"line_number":153,"context_line":"            self.shares_v2_client.delete_share(share[\u0027id\u0027])"},{"line_number":154,"context_line":"            self.shares_v2_client.wait_for_resource_deletion("},{"line_number":155,"context_line":"                share_id\u003dshare[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_77e31306","line":152,"range":{"start_line":152,"start_character":29,"end_line":152,"end_character":48},"in_reply_to":"1ac06dbe_adb553ce","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":157,"context_line":"        else:"},{"line_number":158,"context_line":"            self.assertNotEqual(dest_pool, share[\u0027host\u0027])"},{"line_number":159,"context_line":"            self.assertIn(share[\u0027task_state\u0027],"},{"line_number":160,"context_line":"                          (\u0027data_copying_completed\u0027,"},{"line_number":161,"context_line":"                           \u0027migration_driver_phase1_done\u0027))"},{"line_number":162,"context_line":"        if share_network_id:"},{"line_number":163,"context_line":"            self.assertEqual(share_network_id, share[\u0027share_network_id\u0027])"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_0dcbc754","line":161,"range":{"start_line":160,"start_character":27,"end_line":161,"end_character":58},"updated":"2016-08-20 05:13:18.000000000","message":"same","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":157,"context_line":"        else:"},{"line_number":158,"context_line":"            self.assertNotEqual(dest_pool, share[\u0027host\u0027])"},{"line_number":159,"context_line":"            self.assertIn(share[\u0027task_state\u0027],"},{"line_number":160,"context_line":"                          (\u0027data_copying_completed\u0027,"},{"line_number":161,"context_line":"                           \u0027migration_driver_phase1_done\u0027))"},{"line_number":162,"context_line":"        if share_network_id:"},{"line_number":163,"context_line":"            self.assertEqual(share_network_id, share[\u0027share_network_id\u0027])"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_d7f2c7d1","line":161,"range":{"start_line":160,"start_character":27,"end_line":161,"end_character":58},"in_reply_to":"1ac06dbe_0dcbc754","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        if skip_optimized:"},{"line_number":168,"context_line":"            if not CONF.share.run_fallback_migration_tests:"},{"line_number":169,"context_line":"                raise self.skipException("},{"line_number":170,"context_line":"                    \"Fallback migration tests disabled. Skipping.\")"},{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_4dc5bf3a","line":170,"range":{"start_line":170,"start_character":45,"end_line":170,"end_character":65},"updated":"2016-08-20 05:13:18.000000000","message":"are disabled. \"SKIPPED:\" is added at the beginning of the message.","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        if skip_optimized:"},{"line_number":168,"context_line":"            if not CONF.share.run_fallback_migration_tests:"},{"line_number":169,"context_line":"                raise self.skipException("},{"line_number":170,"context_line":"                    \"Fallback migration tests disabled. Skipping.\")"},{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_f7bd43d8","line":170,"range":{"start_line":170,"start_character":45,"end_line":170,"end_character":65},"in_reply_to":"1ac06dbe_4dc5bf3a","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("},{"line_number":174,"context_line":"                    \"Optimized migration tests disabled. Skipping.\")"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    def _create_secondary_share_network(self, old_share_network_id):"},{"line_number":177,"context_line":"        if (utils.is_microversion_ge("}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_2dc20334","line":174,"range":{"start_line":174,"start_character":47,"end_line":174,"end_character":66},"updated":"2016-08-20 05:13:18.000000000","message":"same","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("},{"line_number":174,"context_line":"                    \"Optimized migration tests disabled. Skipping.\")"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    def _create_secondary_share_network(self, old_share_network_id):"},{"line_number":177,"context_line":"        if (utils.is_microversion_ge("}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_57b537ec","line":174,"range":{"start_line":174,"start_character":47,"end_line":174,"end_character":66},"in_reply_to":"1ac06dbe_2dc20334","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":28,"context_line":"class MigrationNFSTest(base.BaseSharesAdminTest):"},{"line_number":29,"context_line":"    \"\"\"Tests Share Migration for NFS shares."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    Tests migration of NFS shares in multi-backend environment."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    This class covers:"},{"line_number":34,"context_line":"    1) Optimized migration: skip_optimized_migration, nondisruptive, writable"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_fc26edcc","line":31,"range":{"start_line":31,"start_character":34,"end_line":31,"end_character":63},"updated":"2016-08-28 00:40:53.000000000","message":"multi-pool/multi-backend","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":28,"context_line":"class MigrationNFSTest(base.BaseSharesAdminTest):"},{"line_number":29,"context_line":"    \"\"\"Tests Share Migration for NFS shares."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    Tests migration of NFS shares in multi-backend environment."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    This class covers:"},{"line_number":34,"context_line":"    1) Optimized migration: skip_optimized_migration, nondisruptive, writable"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_1f1d430f","line":31,"range":{"start_line":31,"start_character":34,"end_line":31,"end_character":63},"in_reply_to":"fa7ab95a_fc26edcc","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @test.attr(type\u003d[base.TAG_POSITIVE, base.TAG_BACKEND])"},{"line_number":63,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"},{"line_number":64,"context_line":"    @ddt.data(True, False)"},{"line_number":65,"context_line":"    def test_migration_2phase_empty(self, skip_optimized):"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        self._check_migration_enabled(skip_optimized)"},{"line_number":68,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7c19fd87","line":65,"range":{"start_line":65,"start_character":29,"end_line":65,"end_character":35},"updated":"2016-08-28 00:40:53.000000000","message":"can remove..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    @test.attr(type\u003d[base.TAG_POSITIVE, base.TAG_BACKEND])"},{"line_number":63,"context_line":"    @base.skip_if_microversion_lt(\"2.15\")"},{"line_number":64,"context_line":"    @ddt.data(True, False)"},{"line_number":65,"context_line":"    def test_migration_2phase_empty(self, skip_optimized):"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        self._check_migration_enabled(skip_optimized)"},{"line_number":68,"context_line":""}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_3f1cc711","line":65,"range":{"start_line":65,"start_character":29,"end_line":65,"end_character":35},"in_reply_to":"fa7ab95a_7c19fd87","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                       if x[\u0027is_admin_only\u0027] is False]"},{"line_number":76,"context_line":"        self.assertNotEmpty(old_exports)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        status \u003d (constants.TASK_STATE_DATA_COPYING_COMPLETED if skip_optimized"},{"line_number":79,"context_line":"                  else constants.TASK_STATE_MIGRATION_DRIVER_PHASE1_DONE)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        old_share_network_id \u003d share[\u0027share_network_id\u0027]"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_5f5fcb0d","line":78,"range":{"start_line":78,"start_character":8,"end_line":78,"end_character":14},"updated":"2016-08-28 00:40:53.000000000","message":"task_state","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                       if x[\u0027is_admin_only\u0027] is False]"},{"line_number":76,"context_line":"        self.assertNotEmpty(old_exports)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        status \u003d (constants.TASK_STATE_DATA_COPYING_COMPLETED if skip_optimized"},{"line_number":79,"context_line":"                  else constants.TASK_STATE_MIGRATION_DRIVER_PHASE1_DONE)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        old_share_network_id \u003d share[\u0027share_network_id\u0027]"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7fd48f1f","line":78,"range":{"start_line":78,"start_character":8,"end_line":78,"end_character":14},"in_reply_to":"fa7ab95a_5f5fcb0d","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        share \u003d self.migrate_share("},{"line_number":86,"context_line":"            share[\u0027id\u0027], dest_pool, skip_optimized_migration\u003dskip_optimized,"},{"line_number":87,"context_line":"            wait_for_status\u003dstatus, new_share_network_id\u003dnew_share_network_id)"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        self._validate_migration_successful("},{"line_number":90,"context_line":"            dest_pool, share, complete\u003dFalse,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7f4e4f70","line":87,"range":{"start_line":87,"start_character":36,"end_line":87,"end_character":77},"updated":"2016-08-28 00:40:53.000000000","message":"Nice.. so if this is None, you can effectively go from a DHSS\u003dTrue backend to a DHSS\u003dFalse backend? I presume not, currently..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":84,"context_line":""},{"line_number":85,"context_line":"        share \u003d self.migrate_share("},{"line_number":86,"context_line":"            share[\u0027id\u0027], dest_pool, skip_optimized_migration\u003dskip_optimized,"},{"line_number":87,"context_line":"            wait_for_status\u003dstatus, new_share_network_id\u003dnew_share_network_id)"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"        self._validate_migration_successful("},{"line_number":90,"context_line":"            dest_pool, share, complete\u003dFalse,"}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9fd79322","line":87,"range":{"start_line":87,"start_character":36,"end_line":87,"end_character":77},"in_reply_to":"fa7ab95a_7f4e4f70","updated":"2016-08-28 03:16:23.000000000","message":"Yes, in the \"share type patch\" which depends on this one.","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        self._validate_migration_successful("},{"line_number":90,"context_line":"            dest_pool, share, complete\u003dFalse,"},{"line_number":91,"context_line":"            share_network_id\u003dold_share_network_id)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        share \u003d self.migration_complete(share[\u0027id\u0027], dest_pool)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        self._validate_migration_successful("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bf58d733","line":92,"range":{"start_line":92,"start_character":0,"end_line":92,"end_character":0},"updated":"2016-08-28 00:40:53.000000000","message":"call/test migration_get_progress here..","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"da50181dd1e0ac39393cc671af0055a41cccde31","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        self._validate_migration_successful("},{"line_number":90,"context_line":"            dest_pool, share, complete\u003dFalse,"},{"line_number":91,"context_line":"            share_network_id\u003dold_share_network_id)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        share \u003d self.migration_complete(share[\u0027id\u0027], dest_pool)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        self._validate_migration_successful("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_c002136f","line":92,"range":{"start_line":92,"start_character":0,"end_line":92,"end_character":0},"in_reply_to":"fa7ab95a_7fde4f12","updated":"2016-08-28 14:02:45.000000000","message":"Why revert? I thought we thought this through.. \n\n\u003e For driver-assisted, the driver may return anything, or even crash, being inconsistent. \n\nThis is on the drivers. You should clarify in the docstring that this call will be made when task_state suggests Phase 1 complete. \n\n\u003e If we forcefully return {\u0027total_progress\u0027: 100} whenever the task_state is DATA_COPYING_COMPLETE OR MIGRATION_DRIVER_PHASE1_DONE we may not be able to guarantee correct information and we would have somewhat of a race condition for when the user can invoke migration-complete. \n\nMigration progress is an indicator of how long migration has been running or how much is left to be completed. Ofcourse you are going to disallow \u0027migration-complete\u0027 to be called until you set the task_state to  DATA_COPYING_COMPLETE OR MIGRATION_DRIVER_PHASE1_DONE. So, i don\u0027t see any problem with fudging the value for the data copy operation. \n\nWhat race condition can occur if your API works only with the state change? It isn\u0027t weird if the total progress is 100%; that happens all the time with other applications.. the cleanup after data copy must be real quick; \n\nI think the administrator will gain by having this API always work; even in case of migration complete.. maybe the API should also return the task state.. it would be nice to see:\n\nmigration_start\nmigration_get_progress:\n  {\n    \u0027total_progress\u0027: \u002725%\u0027,\n    \u0027task_state\u0027: \u0027migration_driver_in_progress\u0027,\n  }\n\nmigration_get_progress:\n{\n    \u0027total_progress\u0027: \u0027100%\u0027,\n    \u0027task_state\u0027: \u0027migration_driver_in_progress\u0027,\n}\n\nmigration_get_progress:\n{\n    \u0027total_progress\u0027: \u0027100%\u0027,\n    \u0027task_state\u0027: \u0027migration_driver_phase1_done\u0027,\n}\n\nmigration_complete\n\nmigration_get_progress:\n{\n    \u0027total_progress\u0027: \u0027100%\u0027,\n    \u0027task_state\u0027: \u0027migration_driver_phase2_completing\u0027,\n}\n\nmigration_get_progress:\n{\n    \u0027total_progress\u0027: \u0027100%\u0027,\n    \u0027task_state\u0027: \u0027migration_driver_phase2_completing\u0027,\n}\n\nmigration_get_progress:\nNo Migration is currently in progress","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        self._validate_migration_successful("},{"line_number":90,"context_line":"            dest_pool, share, complete\u003dFalse,"},{"line_number":91,"context_line":"            share_network_id\u003dold_share_network_id)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"        share \u003d self.migration_complete(share[\u0027id\u0027], dest_pool)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        self._validate_migration_successful("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_7fde4f12","line":92,"range":{"start_line":92,"start_character":0,"end_line":92,"end_character":0},"in_reply_to":"fa7ab95a_bf58d733","updated":"2016-08-28 03:16:23.000000000","message":"The above call is synchronous, it will only return when 1st phase is done (for both driver-assisted and fallback). If migration_get_progress is called here, it would return:\n\n\"ERROR: Invalid share: Migration progress of share 12cf4725-c83a-4860-ad1e-1cc660fa5e6c cannot be obtained at this moment.\"\n\nI am reverting the task_state condition to prevent invoking migration_get_progress when task_state is MIGRATION_DRIVER_PHASE1_DONE for the following reasons:\n\n1) we want consistent APIs, so the API response should be the same at this stage (where share is ready for the user to invoke migration-complete) for both the driver-assisted and fallback. For driver-assisted, the driver may return anything, or even crash, being inconsistent. For fallback, we do not have the Jobs Table yet to save the migration there, so at this moment, the job has to be running in the data service to have its progress obtained.\n\n2) If we forcefully return {\u0027total_progress\u0027: 100} whenever the task_state is DATA_COPYING_COMPLETE OR MIGRATION_DRIVER_PHASE1_DONE we may not be able to guarantee correct information and we would have somewhat of a race condition for when the user can invoke migration-complete. The user can only invoke migration-complete when the task_state allows so, but there is a certain amount of time when migration is just about done copying, returning {\u0027total_progress\u0027: 100} but it still has to unmount the share and remove the data service access rule, and it sets the correct TASK_STATE only after those are completed. In that case, the user would most likely find it weird that progress is 100% but he cannot invoke migration-complete yet.","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        if skip_optimized:"},{"line_number":168,"context_line":"            if not CONF.share.run_fallback_migration_tests:"},{"line_number":169,"context_line":"                raise self.skipException("},{"line_number":170,"context_line":"                    \"Fallback migration tests disabled.\")"},{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9c1c0179","line":170,"range":{"start_line":170,"start_character":45,"end_line":170,"end_character":46},"updated":"2016-08-28 00:40:53.000000000","message":"are","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":167,"context_line":"        if skip_optimized:"},{"line_number":168,"context_line":"            if not CONF.share.run_fallback_migration_tests:"},{"line_number":169,"context_line":"                raise self.skipException("},{"line_number":170,"context_line":"                    \"Fallback migration tests disabled.\")"},{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_9fe153d3","line":170,"range":{"start_line":170,"start_character":45,"end_line":170,"end_character":46},"in_reply_to":"fa7ab95a_9c1c0179","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("},{"line_number":174,"context_line":"                    \"Optimized migration tests disabled.\")"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    def _create_secondary_share_network(self, old_share_network_id):"},{"line_number":177,"context_line":"        if (utils.is_microversion_ge("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bc138565","line":174,"range":{"start_line":174,"start_character":46,"end_line":174,"end_character":47},"updated":"2016-08-28 00:40:53.000000000","message":"are","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        else:"},{"line_number":172,"context_line":"            if not CONF.share.run_optimized_migration_tests:"},{"line_number":173,"context_line":"                raise self.skipException("},{"line_number":174,"context_line":"                    \"Optimized migration tests disabled.\")"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    def _create_secondary_share_network(self, old_share_network_id):"},{"line_number":177,"context_line":"        if (utils.is_microversion_ge("}],"source_content_type":"text/x-python","patch_set":43,"id":"fa7ab95a_bfe8d7b5","line":174,"range":{"start_line":174,"start_character":46,"end_line":174,"end_character":47},"in_reply_to":"fa7ab95a_bc138565","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"}],"manila_tempest_tests/tests/api/admin/test_migration_negative.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    def resource_setup(cls):"},{"line_number":37,"context_line":"        super(MigrationTest, cls).resource_setup()"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"        if len(CONF.share.backend_names) \u003c 2:"},{"line_number":40,"context_line":"            raise cls.skipException(\"For running migration tests it is \""},{"line_number":41,"context_line":"                                    \"required two backend names in config.\")"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":44,"context_line":"                CONF.share.run_optimized_migration_tests):"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_2dc68367","line":41,"range":{"start_line":39,"start_character":0,"end_line":41,"end_character":76},"updated":"2016-08-20 05:13:18.000000000","message":"Why is this skip necessary? You should be able to migrate from one pool to another pool on the same backend using migration...","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    def resource_setup(cls):"},{"line_number":37,"context_line":"        super(MigrationTest, cls).resource_setup()"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"        if len(CONF.share.backend_names) \u003c 2:"},{"line_number":40,"context_line":"            raise cls.skipException(\"For running migration tests it is \""},{"line_number":41,"context_line":"                                    \"required two backend names in config.\")"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":44,"context_line":"                CONF.share.run_optimized_migration_tests):"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_37b87be5","line":41,"range":{"start_line":39,"start_character":0,"end_line":41,"end_character":76},"in_reply_to":"1ac06dbe_2dc68367","updated":"2016-08-21 15:36:01.000000000","message":"See comment in test_migration.py","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":44,"context_line":"                CONF.share.run_optimized_migration_tests):"},{"line_number":45,"context_line":"            raise cls.skipException(\"Share migration tests disabled.\")"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        pools \u003d cls.shares_client.list_pools()[\u0027pools\u0027]"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_adb9d3eb","line":45,"range":{"start_line":45,"start_character":58,"end_line":45,"end_character":59},"updated":"2016-08-20 05:13:18.000000000","message":"are","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"        if not (CONF.share.run_fallback_migration_tests or"},{"line_number":44,"context_line":"                CONF.share.run_optimized_migration_tests):"},{"line_number":45,"context_line":"            raise cls.skipException(\"Share migration tests disabled.\")"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        pools \u003d cls.shares_client.list_pools()[\u0027pools\u0027]"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_77caf36f","line":45,"range":{"start_line":45,"start_character":58,"end_line":45,"end_character":59},"in_reply_to":"1ac06dbe_adb9d3eb","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":149,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share, True,"},{"line_number":150,"context_line":"            \u0027invalid_share_id\u0027, self.dest_pool)"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API_WITH_BACKEND])"},{"line_number":153,"context_line":"    @base.skip_if_microversion_lt(\"2.5\")"},{"line_number":154,"context_line":"    def test_migrate_share_not_available(self):"},{"line_number":155,"context_line":"        self.shares_client.reset_state(self.share[\u0027id\u0027], \u0027error\u0027)"},{"line_number":156,"context_line":"        self.shares_client.wait_for_share_status(self.share[\u0027id\u0027], \u0027error\u0027)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_cd824f00","line":153,"range":{"start_line":152,"start_character":0,"end_line":153,"end_character":40},"updated":"2016-08-20 05:13:18.000000000","message":"You\u0027re changing this test\u0027s microversion... maybe add @ddt.data(\u00272.5\u0027, CONF.share.max_api_microversion)","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":149,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share, True,"},{"line_number":150,"context_line":"            \u0027invalid_share_id\u0027, self.dest_pool)"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API_WITH_BACKEND])"},{"line_number":153,"context_line":"    @base.skip_if_microversion_lt(\"2.5\")"},{"line_number":154,"context_line":"    def test_migrate_share_not_available(self):"},{"line_number":155,"context_line":"        self.shares_client.reset_state(self.share[\u0027id\u0027], \u0027error\u0027)"},{"line_number":156,"context_line":"        self.shares_client.wait_for_share_status(self.share[\u0027id\u0027], \u0027error\u0027)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_17a29fae","line":153,"range":{"start_line":152,"start_character":0,"end_line":153,"end_character":40},"in_reply_to":"1ac06dbe_cd824f00","updated":"2016-08-21 15:36:01.000000000","message":"it is experimental. According to Ben it does not need to be microversioned within experimental microversions.","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":156,"context_line":"        self.shares_client.wait_for_share_status(self.share[\u0027id\u0027], \u0027error\u0027)"},{"line_number":157,"context_line":"        self.assertRaises("},{"line_number":158,"context_line":"            lib_exc.BadRequest, self.shares_v2_client.migrate_share,"},{"line_number":159,"context_line":"            self.share[\u0027id\u0027], self.dest_pool, True)"},{"line_number":160,"context_line":"        self.shares_client.reset_state(self.share[\u0027id\u0027], \u0027available\u0027)"},{"line_number":161,"context_line":"        self.shares_client.wait_for_share_status(self.share[\u0027id\u0027], \u0027available\u0027)"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_ad87130e","line":159,"range":{"start_line":159,"start_character":50,"end_line":159,"end_character":51},"updated":"2016-08-20 05:13:18.000000000","message":"and pass version here..","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":156,"context_line":"        self.shares_client.wait_for_share_status(self.share[\u0027id\u0027], \u0027error\u0027)"},{"line_number":157,"context_line":"        self.assertRaises("},{"line_number":158,"context_line":"            lib_exc.BadRequest, self.shares_v2_client.migrate_share,"},{"line_number":159,"context_line":"            self.share[\u0027id\u0027], self.dest_pool, True)"},{"line_number":160,"context_line":"        self.shares_client.reset_state(self.share[\u0027id\u0027], \u0027available\u0027)"},{"line_number":161,"context_line":"        self.shares_client.wait_for_share_status(self.share[\u0027id\u0027], \u0027available\u0027)"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_f7a423ba","line":159,"range":{"start_line":159,"start_character":50,"end_line":159,"end_character":51},"in_reply_to":"1ac06dbe_ad87130e","updated":"2016-08-21 15:36:01.000000000","message":"This test behavior hans\u0027t changed since microversions.","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":166,"context_line":"        self.assertRaises("},{"line_number":167,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share,"},{"line_number":168,"context_line":"            self.share[\u0027id\u0027], self.dest_pool, True,"},{"line_number":169,"context_line":"            new_share_network_id\u003d\u0027invalid_net_id\u0027)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_4d777f3a","line":169,"range":{"start_line":169,"start_character":0,"end_line":169,"end_character":50},"updated":"2016-08-20 05:13:18.000000000","message":"What about specifying a backend that manila doesn\u0027t know about?","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":166,"context_line":"        self.assertRaises("},{"line_number":167,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share,"},{"line_number":168,"context_line":"            self.share[\u0027id\u0027], self.dest_pool, True,"},{"line_number":169,"context_line":"            new_share_network_id\u003d\u0027invalid_net_id\u0027)"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_d7a007a2","line":169,"range":{"start_line":169,"start_character":0,"end_line":169,"end_character":50},"in_reply_to":"1ac06dbe_4d777f3a","updated":"2016-08-21 15:36:01.000000000","message":"See test in line 130","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        self.assertRaises("},{"line_number":172,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share,"},{"line_number":173,"context_line":"            self.share[\u0027id\u0027], self.dest_pool,"},{"line_number":174,"context_line":"            new_share_network_id\u003d\u0027invalid_net_id\u0027)"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_e9eb0d11","line":174,"range":{"start_line":174,"start_character":0,"end_line":174,"end_character":50},"updated":"2016-08-30 14:43:25.000000000","message":"Need microversion tests for versions \u003c\u003d2.21 ; setting the keys you allow only in 2.22","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":171,"context_line":"        self.assertRaises("},{"line_number":172,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share,"},{"line_number":173,"context_line":"            self.share[\u0027id\u0027], self.dest_pool,"},{"line_number":174,"context_line":"            new_share_network_id\u003d\u0027invalid_net_id\u0027)"}],"source_content_type":"text/x-python","patch_set":50,"id":"fa7ab95a_2824efc4","line":174,"range":{"start_line":174,"start_character":0,"end_line":174,"end_character":50},"in_reply_to":"fa7ab95a_e9eb0d11","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"cfdf3a391ca461dab3b064ac1fe1987ced8cc226","unresolved":false,"context_lines":[{"line_number":173,"context_line":"            self.share[\u0027id\u0027], self.dest_pool,"},{"line_number":174,"context_line":"            new_share_network_id\u003d\u0027invalid_net_id\u0027)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API])"},{"line_number":177,"context_line":"    def test_migrate_share_invalid_microversion(self):"},{"line_number":178,"context_line":"        self.assertRaises("},{"line_number":179,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share,"},{"line_number":180,"context_line":"            self.share[\u0027id\u0027], self.dest_pool, version\u003d\u00272.21\u0027)"}],"source_content_type":"text/x-python","patch_set":56,"id":"fa7ab95a_64a522b4","line":180,"range":{"start_line":176,"start_character":4,"end_line":180,"end_character":61},"updated":"2016-08-31 12:08:01.000000000","message":"This test should be in separate class to be true \"API\" only. Right now run of only this single test will trigger creation of share from \"setup_resources\" method.","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"844d85b8b56baf8c02308698bc22b162ae0336b3","unresolved":false,"context_lines":[{"line_number":173,"context_line":"            self.share[\u0027id\u0027], self.dest_pool,"},{"line_number":174,"context_line":"            new_share_network_id\u003d\u0027invalid_net_id\u0027)"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"    @test.attr(type\u003d[base.TAG_NEGATIVE, base.TAG_API])"},{"line_number":177,"context_line":"    def test_migrate_share_invalid_microversion(self):"},{"line_number":178,"context_line":"        self.assertRaises("},{"line_number":179,"context_line":"            lib_exc.NotFound, self.shares_v2_client.migrate_share,"},{"line_number":180,"context_line":"            self.share[\u0027id\u0027], self.dest_pool, version\u003d\u00272.21\u0027)"}],"source_content_type":"text/x-python","patch_set":56,"id":"fa7ab95a_730966dd","line":180,"range":{"start_line":176,"start_character":4,"end_line":180,"end_character":61},"in_reply_to":"fa7ab95a_64a522b4","updated":"2016-08-31 13:15:21.000000000","message":"oh right, forgot about the share resource.","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"}],"manila_tempest_tests/tests/scenario/manager_share.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":206,"context_line":"        client \u003d client or self.shares_admin_v2_client"},{"line_number":207,"context_line":"        client.migration_complete(share_id, **kwargs)"},{"line_number":208,"context_line":"        share \u003d client.wait_for_migration_status("},{"line_number":209,"context_line":"            share_id, dest_host, \u0027migration_success\u0027, **kwargs)"},{"line_number":210,"context_line":"        return share"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"    def _create_share_type(self, name, is_public\u003dTrue, **kwargs):"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_6d319ba2","line":209,"range":{"start_line":209,"start_character":33,"end_line":209,"end_character":52},"updated":"2016-08-20 05:13:18.000000000","message":"belongs in constants file..","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":206,"context_line":"        client \u003d client or self.shares_admin_v2_client"},{"line_number":207,"context_line":"        client.migration_complete(share_id, **kwargs)"},{"line_number":208,"context_line":"        share \u003d client.wait_for_migration_status("},{"line_number":209,"context_line":"            share_id, dest_host, \u0027migration_success\u0027, **kwargs)"},{"line_number":210,"context_line":"        return share"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"    def _create_share_type(self, name, is_public\u003dTrue, **kwargs):"}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_b773cb14","line":209,"range":{"start_line":209,"start_character":33,"end_line":209,"end_character":52},"in_reply_to":"1ac06dbe_6d319ba2","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"}],"manila_tempest_tests/tests/scenario/test_share_basic_ops.py":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":314,"context_line":""},{"line_number":315,"context_line":"        self.umount_share(ssh_client)"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"        status \u003d (\u0027data_copying_completed\u0027, \u0027migration_driver_phase1_done\u0027)"},{"line_number":318,"context_line":""},{"line_number":319,"context_line":"        share \u003d self.migrate_share(share[\u0027id\u0027], dest_pool, status)"},{"line_number":320,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_0d21074e","line":317,"range":{"start_line":317,"start_character":18,"end_line":317,"end_character":75},"updated":"2016-08-20 05:13:18.000000000","message":"belongs in constants file","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":314,"context_line":""},{"line_number":315,"context_line":"        self.umount_share(ssh_client)"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"        status \u003d (\u0027data_copying_completed\u0027, \u0027migration_driver_phase1_done\u0027)"},{"line_number":318,"context_line":""},{"line_number":319,"context_line":"        share \u003d self.migrate_share(share[\u0027id\u0027], dest_pool, status)"},{"line_number":320,"context_line":""}],"source_content_type":"text/x-python","patch_set":38,"id":"1ac06dbe_9755ef51","line":317,"range":{"start_line":317,"start_character":18,"end_line":317,"end_character":75},"in_reply_to":"1ac06dbe_0d21074e","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"}],"releasenotes/notes/newton-migration-improvements-cf9d3d6e37e19c94.yaml":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    procedure to maintain the share writable and to preserve its"},{"line_number":9,"context_line":"    metadata when migrating."},{"line_number":10,"context_line":"  - Added CIFS, CEPHFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 and \u0027cephx\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_6d7ebbe5","line":11,"range":{"start_line":11,"start_character":37,"end_line":11,"end_character":44},"updated":"2016-08-20 05:13:18.000000000","message":"is not currently supported?","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    procedure to maintain the share writable and to preserve its"},{"line_number":9,"context_line":"    metadata when migrating."},{"line_number":10,"context_line":"  - Added CIFS, CEPHFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 and \u0027cephx\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_b772ab47","line":11,"range":{"start_line":11,"start_character":37,"end_line":11,"end_character":44},"in_reply_to":"1ac06dbe_6d7ebbe5","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":11,"context_line":"    along with respective \u0027user\u0027 and \u0027cephx\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "},{"line_number":15,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":16,"context_line":"    functionality."},{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_ad1433f5","line":14,"range":{"start_line":14,"start_character":58,"end_line":14,"end_character":59},"updated":"2016-08-20 05:13:18.000000000","message":"trailing whitespace","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":11,"context_line":"    along with respective \u0027user\u0027 and \u0027cephx\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "},{"line_number":15,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":16,"context_line":"    functionality."},{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_1790df42","line":14,"range":{"start_line":14,"start_character":58,"end_line":14,"end_character":59},"in_reply_to":"1ac06dbe_ad1433f5","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "},{"line_number":15,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":16,"context_line":"    functionality."},{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":18,"context_line":"    possible to perform a 1-phase migration."},{"line_number":19,"context_line":"other:"}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_4d049fbf","line":16,"range":{"start_line":16,"start_character":4,"end_line":16,"end_character":17},"updated":"2016-08-20 05:13:18.000000000","message":"suggest calling out the microversion where this switch was made..","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":13,"context_line":"deprecations:"},{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "},{"line_number":15,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":16,"context_line":"    functionality."},{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":18,"context_line":"    possible to perform a 1-phase migration."},{"line_number":19,"context_line":"other:"}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_f792634a","line":16,"range":{"start_line":16,"start_character":4,"end_line":16,"end_character":17},"in_reply_to":"1ac06dbe_4d049fbf","updated":"2016-08-21 15:36:01.000000000","message":"it is experimental. According to Ben it does not need to be microversioned within experimental microversions.","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "},{"line_number":15,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":16,"context_line":"    functionality."},{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":18,"context_line":"    possible to perform a 1-phase migration."},{"line_number":19,"context_line":"other:"},{"line_number":20,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":21,"context_line":"  - Added possibility of disabling Share Migration."}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_cd0fefdf","line":18,"range":{"start_line":17,"start_character":4,"end_line":18,"end_character":44},"updated":"2016-08-20 05:13:18.000000000","message":"Removals belong in \"upgrade\"","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to "},{"line_number":15,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":16,"context_line":"    functionality."},{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":18,"context_line":"    possible to perform a 1-phase migration."},{"line_number":19,"context_line":"other:"},{"line_number":20,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":21,"context_line":"  - Added possibility of disabling Share Migration."}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_b7a90b7e","line":18,"range":{"start_line":17,"start_character":4,"end_line":18,"end_character":44},"in_reply_to":"1ac06dbe_cd0fefdf","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e82a729df407a772edea4ef81961c448c910fd5a","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":18,"context_line":"    possible to perform a 1-phase migration."},{"line_number":19,"context_line":"other:"},{"line_number":20,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":21,"context_line":"  - Added possibility of disabling Share Migration."},{"line_number":22,"context_line":"  - Added possibility of disabling fallback approach in"},{"line_number":23,"context_line":"    Share Migration."}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_8d05f7c3","line":23,"range":{"start_line":20,"start_character":0,"end_line":23,"end_character":20},"updated":"2016-08-20 05:13:18.000000000","message":"All these are features..","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d45cfef54334bc3dde013d133e794644af884f6f","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":18,"context_line":"    possible to perform a 1-phase migration."},{"line_number":19,"context_line":"other:"},{"line_number":20,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":21,"context_line":"  - Added possibility of disabling Share Migration."},{"line_number":22,"context_line":"  - Added possibility of disabling fallback approach in"},{"line_number":23,"context_line":"    Share Migration."}],"source_content_type":"text/x-yaml","patch_set":38,"id":"1ac06dbe_17b73fd9","line":23,"range":{"start_line":20,"start_character":0,"end_line":23,"end_character":20},"in_reply_to":"1ac06dbe_8d05f7c3","updated":"2016-08-21 15:36:01.000000000","message":"Done","commit_id":"0357f6d32aa8bfaae32d07e9db7481768777653f"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"ade6e13d511c5aa6fbf2252e4e5551d1c8fe4c2a","unresolved":false,"context_lines":[{"line_number":17,"context_line":"deprecations:"},{"line_number":18,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to"},{"line_number":19,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":20,"context_line":"    functionality."},{"line_number":21,"context_line":"upgrades:"},{"line_number":22,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":23,"context_line":"    possible to perform a 1-phase migration."}],"source_content_type":"text/x-yaml","patch_set":43,"id":"fa7ab95a_bfa6170e","line":20,"range":{"start_line":20,"start_character":17,"end_line":20,"end_character":18},"updated":"2016-08-28 00:40:53.000000000","message":"with API version 2.22 (if you are going keep the microversion bump)","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"fddbf9a499a4d427a7c497f16e4860cae6c403e2","unresolved":false,"context_lines":[{"line_number":17,"context_line":"deprecations:"},{"line_number":18,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to"},{"line_number":19,"context_line":"    \u0027skip_optimized_migration\u0027, to better represent the parameter\u0027s"},{"line_number":20,"context_line":"    functionality."},{"line_number":21,"context_line":"upgrades:"},{"line_number":22,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":23,"context_line":"    possible to perform a 1-phase migration."}],"source_content_type":"text/x-yaml","patch_set":43,"id":"fa7ab95a_bf27f762","line":20,"range":{"start_line":20,"start_character":17,"end_line":20,"end_character":18},"in_reply_to":"fa7ab95a_bfa6170e","updated":"2016-08-28 03:16:23.000000000","message":"Done","commit_id":"b25f4bf7dd612e046ef4e3c6b50186ac624b0b60"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":7,"context_line":"  - Share Migration now has parameters to force share migration"},{"line_number":8,"context_line":"    procedure to maintain the share writable, preserve its metadata"},{"line_number":9,"context_line":"    and be non-disruptive when migrating."},{"line_number":10,"context_line":"  - Added CIFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":14,"context_line":"deprecations:"}],"source_content_type":"text/x-yaml","patch_set":50,"id":"fa7ab95a_c9e1e92b","line":11,"range":{"start_line":10,"start_character":4,"end_line":11,"end_character":53},"updated":"2016-08-30 14:43:25.000000000","message":"What configuration opts are necessary for this?","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":7,"context_line":"  - Share Migration now has parameters to force share migration"},{"line_number":8,"context_line":"    procedure to maintain the share writable, preserve its metadata"},{"line_number":9,"context_line":"    and be non-disruptive when migrating."},{"line_number":10,"context_line":"  - Added CIFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":14,"context_line":"deprecations:"}],"source_content_type":"text/x-yaml","patch_set":50,"id":"fa7ab95a_03400506","line":11,"range":{"start_line":10,"start_character":4,"end_line":11,"end_character":53},"in_reply_to":"fa7ab95a_c9e1e92b","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":9,"context_line":"    and be non-disruptive when migrating."},{"line_number":10,"context_line":"  - Added CIFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":14,"context_line":"deprecations:"},{"line_number":15,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to"}],"source_content_type":"text/x-yaml","patch_set":50,"id":"fa7ab95a_69c7fd95","line":12,"range":{"start_line":12,"start_character":4,"end_line":12,"end_character":9},"updated":"2016-08-30 14:43:25.000000000","message":"Administrators","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":9,"context_line":"    and be non-disruptive when migrating."},{"line_number":10,"context_line":"  - Added CIFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 access type support."},{"line_number":12,"context_line":"  - Admin can now change share\u0027s share network during a migration."},{"line_number":13,"context_line":"  - Added possibility of having files hash verified during migration."},{"line_number":14,"context_line":"deprecations:"},{"line_number":15,"context_line":"  - Renamed Share Migration \u0027force_host_copy\u0027 parameter to"}],"source_content_type":"text/x-yaml","patch_set":50,"id":"fa7ab95a_10112d5d","line":12,"range":{"start_line":12,"start_character":4,"end_line":12,"end_character":9},"in_reply_to":"fa7ab95a_69c7fd95","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"c7f044d26ec42fbd70e050f0bcdd2b2cb09e9bb7","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    functionality in API version 2.22."},{"line_number":18,"context_line":"upgrades:"},{"line_number":19,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":20,"context_line":"    possible to perform a 1-phase migration."}],"source_content_type":"text/x-yaml","patch_set":50,"id":"fa7ab95a_a902e5b1","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":44},"updated":"2016-08-30 14:43:25.000000000","message":"os-share-migrate has been removed too\n\nAnd task_state can be \u0027unset\u0027 with setting it to \u0027None\u0027","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ff687fe68cd9ba0daa6fc6f7ae5a97a95f075443","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    functionality in API version 2.22."},{"line_number":18,"context_line":"upgrades:"},{"line_number":19,"context_line":"  - Removed Share Migration \u0027notify\u0027 parameter, it is no longer"},{"line_number":20,"context_line":"    possible to perform a 1-phase migration."}],"source_content_type":"text/x-yaml","patch_set":50,"id":"fa7ab95a_e3524112","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":44},"in_reply_to":"fa7ab95a_a902e5b1","updated":"2016-08-31 00:47:31.000000000","message":"Done","commit_id":"001ce0dd498b26dd5d1063b1d0a8501e52606e97"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"cd219593db5023e6fd1dc190297ac686c9676610","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"prelude: \u003e"},{"line_number":3,"context_line":"  - Added new parameters to Share Migration experimental API and"},{"line_number":4,"context_line":"    more combinations of share protocols and access types support"},{"line_number":5,"context_line":"    to the Data Service."},{"line_number":6,"context_line":"features:"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"fa7ab95a_f79d820b","line":3,"range":{"start_line":3,"start_character":0,"end_line":3,"end_character":4},"updated":"2016-08-31 03:21:50.000000000","message":"prelude section does not need bullets; if we add them, we need to fix the older renos.\n\nhttp://docs-draft.openstack.org/31/328431/56/check/gate-manila-releasenotes/20227b8//releasenotes/build/html/unreleased.html","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"dd2eeeca10bb1991e8311c7bb99d73266cc6295c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"prelude: \u003e"},{"line_number":3,"context_line":"  - Added new parameters to Share Migration experimental API and"},{"line_number":4,"context_line":"    more combinations of share protocols and access types support"},{"line_number":5,"context_line":"    to the Data Service."},{"line_number":6,"context_line":"features:"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"fa7ab95a_41173054","line":3,"range":{"start_line":3,"start_character":0,"end_line":3,"end_character":4},"in_reply_to":"fa7ab95a_f79d820b","updated":"2016-08-31 13:11:11.000000000","message":"Done","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"cd219593db5023e6fd1dc190297ac686c9676610","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    procedure to maintain the share writable, preserve its metadata"},{"line_number":9,"context_line":"    and be non-disruptive when migrating."},{"line_number":10,"context_line":"  - Added CIFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 access type support, through"},{"line_number":12,"context_line":"    the \u0027data_node_access_admin_user\u0027 configuration option."},{"line_number":13,"context_line":"  - Added possibility to include options to mount commands issued by"},{"line_number":14,"context_line":"    the Data Service through the \u0027data_node_mount_options\u0027"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"fa7ab95a_779252f8","line":11,"range":{"start_line":11,"start_character":27,"end_line":11,"end_character":31},"updated":"2016-08-31 03:21:50.000000000","message":"so GlusterFS\u0027s cert isn\u0027t added.. https://review.openstack.org/#/c/328431/56/manila/share/driver.py@100","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"0b4b283a8ebff504c6f4d1454bb7eefcab687a59","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    procedure to maintain the share writable, preserve its metadata"},{"line_number":9,"context_line":"    and be non-disruptive when migrating."},{"line_number":10,"context_line":"  - Added CIFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 access type support, through"},{"line_number":12,"context_line":"    the \u0027data_node_access_admin_user\u0027 configuration option."},{"line_number":13,"context_line":"  - Added possibility to include options to mount commands issued by"},{"line_number":14,"context_line":"    the Data Service through the \u0027data_node_mount_options\u0027"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"fa7ab95a_a9e39e32","line":11,"range":{"start_line":11,"start_character":27,"end_line":11,"end_character":31},"in_reply_to":"fa7ab95a_779252f8","updated":"2016-08-31 03:34:07.000000000","message":"Maybe when we change Gluster CI to run these tests, we can add a reno to claim support to \u0027cert\u0027","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"dd2eeeca10bb1991e8311c7bb99d73266cc6295c","unresolved":false,"context_lines":[{"line_number":8,"context_line":"    procedure to maintain the share writable, preserve its metadata"},{"line_number":9,"context_line":"    and be non-disruptive when migrating."},{"line_number":10,"context_line":"  - Added CIFS and HDFS protocol support to Data Service,"},{"line_number":11,"context_line":"    along with respective \u0027user\u0027 access type support, through"},{"line_number":12,"context_line":"    the \u0027data_node_access_admin_user\u0027 configuration option."},{"line_number":13,"context_line":"  - Added possibility to include options to mount commands issued by"},{"line_number":14,"context_line":"    the Data Service through the \u0027data_node_mount_options\u0027"}],"source_content_type":"text/x-yaml","patch_set":56,"id":"fa7ab95a_241a3a6f","line":11,"range":{"start_line":11,"start_character":27,"end_line":11,"end_character":31},"in_reply_to":"fa7ab95a_a9e39e32","updated":"2016-08-31 13:11:11.000000000","message":"it isn\u0027t listed. Looking at gluster CI I assume we will not be able to accomplish this in time.","commit_id":"5155e8316ba12f4a546a1b46363a6bbddf1e6402"}]}
