Page MenuHomePhabricator

Figure out how to migrate an instance from a nova-network region to a neutron region
Closed, ResolvedPublic

Description

We need to migrate images from our existing cloud to a new neutron based cloud. Some of the lessons in our homegrown cold-migrate script probably apply. This is complicated because the IP will change, the hostname will stay the same, Designate has to be updated, and networking will be fairly different (but not necessarily in a way an instance should care about).

Interesting?

https://docs.openstack.org/mitaka/user-guide/cli_use_snapshots_to_migrate_instances.html
https://ibm-blue-box-help.github.io/help-documentation/nova/migrate-instance/

Event Timeline

chasemp triaged this task as Medium priority.Apr 9 2018, 1:04 PM
chasemp created this task.

In some cases, the private IPs of instances have been assumed to be static and placed in things like network rules (grep through mediawiki-config or puppet for 10.68. to find some, but they can also show up in security groups in use within labs).

Change 454703 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] nova region-migrate: update eqiad/eqiad1 settings

https://gerrit.wikimedia.org/r/454703

Change 454703 merged by Andrew Bogott:
[operations/puppet@production] nova region-migrate: update eqiad/eqiad1 settings

https://gerrit.wikimedia.org/r/454703

Change 454825 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] region-migrate: update for eqiad migration

https://gerrit.wikimedia.org/r/454825

Change 454825 merged by Andrew Bogott:
[operations/puppet@production] region-migrate: update for eqiad migration

https://gerrit.wikimedia.org/r/454825

Change 454828 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] region-migrate: fix network_name for eqiad and codfw

https://gerrit.wikimedia.org/r/454828

Change 454828 merged by Andrew Bogott:
[operations/puppet@production] region-migrate: fix network_name for eqiad and codfw

https://gerrit.wikimedia.org/r/454828

Change 455726 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] region-migrate: handle floating IPs

https://gerrit.wikimedia.org/r/455726

Change 455726 merged by Andrew Bogott:
[operations/puppet@production] region-migrate: handle floating IPs

https://gerrit.wikimedia.org/r/455726

Change 455889 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] region-migrate: migrate DNS for floating IPs

https://gerrit.wikimedia.org/r/455889

Change 455889 merged by Andrew Bogott:
[operations/puppet@production] region-migrate: migrate DNS for floating IPs

https://gerrit.wikimedia.org/r/455889

Change 455911 had a related patch set uploaded (by Andrew Bogott; owner: Andrew Bogott):
[operations/puppet@production] region-migrate: migrate web proxies to the new VM

https://gerrit.wikimedia.org/r/455911

Change 455911 merged by Andrew Bogott:
[operations/puppet@production] region-migrate: migrate web proxies to the new VM

https://gerrit.wikimedia.org/r/455911

The 'figure out' parts of this are done now; all that's left is to do it.