Instance Tenant Transfer
Problem
There is a need to change the tenant in which an instance is hosted.
There is not supported method of changing an existing instance's tenancy.
Instance data must be transferred to the destination tenant.
Environment
Platform9 Managed OpenStack - v4.0 and Higher
Procedure
If the source instance is booting from volume, the following steps may be executed in the UI to recreate the instance in the destination tenant.
Scope to the source tenant.
Power-off and snapshot the instance. virtual-machines-instance-snapshot
Create a volume from the newly created snapshot. create-volume-from-snapshot
Upload the volume as an Glance image. upload-volume-as-image
Info
Ensure the newly created Image is Public so it may be used by other tenants.
Scope to the destination tenant.
Create a new instance with the newly available Glance image.
Alternative Procedure
If exposing the image as Public is not a viable option, the instance volume may be transferred to the destination tenant by leveraging the OpenStack CLI.
Scope to the source tenant.
Power-off and snapshot the instance. virtual-machines-instance-snapshot
Create a volume from the newly created snapshot. create-volume-from-snapshot
Via CLI, transfer the newly created volume.
In the UI, scope to the destination tenant. Browse to Volumes and Snapshots and find the volume. Ensure Bootable is set to True.
Create a new instance with the newly available volume by selecting Boot Instance From Existing Volume during creation.
Additional Information
Last updated
