Symptom
The administrator needs to transfer volume between projects
Cause
There is no GUI option for that and no vinfra command.
Resolution
Use OpenStack transfer command to transfer the volume.
Note: Volume must be not in-use
1. login into OpenStack cli with source project creds e.g.
. /etc/kolla/admin-openrc.sh
export OS_PROJECT_DOMAIN_NAME=namegoeshere export OS_USER_DOMAIN_NAME=namegoeshere export OS_PROJECT_NAME=dev-namegoeshere export OS_USERNAME=user export OS_PASSWORD=
In case of volume creation from snapshot inside 'admin' project use your VHI administrator account
2. Find your volume uuid
# vinfra service compute volume list | grep or # openstack --insecure volume list | grep
3. Create transfer request
# openstack --insecure volume transfer request create --name
Save the output of this command for the next accept request.
4. Login to destination project
export OS_PROJECT_DOMAIN_NAME=namegoeshere export OS_USER_DOMAIN_NAME=namegoeshere export OS_PROJECT_NAME=prod-namegoeshere export OS_USERNAME=user export OS_PASSWORD=
Create user account in the customer's domain or use existing allowed one.
5. Accept request
# openstack --insecure volume transfer request accept --auth-key