import existing cinder volumes from ceph into newly installed openstack
Hi I wiped my install of openstack, so basically its showing no instances, volumes, images anymore, basically factory reset. However the ceph cluster has not been touched and still has a few cinder volumes that I would like to re-import and use on some instances as data drives.
I can't seem to find a way to import an existing cinder volume from ceph which I can see still exists as an RBD image in there.
I know it probably possible to mount the drives to the host and copy data manually but I thought there might be a more elegant way of just telling cinder to re-import them.
Many thanks,
Jon.
Not sure if it works with Ceph, but this is the API you are looking for: https://docs.openstack.org/api-ref/bl....
This is equivalent to the command
cinder manage
as far as I know.