Manage an Image

On the main menu of ZStack Cloud, choose Resource Center > Resource Pool > Compute Configuration > Image. Then, the Image page appears.

The following table lists the actions that you can perform on an image.
Action Description
Add Image Add an image to a backup storage.
Edit Image Edit the name and description of an image.
Enable Image Enable an image that is in Disabled state.
Disable Image Disable an image that is in Enabled state. If you disable an image, you cannot use the image to create a VM instance. VM instances created by using the image before the disablement are not affected.
Export Image Export an image. ImageStore and Ceph backup storages support image export. Exported images are displayed on the Exported tab.
Note:
  • Image exports from ImageStore backup storages may take a long time if the image size is great.
  • You can also run the rbd command on a Ceph backup storage to export an image from the Ceph backup storage.
  • An exported image cannot be exported again.
Storage Migration Migrate an image across network shared storages. You can migrate an image across Ceph backup storages whose monitor nodes are connected with each.
Note:
  • After the storage migration, the raw data is reserved in the source backup storage. You can go to the details page of the source Ceph backup storage and view the data on the Data Cleanup tab.
  • You can Cleanup the raw data. Before you perform this operation, make sure that the storage migrated data is intact. Cleaning up raw data will make the data unrecoverable. Proceed with caution.
Sync Image Synchronize images that are stored in one or more backup storages to a specified backup storage that shares the same monitoring node with the source backup storages. Image synchronization is supported only by ImageStore backup storages.
Note: To ease the pressure on the management network, you can set a network dedicated to image synchronizations by using either of the two methods:
  • Set an image synchronization network when you add a backup storage to the platform.
  • Set an image synchronization network on the details page of a backup storage. The setting takes effect immediately.
Set Sharing Mode
Set the sharing mode of the resource. The platform provides the following sharing modes:
  • Share Globally: shares the resource with all projects and accounts.
  • Share to Specified Projects/Accounts: shares the resource with specified projects and accounts.
  • Not Share: revokes the resource from projects and accounts to which the resource is shared. If you set Sharing Mode to Not Share for the resource, other projects and accounts cannot use the resource.
Note:
  • If you modify the Sharing Mode setting of the resource from Share Globally to Share to Specified Projects/Accounts, the resource is visible only to the specified projects or accounts to which the resource is shared.
  • If the resource that you share with projects or accounts was used by the projects or accounts and then you modify the Sharing Mode setting of the resource, the resource is reserved for the projects or accounts until it is released.
Delete Image Delete an image. A deleted image is displayed on the Recycle Bin tab.
Recover Image Recover a deleted image. If you recover a deleted image, the image is displayed on the Available tab.
Expunge Image Expunge a deleted image. You can only expunge an image that is in the recycle bin.
Download Exported Image Download an exported image. ImageStore and Ceph backup storages support image export. If you download an exported image, the download is implemented by the browser.
Note: ImageStore backup storages allow you to view the MD5 value of the downloaded image to check whether the downloaded image is the same as the exported image.
Delete Exported Image Delete an exported image.
Note:
  • In an ImageStore backup storage, image files are stored in the format of chips. Only when you export an image, or use an image, for example, to create a VM instance will a complete image file be produced. When you delete an exported image, only the complete image file is deleted. The image chips in the backup storage remain intact.
  • In a Ceph backup storage, image files are stored in the format of blocks. When you delete an exported image, only the exported image file is deleted. The image in the Ceph backup storage remain intact.