Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Instance Tenant Transfer
Copy Markdown
Open in ChatGPT
Open in Claude
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
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.
Bash
xxxxxxxxxx# source from_tenant.rc# openstack volume transfer request create 1ffe881b-93fd-4030-9dc4-0acf1a0126fc+------------+--------------------------------------+| Field | Value |+------------+--------------------------------------+| auth_key | bee4e665a35a3a7a || created_at | 2022-09-28T00:50:17.835651 || id | c459d215-3c46-4915-96f4-5c5c7077ed2a || name | None || volume_id | 1ffe881b-93fd-4030-9dc4-0acf1a0126fc |+------------+--------------------------------------+ # source to_tenant.rc# openstack volume transfer request accept --auth-key bee4e665a35a3a7a c459d215-3c46-4915-96f4-5c5c7077ed2a+-----------+--------------------------------------+| Field | Value |+-----------+--------------------------------------+| id | c459d215-3c46-4915-96f4-5c5c7077ed2a || name | None || volume_id | 1ffe881b-93fd-4030-9dc4-0acf1a0126fc |+-----------+--------------------------------------+- 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
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
API call to Fetch the Version of Openstack Components.Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message