Project

General

Profile

Task #6914

Task #6869: Challenge OpenStack and OpenNebula with ucloud

Task #6897: Create ucloud-image service

ucloud-image-scanner

Added by Ahmed Bilal 4 months ago. Updated 3 months ago.

Status:
In Progress
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
          

History

#1

Updated by Ahmed Bilal 4 months ago

  • Parent task set to #6897
#2

Updated by Ahmed Bilal 4 months ago

  • Everything mentioned above is completed. Only, I couldn't be able to check whether it is successfully imported into CEPH because I don't have it.
#3

Updated by Ahmed Bilal 4 months ago

  • Status changed from New to Feedback
#4

Updated by Ahmed Bilal 3 months ago

  • Status changed from Feedback to In Progress

Also available in: Atom PDF