)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"af0f09609daee2679eadfa6a8b615d3e95607c38","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support volume migration between different availability zones"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently volume migration bewteen different availability zones does not work."},{"line_number":10,"context_line":"Sometimes the users need to migrate volume from one availability zone to"},{"line_number":11,"context_line":"another one. It is necessary to support this use case."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"ba0121b8_ee9ae0c4","line":9,"range":{"start_line":9,"start_character":69,"end_line":9,"end_character":78},"updated":"2016-03-28 19:59:10.000000000","message":"Summary lines should wrap at 72 characters. \n\nhttps://wiki.openstack.org/wiki/GitCommitMessages#Summary_of_Git_commit_message_structure","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"}],"specs/newton/volume-migration-between-availability-zones.rst":[{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Support volume migration between d availability zones"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/cinder/+spec/"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_72096c95","line":8,"range":{"start_line":8,"start_character":33,"end_line":8,"end_character":34},"updated":"2016-03-25 17:59:45.000000000","message":"different","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":5,"context_line":" http://creativecommons.org/licenses/by/3.0/legalcode"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":8,"context_line":"Support volume migration between d availability zones"},{"line_number":9,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/cinder/+spec/"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_fbb7f9f2","line":8,"range":{"start_line":8,"start_character":33,"end_line":8,"end_character":34},"in_reply_to":"da0c15f0_72096c95","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Suppose there are two cinder volume backends which are belong to different"},{"line_number":22,"context_line":"availability zones."},{"line_number":23,"context_line":"Create a volume, and migrate it to another backend host."},{"line_number":24,"context_line":"The server openstack-cinder-scheduler will check the dest host whether can"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_7d0addd3","line":21,"range":{"start_line":21,"start_character":51,"end_line":21,"end_character":54},"updated":"2016-03-25 17:59:45.000000000","message":"remove \u0027are\u0027 here.","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Suppose there are two cinder volume backends which are belong to different"},{"line_number":22,"context_line":"availability zones."},{"line_number":23,"context_line":"Create a volume, and migrate it to another backend host."},{"line_number":24,"context_line":"The server openstack-cinder-scheduler will check the dest host whether can"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_db883525","line":21,"range":{"start_line":21,"start_character":51,"end_line":21,"end_character":54},"in_reply_to":"da0c15f0_7d0addd3","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Suppose there are two cinder volume backends which are belong to different"},{"line_number":22,"context_line":"availability zones."},{"line_number":23,"context_line":"Create a volume, and migrate it to another backend host."},{"line_number":24,"context_line":"The server openstack-cinder-scheduler will check the dest host whether can"},{"line_number":25,"context_line":"passes the filters, including AvailabilityZoneFilter, CapacityFilter and"},{"line_number":26,"context_line":"CapabilitiesFilter by default. The dest host can not passes the"},{"line_number":27,"context_line":"AvailabilityZoneFilter, because it\u0027s availability zone is different from the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_fdf6edd5","line":24,"range":{"start_line":24,"start_character":63,"end_line":24,"end_character":74},"updated":"2016-03-25 17:59:45.000000000","message":"to ensure it","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Suppose there are two cinder volume backends which are belong to different"},{"line_number":22,"context_line":"availability zones."},{"line_number":23,"context_line":"Create a volume, and migrate it to another backend host."},{"line_number":24,"context_line":"The server openstack-cinder-scheduler will check the dest host whether can"},{"line_number":25,"context_line":"passes the filters, including AvailabilityZoneFilter, CapacityFilter and"},{"line_number":26,"context_line":"CapabilitiesFilter by default. The dest host can not passes the"},{"line_number":27,"context_line":"AvailabilityZoneFilter, because it\u0027s availability zone is different from the"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_5b96e54c","line":24,"range":{"start_line":24,"start_character":63,"end_line":24,"end_character":74},"in_reply_to":"da0c15f0_fdf6edd5","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Create a volume, and migrate it to another backend host."},{"line_number":24,"context_line":"The server openstack-cinder-scheduler will check the dest host whether can"},{"line_number":25,"context_line":"passes the filters, including AvailabilityZoneFilter, CapacityFilter and"},{"line_number":26,"context_line":"CapabilitiesFilter by default. The dest host can not passes the"},{"line_number":27,"context_line":"AvailabilityZoneFilter, because it\u0027s availability zone is different from the"},{"line_number":28,"context_line":"original volume\u0027s."},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_9d2c114c","line":26,"range":{"start_line":26,"start_character":53,"end_line":26,"end_character":59},"updated":"2016-03-25 17:59:45.000000000","message":"pass","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Create a volume, and migrate it to another backend host."},{"line_number":24,"context_line":"The server openstack-cinder-scheduler will check the dest host whether can"},{"line_number":25,"context_line":"passes the filters, including AvailabilityZoneFilter, CapacityFilter and"},{"line_number":26,"context_line":"CapabilitiesFilter by default. The dest host can not passes the"},{"line_number":27,"context_line":"AvailabilityZoneFilter, because it\u0027s availability zone is different from the"},{"line_number":28,"context_line":"original volume\u0027s."},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_3b917153","line":26,"range":{"start_line":26,"start_character":53,"end_line":26,"end_character":59},"in_reply_to":"da0c15f0_9d2c114c","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":37,"context_line":"Use Cases"},{"line_number":38,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"None"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Proposed change"},{"line_number":43,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_fde42d0e","line":40,"range":{"start_line":40,"start_character":0,"end_line":40,"end_character":4},"updated":"2016-03-25 17:59:45.000000000","message":"Should document the use case here based on the problem above.  How it should work.  The volume should be able to be moved between AZs.","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":37,"context_line":"Use Cases"},{"line_number":38,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"None"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Proposed change"},{"line_number":43,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_bb8bc11d","line":40,"range":{"start_line":40,"start_character":0,"end_line":40,"end_character":4},"in_reply_to":"da0c15f0_fde42d0e","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":48,"context_line":"1. Add a new configuration \"enable_across_az_migrate\" as a function of the"},{"line_number":49,"context_line":"switch. And the default value is \"False\"."},{"line_number":50,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":51,"context_line":"za migration is allowed, otherwise don\u0027t."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":54,"context_line":"the value of enable_across_az_migrate is True. if yes, update"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_fdcb8d70","line":51,"range":{"start_line":51,"start_character":0,"end_line":51,"end_character":2},"updated":"2016-03-25 17:59:45.000000000","message":"az","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":48,"context_line":"1. Add a new configuration \"enable_across_az_migrate\" as a function of the"},{"line_number":49,"context_line":"switch. And the default value is \"False\"."},{"line_number":50,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":51,"context_line":"za migration is allowed, otherwise don\u0027t."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":54,"context_line":"the value of enable_across_az_migrate is True. if yes, update"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_7b9be972","line":51,"range":{"start_line":51,"start_character":0,"end_line":51,"end_character":2},"in_reply_to":"da0c15f0_fdcb8d70","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":65,"context_line":"Alternatives"},{"line_number":66,"context_line":"------------"},{"line_number":67,"context_line":"Add a parameter \"--across-az\" in cli command \"cinder migrate\", such as:"},{"line_number":68,"context_line":"--across-az \u003cTrue|False\u003e Enable or disable across za migration.Default\u003dFalse"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"If want to migrate volume to another za, should input parameter \"--across-az\","},{"line_number":71,"context_line":"for example:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_dd820900","line":68,"range":{"start_line":68,"start_character":50,"end_line":68,"end_character":52},"updated":"2016-03-25 17:59:45.000000000","message":"az","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":65,"context_line":"Alternatives"},{"line_number":66,"context_line":"------------"},{"line_number":67,"context_line":"Add a parameter \"--across-az\" in cli command \"cinder migrate\", such as:"},{"line_number":68,"context_line":"--across-az \u003cTrue|False\u003e Enable or disable across za migration.Default\u003dFalse"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"If want to migrate volume to another za, should input parameter \"--across-az\","},{"line_number":71,"context_line":"for example:"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_fb853907","line":68,"range":{"start_line":68,"start_character":50,"end_line":68,"end_character":52},"in_reply_to":"da0c15f0_dd820900","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":67,"context_line":"Add a parameter \"--across-az\" in cli command \"cinder migrate\", such as:"},{"line_number":68,"context_line":"--across-az \u003cTrue|False\u003e Enable or disable across za migration.Default\u003dFalse"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"If want to migrate volume to another za, should input parameter \"--across-az\","},{"line_number":71,"context_line":"for example:"},{"line_number":72,"context_line":"cinder migrate 45e13f9e-0d00-4c2a-bcee-01a9953e419b 2C5_19_CG@lvm2 --across-az"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_9db6d1da","line":70,"range":{"start_line":70,"start_character":37,"end_line":70,"end_character":39},"updated":"2016-03-25 17:59:45.000000000","message":"az","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":67,"context_line":"Add a parameter \"--across-az\" in cli command \"cinder migrate\", such as:"},{"line_number":68,"context_line":"--across-az \u003cTrue|False\u003e Enable or disable across za migration.Default\u003dFalse"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"If want to migrate volume to another za, should input parameter \"--across-az\","},{"line_number":71,"context_line":"for example:"},{"line_number":72,"context_line":"cinder migrate 45e13f9e-0d00-4c2a-bcee-01a9953e419b 2C5_19_CG@lvm2 --across-az"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_5b7d451b","line":70,"range":{"start_line":70,"start_character":37,"end_line":70,"end_character":39},"in_reply_to":"da0c15f0_9db6d1da","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"6843f8fd23fbec875af458c7aed383f2c3194a67","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Documentation Impact"},{"line_number":139,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"None"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"References"},{"line_number":144,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da0c15f0_9d04117f","line":141,"range":{"start_line":141,"start_character":0,"end_line":141,"end_character":4},"updated":"2016-03-25 17:59:45.000000000","message":"There will be a documentation inpact to describe how to use the new functionality.","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"04657430a4f95667e6dcb58a1a35e187fdf78442","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Documentation Impact"},{"line_number":139,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"None"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"References"},{"line_number":144,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba0121b8_9b77dd39","line":141,"range":{"start_line":141,"start_character":0,"end_line":141,"end_character":4},"in_reply_to":"da0c15f0_9d04117f","updated":"2016-05-25 01:35:18.000000000","message":"Done","commit_id":"47e9d8bf37aa7e892899a34f2414c9f78c259f0f"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"af0f09609daee2679eadfa6a8b615d3e95607c38","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Currently volume migration bewteen different availability zones does not work."},{"line_number":15,"context_line":"Sometimes the users need to migrate volume from one availability zone to"},{"line_number":16,"context_line":"another one. It is necessary to support this use case."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_8ebb640e","line":16,"range":{"start_line":16,"start_character":11,"end_line":16,"end_character":12},"updated":"2016-03-28 19:59:10.000000000","message":"Can you expand here on why this may be necessary- Don\u0027t need a ton of detail, but something would help bolster this argument.","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"af0f09609daee2679eadfa6a8b615d3e95607c38","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use Cases"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Modify the properties of a volume."},{"line_number":40,"context_line":"* The user migrate instances across azs, and as well as volumes which"},{"line_number":41,"context_line":"attached to the instances."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_4ec78c45","line":38,"updated":"2016-03-28 19:59:10.000000000","message":"Cab you add more detail to these use cases? Like why would I need to migrate across azs when I modified the properties of a volume? Was it one az before and I need to to be another now? Why would that be?","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"b2b14edb5b586c1c58c077947de750670b95fb45","unresolved":false,"context_lines":[{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use Cases"},{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Modify the properties of a volume."},{"line_number":40,"context_line":"* The user migrate instances across azs, and as well as volumes which"},{"line_number":41,"context_line":"attached to the instances."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_5ba425a5","line":38,"in_reply_to":"ba0121b8_4ec78c45","updated":"2016-05-25 01:35:45.000000000","message":"Done","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"af0f09609daee2679eadfa6a8b615d3e95607c38","unresolved":false,"context_lines":[{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Modify the properties of a volume."},{"line_number":40,"context_line":"* The user migrate instances across azs, and as well as volumes which"},{"line_number":41,"context_line":"attached to the instances."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_8e69a48e","line":40,"range":{"start_line":40,"start_character":11,"end_line":40,"end_character":18},"updated":"2016-03-28 19:59:10.000000000","message":"migrate-\u003emigrates","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"b2b14edb5b586c1c58c077947de750670b95fb45","unresolved":false,"context_lines":[{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Modify the properties of a volume."},{"line_number":40,"context_line":"* The user migrate instances across azs, and as well as volumes which"},{"line_number":41,"context_line":"attached to the instances."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_3b9fb151","line":40,"range":{"start_line":40,"start_character":11,"end_line":40,"end_character":18},"in_reply_to":"ba0121b8_8e69a48e","updated":"2016-05-25 01:35:45.000000000","message":"Done","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"af0f09609daee2679eadfa6a8b615d3e95607c38","unresolved":false,"context_lines":[{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Modify the properties of a volume."},{"line_number":40,"context_line":"* The user migrate instances across azs, and as well as volumes which"},{"line_number":41,"context_line":"attached to the instances."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Proposed change"},{"line_number":44,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_6ef9b0c8","line":41,"range":{"start_line":40,"start_character":41,"end_line":41,"end_character":25},"updated":"2016-03-28 19:59:10.000000000","message":"Suggest: \"...azs, as well as volumes attached to those instances. \"","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"b2b14edb5b586c1c58c077947de750670b95fb45","unresolved":false,"context_lines":[{"line_number":37,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* Modify the properties of a volume."},{"line_number":40,"context_line":"* The user migrate instances across azs, and as well as volumes which"},{"line_number":41,"context_line":"attached to the instances."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"Proposed change"},{"line_number":44,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_9baebd83","line":41,"range":{"start_line":40,"start_character":41,"end_line":41,"end_character":25},"in_reply_to":"ba0121b8_6ef9b0c8","updated":"2016-05-25 01:35:45.000000000","message":"Done","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"af0f09609daee2679eadfa6a8b615d3e95607c38","unresolved":false,"context_lines":[{"line_number":46,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":47,"context_line":"Just minimal modifications to implement the function."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"1. Add a new configuration \"enable_across_az_migrate\" as a function of the"},{"line_number":50,"context_line":"switch. And the default value is \"False\"."},{"line_number":51,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":52,"context_line":"az migration is allowed, otherwise don\u0027t."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_eeb940ee","line":49,"updated":"2016-03-28 19:59:10.000000000","message":"configuration-\u003e configuration option?","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"b2b14edb5b586c1c58c077947de750670b95fb45","unresolved":false,"context_lines":[{"line_number":46,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":47,"context_line":"Just minimal modifications to implement the function."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"1. Add a new configuration \"enable_across_az_migrate\" as a function of the"},{"line_number":50,"context_line":"switch. And the default value is \"False\"."},{"line_number":51,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":52,"context_line":"az migration is allowed, otherwise don\u0027t."}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba0121b8_1bb10de2","line":49,"in_reply_to":"ba0121b8_eeb940ee","updated":"2016-05-25 01:35:45.000000000","message":"Done","commit_id":"e5257a881017e46419454a7e3a286779d790c9ab"},{"author":{"_account_id":7173,"name":"Scott DAngelo","email":"scott.dangelo@gmail.com","username":"scottda"},"change_message_id":"7224a6e1caa558363575b23d45f3f8502cc5f0c4","unresolved":false,"context_lines":[{"line_number":60,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":63,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":64,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":65,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":66,"context_line":"                                                     context,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba0121b8_cc9ee155","line":63,"updated":"2016-03-29 13:23:36.000000000","message":"I don\u0027t think that the volume\u0027s AZ should be changed in the API before the call to the scheduler and the operations succeeds. You could check for the CONF in the API to fail early, but the volume\u0027s availability_zone should only be changed when the operation is complete.","commit_id":"4ce3cbde9d0f03e08982aa3831961466f4a5ff2b"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"c8c3aa821f29951e31d456f7608124f2052ab974","unresolved":false,"context_lines":[{"line_number":60,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":63,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":64,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":65,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":66,"context_line":"                                                     context,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba0121b8_0c6ef500","line":63,"in_reply_to":"ba0121b8_cc9ee155","updated":"2016-05-25 01:36:22.000000000","message":"It just changes the request_spec info, not the original volume. \"You could check for the CONF in the API to fail early\" this suggestion is very good, I will add to the spec. Thank you for your reply.","commit_id":"4ce3cbde9d0f03e08982aa3831961466f4a5ff2b"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ad33be61211a8951dce69deb099fdb89c2a3d3bc","unresolved":false,"context_lines":[{"line_number":51,"context_line":"Proposed change"},{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":55,"context_line":"Just minimal modifications to implement the function."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"1. Add a new configuration option \"enable_across_az_migrate\" as a function of"},{"line_number":58,"context_line":"the switch. And the default value is \"False\"."},{"line_number":59,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":60,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":63,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":64,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":65,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":66,"context_line":"                                                     context,"},{"line_number":67,"context_line":"                                                     CONF.volume_topic,"},{"line_number":68,"context_line":"                                                     volume[\u0027id\u0027],"},{"line_number":69,"context_line":"                                                     host,"},{"line_number":70,"context_line":"                                                     force_host_copy,"},{"line_number":71,"context_line":"                                                     request_spec),"},{"line_number":72,"context_line":"otherwise raise exception."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba0121b8_887dcab3","line":72,"range":{"start_line":54,"start_character":0,"end_line":72,"end_character":26},"updated":"2016-03-30 07:43:10.000000000","message":"I think this is completely ignoring the reasons why cross-az migrate was not implemented in the first place.\n\nIf you\u0027ve got thin links between AZs, this design will swamp them. I think you need something smarter (max number of cross-az migrates at a time or something), Certainly the problem should be acknowledged in the spec.","commit_id":"590a0c78b4c549894e6552e28f5f323a7fd82026"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"4c6c1d2064c9c303ef6b2a25e8cbcdf0f74df8a1","unresolved":false,"context_lines":[{"line_number":51,"context_line":"Proposed change"},{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":55,"context_line":"Just minimal modifications to implement the function."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"1. Add a new configuration option \"enable_across_az_migrate\" as a function of"},{"line_number":58,"context_line":"the switch. And the default value is \"False\"."},{"line_number":59,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":60,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":63,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":64,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":65,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":66,"context_line":"                                                     context,"},{"line_number":67,"context_line":"                                                     CONF.volume_topic,"},{"line_number":68,"context_line":"                                                     volume[\u0027id\u0027],"},{"line_number":69,"context_line":"                                                     host,"},{"line_number":70,"context_line":"                                                     force_host_copy,"},{"line_number":71,"context_line":"                                                     request_spec),"},{"line_number":72,"context_line":"otherwise raise exception."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba0121b8_3573f516","line":72,"range":{"start_line":54,"start_character":0,"end_line":72,"end_character":26},"in_reply_to":"ba0121b8_887dcab3","updated":"2016-05-25 01:44:40.000000000","message":"Thank you for your reply. I modified the specs again.","commit_id":"590a0c78b4c549894e6552e28f5f323a7fd82026"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"ad33be61211a8951dce69deb099fdb89c2a3d3bc","unresolved":false,"context_lines":[{"line_number":109,"context_line":"Performance Impact"},{"line_number":110,"context_line":"------------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"None"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"Other deployer impact"},{"line_number":115,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba0121b8_283c7ee1","line":112,"range":{"start_line":112,"start_character":0,"end_line":112,"end_character":4},"updated":"2016-03-30 07:43:10.000000000","message":"Flooding a network with storage traffic that was protected before is a performance impact for sure","commit_id":"590a0c78b4c549894e6552e28f5f323a7fd82026"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"4c6c1d2064c9c303ef6b2a25e8cbcdf0f74df8a1","unresolved":false,"context_lines":[{"line_number":109,"context_line":"Performance Impact"},{"line_number":110,"context_line":"------------------"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"None"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"Other deployer impact"},{"line_number":115,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_f20edd30","line":112,"range":{"start_line":112,"start_character":0,"end_line":112,"end_character":4},"in_reply_to":"ba0121b8_283c7ee1","updated":"2016-05-25 01:44:40.000000000","message":"Done","commit_id":"590a0c78b4c549894e6552e28f5f323a7fd82026"},{"author":{"_account_id":12924,"name":"Patrick East","email":"east.patrick@gmail.com","username":"patrick.east"},"change_message_id":"ca607f3809aace2f89db0f4f70d38b2265240922","unresolved":false,"context_lines":[{"line_number":57,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":58,"context_line":"Just minimal modifications to implement the function."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"1. Add a new configuration option \"enable_across_az_migrate\" as a function of"},{"line_number":61,"context_line":"the switch. And the default value is \"False\"."},{"line_number":62,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":63,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":66,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":67,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":68,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":69,"context_line":"                                                     context,"},{"line_number":70,"context_line":"                                                     CONF.volume_topic,"},{"line_number":71,"context_line":"                                                     volume[\u0027id\u0027],"},{"line_number":72,"context_line":"                                                     host,"},{"line_number":73,"context_line":"                                                     force_host_copy,"},{"line_number":74,"context_line":"                                                     request_spec),"},{"line_number":75,"context_line":"otherwise raise exception."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a122d0e_3ab9707a","line":74,"range":{"start_line":60,"start_character":0,"end_line":74,"end_character":67},"updated":"2016-04-22 19:02:05.000000000","message":"I think there is another step needed to actually update the volumes AZ once the migration has happened. Modifying the request_spec will just get past the host check in the scheduler, but I don\u0027t think will make the newly migrated volume appear as being in the new AZ (I might be missing something though)","commit_id":"613b99a61367085f12015d8705b1b484b51b9784"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"722935780a124def997b15bb53ab2a61f95c4c0c","unresolved":false,"context_lines":[{"line_number":57,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":58,"context_line":"Just minimal modifications to implement the function."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"1. Add a new configuration option \"enable_across_az_migrate\" as a function of"},{"line_number":61,"context_line":"the switch. And the default value is \"False\"."},{"line_number":62,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":63,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":66,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":67,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":68,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":69,"context_line":"                                                     context,"},{"line_number":70,"context_line":"                                                     CONF.volume_topic,"},{"line_number":71,"context_line":"                                                     volume[\u0027id\u0027],"},{"line_number":72,"context_line":"                                                     host,"},{"line_number":73,"context_line":"                                                     force_host_copy,"},{"line_number":74,"context_line":"                                                     request_spec),"},{"line_number":75,"context_line":"otherwise raise exception."},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a122d0e_170d4b3e","line":74,"range":{"start_line":60,"start_character":0,"end_line":74,"end_character":67},"in_reply_to":"1a122d0e_3ab9707a","updated":"2016-05-25 01:45:03.000000000","message":"Done","commit_id":"613b99a61367085f12015d8705b1b484b51b9784"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"f5a698323640abd272c6f8d68e5df724ce4390a1","unresolved":false,"context_lines":[{"line_number":18,"context_line":"1. If users want to maintain physical storage devices in one of several azs"},{"line_number":19,"context_line":"without disrupting instances operation, migrating volumes in the az to another"},{"line_number":20,"context_line":"az is necessary."},{"line_number":21,"context_line":"2. Suppose there is one az, it\u0027s space is insufficient. Current user wants to"},{"line_number":22,"context_line":"add a new az, and migrate several volumes to the new az for freeing up more"},{"line_number":23,"context_line":"space, especially thinly-provisioned backends."},{"line_number":24,"context_line":"3. Currently instances support migration between azs. Sometimes, user wants to"}],"source_content_type":"text/x-rst","patch_set":6,"id":"dab17558_75f54481","line":21,"updated":"2016-05-17 14:00:03.000000000","message":"Very trivial nit: s/it\u0027s/its/","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"669272a6eb26ed8a27e55ebe30e10c15fc154779","unresolved":false,"context_lines":[{"line_number":18,"context_line":"1. If users want to maintain physical storage devices in one of several azs"},{"line_number":19,"context_line":"without disrupting instances operation, migrating volumes in the az to another"},{"line_number":20,"context_line":"az is necessary."},{"line_number":21,"context_line":"2. Suppose there is one az, it\u0027s space is insufficient. Current user wants to"},{"line_number":22,"context_line":"add a new az, and migrate several volumes to the new az for freeing up more"},{"line_number":23,"context_line":"space, especially thinly-provisioned backends."},{"line_number":24,"context_line":"3. Currently instances support migration between azs. Sometimes, user wants to"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bab6814e_b2ec75f4","line":21,"in_reply_to":"dab17558_75f54481","updated":"2016-05-25 01:30:57.000000000","message":"Done","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"f5a698323640abd272c6f8d68e5df724ce4390a1","unresolved":false,"context_lines":[{"line_number":35,"context_line":"The server openstack-cinder-scheduler will check the dest host to ensure it"},{"line_number":36,"context_line":"can pass the filters, including AvailabilityZoneFilter, CapacityFilter and"},{"line_number":37,"context_line":"CapabilitiesFilter. The dest host can not pass the AvailabilityZoneFilter,"},{"line_number":38,"context_line":"because it\u0027s availability zone is different from the original volume\u0027s."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"In the /var/log/cinder/scheduler.log,We get following log:"},{"line_number":41,"context_line":"2016-02-26 17:41:18.397 28443 ERROR cinder.scheduler.manager"}],"source_content_type":"text/x-rst","patch_set":6,"id":"dab17558_157b18f6","line":38,"updated":"2016-05-17 14:00:03.000000000","message":"s/it\u0027s/its/","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"669272a6eb26ed8a27e55ebe30e10c15fc154779","unresolved":false,"context_lines":[{"line_number":35,"context_line":"The server openstack-cinder-scheduler will check the dest host to ensure it"},{"line_number":36,"context_line":"can pass the filters, including AvailabilityZoneFilter, CapacityFilter and"},{"line_number":37,"context_line":"CapabilitiesFilter. The dest host can not pass the AvailabilityZoneFilter,"},{"line_number":38,"context_line":"because it\u0027s availability zone is different from the original volume\u0027s."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"In the /var/log/cinder/scheduler.log,We get following log:"},{"line_number":41,"context_line":"2016-02-26 17:41:18.397 28443 ERROR cinder.scheduler.manager"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bab6814e_12d3c139","line":38,"in_reply_to":"dab17558_157b18f6","updated":"2016-05-25 01:30:57.000000000","message":"Done","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"f5a698323640abd272c6f8d68e5df724ce4390a1","unresolved":false,"context_lines":[{"line_number":37,"context_line":"CapabilitiesFilter. The dest host can not pass the AvailabilityZoneFilter,"},{"line_number":38,"context_line":"because it\u0027s availability zone is different from the original volume\u0027s."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"In the /var/log/cinder/scheduler.log,We get following log:"},{"line_number":41,"context_line":"2016-02-26 17:41:18.397 28443 ERROR cinder.scheduler.manager"},{"line_number":42,"context_line":"[req-5783d33f-bfa5-499f-8f3f-30409558e04d 9134a1a11e5441c29e37757231f36450"},{"line_number":43,"context_line":"32bfe3124bb2478aad3e6aa1cee09f14 - - -] Failed to"}],"source_content_type":"text/x-rst","patch_set":6,"id":"dab17558_d5e350a2","line":40,"updated":"2016-05-17 14:00:03.000000000","message":"/log,We get following/log, we get the following/","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"669272a6eb26ed8a27e55ebe30e10c15fc154779","unresolved":false,"context_lines":[{"line_number":37,"context_line":"CapabilitiesFilter. The dest host can not pass the AvailabilityZoneFilter,"},{"line_number":38,"context_line":"because it\u0027s availability zone is different from the original volume\u0027s."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"In the /var/log/cinder/scheduler.log,We get following log:"},{"line_number":41,"context_line":"2016-02-26 17:41:18.397 28443 ERROR cinder.scheduler.manager"},{"line_number":42,"context_line":"[req-5783d33f-bfa5-499f-8f3f-30409558e04d 9134a1a11e5441c29e37757231f36450"},{"line_number":43,"context_line":"32bfe3124bb2478aad3e6aa1cee09f14 - - -] Failed to"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bab6814e_52dd4941","line":40,"in_reply_to":"dab17558_d5e350a2","updated":"2016-05-25 01:30:57.000000000","message":"Done","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"f5a698323640abd272c6f8d68e5df724ce4390a1","unresolved":false,"context_lines":[{"line_number":57,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":58,"context_line":"Just minimal modifications to implement the function."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"1. Add a new configuration option \"enable_across_az_migrate\" as a function of"},{"line_number":61,"context_line":"the switch. And the default value is \"False\"."},{"line_number":62,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":63,"context_line":"az migration is allowed, otherwise don\u0027t."}],"source_content_type":"text/x-rst","patch_set":6,"id":"dab17558_f5677422","line":60,"updated":"2016-05-17 14:00:03.000000000","message":"I think \"enable_cross_az_migrate\" rather than \"enable_across_az_migrate\".","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"669272a6eb26ed8a27e55ebe30e10c15fc154779","unresolved":false,"context_lines":[{"line_number":57,"context_line":"We don\u0027t need to change the filter policy, especially the default filters."},{"line_number":58,"context_line":"Just minimal modifications to implement the function."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"1. Add a new configuration option \"enable_across_az_migrate\" as a function of"},{"line_number":61,"context_line":"the switch. And the default value is \"False\"."},{"line_number":62,"context_line":"When the value of \"enable_across_az_migrate\" is \"True\", across"},{"line_number":63,"context_line":"az migration is allowed, otherwise don\u0027t."}],"source_content_type":"text/x-rst","patch_set":6,"id":"bab6814e_32e085fa","line":60,"in_reply_to":"dab17558_f5677422","updated":"2016-05-25 01:30:57.000000000","message":"Done","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"f5a698323640abd272c6f8d68e5df724ce4390a1","unresolved":false,"context_lines":[{"line_number":63,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":66,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":67,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":68,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":69,"context_line":"                                                     context,"}],"source_content_type":"text/x-rst","patch_set":6,"id":"dab17558_35457c6e","line":66,"updated":"2016-05-17 14:00:03.000000000","message":"/if/If/","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"669272a6eb26ed8a27e55ebe30e10c15fc154779","unresolved":false,"context_lines":[{"line_number":63,"context_line":"az migration is allowed, otherwise don\u0027t."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2. In the function of cinder/volume/api.py:migrate_volume, check whether"},{"line_number":66,"context_line":"the value of enable_across_az_migrate is True. if yes, update"},{"line_number":67,"context_line":"request_spec[\u0027volume_properties\u0027][availability_zone] by the dest volume\u0027s"},{"line_number":68,"context_line":"availability_zone before call self.scheduler_rpcapi.migrate_volume_to_host("},{"line_number":69,"context_line":"                                                     context,"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bab6814e_72e20d03","line":66,"in_reply_to":"dab17558_35457c6e","updated":"2016-05-25 01:30:57.000000000","message":"Done","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"f5a698323640abd272c6f8d68e5df724ce4390a1","unresolved":false,"context_lines":[{"line_number":120,"context_line":"volumes across azs："},{"line_number":121,"context_line":"1. When migrating available volumes across azs, the network connection between"},{"line_number":122,"context_line":"storages and cinder-volume nodes is a must."},{"line_number":123,"context_line":"2. When migrating in-use volumes across azs , the network connection between"},{"line_number":124,"context_line":"storages and nova-compute nodes is a must."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"dab17558_18018d05","line":123,"updated":"2016-05-17 14:00:03.000000000","message":"/azs , /azs, /","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":12184,"name":"Weiwei Gu","email":"gu.weiwei@zte.com.cn","username":"guweiwei"},"change_message_id":"669272a6eb26ed8a27e55ebe30e10c15fc154779","unresolved":false,"context_lines":[{"line_number":120,"context_line":"volumes across azs："},{"line_number":121,"context_line":"1. When migrating available volumes across azs, the network connection between"},{"line_number":122,"context_line":"storages and cinder-volume nodes is a must."},{"line_number":123,"context_line":"2. When migrating in-use volumes across azs , the network connection between"},{"line_number":124,"context_line":"storages and nova-compute nodes is a must."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"Other deployer impact"}],"source_content_type":"text/x-rst","patch_set":6,"id":"bab6814e_d2f139cf","line":123,"in_reply_to":"dab17558_18018d05","updated":"2016-05-25 01:30:57.000000000","message":"Done","commit_id":"dd208a225217f5b8876db59ef0c5a32800dea572"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"2e9cf7352e31dd5ac8ffce69aff394a90cc11910","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/cinder/+spec/"},{"line_number":12,"context_line":"volume-migration-between-availability-zones"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Currently volume migration bewteen different availability zones does not work."},{"line_number":15,"context_line":"Sometimes the users need to migrate volume from one availability zone to"},{"line_number":16,"context_line":"another one."},{"line_number":17,"context_line":"For example:"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_b3ad4e9d","line":14,"range":{"start_line":14,"start_character":27,"end_line":14,"end_character":34},"updated":"2016-07-12 01:35:51.000000000","message":"/bewteen/between/","commit_id":"5cdd9ee4df141129734aee1b0ca29a16d05c9cb4"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"3e19707e1ac8509937bbdcc492d7b634fdc23c15","unresolved":false,"context_lines":[{"line_number":94,"context_line":"REST API impact"},{"line_number":95,"context_line":"---------------"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"None"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"Security impact"},{"line_number":100,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_ebfe5668","line":97,"range":{"start_line":97,"start_character":0,"end_line":97,"end_character":4},"updated":"2016-07-13 16:04:37.000000000","message":"We need a way to find out programatically if this feature is supported","commit_id":"5cdd9ee4df141129734aee1b0ca29a16d05c9cb4"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"3e19707e1ac8509937bbdcc492d7b634fdc23c15","unresolved":false,"context_lines":[{"line_number":104,"context_line":"Notifications impact"},{"line_number":105,"context_line":"--------------------"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"None"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Other end user impact"},{"line_number":110,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1aa78d24_2bd85eee","line":107,"range":{"start_line":107,"start_character":0,"end_line":107,"end_character":4},"updated":"2016-07-13 16:04:37.000000000","message":"Definitely need to modify the migrate notification with details over whether a miggration is cross az or not - it is a stat deployers might sensibly want to monitor to figure out network provisioning among things","commit_id":"5cdd9ee4df141129734aee1b0ca29a16d05c9cb4"}]}
