Document navigation

Issue/Introduction

This article describes how to troubleshoot slow image creation from a VM instance. It applies to the initial diagnosis and resolution of similar issues in ZStack Cloud.

Environment

  • Product: ZCF
  • Component: Cloud
  • Version: 3.x-5.5.30

Possible causes

Primary storage is Ceph, while image storage is ImageStore.

Note:

When using Ceph primary storage, it is recommended that you add Ceph image storage.

Resolution

  1. Sign in to a MON node and run the following command to manually export the image from Ceph image storage:
  [root@localhost ~]# rbd export pool-uuid/uuid /root/ZStack.image
  1. Run the following command to convert the exported raw image to qcow2 format:
  [root@localhost ~]# qemu-img convert -f raw /root/ZStack.image -O qcow2 /root/ZStack.qcow2
  1. Upload the exported qcow2 image to ImageStore image storage.
Creating an image from a VM instance is slow | 故障排查 · KB | ZStack Resource Center