)]}'
{"specs/mitaka/approved/enhance-instance-operations-during-live-migration.rst":[{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"f297f7d27c25a252bd0dfd8d58b7f8f6e2b990ff","unresolved":false,"context_lines":[{"line_number":44,"context_line":"There are many operations which could be allowed during a live migration. It"},{"line_number":45,"context_line":"may not be practical to implement all of these, but in rough priority order:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* pause / unpause"},{"line_number":48,"context_line":"* soft reboot"},{"line_number":49,"context_line":"* console-log"},{"line_number":50,"context_line":"* lock / unlock"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba15a1d1_3bad9188","line":47,"updated":"2015-09-22 08:41:17.000000000","message":"On https://review.openstack.org/179346 there was a comment about the unpause action which could have a potential race condition between QEMU and libivirt, I am wonder if we can find a way to stop accepting unpause requests from libvirt when we are close at the end of the migration process checking the progress of data transfer","commit_id":"be1d0a8f3c4f95c18ce9a80a1324a1745928c796"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"e13216b871ba1ba8a353189d66987c9df4ca45e2","unresolved":false,"context_lines":[{"line_number":49,"context_line":"* console-log"},{"line_number":50,"context_line":"* lock / unlock"},{"line_number":51,"context_line":"* get-vnc-console"},{"line_number":52,"context_line":"* rebuild"},{"line_number":53,"context_line":"* rename"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"The implementation would apply the operation immediately if possible, otherwise"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a1a9d01_062be483","line":52,"updated":"2015-09-24 15:04:34.000000000","message":"I am going to remove the rebuild action as this will abort the live migration","commit_id":"be1d0a8f3c4f95c18ce9a80a1324a1745928c796"},{"author":{"_account_id":12299,"name":"Paweł Koniszewski","email":"pawel.koniszewski@gmail.com","username":"pawel.koniszewski"},"change_message_id":"11c4948f6ee896c9d1aae019d535907ef4cf4f29","unresolved":false,"context_lines":[{"line_number":53,"context_line":"* rename"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"The implementation would apply the operation immediately if possible, otherwise"},{"line_number":56,"context_line":"apply the operation to the instance after migration (ie on the target if the"},{"line_number":57,"context_line":"migration succeeds, or the source if it doesn\u0027t)"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba15a1d1_67f92ac8","line":56,"updated":"2015-09-22 09:58:37.000000000","message":"Same concern about PAUSE operation as below. Does user want to force live migration or to pause VM?","commit_id":"be1d0a8f3c4f95c18ce9a80a1324a1745928c796"},{"author":{"_account_id":12299,"name":"Paweł Koniszewski","email":"pawel.koniszewski@gmail.com","username":"pawel.koniszewski"},"change_message_id":"11c4948f6ee896c9d1aae019d535907ef4cf4f29","unresolved":false,"context_lines":[{"line_number":70,"context_line":"REST API impact"},{"line_number":71,"context_line":"---------------"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"The API remains unchanged, however some operations will change their response"},{"line_number":74,"context_line":"from 409/Conflict into a success response when called during"},{"line_number":75,"context_line":"task_state.MIGRATING."},{"line_number":76,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba15a1d1_4c2a0d92","line":73,"updated":"2015-09-22 09:58:37.000000000","message":"I have one concern here - at least pausing VM during live migration is completely different than pausing ACTIVE instance. Pause during live migration forces \u0027pause-and-copy\u0027 step in hypervisor. At the end of this step hypervisor will revert VM state to ACTIVE. This might be confusing for enduser (two different operations under one name?). This operation IMHO requires new API.","commit_id":"be1d0a8f3c4f95c18ce9a80a1324a1745928c796"},{"author":{"_account_id":12299,"name":"Paweł Koniszewski","email":"pawel.koniszewski@gmail.com","username":"pawel.koniszewski"},"change_message_id":"2f40ae323f0872543ba27b61bf9d20f23dbd78ab","unresolved":false,"context_lines":[{"line_number":70,"context_line":"REST API impact"},{"line_number":71,"context_line":"---------------"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"The API remains unchanged, however some operations will change their response"},{"line_number":74,"context_line":"from 409/Conflict into a success response when called during"},{"line_number":75,"context_line":"task_state.MIGRATING."},{"line_number":76,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a1a9d01_f49d315a","line":73,"in_reply_to":"9a1a9d01_46b6bc3e","updated":"2015-09-25 07:18:30.000000000","message":"Exactly - VM will go back to ACTIVE state on destination host. I\u0027m already working on a spec and this should be up for review early next week as I want to discuss it in Tokyo.","commit_id":"be1d0a8f3c4f95c18ce9a80a1324a1745928c796"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"e13216b871ba1ba8a353189d66987c9df4ca45e2","unresolved":false,"context_lines":[{"line_number":70,"context_line":"REST API impact"},{"line_number":71,"context_line":"---------------"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"The API remains unchanged, however some operations will change their response"},{"line_number":74,"context_line":"from 409/Conflict into a success response when called during"},{"line_number":75,"context_line":"task_state.MIGRATING."},{"line_number":76,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a1a9d01_46b6bc3e","line":73,"in_reply_to":"ba15a1d1_4c2a0d92","updated":"2015-09-24 15:04:34.000000000","message":"I get your point and it makes sense to me, if I correctly understood, your idea \nis to create a new API just for calling Pause during a live-migrations something like pause-live (we can come up with a better name) and when we  use this API the user must expect the instance to be in ACTIVE state once the migration has completed, am I right?","commit_id":"be1d0a8f3c4f95c18ce9a80a1324a1745928c796"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"3a7f81a6fe7367edaa0e176b05b65ae0bf4e05f8","unresolved":false,"context_lines":[{"line_number":45,"context_line":"may not be practical to implement all of these, but in rough priority order:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* soft reboot. An user can request a soft reboot of an instance during a live"},{"line_number":48,"context_line":"  migration."},{"line_number":49,"context_line":"* console-log. An user can request the console-log for an instance and he will"},{"line_number":50,"context_line":"  get back the console-log found on the hosts the instance is when the command"},{"line_number":51,"context_line":"  has been executed. It could be that the user get an empty console-log if the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_5d7beb29","line":48,"updated":"2015-10-01 12:45:42.000000000","message":"maybe not all virt layer support this? \nseems like a delegation to virt layer to prevent reboot during live-migration...","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"9d53fcbd217bf11bb6def1953c92e4509648679f","unresolved":false,"context_lines":[{"line_number":45,"context_line":"may not be practical to implement all of these, but in rough priority order:"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"* soft reboot. An user can request a soft reboot of an instance during a live"},{"line_number":48,"context_line":"  migration."},{"line_number":49,"context_line":"* console-log. An user can request the console-log for an instance and he will"},{"line_number":50,"context_line":"  get back the console-log found on the hosts the instance is when the command"},{"line_number":51,"context_line":"  has been executed. It could be that the user get an empty console-log if the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_a4bbdd74","line":48,"in_reply_to":"9a1a9d01_5d7beb29","updated":"2015-10-02 14:46:52.000000000","message":"My understanding is that if a virt layer doesn\u0027t support it the soft reboot is a no-op, am I wrong?","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"3a7f81a6fe7367edaa0e176b05b65ae0bf4e05f8","unresolved":false,"context_lines":[{"line_number":56,"context_line":"  scope of this specs."},{"line_number":57,"context_line":"* lock / unlock. An user can request a lock / unlock of the instance during the"},{"line_number":58,"context_line":"  live migration. This action doesn\u0027t affect the VM as it is just a DB update"},{"line_number":59,"context_line":"  for the instance record."},{"line_number":60,"context_line":"* get-vnc-console. An user can request to get the vnc console access. It is"},{"line_number":61,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":62,"context_line":"  generated by the source node and the instance has been successfully"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_1d1fb3b8","line":59,"updated":"2015-10-01 12:45:42.000000000","message":"if we lock the server during live-migration stage, so it\u0027s in a \nlocked but live-migration action state\nand if we allow unlock/lock in livemigration, we need to enable it in any case because it\u0027s a db operation?","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"9d53fcbd217bf11bb6def1953c92e4509648679f","unresolved":false,"context_lines":[{"line_number":56,"context_line":"  scope of this specs."},{"line_number":57,"context_line":"* lock / unlock. An user can request a lock / unlock of the instance during the"},{"line_number":58,"context_line":"  live migration. This action doesn\u0027t affect the VM as it is just a DB update"},{"line_number":59,"context_line":"  for the instance record."},{"line_number":60,"context_line":"* get-vnc-console. An user can request to get the vnc console access. It is"},{"line_number":61,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":62,"context_line":"  generated by the source node and the instance has been successfully"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_44ad2130","line":59,"in_reply_to":"9a1a9d01_1d1fb3b8","updated":"2015-10-02 14:46:52.000000000","message":"Sorry but I do not understand what you ask here.","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":18247,"name":"Mark Doffman","email":"mdoffman@linux.vnet.ibm.com","username":"doffm"},"change_message_id":"b378c529b84c28116fbef93cb518682b5e87bd57","unresolved":false,"context_lines":[{"line_number":60,"context_line":"* get-vnc-console. An user can request to get the vnc console access. It is"},{"line_number":61,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":62,"context_line":"  generated by the source node and the instance has been successfully"},{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":64,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":65,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":66,"context_line":"  for the instance record."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_f63d6c2b","line":63,"updated":"2015-09-30 15:08:49.000000000","message":"What happens to the console logs and VNC consoles when the instance is finally migrated? Will users get any indication of what has happened?","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"8125238df2ae3522824a4738ab06fa9030995482","unresolved":false,"context_lines":[{"line_number":60,"context_line":"* get-vnc-console. An user can request to get the vnc console access. It is"},{"line_number":61,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":62,"context_line":"  generated by the source node and the instance has been successfully"},{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":64,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":65,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":66,"context_line":"  for the instance record."}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_cb765aa3","line":63,"in_reply_to":"9a1a9d01_f63d6c2b","updated":"2015-10-01 11:25:44.000000000","message":"The user won\u0027t get any indication of what happened. The console log when the migration is completed won\u0027t have all the old data of the console-log which was on the source node.\nPlease note that at the moment this is what happens independetly of the change prosed here.\nAs regards the VNC console, if the user requires the console after the migration everything should work properly, the problem is when the user is connected to the console while the migration is in place and then the migration ends, at that point the user will lose the connection and needs to get require a new console.","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":5511,"name":"Nikola Dipanov","email":"ndipanov@redhat.com","username":"ndipanov"},"change_message_id":"166de4e4655f42c68b2a317e4b21a662bb62d94e","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":64,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":65,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":66,"context_line":"  for the instance record."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"Alternatives"},{"line_number":69,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_a3c0e57d","line":66,"updated":"2015-10-01 14:42:05.000000000","message":"So my comment is that all of the above apart from soft reboot, lock and rename seem pretty complicated to get right for at best questionable gains.","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"9d53fcbd217bf11bb6def1953c92e4509648679f","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":64,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":65,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":66,"context_line":"  for the instance record."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"Alternatives"},{"line_number":69,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_c41cd179","line":66,"in_reply_to":"9a1a9d01_a3c0e57d","updated":"2015-10-02 14:46:52.000000000","message":"Sometimes live migration can take hours to complete, the idea is that during that period the user should be able to get a vnc console and read the console.log file.","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"3a7f81a6fe7367edaa0e176b05b65ae0bf4e05f8","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"The API remains unchanged, however some operations will change their response"},{"line_number":83,"context_line":"from 409/Conflict into a success response when called during"},{"line_number":84,"context_line":"task_state.MIGRATING."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Security impact"},{"line_number":87,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_1dc7b365","line":84,"updated":"2015-10-01 12:45:42.000000000","message":"because this is backward incompatible change, we need to think microversion thus we need APIImpact flag and \n\u0027some operations\u0027 might need detail here","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"9d53fcbd217bf11bb6def1953c92e4509648679f","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"The API remains unchanged, however some operations will change their response"},{"line_number":83,"context_line":"from 409/Conflict into a success response when called during"},{"line_number":84,"context_line":"task_state.MIGRATING."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"Security impact"},{"line_number":87,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a1a9d01_4793e3a3","line":84,"in_reply_to":"9a1a9d01_1dc7b365","updated":"2015-10-02 14:46:52.000000000","message":"You are right about having a new microversion as we change the response code, I\u0027ll change it.\nI do not want to change any specific operation but just enable some operations which are not allowed at the moment.","commit_id":"adc32a4cc1419b836ac910340962e4f71d24cc79"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"84c318962e7f4817af74ab8f06fc52436c1e14a1","unresolved":false,"context_lines":[{"line_number":57,"context_line":"* lock / unlock. An user can request a lock / unlock of the instance during the"},{"line_number":58,"context_line":"  live migration. This action doesn\u0027t affect the VM as it is just a DB update"},{"line_number":59,"context_line":"  for the instance record."},{"line_number":60,"context_line":"* get-vnc-console. An user can request to get the vnc console access. It is"},{"line_number":61,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":62,"context_line":"  generated by the source node and the instance has been successfully"},{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a29b11f_61332115","line":60,"updated":"2015-10-21 06:10:38.000000000","message":"This is really any console (spice, serial etc)","commit_id":"e30c2409589c2bf31013a9b04876884adec74098"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"2ce43ffc98ab96d5eae769d13e85c701989351d8","unresolved":false,"context_lines":[{"line_number":57,"context_line":"* lock / unlock. An user can request a lock / unlock of the instance during the"},{"line_number":58,"context_line":"  live migration. This action doesn\u0027t affect the VM as it is just a DB update"},{"line_number":59,"context_line":"  for the instance record."},{"line_number":60,"context_line":"* get-vnc-console. An user can request to get the vnc console access. It is"},{"line_number":61,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":62,"context_line":"  generated by the source node and the instance has been successfully"},{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a29b11f_566b42f1","line":60,"in_reply_to":"3a29b11f_61332115","updated":"2015-10-21 08:56:43.000000000","message":"yes you are right. I\u0027ll make it more general in the next patch.","commit_id":"e30c2409589c2bf31013a9b04876884adec74098"},{"author":{"_account_id":12898,"name":"Tony Breeds","email":"tony@bakeyournoodle.com","username":"tonyb"},"change_message_id":"84c318962e7f4817af74ab8f06fc52436c1e14a1","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":64,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":65,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":66,"context_line":"  for the instance record."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"Alternatives"},{"line_number":69,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a29b11f_a46067d0","line":66,"updated":"2015-10-21 06:10:38.000000000","message":"I\u0027m not convinced by this assertion, but if this turns out to be wrong we can just not allow rename (which is the current situation)","commit_id":"e30c2409589c2bf31013a9b04876884adec74098"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"2ce43ffc98ab96d5eae769d13e85c701989351d8","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":64,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":65,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":66,"context_line":"  for the instance record."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"Alternatives"},{"line_number":69,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a29b11f_b9c16956","line":66,"in_reply_to":"3a29b11f_a46067d0","updated":"2015-10-21 08:56:43.000000000","message":"Why you are not convinced?\nAFAIK the NOVA name of the instance is unknown to the virt layer","commit_id":"e30c2409589c2bf31013a9b04876884adec74098"},{"author":{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},"change_message_id":"c5c9ac0b8c9551d6a69f369e0db1099e5363db15","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Project Priority"},{"line_number":37,"context_line":"-----------------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"None"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_230f5b38","line":39,"updated":"2015-11-02 14:00:52.000000000","message":"Project priorities are decided, this should be: Live Migration","commit_id":"57a25bf82b962c652cf46c8a70ba43edb69b7825"},{"author":{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},"change_message_id":"6a4a0cd0ee0ded1255a82c5c7fbf7f8e2b4799fc","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Project Priority"},{"line_number":37,"context_line":"-----------------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"None"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_271e86bb","line":39,"in_reply_to":"1a26ad4f_230f5b38","updated":"2015-11-02 14:16:26.000000000","message":"Actually - ignore that - this section is no longer included and should be removed.","commit_id":"57a25bf82b962c652cf46c8a70ba43edb69b7825"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"06db079de53b1c206e0f75162ea887412031368c","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Project Priority"},{"line_number":37,"context_line":"-----------------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"None"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"},{"line_number":42,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa80f949_a83e64b6","line":39,"in_reply_to":"1a26ad4f_271e86bb","updated":"2015-11-03 14:55:57.000000000","message":"Done","commit_id":"57a25bf82b962c652cf46c8a70ba43edb69b7825"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"8bca73f76f60b268ede4372dcda1ab5038d5ddf4","unresolved":false,"context_lines":[{"line_number":40,"context_line":"may not be practical to implement all of these, but in rough priority order:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* soft reboot. An user can request a soft reboot of an instance during a live"},{"line_number":43,"context_line":"  migration."},{"line_number":44,"context_line":"* console-log. An user can request the console-log for an instance and he will"},{"line_number":45,"context_line":"  get back the console-log found on the hosts the instance is when the command"},{"line_number":46,"context_line":"  has been executed. It could be that the user get an empty console-log if the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_3174c7cd","line":43,"updated":"2015-11-10 11:49:27.000000000","message":"if the soft reboot failed, the reboot will switch to hard-reboot, then nova-manage will destroy the guest and recreate it. Then the live-migration will be terminated?","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"f6a588cbab7b49a6935965fa222041a8ae92bcef","unresolved":false,"context_lines":[{"line_number":40,"context_line":"may not be practical to implement all of these, but in rough priority order:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* soft reboot. An user can request a soft reboot of an instance during a live"},{"line_number":43,"context_line":"  migration."},{"line_number":44,"context_line":"* console-log. An user can request the console-log for an instance and he will"},{"line_number":45,"context_line":"  get back the console-log found on the hosts the instance is when the command"},{"line_number":46,"context_line":"  has been executed. It could be that the user get an empty console-log if the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_bfea7e72","line":43,"in_reply_to":"da85f559_3174c7cd","updated":"2015-11-11 14:49:15.000000000","message":"if the soft reboot fails we do not want to try a hard reboot as that will abort the live-migration.\nI\u0027ll update the spec.","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"8bca73f76f60b268ede4372dcda1ab5038d5ddf4","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  scope of this specs."},{"line_number":52,"context_line":"* lock / unlock. An user can request a lock / unlock of the instance during the"},{"line_number":53,"context_line":"  live migration. This action doesn\u0027t affect the VM as it is just a DB update"},{"line_number":54,"context_line":"  for the instance record."},{"line_number":55,"context_line":"* get-\\*-console. An user can request to get console access. It is"},{"line_number":56,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":57,"context_line":"  generated by the source node and the instance has been successfully"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_f102bf0a","line":54,"updated":"2015-11-10 11:49:27.000000000","message":"this also enabled currently.","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"f6a588cbab7b49a6935965fa222041a8ae92bcef","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  scope of this specs."},{"line_number":52,"context_line":"* lock / unlock. An user can request a lock / unlock of the instance during the"},{"line_number":53,"context_line":"  live migration. This action doesn\u0027t affect the VM as it is just a DB update"},{"line_number":54,"context_line":"  for the instance record."},{"line_number":55,"context_line":"* get-\\*-console. An user can request to get console access. It is"},{"line_number":56,"context_line":"  possible that the full URL returned is no more valid if the URL has been"},{"line_number":57,"context_line":"  generated by the source node and the instance has been successfully"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_9fb3fa99","line":54,"in_reply_to":"da85f559_f102bf0a","updated":"2015-11-11 14:49:15.000000000","message":"you are right.","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"8bca73f76f60b268ede4372dcda1ab5038d5ddf4","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":59,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":60,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":61,"context_line":"  for the instance record."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Alternatives"},{"line_number":64,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_713fafd6","line":61,"updated":"2015-11-10 11:49:27.000000000","message":"this already enabled I think.","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"f6a588cbab7b49a6935965fa222041a8ae92bcef","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  migrated. In this case the user has to request a new URL."},{"line_number":59,"context_line":"* rename. An user can rename the instance name during the live-migration as"},{"line_number":60,"context_line":"  this operation doesn\u0027t interfere with the process as it is just a DB update"},{"line_number":61,"context_line":"  for the instance record."},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Alternatives"},{"line_number":64,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_7faf362a","line":61,"in_reply_to":"da85f559_713fafd6","updated":"2015-11-11 14:49:15.000000000","message":"you are right.","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"8bca73f76f60b268ede4372dcda1ab5038d5ddf4","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"The API remains unchanged, however some operations will change their response"},{"line_number":78,"context_line":"from 409/Conflict into a success response when called during"},{"line_number":79,"context_line":"task_state.MIGRATING."},{"line_number":80,"context_line":"As we modify the response of existing operations, the change will require a new"},{"line_number":81,"context_line":"API microversion."},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_515b8b87","line":79,"updated":"2015-11-10 11:49:27.000000000","message":"When the instance task_state is MIGRATING, what task_state is expected execute reboot. As there are a set of task state for reboot, like REBOOTING.","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":1865,"name":"Andrea Rosa","email":"andrea.rosa@gmail.com","username":"andrea-rosa-m"},"change_message_id":"f6a588cbab7b49a6935965fa222041a8ae92bcef","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"The API remains unchanged, however some operations will change their response"},{"line_number":78,"context_line":"from 409/Conflict into a success response when called during"},{"line_number":79,"context_line":"task_state.MIGRATING."},{"line_number":80,"context_line":"As we modify the response of existing operations, the change will require a new"},{"line_number":81,"context_line":"API microversion."},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"da85f559_fa27b4b3","line":79,"in_reply_to":"da85f559_515b8b87","updated":"2015-11-11 14:49:15.000000000","message":"The task state will be updated according to the rules we have at the moment, so during the reboot we will have MIGRATING -\u003e REBOOTING -\u003e REBOOT_PENDING -\u003e REBOOT_STARTED then we need to add the logic to check if the live-migration is still running then the task_state will be MIGRATING otherwise it will set to None","commit_id":"0ea1ad08680d042b765af50881ccee9554b48e7b"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"f0d6096304232718ca7d9586baf49945b6441556","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  REBOOT_PENDING -\u003e REBOOT_STARTED  -\u003e MIGRATING/None."},{"line_number":50,"context_line":"  We need to add the logic at the end of the reboot to set the task_state back"},{"line_number":51,"context_line":"  to MIGRATING if the live migration is still in place or to set it to None"},{"line_number":52,"context_line":"  if the migration is over."},{"line_number":53,"context_line":"* console-log. An user can request the console-log for an instance and he will"},{"line_number":54,"context_line":"  get back the console-log found on the hosts the instance is when the command"},{"line_number":55,"context_line":"  has been executed. It could be that the user get an empty console-log if the"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_9b451744","line":52,"updated":"2015-11-12 11:46:17.000000000","message":"A user with access to their instance could do the soft reboot themselves, without us needing to worry about it.\n\nIs it not a hard reboot thats more important?","commit_id":"7e5db1a3373b94175c3fc78bf9a767b78f27e8a9"}]}
