You can migrate an image to another datastore while preserving its UUID and metadata.

Prerequisites

Determine the UUID of the image that you want to migrate and of the project containing the image. You can use the openstack image list command to display the UUID of each image and the openstack image show command to display the UUID of the project that contains a specified image.

Procedure

  1. In the vSphere Client, open the VMs and Templates view and locate the image that you want to migrate.
    The image is located in the folder for the project that contains it.
  2. Right-click the image and select Clone to Template.
  3. Enter a new name for the image and click Next.
  4. Select the desired compute resource and click Next.
  5. Select the desired datastore and click Next.
  6. Click Finish.
  7. Record the name of the original image as shown in vSphere.
  8. Delete the original image.
  9. Rename the cloned image to the name of the original image.

Results

The image is moved to the new datastore. You can continue to launch instances from it normally.