OpenStack Liberty Private Cloud HowTo

Deploy a new OpenStack Dalmatian cloud and migrate Liberty workloads via parallel export/import of images, instances, and volumes.

OpenStack Liberty Private Cloud HowTo

The only viable path for OpenStack Liberty is to deploy a new 2024.2 Dalmatian cloud and migrate workloads in parallel, as direct upgrades are impossible.

Parallel Migration Strategy

  1. Deploy a new 2024.2 Dalmatian cloud using Kolla-Ansible or OpenStack Ansible (OSA).
  2. Migrate Data by exporting Glance images, snapshotting instances, exporting Cinder volumes, and recreating Neutron networks.
  3. Migrate Users by exporting Keystone users or performing an LDAP cutover.
  4. Decommission the Liberty cloud after validating the new environment.

Migrating Glance Images

# On Liberty Cloud
glance image-download --file ubuntu.raw <image-id>

# On Dalmatian Cloud
openstack image create --disk-format raw --container-format bare \
  --file ubuntu.raw "Ubuntu (migrated)"

Migrating Instances

# On Liberty: Create snapshot and download
nova image-create <instance-id> instance-snapshot
glance image-download --file snapshot.raw <snapshot-id>

# On Dalmatian: Import image and boot instance
openstack image create --file snapshot.raw --disk-format raw \
  --container-format bare instance-snapshot

openstack server create --image instance-snapshot \
  --flavor m1.medium --network new-net migrated-vm

Migrating Cinder Volumes

# On Liberty: Export volume (Ceph RBD example)
rbd export volumes/<volume-rbd-name> volume.raw

# On Dalmatian: Create volume and import
openstack volume create --size <size> migrated-vol

# Import raw data to the new volume
rbd import volume.raw volumes/<new-volume-rbd-name>