Skip to content

Image format issue in CloudKeeper #79

@cesga-rdiez

Description

@cesga-rdiez

Hi:
Seems there is kind of issue with a image in VHD format (made with using Hyper-V).

I'm using CloudKeeper version 1.6.0.
I get this message in the cloudkeeper.log file:

{{{

[.....]

2019-10-24T12:16:50+02:00 [DEBUG] 14172 : Downloading image from "http://fedcloud-imgrepo.egi.cesga.es:8000/NiMMbus_v0.vhd"
2019-10-24T12:23:31+02:00 [DEBUG] 14172 : Executing command: ["file", "-b", "/var/spool/cloudkeeper/images/NiMMbus_v0.vhd"]
2019-10-24T12:23:34+02:00 [ERROR] 14172 : Image preparation error: No image format recognized for file "/var/spool/cloudkeeper/images/NiMMbus_v0.vhd"
[.....]

}}}

I tried to convert the image by hand (in the same machine which is running cloudkeeper) and it works. I used the command: "qemu-img convert NiMMbus_v0.vhd -O qcow2 NiMMbus_v0.qcow2"

Some information that may be relevant:

OS: CentOS7.7

qemu-img --version: 2.12.0

Output of the command "file -b NiMMbus_v0.vhd":
{{{
Microsoft Disk Image, Virtual Server or Virtual PC
}}}

Output of the command "qemu-img info NiMMbus_v0.vhd":
{{{
image: NiMMbus_v0.vhd
file format: vpc
virtual size: 200G (214748364800 bytes)
disk size: 7.1G
cluster_size: 2097152
}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions