How to transfer volumes between projects
You may require the ability to move volumes between projects.
This article provides examples of how to transfer volumes between OpenStack projects in the same region.
This article is intended for anyone responsible for the design and implementation of applications and services deployed on UKCloud OpenStack service. Users should be familiar with using the OpenStack dashboard and API or CLI.
Transferring volumes between projects
You'll require a RC file for both the source project and the destination project.
Do not transfer volumes between projects that have snapshots as this process will break the snapshots.
Source the source project RC file.
Locate the destination project:
openstack project list
Locate the volume you want to transfer:
openstack volume list
Create a transfer request:
openstack volume transfer request create <volume id>
Take a note of the transfer id and auth key.
Source the destination project RC file.
Accept the transfer request:
openstack volume transfer request accept --auth-key <auth key> <transfer id>
If you find a problem with this article, click Improve this Doc to make the change yourself or raise an issue in GitHub. If you have an idea for how we could improve any of our services, send an email to email@example.com.