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 over 5 years ago. Updated almost 5 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 #1

Updated by Ahmed Bilal over 5 years ago

  • Parent task set to #6897
Actions #2

Updated by Ahmed Bilal over 5 years 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.
Actions #3

Updated by Ahmed Bilal over 5 years ago

  • Status changed from New to Feedback
Actions #4

Updated by Ahmed Bilal over 5 years ago

  • Status changed from Feedback to In Progress
Actions #5

Updated by Ahmed Bilal almost 5 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF