Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image format issue in CloudKeeper #79

Open
cesga-rdiez opened this issue Oct 25, 2019 · 1 comment
Open

Image format issue in CloudKeeper #79

cesga-rdiez opened this issue Oct 25, 2019 · 1 comment

Comments

@cesga-rdiez
Copy link

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
}}}

@cesga-rdiez
Copy link
Author

Any advance regarding this issue??

I have this problem again. This time is related to a ISO format file requested by a user...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant