(re-sent from a correct address for openstack-discuss :) ) Hello Derek, On Thu, Jul 29, 2021 at 9:08 AM Derek O keeffe <derekokeeffe85@yahoo.ie> wrote:
Hi all,
I have a question. If we have an old openstack deployment (Queens) that have VM's (with & without volumes attached) and we want to migrate those to a new deploy (Victoria) can this be achieved by the owners of the VM's through horizon in some way?
We can take snapshots of the vm's that don't have volumes attached, copy them to the new controller and re instantiate them but we haven't found a solution for the volumes yet. This give us more work though as it all needs to be done over cli so the user is taken out of the loop and it falls on us 3 admins to move over 300 VM's.
Any advice or info would be greatly appreciated. Thanks in advance.
OS Migrate might be worth a look, it's an Ansible collection. It does cold migration that does not require admin privileges (is runnable by tenants who are sufficiently technically savvy). It can copy VMs with attached volumes. If boot disk copy is desired, then the destination instance will be created as boot-from-volume (the alternative option being re-imaging the instance from a pre-existing Glance image in the destination cloud, which is good for instances which store important data only in volumes, and can be rebuilt as in `openstack server rebuild`). Aside from migrating VMs, it should also help you migrate prerequisites for VMs, e.g. tenant networking resources or security groups. Perhaps even if you end up doing the migration on behalf of tenants, at least you wouldn't have to do it fully by hand, and you'd have something for the migration of attached volumes. Here's an "executive summary" of how it works: https://www.jistr.com/blog/2021-07-12-introduction-to-os-migrate/ And docs: https://os-migrate.github.io/os-migrate/ Have a good day, Jirka