Copying a self-service portal image

Use these instructions to copy an image that is used by the IBM Cloud Manager with OpenStack self-service portal from one region to another.

About this task

To copy an image that is used by the self-service portal in region r1 to region r2, use the following procedure. The examples assume that the file openrc contains credentials for authenticating to region r1. This file could be the openrc file that is installed on the region r1 controller.

Procedure

  1. View the original image in the self-service portal and note the following properties:
    • Name: myimage
    • UUID: 90a8c085-5014-4a19-9001-3593f0389582
    • Disk format: QCOW2
    • Container Format: BARE
    • Minimum memory: 0
    • Minimum storage: 0
    • Additional Properties:
      • architecture:: x86_64
      • hypervisor_type: qemu
  2. Extract the image file for the image. You can extract the image file by using OpenStack APIs or CLI from any system. For convenience, the glance image-download CLI on the region r1 controller is used in this example.
    # . openrc
    # glance image-download --file myimage.img 90a8c085-5014-4a19-9001-3593f0389582
    Note: If you already have the image file, for example, from importing the original image into the self-service portal, you do not need to extract the image.
  3. If necessary, transfer the image file to the system where your web browser is running or to a system where you have HTTP access to the image file.
  4. From the self-service portal, go to the Image tab to import the image. Select the cloud for region r2. Then, enter the path or URL to the image file and the other information that you collected in the first step of this process.
  5. Using the self-service portal, edit the new image and set other properties to match the original image. The additional properties might include information such as the image configuration and deployment strategy.