)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"2570d523eda3f14e4c783b0f3285f2463cbae336","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This spec proposes to make volume migration more stable, robust and"},{"line_number":10,"context_line":"user friendly in terms of a better volume status management,"},{"line_number":11,"context_line":"migration progress indication, an effifient way of migration,"},{"line_number":12,"context_line":"migration_status look up, notification to Ceilometer, tempest tests"},{"line_number":13,"context_line":"\u0026 gate tests, etc."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"3afb71cf_452bf394","line":11,"updated":"2015-06-08 13:13:07.000000000","message":"/effifient/efficient/","commit_id":"159a1b13f549bc92fbf3f4099300fa9bf0afeb41"},{"author":{"_account_id":10263,"name":"Vilobh Meshram","email":"vilobhmm@yahoo-inc.com","username":"vilobhmm"},"change_message_id":"0cb5ff6e36c0a45ced76e746761f4490a06a3dd4","unresolved":false,"context_lines":[{"line_number":12,"context_line":"migration_status look up, notification to Ceilometer, tempest tests"},{"line_number":13,"context_line":"\u0026 gate tests, etc."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"All the cases within this spec is targeted to the available volume."},{"line_number":16,"context_line":"There is going to be another spec to cover the issues regarding to"},{"line_number":17,"context_line":"the attached volume."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":21,"id":"3afb71cf_e6a6deac","line":15,"updated":"2015-06-10 21:54:59.000000000","message":"is -\u003e are","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"a455a5a17954b71868aee59dd56db908ded81619","unresolved":false,"context_lines":[{"line_number":12,"context_line":"migration_status look up, notification to Ceilometer, tempest tests"},{"line_number":13,"context_line":"\u0026 gate tests, etc."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"All the cases within this spec is targeted to the available volume."},{"line_number":16,"context_line":"There is going to be another spec to cover the issues regarding to"},{"line_number":17,"context_line":"the attached volume."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":21,"id":"3afb71cf_bbc8f455","line":15,"in_reply_to":"3afb71cf_e6a6deac","updated":"2015-06-20 13:46:09.000000000","message":"Y","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"},{"author":{"_account_id":10263,"name":"Vilobh Meshram","email":"vilobhmm@yahoo-inc.com","username":"vilobhmm"},"change_message_id":"0cb5ff6e36c0a45ced76e746761f4490a06a3dd4","unresolved":false,"context_lines":[{"line_number":13,"context_line":"\u0026 gate tests, etc."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"All the cases within this spec is targeted to the available volume."},{"line_number":16,"context_line":"There is going to be another spec to cover the issues regarding to"},{"line_number":17,"context_line":"the attached volume."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I05ba531a18ba416e8b07c8a4165f5e1f7f5e44aa"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":21,"id":"3afb71cf_a6ac668c","line":16,"updated":"2015-06-10 21:54:59.000000000","message":"regarding to attached volume -\u003e regarding attached volume","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"a455a5a17954b71868aee59dd56db908ded81619","unresolved":false,"context_lines":[{"line_number":13,"context_line":"\u0026 gate tests, etc."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"All the cases within this spec is targeted to the available volume."},{"line_number":16,"context_line":"There is going to be another spec to cover the issues regarding to"},{"line_number":17,"context_line":"the attached volume."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I05ba531a18ba416e8b07c8a4165f5e1f7f5e44aa"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":21,"id":"3afb71cf_dbd4d0ec","line":16,"in_reply_to":"3afb71cf_a6ac668c","updated":"2015-06-20 13:46:09.000000000","message":"OK","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"}],"specs/liberty/volume-migration-improvement.rst":[{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":13,"context_line":"This specification proposes to improve the current volume migration in terms"},{"line_number":14,"context_line":"of implementing a better way to manage the volume status and migration status,"},{"line_number":15,"context_line":"adding the migration progress indication, enriching the notification system via"},{"line_number":16,"context_line":"reporting to Ceilometer, guaranteeing the migration quality via the tempest and"},{"line_number":17,"context_line":"gate tests, etc. It targets to resolve the current issues for the available"},{"line_number":18,"context_line":"volumes only, since we need to wait until multiple attached volume lands in Nova"},{"line_number":19,"context_line":"to resolve the issues related to the attached volumes."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4bceb95b","line":16,"updated":"2015-06-01 16:44:52.000000000","message":"remove \u0027the\u0027 here.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":13,"context_line":"This specification proposes to improve the current volume migration in terms"},{"line_number":14,"context_line":"of implementing a better way to manage the volume status and migration status,"},{"line_number":15,"context_line":"adding the migration progress indication, enriching the notification system via"},{"line_number":16,"context_line":"reporting to Ceilometer, guaranteeing the migration quality via the tempest and"},{"line_number":17,"context_line":"gate tests, etc. It targets to resolve the current issues for the available"},{"line_number":18,"context_line":"volumes only, since we need to wait until multiple attached volume lands in Nova"},{"line_number":19,"context_line":"to resolve the issues related to the attached volumes."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_9f2f38a1","line":16,"in_reply_to":"5afe65bd_4bceb95b","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":15,"context_line":"adding the migration progress indication, enriching the notification system via"},{"line_number":16,"context_line":"reporting to Ceilometer, guaranteeing the migration quality via the tempest and"},{"line_number":17,"context_line":"gate tests, etc. It targets to resolve the current issues for the available"},{"line_number":18,"context_line":"volumes only, since we need to wait until multiple attached volume lands in Nova"},{"line_number":19,"context_line":"to resolve the issues related to the attached volumes."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_eb2a05e7","line":18,"updated":"2015-06-01 16:44:52.000000000","message":"suggest \u0027multiple attached volume functionality\u0027","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":15,"context_line":"adding the migration progress indication, enriching the notification system via"},{"line_number":16,"context_line":"reporting to Ceilometer, guaranteeing the migration quality via the tempest and"},{"line_number":17,"context_line":"gate tests, etc. It targets to resolve the current issues for the available"},{"line_number":18,"context_line":"volumes only, since we need to wait until multiple attached volume lands in Nova"},{"line_number":19,"context_line":"to resolve the issues related to the attached volumes."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_5f18a084","line":18,"in_reply_to":"5afe65bd_eb2a05e7","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"90a684d6e792470f69afce491869ded2c2519b18","unresolved":false,"context_lines":[{"line_number":16,"context_line":"reporting to Ceilometer, guaranteeing the migration quality via the tempest and"},{"line_number":17,"context_line":"gate tests, etc. It targets to resolve the current issues for the available"},{"line_number":18,"context_line":"volumes only, since we need to wait until multiple attached volume lands in Nova"},{"line_number":19,"context_line":"to resolve the issues related to the attached volumes."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_05e4ce38","line":19,"updated":"2015-06-03 15:22:58.000000000","message":"I would recommend to explain summary of volume migration here and define which one is target of this spec.\n\nThere are 3 paths - Nova, Cinder volume manager, and Cinder volume driver and combination of volume statuses available and in-use.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"80485a02ae56933d6c59bc82ed2218b13ca44070","unresolved":false,"context_lines":[{"line_number":16,"context_line":"reporting to Ceilometer, guaranteeing the migration quality via the tempest and"},{"line_number":17,"context_line":"gate tests, etc. It targets to resolve the current issues for the available"},{"line_number":18,"context_line":"volumes only, since we need to wait until multiple attached volume lands in Nova"},{"line_number":19,"context_line":"to resolve the issues related to the attached volumes."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_6d38eea0","line":19,"in_reply_to":"5afe65bd_05e4ce38","updated":"2015-06-04 06:43:11.000000000","message":"I will list the cases and declare they are for availale volumes.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_bf6554e2","line":27,"updated":"2015-06-02 05:32:28.000000000","message":"That is because this is an admin action being performed on a user\u0027s volume. The user should not know that the volume is being moved between two backends, just as the user does not know on what backend a volume is stored.  If my cloud has some policy to move volumes that haven\u0027t been used in the last month to cheaper storage, should the user be aware of this?  If I need to take some storage down for maintenance or decommissioning, does every user need to know?  I think this goes against what Cinder has exposed to users in the past.\n\nThe only reason I can think of why this would be confusing to the user is that an attached volume undergoing migration can\u0027t be detached, and an \u0027available\u0027 volume undergoing migration can\u0027t be attached.  That is the only scenario today where a user is aware of a migration.  I would suggest the fix to be canceling the migration on attach/detach and having the admin retry the migration.\n\nIf by \"user\" you mean \"admin\", I think that\u0027s fine.  I would rather the admin have to look at some admin-only state than expose the inner workings of my cloud to all users.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"80485a02ae56933d6c59bc82ed2218b13ca44070","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_cd92429f","line":27,"in_reply_to":"5afe65bd_2c037775","updated":"2015-06-04 06:43:11.000000000","message":"I will change the spec according to what we agree on in the IRC meeting.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_df25b0c2","line":27,"in_reply_to":"5afe65bd_bf6554e2","updated":"2015-06-02 06:36:07.000000000","message":"Thank you for the explanations, Avishay.\n\nI will make the spec more precise. First, All the user I am using in this specification actually mean admins. I would like the admin to have a better management and more friendly way to know what is really going on with my volume.\n\nSecond, as you said here, it is very confusing(sometimes annoying) to ME that the in-use volume is unable to detach because of migration and the available volumes are unable to attach because of migration. I think this reason is interesting enough for us to change the way we currently manage our voluem status. No matter it is for amin or users.\n\nThird, I do not think there is anything really bad to inform the actual status of the migrated volume to the REAL non-admin USER. It is better that the volume status is just there telling the TRUTH than doing something secret, which prevents the volume from being attached or detached. IMO, cinder should manage the status in a precise way and tell the admin or th users the truth, which they can rely on. If we want hide something from the users, the apps/service providers on top of cinder can do that.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"02a1abe5854b8bcb30f640712ee5097d8798a744","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_2c037775","line":27,"in_reply_to":"5afe65bd_df25b0c2","updated":"2015-06-02 11:20:43.000000000","message":"Again, I think that if the user knows about migrations that the admin or some background process initiates, then we broke the abstraction.  As I said, the best way IMO is to abort migrations in the case of attach/detach.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":25,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_7fb6bc3e","line":28,"updated":"2015-06-02 05:32:28.000000000","message":"user -\u003e admin","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":25,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_7f035c10","line":28,"in_reply_to":"5afe65bd_7fb6bc3e","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.\nI will use the right words with more explanations.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"},{"line_number":32,"context_line":"via the check by \"cinder list\" command. One is the source volume and one is the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4b235906","line":29,"updated":"2015-06-01 16:44:52.000000000","message":"suggest him -\u003e them","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":26,"context_line":"1. The status of the original volume is still left available or in-use"},{"line_number":27,"context_line":"during migration, which is very confusing to the user."},{"line_number":28,"context_line":"2. From the API perspective, the user is unable to check the status of the"},{"line_number":29,"context_line":"migration. The only way for him to check if the migration fails or succeeds is"},{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"},{"line_number":32,"context_line":"via the check by \"cinder list\" command. One is the source volume and one is the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_52ff7701","line":29,"in_reply_to":"5afe65bd_4b235906","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"},{"line_number":32,"context_line":"via the check by \"cinder list\" command. One is the source volume and one is the"},{"line_number":33,"context_line":"destination volume. The latter is actually useless to show and leads to confusions."},{"line_number":34,"context_line":"4. When executing the command \"cinder migrate\", most of the time there is"},{"line_number":35,"context_line":"nothing returned to the user from the terminal, which is unfriendly and needs to"},{"line_number":36,"context_line":"be improved."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_dfaff0e1","line":33,"updated":"2015-06-02 05:32:28.000000000","message":"Only the admin sees two, users see one.  You need to separate between the two.  Outside of devstack, there actually is a difference.  If you would like to hide the temporary volume from admins as well, that\u0027s fine, but again, the distinction between users and the admin should be made.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"},{"line_number":32,"context_line":"via the check by \"cinder list\" command. One is the source volume and one is the"},{"line_number":33,"context_line":"destination volume. The latter is actually useless to show and leads to confusions."},{"line_number":34,"context_line":"4. When executing the command \"cinder migrate\", most of the time there is"},{"line_number":35,"context_line":"nothing returned to the user from the terminal, which is unfriendly and needs to"},{"line_number":36,"context_line":"be improved."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4b6a391c","line":33,"updated":"2015-06-01 16:44:52.000000000","message":"confusions -\u003e confusion","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"},{"line_number":32,"context_line":"via the check by \"cinder list\" command. One is the source volume and one is the"},{"line_number":33,"context_line":"destination volume. The latter is actually useless to show and leads to confusions."},{"line_number":34,"context_line":"4. When executing the command \"cinder migrate\", most of the time there is"},{"line_number":35,"context_line":"nothing returned to the user from the terminal, which is unfriendly and needs to"},{"line_number":36,"context_line":"be improved."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_3204fb13","line":33,"in_reply_to":"5afe65bd_4b6a391c","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":30,"context_line":"to check the database."},{"line_number":31,"context_line":"3. During the migration, there are two volumes appearing in the database record"},{"line_number":32,"context_line":"via the check by \"cinder list\" command. One is the source volume and one is the"},{"line_number":33,"context_line":"destination volume. The latter is actually useless to show and leads to confusions."},{"line_number":34,"context_line":"4. When executing the command \"cinder migrate\", most of the time there is"},{"line_number":35,"context_line":"nothing returned to the user from the terminal, which is unfriendly and needs to"},{"line_number":36,"context_line":"be improved."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_f20d4338","line":33,"in_reply_to":"5afe65bd_dfaff0e1","updated":"2015-06-02 06:36:07.000000000","message":"Thanks. I will do more explanation.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":35,"context_line":"nothing returned to the user from the terminal, which is unfriendly and needs to"},{"line_number":36,"context_line":"be improved."},{"line_number":37,"context_line":"5. It is probable that the migration process takes a long time to finish. Currently"},{"line_number":38,"context_line":"the user gets nothing from the log about the progress of the migration."},{"line_number":39,"context_line":"6. Nothing reports to the Ceilometer."},{"line_number":40,"context_line":"7. There are no tempest test cases and no gate tests to make sure the migration"},{"line_number":41,"context_line":"truly works for any kind of drivers."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_1ff3480c","line":38,"updated":"2015-06-02 05:32:28.000000000","message":"user -\u003e admin\n\nI welcome displaying some progress for long operations.  To do this correctly, however, is not easy.  For migration you have 3 paths - Nova, Cinder volume manager, and Cinder volume driver.  Each of those 3 needs to be able to report progress.  Further, there are other operations which should report progress today and don\u0027t, like volume-to-image and image-to-volume, or volume clone which some drivers implement using a copy.  There should be some generic mechanism for this.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"nothing returned to the user from the terminal, which is unfriendly and needs to"},{"line_number":36,"context_line":"be improved."},{"line_number":37,"context_line":"5. It is probable that the migration process takes a long time to finish. Currently"},{"line_number":38,"context_line":"the user gets nothing from the log about the progress of the migration."},{"line_number":39,"context_line":"6. Nothing reports to the Ceilometer."},{"line_number":40,"context_line":"7. There are no tempest test cases and no gate tests to make sure the migration"},{"line_number":41,"context_line":"truly works for any kind of drivers."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_32bbdbc6","line":38,"in_reply_to":"5afe65bd_1ff3480c","updated":"2015-06-02 06:36:07.000000000","message":"Check my comment downstairs.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":41,"context_line":"truly works for any kind of drivers."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"We propose to add the management of volume status and migration status to resolve"},{"line_number":44,"context_line":"the issues from 1 to 4, add the migration progress indication to cover Issue 5, add"},{"line_number":45,"context_line":"the notification to solve Issue 6 and add tempest tests and gate tests to tackle"},{"line_number":46,"context_line":"Issue 7."},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_cbcbc91d","line":44,"updated":"2015-06-01 16:44:52.000000000","message":"suggest rewording:  \u0027\tWe propose to add the management of volume status and migration status to resolve issues 1 to 4 ...\u0027","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"truly works for any kind of drivers."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"We propose to add the management of volume status and migration status to resolve"},{"line_number":44,"context_line":"the issues from 1 to 4, add the migration progress indication to cover Issue 5, add"},{"line_number":45,"context_line":"the notification to solve Issue 6 and add tempest tests and gate tests to tackle"},{"line_number":46,"context_line":"Issue 7."},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_721a7370","line":44,"in_reply_to":"5afe65bd_cbcbc91d","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Management of volume status and migration status:"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The volume status needs to be set to \"migrating\" and goes back to its original"},{"line_number":54,"context_line":"status when the migration is over. If the migration fails, the migration status is"},{"line_number":55,"context_line":"set to \"error\". If the migration succeeds, the migration status is set to \"success\"."},{"line_number":56,"context_line":"If no migration is ever done for the volume, the migration status is set to None."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_ebed658f","line":53,"updated":"2015-06-01 16:44:52.000000000","message":"goes -\u003e go","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Management of volume status and migration status:"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"The volume status needs to be set to \"migrating\" and goes back to its original"},{"line_number":54,"context_line":"status when the migration is over. If the migration fails, the migration status is"},{"line_number":55,"context_line":"set to \"error\". If the migration succeeds, the migration status is set to \"success\"."},{"line_number":56,"context_line":"If no migration is ever done for the volume, the migration status is set to None."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_522657bb","line":53,"in_reply_to":"5afe65bd_ebed658f","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":54,"context_line":"status when the migration is over. If the migration fails, the migration status is"},{"line_number":55,"context_line":"set to \"error\". If the migration succeeds, the migration status is set to \"success\"."},{"line_number":56,"context_line":"If no migration is ever done for the volume, the migration status is set to None."},{"line_number":57,"context_line":"The migration status is used to record the result of the previous migration."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"We plan to add a migration status list and migration status get for a certain"},{"line_number":60,"context_line":"volume into python-cinderclient. The first is used to list all the volumes with the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_5fd0a053","line":57,"updated":"2015-06-02 05:32:28.000000000","message":"See my comment above.  I think this is a bad idea.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"02a1abe5854b8bcb30f640712ee5097d8798a744","unresolved":false,"context_lines":[{"line_number":54,"context_line":"status when the migration is over. If the migration fails, the migration status is"},{"line_number":55,"context_line":"set to \"error\". If the migration succeeds, the migration status is set to \"success\"."},{"line_number":56,"context_line":"If no migration is ever done for the volume, the migration status is set to None."},{"line_number":57,"context_line":"The migration status is used to record the result of the previous migration."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"We plan to add a migration status list and migration status get for a certain"},{"line_number":60,"context_line":"volume into python-cinderclient. The first is used to list all the volumes with the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_ecad5f32","line":57,"in_reply_to":"5afe65bd_524d3771","updated":"2015-06-02 11:20:43.000000000","message":"It is still valid to raise objections after a summit session","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":54,"context_line":"status when the migration is over. If the migration fails, the migration status is"},{"line_number":55,"context_line":"set to \"error\". If the migration succeeds, the migration status is set to \"success\"."},{"line_number":56,"context_line":"If no migration is ever done for the volume, the migration status is set to None."},{"line_number":57,"context_line":"The migration status is used to record the result of the previous migration."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"We plan to add a migration status list and migration status get for a certain"},{"line_number":60,"context_line":"volume into python-cinderclient. The first is used to list all the volumes with the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_524d3771","line":57,"in_reply_to":"5afe65bd_5fd0a053","updated":"2015-06-02 06:36:07.000000000","message":"Sorry, I answered with my comment before. This is the agreement in the Vancouver summit. The volume status should indicate the exact status of the volume and migration_status will play the role to record the result of the previous migration, error or success.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"80485a02ae56933d6c59bc82ed2218b13ca44070","unresolved":false,"context_lines":[{"line_number":54,"context_line":"status when the migration is over. If the migration fails, the migration status is"},{"line_number":55,"context_line":"set to \"error\". If the migration succeeds, the migration status is set to \"success\"."},{"line_number":56,"context_line":"If no migration is ever done for the volume, the migration status is set to None."},{"line_number":57,"context_line":"The migration status is used to record the result of the previous migration."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"We plan to add a migration status list and migration status get for a certain"},{"line_number":60,"context_line":"volume into python-cinderclient. The first is used to list all the volumes with the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_edb05e45","line":57,"in_reply_to":"5afe65bd_ecad5f32","updated":"2015-06-04 06:43:11.000000000","message":"I think the migration status is for admin only and accessed by admin only. For the volume status I will change the spec according to what we agree in the IRC meeting.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":62,"context_line":"certain volume."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"We plan to provide more information when the user is running \"cinder migrate\""},{"line_number":65,"context_line":"command. If the migration is able to go, we return a message \"Your migration request"},{"line_number":66,"context_line":"has been received. Please check migration status and the server log to see more"},{"line_number":67,"context_line":"information.\" If the migration is rejected by the API or the scheduler, we shall"},{"line_number":68,"context_line":"return messages like \"Your migration request failed to process due to some reasons\""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4bad9930","line":65,"updated":"2015-06-01 16:44:52.000000000","message":"change \u0027go\u0027 to \u0027start\u0027","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":62,"context_line":"certain volume."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"We plan to provide more information when the user is running \"cinder migrate\""},{"line_number":65,"context_line":"command. If the migration is able to go, we return a message \"Your migration request"},{"line_number":66,"context_line":"has been received. Please check migration status and the server log to see more"},{"line_number":67,"context_line":"information.\" If the migration is rejected by the API or the scheduler, we shall"},{"line_number":68,"context_line":"return messages like \"Your migration request failed to process due to some reasons\""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_1257bf03","line":65,"in_reply_to":"5afe65bd_4bad9930","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":77,"context_line":"blockcopy process can show the status like how many bytes have been transferred if"},{"line_number":78,"context_line":"we execute the command like \"kill -USR1 [dd process]\". We can check the progress"},{"line_number":79,"context_line":"by running the \"kill\" command in a certain time interval, so that the progress of"},{"line_number":80,"context_line":"migration can be well tracked and logged."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_ff13cc0b","line":80,"updated":"2015-06-02 05:32:28.000000000","message":"As I stated above, don\u0027t be too focused on devstack and LVM.  There needs to be a generic mechanism for everyone to report progress.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"16ffa70c40c45761b83e22ced8ee8eb5da7d3d65","unresolved":false,"context_lines":[{"line_number":77,"context_line":"blockcopy process can show the status like how many bytes have been transferred if"},{"line_number":78,"context_line":"we execute the command like \"kill -USR1 [dd process]\". We can check the progress"},{"line_number":79,"context_line":"by running the \"kill\" command in a certain time interval, so that the progress of"},{"line_number":80,"context_line":"migration can be well tracked and logged."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_e275adf9","line":80,"updated":"2015-06-01 14:20:14.000000000","message":"I would consider alternate methods of doing this, because I don\u0027t think you will have an easy way to get text output from the dd process while it is still running.\n\n/proc/\u003cx\u003e/fdinfo position indicator can provide this info.\n\nFor thin-provisioned LVM, it may be possible to get this information by querying LVM instead, which would be even better.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"90a684d6e792470f69afce491869ded2c2519b18","unresolved":false,"context_lines":[{"line_number":77,"context_line":"blockcopy process can show the status like how many bytes have been transferred if"},{"line_number":78,"context_line":"we execute the command like \"kill -USR1 [dd process]\". We can check the progress"},{"line_number":79,"context_line":"by running the \"kill\" command in a certain time interval, so that the progress of"},{"line_number":80,"context_line":"migration can be well tracked and logged."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_bae199d2","line":80,"in_reply_to":"5afe65bd_123b36d3","updated":"2015-06-03 15:22:58.000000000","message":"I agree the Avishay\u0027s comment above. Above way using /proc is just a solution for migration of Cinder volume manager path.\n\nWe should also define the whole visions including Nova and Cinder volume driver cases, and then you can add a comment \"this case is out of scope in the spec\", etc.\n\nEspecially, I don\u0027t have an idea how to get progress for Cinder volume driver case, this should includes in the spec because they handle available volume migration.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"379bab066af47900b86536bc9b66f59b477bec8d","unresolved":false,"context_lines":[{"line_number":77,"context_line":"blockcopy process can show the status like how many bytes have been transferred if"},{"line_number":78,"context_line":"we execute the command like \"kill -USR1 [dd process]\". We can check the progress"},{"line_number":79,"context_line":"by running the \"kill\" command in a certain time interval, so that the progress of"},{"line_number":80,"context_line":"migration can be well tracked and logged."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_e1132b0c","line":80,"in_reply_to":"5afe65bd_f2eb03af","updated":"2015-06-02 09:25:56.000000000","message":"Here we are talking about how to get progress information. No matter what mechanism we are using, the most important thing is to get the preogress information first.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"02a1abe5854b8bcb30f640712ee5097d8798a744","unresolved":false,"context_lines":[{"line_number":77,"context_line":"blockcopy process can show the status like how many bytes have been transferred if"},{"line_number":78,"context_line":"we execute the command like \"kill -USR1 [dd process]\". We can check the progress"},{"line_number":79,"context_line":"by running the \"kill\" command in a certain time interval, so that the progress of"},{"line_number":80,"context_line":"migration can be well tracked and logged."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_123b36d3","line":80,"in_reply_to":"5afe65bd_f2eb03af","updated":"2015-06-02 11:20:43.000000000","message":"It\u0027s fine to split the delivery into stages, where some happens before multi-attach and some after, but I think the spec should include the entire \"vision\".\n\nAs for the progress mechanism, All I\u0027m saying is that running the \"kill\" command on dd is fine, but there should be a way for all migration methods to report their progress.  And if each does something ad-hoc, the code will be a mess.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":77,"context_line":"blockcopy process can show the status like how many bytes have been transferred if"},{"line_number":78,"context_line":"we execute the command like \"kill -USR1 [dd process]\". We can check the progress"},{"line_number":79,"context_line":"by running the \"kill\" command in a certain time interval, so that the progress of"},{"line_number":80,"context_line":"migration can be well tracked and logged."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_f2eb03af","line":80,"in_reply_to":"5afe65bd_ff13cc0b","updated":"2015-06-02 06:36:07.000000000","message":"Avishay, some backgrounds I would like to update with you.\nI limit the scope for this spec at the first paragraph. All the cases here are applicable to the volumes with \"available\" status, not \"in-use\" volumes, because the multi-attach volumes is going to land in Nova for the L release. We list a lot of issues related to \"in-use\" volumes as well during the summit. I have to decide tocome back to the issues of \"in-use\" volumes after the multi-attach is merged in Nova.\n\nAbout the mechanism for reporting the progress, we mainly classify them into 2 categories. One is driver-specific, e.g. migrating volume from one pool of the back-end storage to another pool. The back-end takes care of the whole process of migration. We have go to the back-end to see if it expose any API reporting the progress back;\nthe other is the blockcopy. I think the comment from Eric and Mitsuhiro really help to cover this case.\n\nThat is all what we can consider. About a generic mechanism, I would love to see one as well. However, I would rather focus on this migration to get a good pilot done first.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"e2e9134dc4f849692beb814c25d379a8e4dd9438","unresolved":false,"context_lines":[{"line_number":77,"context_line":"blockcopy process can show the status like how many bytes have been transferred if"},{"line_number":78,"context_line":"we execute the command like \"kill -USR1 [dd process]\". We can check the progress"},{"line_number":79,"context_line":"by running the \"kill\" command in a certain time interval, so that the progress of"},{"line_number":80,"context_line":"migration can be well tracked and logged."},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_b1afdb93","line":80,"in_reply_to":"7a016987_e275adf9","updated":"2015-06-01 19:24:04.000000000","message":"This is a good idea and easy to get the progress. Thank you for pointing this out.\n\nI think following two steps would be better.\n\n(1) Check source path of the symbolic link /proc/\u003cx\u003e/fd/\u003cy\u003e whether the source path is same as destination volume path.\n\n(2) Cat /proc/\u003cx\u003e/fdinfo/\u003cy\u003e and get pos.\n\nIn my fedora environment,  /proc/\u003cx\u003e/fd/0 was linked source volume path and  /proc/\u003cx\u003e/fd/1 was linked destination volume path.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"},{"line_number":84,"context_line":"time interval. Storwize V7000 is taken as the reference implementation about"},{"line_number":85,"context_line":"reporting the migration status."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"* Notification:"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4b5b5955","line":85,"updated":"2015-06-01 16:44:52.000000000","message":"Can you provide a little more details here as to what Storwize is doing for an example?","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"},{"line_number":84,"context_line":"time interval. Storwize V7000 is taken as the reference implementation about"},{"line_number":85,"context_line":"reporting the migration status."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"* Notification:"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_dff930ca","line":85,"updated":"2015-06-02 05:32:28.000000000","message":"How will this mechanism work?  Will there be some periodic task to poll the drivers involved in such migrations?\n\nHow will Nova report progress?","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"80485a02ae56933d6c59bc82ed2218b13ca44070","unresolved":false,"context_lines":[{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"},{"line_number":84,"context_line":"time interval. Storwize V7000 is taken as the reference implementation about"},{"line_number":85,"context_line":"reporting the migration status."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"* Notification:"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_8d47aa4a","line":85,"in_reply_to":"5afe65bd_72526a15","updated":"2015-06-04 06:43:11.000000000","message":"For the scope, I will add All the test cases are designed for the available volumes at the beginning.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"},{"line_number":84,"context_line":"time interval. Storwize V7000 is taken as the reference implementation about"},{"line_number":85,"context_line":"reporting the migration status."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"* Notification:"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_f272e3ac","line":85,"in_reply_to":"5afe65bd_dff930ca","updated":"2015-06-02 06:36:07.000000000","message":"I am discussing this issue with Bai Tao now. More specific things will come out.\nAgain, this spec is focus on available volumes only.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"02a1abe5854b8bcb30f640712ee5097d8798a744","unresolved":false,"context_lines":[{"line_number":82,"context_line":"If the volume is migrated within different pools of one back-end, we would like"},{"line_number":83,"context_line":"to implement this feature by checking the stats of the storage back-end in a certain"},{"line_number":84,"context_line":"time interval. Storwize V7000 is taken as the reference implementation about"},{"line_number":85,"context_line":"reporting the migration status."},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"* Notification:"},{"line_number":88,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_72526a15","line":85,"in_reply_to":"5afe65bd_f272e3ac","updated":"2015-06-02 11:20:43.000000000","message":"So maybe write this up front so the scope is known","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":94,"context_line":"verification in CI. Storwize V7000 will be taken as the reference to implement."},{"line_number":95,"context_line":"For volume migration from one back-end to another back-end, we plan to add test"},{"line_number":96,"context_line":"cases into Tempest to verify that. Retyping from LVM to Storwize V7000 and vice"},{"line_number":97,"context_line":"versa will be taken as the reference implementation."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_ee4c5378","line":97,"updated":"2015-06-01 16:44:52.000000000","message":"Do we want to indicate that we will also add tests for LVM?  Since it is the reference.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":94,"context_line":"verification in CI. Storwize V7000 will be taken as the reference to implement."},{"line_number":95,"context_line":"For volume migration from one back-end to another back-end, we plan to add test"},{"line_number":96,"context_line":"cases into Tempest to verify that. Retyping from LVM to Storwize V7000 and vice"},{"line_number":97,"context_line":"versa will be taken as the reference implementation."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_7f9c7c69","line":97,"updated":"2015-06-02 05:32:28.000000000","message":"There are several scenarios to consider:\n\n 1. \u0027available\u0027 volume using Cinder generic migration with LVM to LVM\n 2. \u0027available\u0027 volume using Cinder generic migration with LVM to vendor driver\n 3. \u0027available\u0027 volume using Cinder generic migration with vendor driver to LVM\n 4. \u0027available\u0027 volume between two vendor driver pools using Cinder generic migration\n 5. \u0027available\u0027 volume between two vendor driver pools using optimized method if  possible (if not available it should be like test #4)\n 6. \u0027in-use\u0027 volume using Nova generic migration with LVM to LVM\n 7. \u0027in-use\u0027 volume using Nova generic migration with LVM to vendor driver\n 8. \u0027in-use\u0027 volume using Nova generic migration with vendor driver to LVM\n 9. \u0027in-use\u0027 volume between two vendor driver pools using Nova generic migration\n 10. \u0027in-use\u0027 volume between two vendor driver pools using optimized method if possible (if not available it should be like test #9)","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":94,"context_line":"verification in CI. Storwize V7000 will be taken as the reference to implement."},{"line_number":95,"context_line":"For volume migration from one back-end to another back-end, we plan to add test"},{"line_number":96,"context_line":"cases into Tempest to verify that. Retyping from LVM to Storwize V7000 and vice"},{"line_number":97,"context_line":"versa will be taken as the reference implementation."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_d2f8077f","line":97,"in_reply_to":"5afe65bd_7f9c7c69","updated":"2015-06-02 06:36:07.000000000","message":"Please check the comment above. The scope is limited to available volumes so far, since I like to wait until multi-attach merged in nova.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"02a1abe5854b8bcb30f640712ee5097d8798a744","unresolved":false,"context_lines":[{"line_number":94,"context_line":"verification in CI. Storwize V7000 will be taken as the reference to implement."},{"line_number":95,"context_line":"For volume migration from one back-end to another back-end, we plan to add test"},{"line_number":96,"context_line":"cases into Tempest to verify that. Retyping from LVM to Storwize V7000 and vice"},{"line_number":97,"context_line":"versa will be taken as the reference implementation."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_f2653ae1","line":97,"in_reply_to":"5afe65bd_d2f8077f","updated":"2015-06-02 11:20:43.000000000","message":"Again, clarify what the scope is","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":94,"context_line":"verification in CI. Storwize V7000 will be taken as the reference to implement."},{"line_number":95,"context_line":"For volume migration from one back-end to another back-end, we plan to add test"},{"line_number":96,"context_line":"cases into Tempest to verify that. Retyping from LVM to Storwize V7000 and vice"},{"line_number":97,"context_line":"versa will be taken as the reference implementation."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_d226c715","line":97,"in_reply_to":"5afe65bd_ee4c5378","updated":"2015-06-02 06:36:07.000000000","message":"I think so. The tests I think I am able to do include from VM to LVM, from storwize to LVM, from LVM to storwize, and from storwize to storwize.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"80485a02ae56933d6c59bc82ed2218b13ca44070","unresolved":false,"context_lines":[{"line_number":94,"context_line":"verification in CI. Storwize V7000 will be taken as the reference to implement."},{"line_number":95,"context_line":"For volume migration from one back-end to another back-end, we plan to add test"},{"line_number":96,"context_line":"cases into Tempest to verify that. Retyping from LVM to Storwize V7000 and vice"},{"line_number":97,"context_line":"versa will be taken as the reference implementation."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_922b4b94","line":97,"in_reply_to":"5afe65bd_f2653ae1","updated":"2015-06-04 06:43:11.000000000","message":"I will add All the test cases are designed for the available volumes at the beginning. list the cases here.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":106,"context_line":"to go."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"The volume migration works with the current code. However, this is not 100% sure for"},{"line_number":109,"context_line":"all the cinder back-end drivers. We can decide not to bring new code into the"},{"line_number":110,"context_line":"migration, but the quality of volume migration has no way to ensure. The purpose that"},{"line_number":111,"context_line":"we plan to have a better management of the volume status and migration status, add"},{"line_number":112,"context_line":"migration progress indication, report the stats to Ceilometer and provide tempest"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4e65a7df","line":109,"updated":"2015-06-01 16:44:52.000000000","message":"Not sure what this sentence means:  However, this is not 100% sure for\t\tall the cinder back-end drivers. \n\nDo you meant that migration isn\u0027t working reliably for all drivers?","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":106,"context_line":"to go."},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"The volume migration works with the current code. However, this is not 100% sure for"},{"line_number":109,"context_line":"all the cinder back-end drivers. We can decide not to bring new code into the"},{"line_number":110,"context_line":"migration, but the quality of volume migration has no way to ensure. The purpose that"},{"line_number":111,"context_line":"we plan to have a better management of the volume status and migration status, add"},{"line_number":112,"context_line":"migration progress indication, report the stats to Ceilometer and provide tempest"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_1241ff0b","line":109,"in_reply_to":"5afe65bd_4e65a7df","updated":"2015-06-02 06:36:07.000000000","message":"I will rephrase them another way.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"The volume migration works with the current code. However, this is not 100% sure for"},{"line_number":109,"context_line":"all the cinder back-end drivers. We can decide not to bring new code into the"},{"line_number":110,"context_line":"migration, but the quality of volume migration has no way to ensure. The purpose that"},{"line_number":111,"context_line":"we plan to have a better management of the volume status and migration status, add"},{"line_number":112,"context_line":"migration progress indication, report the stats to Ceilometer and provide tempest"},{"line_number":113,"context_line":"and gate tests, is simply to guarantee the migration code has better quality, and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_ce9f57b3","line":110,"updated":"2015-06-01 16:44:52.000000000","message":"Also not sure what this sentence means?  You mean that the currently quality of the migration process is poor and needs to be improved ?","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":107,"context_line":""},{"line_number":108,"context_line":"The volume migration works with the current code. However, this is not 100% sure for"},{"line_number":109,"context_line":"all the cinder back-end drivers. We can decide not to bring new code into the"},{"line_number":110,"context_line":"migration, but the quality of volume migration has no way to ensure. The purpose that"},{"line_number":111,"context_line":"we plan to have a better management of the volume status and migration status, add"},{"line_number":112,"context_line":"migration progress indication, report the stats to Ceilometer and provide tempest"},{"line_number":113,"context_line":"and gate tests, is simply to guarantee the migration code has better quality, and"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_f2454317","line":110,"in_reply_to":"5afe65bd_ce9f57b3","updated":"2015-06-02 06:36:07.000000000","message":"I will rephrase them another way.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"f7f78691fc4cbd64a8e574a23460171300b99303","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Security impact"},{"line_number":139,"context_line":"---------------"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"None"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"Notifications impact"},{"line_number":144,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_7f735c4e","line":141,"updated":"2015-06-02 05:32:28.000000000","message":"If you decide to expose migration to users, there is definitely a security impact","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Security impact"},{"line_number":139,"context_line":"---------------"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"None"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"Notifications impact"},{"line_number":144,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_52d09753","line":141,"in_reply_to":"5afe65bd_7f735c4e","updated":"2015-06-02 06:36:07.000000000","message":"I will differentiate admins from users","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":162,"context_line":"Other deployer impact"},{"line_number":163,"context_line":"---------------------"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"If the back-end driver supports the migration progress indication, a new"},{"line_number":166,"context_line":"configuration option migration_progress_interval can be added. The administrator"},{"line_number":167,"context_line":"can decide the time interval for the cinder volume service to report the migration"},{"line_number":168,"context_line":"progress."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_ae7bfb7a","line":165,"updated":"2015-06-01 16:44:52.000000000","message":"Will this change the output the user gets when checking the status?  Could use a little more detail here.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":162,"context_line":"Other deployer impact"},{"line_number":163,"context_line":"---------------------"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"If the back-end driver supports the migration progress indication, a new"},{"line_number":166,"context_line":"configuration option migration_progress_interval can be added. The administrator"},{"line_number":167,"context_line":"can decide the time interval for the cinder volume service to report the migration"},{"line_number":168,"context_line":"progress."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_520537c0","line":165,"in_reply_to":"5afe65bd_ae7bfb7a","updated":"2015-06-02 06:36:07.000000000","message":"No, I just want to give the admin the choice to set how frequent to poll the migration progress. The interval can be 30 seconds, 45 seconds, 60 seconds, etc.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":195,"context_line":"over."},{"line_number":196,"context_line":"2) Add API support to get the migration status of a volume and list the migration"},{"line_number":197,"context_line":"status of all volumes."},{"line_number":198,"context_line":"3) Enrich cinderclient with a friendly messages returned for cinder migrate and"},{"line_number":199,"context_line":"retype command."},{"line_number":200,"context_line":"4) Hide the redundant dummy destination volume during migration."},{"line_number":201,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_4b79192f","line":198,"updated":"2015-06-01 16:44:52.000000000","message":"remove \u0027a\u0027 here.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":195,"context_line":"over."},{"line_number":196,"context_line":"2) Add API support to get the migration status of a volume and list the migration"},{"line_number":197,"context_line":"status of all volumes."},{"line_number":198,"context_line":"3) Enrich cinderclient with a friendly messages returned for cinder migrate and"},{"line_number":199,"context_line":"retype command."},{"line_number":200,"context_line":"4) Hide the redundant dummy destination volume during migration."},{"line_number":201,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_52e9b719","line":198,"in_reply_to":"5afe65bd_4b79192f","updated":"2015-06-02 06:36:07.000000000","message":"Thanks.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"16ffa70c40c45761b83e22ced8ee8eb5da7d3d65","unresolved":false,"context_lines":[{"line_number":200,"context_line":"4) Hide the redundant dummy destination volume during migration."},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Migration progress indication:"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"1) If the volume is migrated between LVM back-ends, the command like"},{"line_number":205,"context_line":"\"kill -USR1 [dd process]\" is used to check the progress of the migration in a certain"},{"line_number":206,"context_line":"time interval. The migration percentage can be calculated and logged."}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_82f39972","line":203,"updated":"2015-06-01 14:20:14.000000000","message":"This is duplicated from above... please remove / clean up.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":200,"context_line":"4) Hide the redundant dummy destination volume during migration."},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Migration progress indication:"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"1) If the volume is migrated between LVM back-ends, the command like"},{"line_number":205,"context_line":"\"kill -USR1 [dd process]\" is used to check the progress of the migration in a certain"},{"line_number":206,"context_line":"time interval. The migration percentage can be calculated and logged."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_92904f97","line":203,"in_reply_to":"5afe65bd_ab988d6b","updated":"2015-06-02 06:36:07.000000000","message":"Sorry for that.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":200,"context_line":"4) Hide the redundant dummy destination volume during migration."},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"* Migration progress indication:"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"1) If the volume is migrated between LVM back-ends, the command like"},{"line_number":205,"context_line":"\"kill -USR1 [dd process]\" is used to check the progress of the migration in a certain"},{"line_number":206,"context_line":"time interval. The migration percentage can be calculated and logged."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_ab988d6b","line":203,"in_reply_to":"7a016987_82f39972","updated":"2015-06-01 16:44:52.000000000","message":"++","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"16ffa70c40c45761b83e22ced8ee8eb5da7d3d65","unresolved":false,"context_lines":[{"line_number":219,"context_line":"to test if it works for volume migration between LVM and Storwize."},{"line_number":220,"context_line":"2) Add the script to test volume migration from one pool to another with Storwize"},{"line_number":221,"context_line":"back-end."},{"line_number":222,"context_line":""},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"Dependencies"},{"line_number":225,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_a2be9562","line":222,"updated":"2015-06-01 14:20:14.000000000","message":"Depending on ability to parse the required info for the LVM driver, I think it may be fair to focus on testing thin LVM for this and not thick LVM, since our focus should be shifting there.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"e6c3803822a5976a334b4632a999a11dc05d1603","unresolved":false,"context_lines":[{"line_number":219,"context_line":"to test if it works for volume migration between LVM and Storwize."},{"line_number":220,"context_line":"2) Add the script to test volume migration from one pool to another with Storwize"},{"line_number":221,"context_line":"back-end."},{"line_number":222,"context_line":""},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"Dependencies"},{"line_number":225,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_2badbd88","line":222,"in_reply_to":"7a016987_18cddc65","updated":"2015-06-01 16:44:52.000000000","message":"++","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"8a5666f15023c8945ef1ba231f6763b453da56a7","unresolved":false,"context_lines":[{"line_number":219,"context_line":"to test if it works for volume migration between LVM and Storwize."},{"line_number":220,"context_line":"2) Add the script to test volume migration from one pool to another with Storwize"},{"line_number":221,"context_line":"back-end."},{"line_number":222,"context_line":""},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"Dependencies"},{"line_number":225,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"7a016987_18cddc65","line":222,"in_reply_to":"7a016987_a2be9562","updated":"2015-06-01 14:58:44.000000000","message":"As Avishay said at the ML, it is better to add a case \"moving a volume between two pools within the same backend.\". So, how about adding these three cases?\n\n(1) LVM(thin) -\u003e storwize \n\n(2) storwize -\u003e LVM(thin)\n\n(3) storwize pool1 -\u003e storwize pool2","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9cfcc8d8c532fb32703c1963acc77a8276aa1a","unresolved":false,"context_lines":[{"line_number":219,"context_line":"to test if it works for volume migration between LVM and Storwize."},{"line_number":220,"context_line":"2) Add the script to test volume migration from one pool to another with Storwize"},{"line_number":221,"context_line":"back-end."},{"line_number":222,"context_line":""},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"Dependencies"},{"line_number":225,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5afe65bd_d2db67ec","line":222,"in_reply_to":"7a016987_a2be9562","updated":"2015-06-02 06:36:07.000000000","message":"Thank you.","commit_id":"91e1b7d5a96506a58742e1ae448120403ce19d26"},{"author":{"_account_id":12924,"name":"Patrick East","email":"east.patrick@gmail.com","username":"patrick.east"},"change_message_id":"18ba61cadf76acb7d145a5eb543833df0315c6e1","unresolved":false,"context_lines":[{"line_number":221,"context_line":"The following cases will be added:"},{"line_number":222,"context_line":"1) From LVM(thin) to LVM(thin)"},{"line_number":223,"context_line":"2) From LVM(thin) to Storwize"},{"line_number":224,"context_line":"3) From Storwize to LVM(thin)"},{"line_number":225,"context_line":"4) From Storwize Pool 1 to Storwize Pool 2"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"5afe65bd_3651610f","line":224,"updated":"2015-06-03 03:06:09.000000000","message":"For the implementation of these tests we should make sure it is not restricted to Storwize... I would very much like to be able to run the tests on my CI system with the Pure backend + LVM, or between two Pure arrays. I\u0027m sure others would want the same thing for their backends.\n\nI\u0027m not sure how much configuration or smarts we can put into the tempest config, but it would be cool if we can have several backends and test migration between any of them regardless of what they actually are.","commit_id":"bd2ef5855616f975abf68c37135982ad090786bc"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"4e0b136b17fdf0a8d64a3164cfdb53468621023c","unresolved":false,"context_lines":[{"line_number":221,"context_line":"The following cases will be added:"},{"line_number":222,"context_line":"1) From LVM(thin) to LVM(thin)"},{"line_number":223,"context_line":"2) From LVM(thin) to Storwize"},{"line_number":224,"context_line":"3) From Storwize to LVM(thin)"},{"line_number":225,"context_line":"4) From Storwize Pool 1 to Storwize Pool 2"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"5afe65bd_12863b13","line":224,"in_reply_to":"5afe65bd_3651610f","updated":"2015-06-04 06:10:15.000000000","message":"It is absolutely right that we need to bring more drivers into this kind of tests. For this spec, I will start the initiative on LVM and IBM Storwize and hope it will become the RI for other drivers.","commit_id":"bd2ef5855616f975abf68c37135982ad090786bc"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"a319ecbd36464b179ec270f24df332d02c2bdd81","unresolved":false,"context_lines":[{"line_number":74,"context_line":"We plan to add a migration status list and migration status get for a certain"},{"line_number":75,"context_line":"volume into python-cinderclient. The first is used to list all the volumes with the"},{"line_number":76,"context_line":"migration status, and the second is used to retrieve the migration status of a"},{"line_number":77,"context_line":"certain volume. The command is also for the administrator only."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"If the administrator issues the migrate command with the --force flag, the volume"},{"line_number":80,"context_line":"status will be changed to \u0027maintenance\u0027. Attach or detach will not be allowed"}],"source_content_type":"text/x-rst","patch_set":10,"id":"5afe65bd_ad826692","line":77,"updated":"2015-06-04 07:05:23.000000000","message":"Are these new commands?  Why?  An admin should be able to do a regular \"volume list\" with a filter \"migration_status\u003derror\" or \"migration_status\u003din_progress\" or whatever.  If an admin does a \"get\", they should see the migration status, if a user does it they should not.  No need to add new APIs.","commit_id":"76aff1ff56ffc0b908367db8c2ebbee11fbe66cb"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"9b1103afd7cbf2374dead62562e598b49fd91f6c","unresolved":false,"context_lines":[{"line_number":74,"context_line":"We plan to add a migration status list and migration status get for a certain"},{"line_number":75,"context_line":"volume into python-cinderclient. The first is used to list all the volumes with the"},{"line_number":76,"context_line":"migration status, and the second is used to retrieve the migration status of a"},{"line_number":77,"context_line":"certain volume. The command is also for the administrator only."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"If the administrator issues the migrate command with the --force flag, the volume"},{"line_number":80,"context_line":"status will be changed to \u0027maintenance\u0027. Attach or detach will not be allowed"}],"source_content_type":"text/x-rst","patch_set":10,"id":"5afe65bd_b5d99024","line":77,"in_reply_to":"5afe65bd_ad826692","updated":"2015-06-04 07:40:36.000000000","message":"I think I will abort this change. Instead, add some explanations about how to get the migration_status for all the volumes and one volume.\nThx.","commit_id":"76aff1ff56ffc0b908367db8c2ebbee11fbe66cb"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"a319ecbd36464b179ec270f24df332d02c2bdd81","unresolved":false,"context_lines":[{"line_number":86,"context_line":"command. If the migration is able to start, we return a message \"Your migration request"},{"line_number":87,"context_line":"has been received. Please check migration status and the server log to see more"},{"line_number":88,"context_line":"information.\" If the migration is rejected by the API or the scheduler, we shall"},{"line_number":89,"context_line":"return messages like \"Your migration request failed to process due to some reasons\""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"We plan to remove the redundant information for the dummy destination volume. If"},{"line_number":92,"context_line":"Cinder Internal Tenant(https://review.openstack.org/#/c/186232/) is successfully"}],"source_content_type":"text/x-rst","patch_set":10,"id":"5afe65bd_cd5a4250","line":89,"updated":"2015-06-04 07:05:23.000000000","message":"If the migration is rejected by the scheduler you can\u0027t print anything, because the call is async.","commit_id":"76aff1ff56ffc0b908367db8c2ebbee11fbe66cb"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"9b1103afd7cbf2374dead62562e598b49fd91f6c","unresolved":false,"context_lines":[{"line_number":86,"context_line":"command. If the migration is able to start, we return a message \"Your migration request"},{"line_number":87,"context_line":"has been received. Please check migration status and the server log to see more"},{"line_number":88,"context_line":"information.\" If the migration is rejected by the API or the scheduler, we shall"},{"line_number":89,"context_line":"return messages like \"Your migration request failed to process due to some reasons\""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"We plan to remove the redundant information for the dummy destination volume. If"},{"line_number":92,"context_line":"Cinder Internal Tenant(https://review.openstack.org/#/c/186232/) is successfully"}],"source_content_type":"text/x-rst","patch_set":10,"id":"5afe65bd_35a92091","line":89,"in_reply_to":"5afe65bd_cd5a4250","updated":"2015-06-04 07:40:36.000000000","message":"OK, I think I can limit it to API rejection.","commit_id":"76aff1ff56ffc0b908367db8c2ebbee11fbe66cb"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"a319ecbd36464b179ec270f24df332d02c2bdd81","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"* Notification:"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* Tempest and gate tests:"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"5afe65bd_ed261ecd","line":107,"updated":"2015-06-04 07:05:23.000000000","message":"I\u0027m less familiar with Ceilometer - is it appropriate to report progress there?","commit_id":"76aff1ff56ffc0b908367db8c2ebbee11fbe66cb"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"9b1103afd7cbf2374dead62562e598b49fd91f6c","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"* Notification:"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"* Tempest and gate tests:"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"5afe65bd_95c33457","line":107,"in_reply_to":"5afe65bd_ed261ecd","updated":"2015-06-04 07:40:36.000000000","message":"I did the similar progress report for backup before. The ceilometer will get the volume info plus one more param named backup_percentage. It seems ok.","commit_id":"76aff1ff56ffc0b908367db8c2ebbee11fbe66cb"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"13a3ade08e8e614472d0c58c0b42040e90bbeecb","unresolved":false,"context_lines":[{"line_number":25,"context_line":"2) Migration using Cinder generic migration with LVM to vendor driver."},{"line_number":26,"context_line":"3) Migration using Cinder generic migration with vendor driver to LVM."},{"line_number":27,"context_line":"4) Migration between two pools from the same vendor driver using driver-specific"},{"line_number":28,"context_line":"way. Storwize is taken as the reference example for this spec."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_349c795c","line":28,"updated":"2015-06-04 12:33:13.000000000","message":"LVM is a just example. It is better to clarify these three cases and the target is 1) and 2).\n\nHow about following?\n\nThere are three cases for volume migration. The scope is for the available volumes only and targets to resolve the issues within the following migration cases 1) and 2):\n\nScope of this spec\n 1)  Available volume migration using Cinder generic migration\n   ex. LVM to LVM, between LVM and vendor driver, \n       between different vendor drivers\n\n 2) Available volume migration between two pools from the same vendor driver using \ndriver-specific way. Storwize is taken as the reference example for this spec.\n\nOut of scope\n 3) In-use(attached) volume migration using Cinder generic migration","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"e1e3593d01157a819366fc2b761d6deada58977a","unresolved":false,"context_lines":[{"line_number":25,"context_line":"2) Migration using Cinder generic migration with LVM to vendor driver."},{"line_number":26,"context_line":"3) Migration using Cinder generic migration with vendor driver to LVM."},{"line_number":27,"context_line":"4) Migration between two pools from the same vendor driver using driver-specific"},{"line_number":28,"context_line":"way. Storwize is taken as the reference example for this spec."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Problem description"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_49c75396","line":28,"in_reply_to":"5afe65bd_349c795c","updated":"2015-06-04 15:08:21.000000000","message":"Thank you. I was looking for good words used to classify.","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"13a3ade08e8e614472d0c58c0b42040e90bbeecb","unresolved":false,"context_lines":[{"line_number":106,"context_line":"start as well. If the volume copy ends, the thread for the migration progress"},{"line_number":107,"context_line":"check ends."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"If the volume is migrated between LVM back-ends, or one back-end to another, the"},{"line_number":110,"context_line":"migration process can be checked via the /proc/\u003cx\u003e/fdinfo position indicator."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"If the volume is migrated within different pools of one back-end, we would like"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_77daf34d","line":109,"updated":"2015-06-04 12:33:13.000000000","message":"I think this will happen all available volume migration using cinder generic. No? Why only LVM back-ends?\n\nMigration of LVM to LVM, LVM to vendor driver, vendorA to vendorB use dd copy.","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"e1e3593d01157a819366fc2b761d6deada58977a","unresolved":false,"context_lines":[{"line_number":106,"context_line":"start as well. If the volume copy ends, the thread for the migration progress"},{"line_number":107,"context_line":"check ends."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"If the volume is migrated between LVM back-ends, or one back-end to another, the"},{"line_number":110,"context_line":"migration process can be checked via the /proc/\u003cx\u003e/fdinfo position indicator."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"If the volume is migrated within different pools of one back-end, we would like"}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_49d4f3ea","line":109,"in_reply_to":"5afe65bd_77daf34d","updated":"2015-06-04 15:08:21.000000000","message":"Yes.","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"13a3ade08e8e614472d0c58c0b42040e90bbeecb","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* Notification:"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"* Tempest and gate tests:"},{"line_number":125,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_77967340","line":122,"updated":"2015-06-04 12:33:13.000000000","message":"Can you specify more detail here or do you have a spec for Ceilometer?","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"e1e3593d01157a819366fc2b761d6deada58977a","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* Notification:"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"* Tempest and gate tests:"},{"line_number":125,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_695b2ff7","line":122,"in_reply_to":"5afe65bd_77967340","updated":"2015-06-04 15:08:21.000000000","message":"I do not there are too many details for the Ceilometer, because the model to report to Ceilometer is already there. It is enough for us to just add one line of code to send the notification.","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":10115,"name":"Mitsuhiro Tanino","email":"mitsuhiro.tanino@lycorp.co.jp","username":"mtanino"},"change_message_id":"13a3ade08e8e614472d0c58c0b42040e90bbeecb","unresolved":false,"context_lines":[{"line_number":240,"context_line":"An configuration option named migration_progress_interval can be added into"},{"line_number":241,"context_line":"cinder.conf, specifying how frequent the migration progress needs to be checked."},{"line_number":242,"context_line":"For example, if migration_progress_interval is set to 30 seconds, the code will"},{"line_number":243,"context_line":"check the migration progress and report it in 30 seconds."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"1) If the volume is migrated between LVM back-ends, or one back-end to another,"},{"line_number":246,"context_line":"/proc/\u003cx\u003e/fdinfo can be checked to get the progress of the blockcopy."}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_b7ed0bb9","line":243,"updated":"2015-06-04 12:33:13.000000000","message":"These specific changes should be defined at Proposed change section :)","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"e1e3593d01157a819366fc2b761d6deada58977a","unresolved":false,"context_lines":[{"line_number":240,"context_line":"An configuration option named migration_progress_interval can be added into"},{"line_number":241,"context_line":"cinder.conf, specifying how frequent the migration progress needs to be checked."},{"line_number":242,"context_line":"For example, if migration_progress_interval is set to 30 seconds, the code will"},{"line_number":243,"context_line":"check the migration progress and report it in 30 seconds."},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"1) If the volume is migrated between LVM back-ends, or one back-end to another,"},{"line_number":246,"context_line":"/proc/\u003cx\u003e/fdinfo can be checked to get the progress of the blockcopy."}],"source_content_type":"text/x-rst","patch_set":15,"id":"5afe65bd_a9e487e0","line":243,"in_reply_to":"5afe65bd_b7ed0bb9","updated":"2015-06-04 15:08:21.000000000","message":"Y","commit_id":"8363941fe1b1111bc83d206266924e5f48fb0f9a"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"d4eed9c85836e1d07e9195a3490577d61927f735","unresolved":false,"context_lines":[{"line_number":118,"context_line":"from one pool to another within the same storage back-end. If it is True, the"},{"line_number":119,"context_line":"loop for the poll mechanism will start. Otherwise, no poll mechanism will start."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"An configuration option named migration_progress_interval can be added into"},{"line_number":122,"context_line":"cinder.conf, specifying how frequent the migration progress needs to be checked."},{"line_number":123,"context_line":"For example, if migration_progress_interval is set to 30 seconds, the code will"},{"line_number":124,"context_line":"check the migration progress and report it in 30 seconds."}],"source_content_type":"text/x-rst","patch_set":17,"id":"3afb71cf_fefe4104","line":121,"updated":"2015-06-04 21:56:59.000000000","message":"think this should migration_progress_report_interval","commit_id":"ca30e000a6c2f79adf4a63a15b385da6c436c372"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9c769afc48a8c998a7d3409d5204577ee2e514","unresolved":false,"context_lines":[{"line_number":118,"context_line":"from one pool to another within the same storage back-end. If it is True, the"},{"line_number":119,"context_line":"loop for the poll mechanism will start. Otherwise, no poll mechanism will start."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"An configuration option named migration_progress_interval can be added into"},{"line_number":122,"context_line":"cinder.conf, specifying how frequent the migration progress needs to be checked."},{"line_number":123,"context_line":"For example, if migration_progress_interval is set to 30 seconds, the code will"},{"line_number":124,"context_line":"check the migration progress and report it in 30 seconds."}],"source_content_type":"text/x-rst","patch_set":17,"id":"3afb71cf_d557dbc8","line":121,"in_reply_to":"3afb71cf_fefe4104","updated":"2015-06-05 04:52:14.000000000","message":"Thx.","commit_id":"ca30e000a6c2f79adf4a63a15b385da6c436c372"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"d4eed9c85836e1d07e9195a3490577d61927f735","unresolved":false,"context_lines":[{"line_number":133,"context_line":"progress. It is possible that some drivers support the progress report and some"},{"line_number":134,"context_line":"do not. This can be added into the driver capability, e.g."},{"line_number":135,"context_line":"migration_progress_report. True means the migration progress can be checked via"},{"line_number":136,"context_line":"the driver command or API. False means it can not be checked."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* Notification:"},{"line_number":139,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3afb71cf_5e3795e3","line":136,"updated":"2015-06-04 21:56:59.000000000","message":"what does the request for progress info get then?  Unsupported ?","commit_id":"ca30e000a6c2f79adf4a63a15b385da6c436c372"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"ab9c769afc48a8c998a7d3409d5204577ee2e514","unresolved":false,"context_lines":[{"line_number":133,"context_line":"progress. It is possible that some drivers support the progress report and some"},{"line_number":134,"context_line":"do not. This can be added into the driver capability, e.g."},{"line_number":135,"context_line":"migration_progress_report. True means the migration progress can be checked via"},{"line_number":136,"context_line":"the driver command or API. False means it can not be checked."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"* Notification:"},{"line_number":139,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3afb71cf_706a751c","line":136,"in_reply_to":"3afb71cf_5e3795e3","updated":"2015-06-05 04:52:14.000000000","message":"Yes, for this case, no support for progress report.","commit_id":"ca30e000a6c2f79adf4a63a15b385da6c436c372"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"2570d523eda3f14e4c783b0f3285f2463cbae336","unresolved":false,"context_lines":[{"line_number":18,"context_line":"volumes only, since we need to wait until the multiple attached volume"},{"line_number":19,"context_line":"functionality lands in Nova to resolve the issues related to the attached volumes."},{"line_number":20,"context_line":"There is going to be another specification designed to cover the issues regarding"},{"line_number":21,"context_line":"to the attached volumes."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"There are three cases for volume migration. The scope of this spec is for the"},{"line_number":24,"context_line":"available volumes only and targets to resolve the issues within the following"}],"source_content_type":"text/x-rst","patch_set":19,"id":"3afb71cf_684c8670","line":21,"updated":"2015-06-08 13:13:07.000000000","message":"\"to the\" can be removed.","commit_id":"159a1b13f549bc92fbf3f4099300fa9bf0afeb41"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"2570d523eda3f14e4c783b0f3285f2463cbae336","unresolved":false,"context_lines":[{"line_number":118,"context_line":"from one pool to another within the same storage back-end. If it is True, the"},{"line_number":119,"context_line":"loop for the poll mechanism will start. Otherwise, no poll mechanism will start."},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"An configuration option named migration_progress_report_interval can be added into"},{"line_number":122,"context_line":"cinder.conf, specifying how frequent the migration progress needs to be checked."},{"line_number":123,"context_line":"For example, if migration_progress_report_interval is set to 30 seconds, the code will"},{"line_number":124,"context_line":"check the migration progress and report it in 30 seconds."}],"source_content_type":"text/x-rst","patch_set":19,"id":"3afb71cf_087d12e7","line":121,"updated":"2015-06-08 13:13:07.000000000","message":"/An/A/","commit_id":"159a1b13f549bc92fbf3f4099300fa9bf0afeb41"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"2570d523eda3f14e4c783b0f3285f2463cbae336","unresolved":false,"context_lines":[{"line_number":133,"context_line":"progress. It is possible that some drivers support the progress report and some"},{"line_number":134,"context_line":"do not. This can be added into the driver capability, e.g."},{"line_number":135,"context_line":"migration_progress_report. True means the migration progress can be checked via"},{"line_number":136,"context_line":"the driver command or API. False means it can not be checked. In this case, the"},{"line_number":137,"context_line":"progress indication becomes unsupported, and there will be no progress report."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"* Notification:"}],"source_content_type":"text/x-rst","patch_set":19,"id":"3afb71cf_a8dcbee4","line":136,"updated":"2015-06-08 13:13:07.000000000","message":"Maybe make explicit, either False or absence if reported capability.","commit_id":"159a1b13f549bc92fbf3f4099300fa9bf0afeb41"},{"author":{"_account_id":10263,"name":"Vilobh Meshram","email":"vilobhmm@yahoo-inc.com","username":"vilobhmm"},"change_message_id":"0cb5ff6e36c0a45ced76e746761f4490a06a3dd4","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":42,"context_line":"1. Whether the migration succeeds or fails is not saved anywhere, which is very"},{"line_number":43,"context_line":"confusing to the administrator. The volume status is still available or in-use,"},{"line_number":44,"context_line":"even if the administrator put --force in the flag of cinder migrate command."},{"line_number":45,"context_line":"2. From the API perspective, the administrator is unable to check the status of the"},{"line_number":46,"context_line":"migration. The only way to check if the migration fails or succeeds is"}],"source_content_type":"text/x-rst","patch_set":21,"id":"3afb71cf_06e9fab6","line":43,"updated":"2015-06-10 21:54:59.000000000","message":"to -\u003e for","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"a455a5a17954b71868aee59dd56db908ded81619","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":42,"context_line":"1. Whether the migration succeeds or fails is not saved anywhere, which is very"},{"line_number":43,"context_line":"confusing to the administrator. The volume status is still available or in-use,"},{"line_number":44,"context_line":"even if the administrator put --force in the flag of cinder migrate command."},{"line_number":45,"context_line":"2. From the API perspective, the administrator is unable to check the status of the"},{"line_number":46,"context_line":"migration. The only way to check if the migration fails or succeeds is"}],"source_content_type":"text/x-rst","patch_set":21,"id":"3afb71cf_7becbcba","line":43,"in_reply_to":"3afb71cf_06e9fab6","updated":"2015-06-20 13:46:09.000000000","message":"Y","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"},{"author":{"_account_id":10263,"name":"Vilobh Meshram","email":"vilobhmm@yahoo-inc.com","username":"vilobhmm"},"change_message_id":"0cb5ff6e36c0a45ced76e746761f4490a06a3dd4","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":42,"context_line":"1. Whether the migration succeeds or fails is not saved anywhere, which is very"},{"line_number":43,"context_line":"confusing to the administrator. The volume status is still available or in-use,"},{"line_number":44,"context_line":"even if the administrator put --force in the flag of cinder migrate command."},{"line_number":45,"context_line":"2. From the API perspective, the administrator is unable to check the status of the"},{"line_number":46,"context_line":"migration. The only way to check if the migration fails or succeeds is"},{"line_number":47,"context_line":"to check the database."}],"source_content_type":"text/x-rst","patch_set":21,"id":"3afb71cf_86d5eae5","line":44,"updated":"2015-06-10 21:54:59.000000000","message":"put --\u003e mentions\nin the --\u003e as a\nof --\u003e for","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"a455a5a17954b71868aee59dd56db908ded81619","unresolved":false,"context_lines":[{"line_number":41,"context_line":"Currently, there are quite some straightforward issues about the volume migration."},{"line_number":42,"context_line":"1. Whether the migration succeeds or fails is not saved anywhere, which is very"},{"line_number":43,"context_line":"confusing to the administrator. The volume status is still available or in-use,"},{"line_number":44,"context_line":"even if the administrator put --force in the flag of cinder migrate command."},{"line_number":45,"context_line":"2. From the API perspective, the administrator is unable to check the status of the"},{"line_number":46,"context_line":"migration. The only way to check if the migration fails or succeeds is"},{"line_number":47,"context_line":"to check the database."}],"source_content_type":"text/x-rst","patch_set":21,"id":"3afb71cf_3b31a45a","line":44,"in_reply_to":"3afb71cf_86d5eae5","updated":"2015-06-20 13:46:09.000000000","message":"Y","commit_id":"da85a61fe2b0f44d36f41edaacf7be39b5556836"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"6d1b5073a9107944df565a8e93d69da855bffedc","unresolved":false,"context_lines":[{"line_number":33,"context_line":"driver-specific way. Storwize is taken as the reference example for this spec."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Out of the scope of the spec"},{"line_number":36,"context_line":"3) In-use(attached) volume migration using Cinder generic migration."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Problem description"},{"line_number":39,"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":22,"id":"fa32b979_83ea95d9","line":36,"updated":"2015-06-18 20:49:10.000000000","message":"I know is out of scope but, wouldn\u0027t be the case  where an attached volume is migrated between 2 pools in the same storage?","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"02ca55f04dd38e6b51370cad81c1691dca7793c4","unresolved":false,"context_lines":[{"line_number":33,"context_line":"driver-specific way. Storwize is taken as the reference example for this spec."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Out of the scope of the spec"},{"line_number":36,"context_line":"3) In-use(attached) volume migration using Cinder generic migration."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Problem description"},{"line_number":39,"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":22,"id":"fa32b979_d3428b68","line":36,"in_reply_to":"fa32b979_7b0a8e27","updated":"2015-06-19 14:02:50.000000000","message":"I got this point. My suggestion is just to add this option here and keep consistency, under the \u0027out of scope of the spec\u0027, provided you already are listing this and it won\u0027t be cover here anyway.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"fd6f513b645723e83d7eb629fa500a73e0e145cc","unresolved":false,"context_lines":[{"line_number":33,"context_line":"driver-specific way. Storwize is taken as the reference example for this spec."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Out of the scope of the spec"},{"line_number":36,"context_line":"3) In-use(attached) volume migration using Cinder generic migration."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Problem description"},{"line_number":39,"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":22,"id":"fa32b979_7b0a8e27","line":36,"in_reply_to":"fa32b979_83ea95d9","updated":"2015-06-19 02:17:30.000000000","message":"We decided to put all the cases for attached volume in another proposal after the multi-attach is completely done.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"6d1b5073a9107944df565a8e93d69da855bffedc","unresolved":false,"context_lines":[{"line_number":80,"context_line":""},{"line_number":81,"context_line":"The administrator has several ways to check the migration status:"},{"line_number":82,"context_line":"1) The administrator can do a regular \"volume list\" with a filter"},{"line_number":83,"context_line":"\"migration_status\u003d\u003cexpected volume migration status\u003e\" to find all the volumes"},{"line_number":84,"context_line":"with the specified migration status."},{"line_number":85,"context_line":"2) The administrator can issue a \"get\" command for a certain volume and the"},{"line_number":86,"context_line":"migration status can be found in the field \u0027os-vol-mig-status-attr:migstat\u0027."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_bcdb3a7b","line":83,"updated":"2015-06-18 20:49:10.000000000","message":"Will this handle wildcards e.g. \u0027migration_status\u003d*\u0027? So the operator does not have to run the command twice it he/she wants to see all migrated volumes.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"fd6f513b645723e83d7eb629fa500a73e0e145cc","unresolved":false,"context_lines":[{"line_number":80,"context_line":""},{"line_number":81,"context_line":"The administrator has several ways to check the migration status:"},{"line_number":82,"context_line":"1) The administrator can do a regular \"volume list\" with a filter"},{"line_number":83,"context_line":"\"migration_status\u003d\u003cexpected volume migration status\u003e\" to find all the volumes"},{"line_number":84,"context_line":"with the specified migration status."},{"line_number":85,"context_line":"2) The administrator can issue a \"get\" command for a certain volume and the"},{"line_number":86,"context_line":"migration status can be found in the field \u0027os-vol-mig-status-attr:migstat\u0027."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_9e0d00ea","line":83,"in_reply_to":"fa32b979_bcdb3a7b","updated":"2015-06-19 02:17:30.000000000","message":"Yes, I think I will take that into account.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"6d1b5073a9107944df565a8e93d69da855bffedc","unresolved":false,"context_lines":[{"line_number":135,"context_line":"do not. A new key \"migration_progress_report\" will be added into the driver"},{"line_number":136,"context_line":"to report the capability. If the back-end driver supports to report the migration"},{"line_number":137,"context_line":"progress, this key is set to True. Otherwise, this key is set to False and the"},{"line_number":138,"context_line":"progress report becomes unsupported in this case."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* Notification:"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_775ceb18","line":138,"updated":"2015-06-18 20:49:10.000000000","message":"If a driver reports migration_progress_report\u003dTrue, how/where should it inform the value? Will the \u0027progress indication\u0027 thread query this from the driver?","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"02ca55f04dd38e6b51370cad81c1691dca7793c4","unresolved":false,"context_lines":[{"line_number":135,"context_line":"do not. A new key \"migration_progress_report\" will be added into the driver"},{"line_number":136,"context_line":"to report the capability. If the back-end driver supports to report the migration"},{"line_number":137,"context_line":"progress, this key is set to True. Otherwise, this key is set to False and the"},{"line_number":138,"context_line":"progress report becomes unsupported in this case."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* Notification:"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_ee01e46b","line":138,"in_reply_to":"fa32b979_3e45d441","updated":"2015-06-19 14:02:50.000000000","message":"You should define in the spec the details about what a driver has to return and how it have to behave. See in those specs how that was explained:\n - https://github.com/openstack/cinder-specs/blob/master/specs/juno/consistency-groups.rst\n - https://github.com/openstack/cinder-specs/blob/master/specs/juno/pool-aware-cinder-scheduler.rst\n - https://github.com/openstack/cinder-specs/blob/master/specs/juno/volume-replication.rst","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"fd6f513b645723e83d7eb629fa500a73e0e145cc","unresolved":false,"context_lines":[{"line_number":135,"context_line":"do not. A new key \"migration_progress_report\" will be added into the driver"},{"line_number":136,"context_line":"to report the capability. If the back-end driver supports to report the migration"},{"line_number":137,"context_line":"progress, this key is set to True. Otherwise, this key is set to False and the"},{"line_number":138,"context_line":"progress report becomes unsupported in this case."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* Notification:"},{"line_number":141,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_3e45d441","line":138,"in_reply_to":"fa32b979_775ceb18","updated":"2015-06-19 02:17:30.000000000","message":"I have submitted a patch: https://review.openstack.org/#/c/189614/\nIt is still a bit rough and WIP, but you can see the general idea.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"6d1b5073a9107944df565a8e93d69da855bffedc","unresolved":false,"context_lines":[{"line_number":154,"context_line":"For scenarios 1 to 3, we plan to put tests cases into Tempest."},{"line_number":155,"context_line":"For Scenario 4, we plan to put the test into CI."},{"line_number":156,"context_line":"The reference case for Scenario 2 is migration from LVM to Storwize V7000."},{"line_number":157,"context_line":"The reference case for Scenario 3 is migration from Storwize V7000 to LVM."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_b7e59309","line":157,"updated":"2015-06-18 20:49:10.000000000","message":"I wonder how will this tests that need vendor specific hardware will be run on gate? Do they have the Storwize hardware?","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"fd6f513b645723e83d7eb629fa500a73e0e145cc","unresolved":false,"context_lines":[{"line_number":154,"context_line":"For scenarios 1 to 3, we plan to put tests cases into Tempest."},{"line_number":155,"context_line":"For Scenario 4, we plan to put the test into CI."},{"line_number":156,"context_line":"The reference case for Scenario 2 is migration from LVM to Storwize V7000."},{"line_number":157,"context_line":"The reference case for Scenario 3 is migration from Storwize V7000 to LVM."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_1e61f0d2","line":157,"in_reply_to":"fa32b979_b7e59309","updated":"2015-06-19 02:17:30.000000000","message":"I believe so. Each company is responsible for the environment of one\u0027s driver.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"6d1b5073a9107944df565a8e93d69da855bffedc","unresolved":false,"context_lines":[{"line_number":240,"context_line":"1) Change the migration_status to \"error\" if the migration fails; Change the"},{"line_number":241,"context_line":"migration_status to \"success\" if the migration succeeds."},{"line_number":242,"context_line":"2) Change the volume status to \"maintenance\" if the administrator executes"},{"line_number":243,"context_line":"the migration command with --force flag. No attach or detach is allowed during"},{"line_number":244,"context_line":"this migration. If the administrator executes the migration command without"},{"line_number":245,"context_line":"--force flag, the volume status will stay unchanged. Attach or detach during"},{"line_number":246,"context_line":"migration will terminate the migration to ensure the availability of the volume."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_77a4eb49","line":243,"updated":"2015-06-18 20:49:10.000000000","message":"I think I\u0027v lost this. What is the reason why the status won\u0027t be set to \u0027migrating\u0027 during migration? Is this the same as \u0027volume status\u0027?","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"fd6f513b645723e83d7eb629fa500a73e0e145cc","unresolved":false,"context_lines":[{"line_number":240,"context_line":"1) Change the migration_status to \"error\" if the migration fails; Change the"},{"line_number":241,"context_line":"migration_status to \"success\" if the migration succeeds."},{"line_number":242,"context_line":"2) Change the volume status to \"maintenance\" if the administrator executes"},{"line_number":243,"context_line":"the migration command with --force flag. No attach or detach is allowed during"},{"line_number":244,"context_line":"this migration. If the administrator executes the migration command without"},{"line_number":245,"context_line":"--force flag, the volume status will stay unchanged. Attach or detach during"},{"line_number":246,"context_line":"migration will terminate the migration to ensure the availability of the volume."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_7eccbc88","line":243,"in_reply_to":"fa32b979_77a4eb49","updated":"2015-06-19 02:17:30.000000000","message":"It has been discussed a lot. Here is one use case:\nThe owner of volume 1 is A and the admin would like to migrate his volume 1 to another host.\nSince the migration is an admin only action, we do not want to bother the volume owner A with the migration status, because cloud service needs to keep the SLA promise and make the storage service HA.\nWhile we also provide the option that if the admin really needs to finish the migration of the volumes for some reasons, he can put the --force flag in the command. The volume status goes to \"maintain\", then the user A understands that \"OK, I need to wait until the service is back again\".","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"02ca55f04dd38e6b51370cad81c1691dca7793c4","unresolved":false,"context_lines":[{"line_number":240,"context_line":"1) Change the migration_status to \"error\" if the migration fails; Change the"},{"line_number":241,"context_line":"migration_status to \"success\" if the migration succeeds."},{"line_number":242,"context_line":"2) Change the volume status to \"maintenance\" if the administrator executes"},{"line_number":243,"context_line":"the migration command with --force flag. No attach or detach is allowed during"},{"line_number":244,"context_line":"this migration. If the administrator executes the migration command without"},{"line_number":245,"context_line":"--force flag, the volume status will stay unchanged. Attach or detach during"},{"line_number":246,"context_line":"migration will terminate the migration to ensure the availability of the volume."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_2e990c20","line":243,"in_reply_to":"fa32b979_7eccbc88","updated":"2015-06-19 14:02:50.000000000","message":"Hum, ok.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"6d1b5073a9107944df565a8e93d69da855bffedc","unresolved":false,"context_lines":[{"line_number":243,"context_line":"the migration command with --force flag. No attach or detach is allowed during"},{"line_number":244,"context_line":"this migration. If the administrator executes the migration command without"},{"line_number":245,"context_line":"--force flag, the volume status will stay unchanged. Attach or detach during"},{"line_number":246,"context_line":"migration will terminate the migration to ensure the availability of the volume."},{"line_number":247,"context_line":"3) Enrich cinderclient with friendly messages returned for cinder migrate and"},{"line_number":248,"context_line":"retype command."},{"line_number":249,"context_line":"4) Hide the redundant dummy destination volume during migration."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_777b8bbe","line":246,"updated":"2015-06-18 20:49:10.000000000","message":"So, IIUC, if a user attach a volume that is in migration, the migration will be cancelled?","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"02ca55f04dd38e6b51370cad81c1691dca7793c4","unresolved":false,"context_lines":[{"line_number":243,"context_line":"the migration command with --force flag. No attach or detach is allowed during"},{"line_number":244,"context_line":"this migration. If the administrator executes the migration command without"},{"line_number":245,"context_line":"--force flag, the volume status will stay unchanged. Attach or detach during"},{"line_number":246,"context_line":"migration will terminate the migration to ensure the availability of the volume."},{"line_number":247,"context_line":"3) Enrich cinderclient with friendly messages returned for cinder migrate and"},{"line_number":248,"context_line":"retype command."},{"line_number":249,"context_line":"4) Hide the redundant dummy destination volume during migration."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_0ebbe876","line":246,"in_reply_to":"fa32b979_5e98d877","updated":"2015-06-19 14:02:50.000000000","message":"Ok.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"fd6f513b645723e83d7eb629fa500a73e0e145cc","unresolved":false,"context_lines":[{"line_number":243,"context_line":"the migration command with --force flag. No attach or detach is allowed during"},{"line_number":244,"context_line":"this migration. If the administrator executes the migration command without"},{"line_number":245,"context_line":"--force flag, the volume status will stay unchanged. Attach or detach during"},{"line_number":246,"context_line":"migration will terminate the migration to ensure the availability of the volume."},{"line_number":247,"context_line":"3) Enrich cinderclient with friendly messages returned for cinder migrate and"},{"line_number":248,"context_line":"retype command."},{"line_number":249,"context_line":"4) Hide the redundant dummy destination volume during migration."}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_5e98d877","line":246,"in_reply_to":"fa32b979_777b8bbe","updated":"2015-06-19 02:17:30.000000000","message":"Yes, as I explain in the previous comment. It depends on if the --force flag is in the migration or not.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"6d1b5073a9107944df565a8e93d69da855bffedc","unresolved":false,"context_lines":[{"line_number":264,"context_line":""},{"line_number":265,"context_line":"2) If the volume is migrated within different pools of one back-end, we would like"},{"line_number":266,"context_line":"to check the progress report of the back-end storage in a certain time interval."},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"The migration percentage will be logged and reported to Ceilometer."},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"* Notification:"}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_b23fe1b2","line":267,"updated":"2015-06-18 20:49:10.000000000","message":"You need to specify what are the format of the data reported by drivers so, you can handle it in the poll thread.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":10058,"name":"Erlon R. Cruz","email":"erlon.rodrigues.cruz@canonical.com","username":"sombrafam"},"change_message_id":"02ca55f04dd38e6b51370cad81c1691dca7793c4","unresolved":false,"context_lines":[{"line_number":264,"context_line":""},{"line_number":265,"context_line":"2) If the volume is migrated within different pools of one back-end, we would like"},{"line_number":266,"context_line":"to check the progress report of the back-end storage in a certain time interval."},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"The migration percentage will be logged and reported to Ceilometer."},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"* Notification:"}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_107226ae","line":267,"in_reply_to":"fa32b979_9e974039","updated":"2015-06-19 14:02:50.000000000","message":"Same as my answer above. Here in the spec we define the data format, protocols and interfaces used by the implementation. If we leave that only in the implementation, we can loose some important points and driver developers will struggle to understand the defined behaviour.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"fd6f513b645723e83d7eb629fa500a73e0e145cc","unresolved":false,"context_lines":[{"line_number":264,"context_line":""},{"line_number":265,"context_line":"2) If the volume is migrated within different pools of one back-end, we would like"},{"line_number":266,"context_line":"to check the progress report of the back-end storage in a certain time interval."},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"The migration percentage will be logged and reported to Ceilometer."},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"* Notification:"}],"source_content_type":"text/x-rst","patch_set":22,"id":"fa32b979_9e974039","line":267,"in_reply_to":"fa32b979_b23fe1b2","updated":"2015-06-19 02:17:30.000000000","message":"Yes, it is best that the driver can report a number in percentage.\nCheck the patch: https://review.openstack.org/#/c/189614/\nStorwize has implemented.","commit_id":"3f13bdb0286bd0c5d9cb68a43ae05e93dc6ee926"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"175dbaf8fb16fa1ba35139d3d8c6fa47f25d59ba","unresolved":false,"context_lines":[{"line_number":25,"context_line":"migration Case 1 and 2:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Within the scope of this spec"},{"line_number":28,"context_line":"1) Available volume migration using Cinder generic migration."},{"line_number":29,"context_line":"For example, migration from LVM to LVM, between LVM and vendor driver, and"},{"line_number":30,"context_line":"between different vendor drivers."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_7e6e3101","line":28,"updated":"2015-06-24 16:23:27.000000000","message":"Seems to be handled in other work already?","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":9236,"name":"Jon Bernard","email":"jobernar@redhat.com","username":"jbernard"},"change_message_id":"552f92b64b840a742335e3052bc8e48a94e66d39","unresolved":false,"context_lines":[{"line_number":25,"context_line":"migration Case 1 and 2:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Within the scope of this spec"},{"line_number":28,"context_line":"1) Available volume migration using Cinder generic migration."},{"line_number":29,"context_line":"For example, migration from LVM to LVM, between LVM and vendor driver, and"},{"line_number":30,"context_line":"between different vendor drivers."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_de988fc2","line":28,"in_reply_to":"fa32b979_197fff15","updated":"2015-06-24 22:00:35.000000000","message":"For generic migration, there is a collision of terms rather than features or intent.  In this case, generic migration is referring to cinder\u0027s fallback implementation of using `dd` to move bytes from one backend to another.\n\nI have ongoing work to add support for file I/O - and I\u0027ve also called this \u0027generic migration\u0027 which may have been a bad choice of words.  The patches are related, in that they improve the current migration situation but they are not dependent on each other.\n\nThat aside, I\u0027m all for improvements in the generic migration path for status management, progess indication (if available), and notifications.  Improvements there will lead to a better user experience, and we could definitely use some of that for volume migration.","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"20794e363e4ec43bb445880551309110284d6288","unresolved":false,"context_lines":[{"line_number":25,"context_line":"migration Case 1 and 2:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Within the scope of this spec"},{"line_number":28,"context_line":"1) Available volume migration using Cinder generic migration."},{"line_number":29,"context_line":"For example, migration from LVM to LVM, between LVM and vendor driver, and"},{"line_number":30,"context_line":"between different vendor drivers."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_197fff15","line":28,"in_reply_to":"fa32b979_7e6e3101","updated":"2015-06-24 16:34:50.000000000","message":"Eric, it is different.\n\nThis is the scope for me, not the work item, so the generic migration is definately one case for me to consider. Within this scope, I could do the items as I list in Work Item section downstairs.\n\nEven if the work generic migration(https://review.openstack.org/#/c/187270) lands, I can still add the implementations like notification support, progress track, volume status management, etc. Please refer to the work items for this spec.","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"62b435c11ea2c467fe9a2aa3ae030f94039953ac","unresolved":false,"context_lines":[{"line_number":25,"context_line":"migration Case 1 and 2:"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Within the scope of this spec"},{"line_number":28,"context_line":"1) Available volume migration using Cinder generic migration."},{"line_number":29,"context_line":"For example, migration from LVM to LVM, between LVM and vendor driver, and"},{"line_number":30,"context_line":"between different vendor drivers."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_56ec2629","line":28,"in_reply_to":"fa32b979_de988fc2","updated":"2015-06-26 05:10:57.000000000","message":"I will use the term implementation of using `dd` to explain the generic migration here.","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":9236,"name":"Jon Bernard","email":"jobernar@redhat.com","username":"jbernard"},"change_message_id":"552f92b64b840a742335e3052bc8e48a94e66d39","unresolved":false,"context_lines":[{"line_number":126,"context_line":"If the volume is migrated using cinder generic, e.g. volume migration from LVM to"},{"line_number":127,"context_line":"LVM, from LVM to vendor driver, from one back-end to another via blockcopy, etc,"},{"line_number":128,"context_line":"the migration process can be checked via the position indication of"},{"line_number":129,"context_line":"/proc/\u003cPID\u003e/fdinfo/1."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If the volume is migrated within different pools of one back-end, we would like to"},{"line_number":132,"context_line":"implement this feature by checking the stats of the storage back-end. Storwize"}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_beb7cb1f","line":129,"updated":"2015-06-24 22:00:35.000000000","message":"For my file I/O patch, i should be able to report the current file pointer relative to EOF, so that should work for RBD as well - at least for non-same backends where an rbd-specific migration to a different pool can be performed at the RBD layer.","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"62b435c11ea2c467fe9a2aa3ae030f94039953ac","unresolved":false,"context_lines":[{"line_number":126,"context_line":"If the volume is migrated using cinder generic, e.g. volume migration from LVM to"},{"line_number":127,"context_line":"LVM, from LVM to vendor driver, from one back-end to another via blockcopy, etc,"},{"line_number":128,"context_line":"the migration process can be checked via the position indication of"},{"line_number":129,"context_line":"/proc/\u003cPID\u003e/fdinfo/1."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"If the volume is migrated within different pools of one back-end, we would like to"},{"line_number":132,"context_line":"implement this feature by checking the stats of the storage back-end. Storwize"}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_76e5aa36","line":129,"in_reply_to":"fa32b979_beb7cb1f","updated":"2015-06-26 05:10:57.000000000","message":"I think I will add the file I/O case. When you patch is merged, I can continue to work on the progress indication for file I/O.","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":9236,"name":"Jon Bernard","email":"jobernar@redhat.com","username":"jbernard"},"change_message_id":"552f92b64b840a742335e3052bc8e48a94e66d39","unresolved":false,"context_lines":[{"line_number":154,"context_line":"For scenarios 1 to 3, we plan to put tests cases into Tempest."},{"line_number":155,"context_line":"For Scenario 4, we plan to put the test into CI."},{"line_number":156,"context_line":"The reference case for Scenario 2 is migration from LVM to Storwize V7000."},{"line_number":157,"context_line":"The reference case for Scenario 3 is migration from Storwize V7000 to LVM."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_de7e4f18","line":157,"updated":"2015-06-24 22:00:35.000000000","message":"I think CI, getting mutiple backends into devstack (and the gate), and using that to cover the migration paths is hugely valuable.  Is this a specific work item for this proposal?","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"62b435c11ea2c467fe9a2aa3ae030f94039953ac","unresolved":false,"context_lines":[{"line_number":154,"context_line":"For scenarios 1 to 3, we plan to put tests cases into Tempest."},{"line_number":155,"context_line":"For Scenario 4, we plan to put the test into CI."},{"line_number":156,"context_line":"The reference case for Scenario 2 is migration from LVM to Storwize V7000."},{"line_number":157,"context_line":"The reference case for Scenario 3 is migration from Storwize V7000 to LVM."},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_b6e5720b","line":157,"in_reply_to":"fa32b979_de7e4f18","updated":"2015-06-26 05:10:57.000000000","message":"I am asking if openstack-infra can make multiple back-ends with all sort of storage hardware available in future.\n\nEven if it cannot happen in a short time, I can still provide the tempest tests in the \"manual\" mode, which means the test cases are ready, and the folks need to configure their devstack env with the proper back-ends MANUALLY to run the test cases successfully. I think this is something I can start to work on at once.\n\nFor the next step to make the tempest tests work in \"automatic\" mode, I am engaging with the openstack-infra, tempest, QA... related teams to see how to make that happen. Need more collaboration for sure.","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":9236,"name":"Jon Bernard","email":"jobernar@redhat.com","username":"jbernard"},"change_message_id":"552f92b64b840a742335e3052bc8e48a94e66d39","unresolved":false,"context_lines":[{"line_number":282,"context_line":"We are sure that other drivers can get involved into the tests. This specification"},{"line_number":283,"context_line":"targets to add the test cases for LVM and Storwize driver as the initiative. We"},{"line_number":284,"context_line":"hope other drivers can take the implementation of LVM and Storwize as a reference"},{"line_number":285,"context_line":"in future."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_1e97d73a","line":285,"updated":"2015-06-24 22:00:35.000000000","message":"I\u0027ll be the first to sign up, I have several RBD-related improvements that I\u0027d like to do, and these changes should help.","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"62b435c11ea2c467fe9a2aa3ae030f94039953ac","unresolved":false,"context_lines":[{"line_number":282,"context_line":"We are sure that other drivers can get involved into the tests. This specification"},{"line_number":283,"context_line":"targets to add the test cases for LVM and Storwize driver as the initiative. We"},{"line_number":284,"context_line":"hope other drivers can take the implementation of LVM and Storwize as a reference"},{"line_number":285,"context_line":"in future."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":24,"id":"fa32b979_b693325c","line":285,"in_reply_to":"fa32b979_1e97d73a","updated":"2015-06-26 05:10:57.000000000","message":"I will put the cases for RBD here. Do they include:\nFrom LVM to RBD\nFrom RBD to LVM\nFrom RBD1 to RBD2?\nDo you confirm these cases?\nPut you in the assignee. Is it OK?","commit_id":"7b501bf7dd5ccba3ba9457ec893d3d87ca685760"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"aba7d20ee04e5310e15eb7b1eeca6d98f2ecfe27","unresolved":false,"context_lines":[{"line_number":90,"context_line":"during migration. If the administrator issues the migrate command without the"},{"line_number":91,"context_line":"--force flag, the volume status will remain unchanged. Attach or detach action issued"},{"line_number":92,"context_line":"during migration will abort the migration."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"We plan to provide more information when the administrator is running \"cinder migrate\""},{"line_number":95,"context_line":"command. If the migration is able to start, we return a message \"Your migration request"},{"line_number":96,"context_line":"has been received. Please check migration status and the server log to see more"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_b10a46d1","line":93,"updated":"2015-06-29 19:13:01.000000000","message":"Will we be able to re-use the \"maintenance\" status for other non-migration situations as well?","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"743b4ae3cae4ddba5c8ab066fc60a207bca9738e","unresolved":false,"context_lines":[{"line_number":90,"context_line":"during migration. If the administrator issues the migrate command without the"},{"line_number":91,"context_line":"--force flag, the volume status will remain unchanged. Attach or detach action issued"},{"line_number":92,"context_line":"during migration will abort the migration."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"We plan to provide more information when the administrator is running \"cinder migrate\""},{"line_number":95,"context_line":"command. If the migration is able to start, we return a message \"Your migration request"},{"line_number":96,"context_line":"has been received. Please check migration status and the server log to see more"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_0679252f","line":93,"in_reply_to":"ba3cc151_b10a46d1","updated":"2015-07-01 09:14:51.000000000","message":"Yes, I think I will add a few more explanations.\nIf the volume service is not available due to any kind of reasons, \"maintenance\" status can be used to mark the volumes.\n\nIt can be serious issues for part of region, like power failure, broken storage, etc.\nIt can be some minor issues, e.g. the admin is fixing something, need to shutdown the service.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"aba7d20ee04e5310e15eb7b1eeca6d98f2ecfe27","unresolved":false,"context_lines":[{"line_number":121,"context_line":"A configuration option named migration_progress_report_interval can be added into"},{"line_number":122,"context_line":"cinder.conf, specifying how frequent the migration progress needs to be checked."},{"line_number":123,"context_line":"For example, if migration_progress_report_interval is set to 30 seconds, the code will"},{"line_number":124,"context_line":"check the migration progress and report it in 30 seconds."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"If the volume is migrated using dd command, e.g. volume migration from LVM to"},{"line_number":127,"context_line":"LVM, from LVM to vendor driver, from one back-end to another via blockcopy, etc,"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_31db967e","line":124,"updated":"2015-06-29 19:13:01.000000000","message":"\"report it every 30 seconds\" I assume?","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"743b4ae3cae4ddba5c8ab066fc60a207bca9738e","unresolved":false,"context_lines":[{"line_number":121,"context_line":"A configuration option named migration_progress_report_interval can be added into"},{"line_number":122,"context_line":"cinder.conf, specifying how frequent the migration progress needs to be checked."},{"line_number":123,"context_line":"For example, if migration_progress_report_interval is set to 30 seconds, the code will"},{"line_number":124,"context_line":"check the migration progress and report it in 30 seconds."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"If the volume is migrated using dd command, e.g. volume migration from LVM to"},{"line_number":127,"context_line":"LVM, from LVM to vendor driver, from one back-end to another via blockcopy, etc,"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_6606f1cf","line":124,"in_reply_to":"ba3cc151_31db967e","updated":"2015-07-01 09:14:51.000000000","message":"Yes, thx.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"2d8519cae6e3ea9bd46ad72da5861ae2672d0910","unresolved":false,"context_lines":[{"line_number":141,"context_line":"progress, this key is set to True. Otherwise, this key is set to False and the"},{"line_number":142,"context_line":"progress report becomes unsupported in this case."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* Notification:"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":147,"context_line":""}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_1592b057","line":144,"updated":"2015-07-01 06:48:05.000000000","message":"This already mentioned in the notification section.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"743b4ae3cae4ddba5c8ab066fc60a207bca9738e","unresolved":false,"context_lines":[{"line_number":141,"context_line":"progress, this key is set to True. Otherwise, this key is set to False and the"},{"line_number":142,"context_line":"progress report becomes unsupported in this case."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"* Notification:"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":147,"context_line":""}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_c6725d49","line":144,"in_reply_to":"ba3cc151_1592b057","updated":"2015-07-01 09:14:51.000000000","message":"Yes, I will remove this part.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"2d8519cae6e3ea9bd46ad72da5861ae2672d0910","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"* Tempest tests and CI support:"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Depending on ability to parse the required information for the LVM driver, the"},{"line_number":151,"context_line":"following scenarios for available volumes will taken into account:"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_35ac949f","line":148,"updated":"2015-07-01 06:48:05.000000000","message":"Move this down to the testing section.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"743b4ae3cae4ddba5c8ab066fc60a207bca9738e","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"We plan to notify Ceilometer with the start, progress and end of the volume migration."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"* Tempest tests and CI support:"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Depending on ability to parse the required information for the LVM driver, the"},{"line_number":151,"context_line":"following scenarios for available volumes will taken into account:"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_66903144","line":148,"in_reply_to":"ba3cc151_35ac949f","updated":"2015-07-01 09:14:51.000000000","message":"Done","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"2d8519cae6e3ea9bd46ad72da5861ae2672d0910","unresolved":false,"context_lines":[{"line_number":194,"context_line":"Notifications impact"},{"line_number":195,"context_line":"--------------------"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"The volume migration should send notification to Ceilometer about the start, the"},{"line_number":198,"context_line":"progress and the finish."},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_15f5d081","line":197,"updated":"2015-07-01 06:48:05.000000000","message":"Why is ceilometer the only place to get progress information? Why can\u0027t I ask cinder when I list volumes?","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"743b4ae3cae4ddba5c8ab066fc60a207bca9738e","unresolved":false,"context_lines":[{"line_number":194,"context_line":"Notifications impact"},{"line_number":195,"context_line":"--------------------"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"The volume migration should send notification to Ceilometer about the start, the"},{"line_number":198,"context_line":"progress and the finish."},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"Other end user impact"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_268469d2","line":197,"in_reply_to":"ba3cc151_15f5d081","updated":"2015-07-01 09:14:51.000000000","message":"Interesting.\n\nAt first, I thought just to log some percent from the log, so the admin does not need to go panic by seeing some data increasing rather than seeing nothing.\n\nWe can make it accessible from the command. I think a new column/field \"migration_progress\" for volume can be added to save the value for this purpose. Only admin can check and list it. Is it an acceptable approach?","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"2d8519cae6e3ea9bd46ad72da5861ae2672d0910","unresolved":false,"context_lines":[{"line_number":221,"context_line":"Developer impact"},{"line_number":222,"context_line":"----------------"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"None"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_d59be870","line":224,"updated":"2015-07-01 06:48:05.000000000","message":"This has impact on driver maintainers.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"743b4ae3cae4ddba5c8ab066fc60a207bca9738e","unresolved":false,"context_lines":[{"line_number":221,"context_line":"Developer impact"},{"line_number":222,"context_line":"----------------"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"None"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_c6a9fd7c","line":224,"in_reply_to":"ba3cc151_d59be870","updated":"2015-07-01 09:14:51.000000000","message":"Thank you for reminding me.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"2d8519cae6e3ea9bd46ad72da5861ae2672d0910","unresolved":false,"context_lines":[{"line_number":322,"context_line":"Documentation should be updated to tell the administrator how to use the migrate"},{"line_number":323,"context_line":"and retype command. Describe what commands work for what kind of use cases, how"},{"line_number":324,"context_line":"to check the migration status, how to configure and check the migration indication,"},{"line_number":325,"context_line":"etc."},{"line_number":326,"context_line":""},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_5586f813","line":325,"updated":"2015-07-01 06:48:05.000000000","message":"Can we also get something in the dev docs for driver maintainers on what they\u0027re suppose to do?\n\nhttp://docs.openstack.org/developer/cinder/devref/index.html","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"743b4ae3cae4ddba5c8ab066fc60a207bca9738e","unresolved":false,"context_lines":[{"line_number":322,"context_line":"Documentation should be updated to tell the administrator how to use the migrate"},{"line_number":323,"context_line":"and retype command. Describe what commands work for what kind of use cases, how"},{"line_number":324,"context_line":"to check the migration status, how to configure and check the migration indication,"},{"line_number":325,"context_line":"etc."},{"line_number":326,"context_line":""},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"References"}],"source_content_type":"text/x-rst","patch_set":25,"id":"ba3cc151_46b40dd0","line":325,"in_reply_to":"ba3cc151_5586f813","updated":"2015-07-01 09:14:51.000000000","message":"Yes, absolutely it needs to change as well. I will put this as a work item.","commit_id":"587e7d63f2acd0032a92de9cadbdf6eeb575f4b3"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"37a4e49139d3a9861fba8c0804acee131912edc1","unresolved":false,"context_lines":[{"line_number":173,"context_line":"REST API impact"},{"line_number":174,"context_line":"---------------"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"None"},{"line_number":177,"context_line":""},{"line_number":178,"context_line":""},{"line_number":179,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":27,"id":"ba3cc151_7c12e70a","line":176,"updated":"2015-07-01 16:59:37.000000000","message":"Adding to what the admin can see about a volume *is* a REST API change","commit_id":"982d0e8938df0c4b8d28a1dd0162ef114a07df32"}]}
