[openstack-dev] [nova][RFC] A base patch for live migration(list/show/cancel/pause)

少合冯 lvmxhster at gmail.com
Mon Dec 21 10:20:05 UTC 2015


I have notice:

https://review.openstack.org/#/c/258771/  (list/show migration)
https://review.openstack.org/#/c/245921/   (pause migration)

introduce the a new controller:  ServerMigrationsController.
As we all know, the following  cancel patch will also need it.

Also the above patches are not a small patch, so it will take some times to
be well reviewed.

In order to avoid duplicated code, and one depends on others to long.

So I suggest to split the ServerMigrationsController as separated

And it's better simple.

So the define  list/show/cancel/pause as HTTPNotImplemented. as follow link:
It is a good way to sync our work.

Notes: in both list and pause migration patch, they define:
ALIAS = 'os-server-migrations'
"os_compute_api:os-server-migrations:force_complete": "rule:admin_or_owner",

They are not right.

'os_compute_api:servers:migrations:show', and the default permission is
admin only.

please see this spec.

we should know migrations is the sub-collection of servers.
And only Admin care  migration.
Owner should not care which host their VM is on.

Shaohe Feng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151221/f88ee67e/attachment.html>

More information about the OpenStack-dev mailing list