Project

General

Profile

Actions

Task #6914

closed

Task #6869: Challenge OpenStack and OpenNebula with ucloud

Task #6897: Create ucloud-image service

ucloud-image-scanner

Added by Ahmed Bilal almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
07/01/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

  • Scans all entries in /v1/image
    1. If there is a json with TO_BE_CREATED
      1. Look for the filename below basepath/$owner/$filename
      2. If it is not there, error out
      3. If image is found
        1. Verify that it is qcow2 format (file or qemu-img)
        2. Convert it to raw and import it into ceph using
          qemu-img convert -f qcow2 -O raw image.qcow2 image.raw | rbd import - imagestorename/image-uuid
          
Actions

Also available in: Atom PDF