Skip to content
Snippets Groups Projects
Name Last commit Last update
ci
.gitlab-ci.yml
README.md

g1-g2-ostack-cloud-migration

e-INFRA CZ G1 to G2 OpenStack cloud workload migration.

This is automation CI pipeline is core of the G1 to G2 migration process. More details of the progress can be found here.

Migration checklist

  • Define date of the workload migration
  • Is the project personal or group?
  • Are there any data in object store?
  • Are there any DNS records on FIPs?
  • Do you need to migrate non running VMs?
  • Do you need to migrate not-attached openstack volumes? (wording)
  • Do you request block of FIPs or random is ok for you?
  • To agree on how user gives final migration signoff handshake.

How to launch G1 to G2 migration

Input argumenta are:

  • (required) PROJECT_NAME
    • Common project name in G1 and in G2 OpenStack clouds.
  • (required) VALIDATION_SERVER_ID
    • id of any existing keypair in G1 or G2 cloud
  • (optional) MIGRATE_EXPLICIT_SERVER_NAMES
    • migrate just part of the source G1 project. You may specify explicitly server names delimited by space or comma.
  • (optional) MIGRATE_EXPLICIT_VOLUME_NAMES
    • all volumes connected will be migrated. Unused volumes may be also migrated.

Migration steps

  • Migrates all running VMs from G1 cloud to G2 OpenStack cloud
    • all related entities are created in G2 OpenStack cloud (keypairs, security groups, volumes, servers, FIP addresses)

Notes:

  • VMs in SHUTOFF / SHELVED_OFFLOADED are by default not migrated.
  • Project volumes which are not attched are by default not migrated.
  • FIP addresses in source and destination cloud will differ