<div dir="ltr">Now,  <div><br></div><div>I have notice: <div><br></div><div><a href="https://review.openstack.org/#/c/258771/">https://review.openstack.org/#/c/258771/</a>  (list/show migration)<br></div><div><a href="https://review.openstack.org/#/c/245921/">https://review.openstack.org/#/c/245921/</a>   (pause migration)</div><div><br></div><div>introduce the a new controller:  ServerMigrationsController.<br></div><div>As we all know, the following  cancel patch will also need it.<br></div><div><br></div><div>Also the above patches are not a small patch, so it will take some times to be well reviewed. </div><div><br></div><div>In order to avoid duplicated code, and one depends on others to long.</div><div><br></div><div>So I suggest to split the ServerMigrationsController as separated </div><div><br></div><div>And it's better simple. </div><div><br></div><div>So the define  list/show/cancel/pause as HTTPNotImplemented. as follow link:</div><div><a href="http://paste.openstack.org/show/482387/">http://paste.openstack.org/show/482387/</a><br></div><div><span style="color:rgb(0,0,0);font-family:sans-serif;white-space:pre-wrap">It is a good way to sync our work.</span><br></div><div><br></div><div>Notes: in both list and pause migration patch, they define:</div><div>ALIAS = 'os-server-migrations' </div><div>policy: </div><div>"os_compute_api:os-server-migrations:force_complete": "rule:admin_or_owner",<br></div><div><br></div><div><br></div><div>They are not right.</div><div><br></div><div><div>'os_compute_api:servers:migrations:show', and the default permission is admin only.</div></div><div><br></div><div>please see this spec.</div><div><a href="https://review.openstack.org/#/c/255122/8/specs/mitaka/approved/live-migration-progress-report.rst">https://review.openstack.org/#/c/255122/8/specs/mitaka/approved/live-migration-progress-report.rst</a><br></div><div><br></div></div><div>we should know migrations is the sub-collection of servers. </div><div>And only Admin care  migration.</div><div>Owner should not care which host their VM is on.</div><div><br></div><div>BR</div><div>Shaohe Feng</div></div>