After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764927 - Import of .vdi file stuck
Import of .vdi file stuck
Status: RESOLVED OBSOLETE
Product: gnome-boxes
Classification: Applications
Component: general
3.20.x
Other Linux
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-04-12 06:37 UTC by calinuswork
Modified: 2018-01-11 10:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description calinuswork 2016-04-12 06:37:30 UTC
Steps to reproduce:

- click new
- select a file
- select a vritual box .vdi image
- select memory

Expected result:
- the virtual machine to be created

Actual result:
- the spinner spins forever with 'Importing' 
- can't start other virtual machines after the import was stuck

Restarting the app does not solve the issue, the import is still there.

The image seems to exist in ~/.local/share/gnome-boxes/images
Comment 1 Zeeshan Ali 2016-04-12 18:47:21 UTC
Works fine here. I created an empty disk image using:

qemu-img create -f vdi /tmp/tmp.vdi 1M

The new VM doesn't boot of course for obvious reasons but import itself works.

Are you sure the import is stuck forever and not just taking a long time? In any case, can you check if importing command works on your system:

qemu-img convert -O qcow2 image.vdi image.qcow2
Comment 2 calinuswork 2016-04-13 05:57:39 UTC
Using the command line tool conversion worked in less then 5 minutes.

But when I try to add the qcow2 image to box the importing spinner spins for ever again, the image is rather large it has 63G.

I see the file in ~/.local/share/gnome-boxes/images and it looks like it has a matching size.
Comment 3 Zeeshan Ali 2016-04-13 11:41:33 UTC
(In reply to calinuswork from comment #2)
> Using the command line tool conversion worked in less then 5 minutes.
> 
> But when I try to add the qcow2 image to box the importing spinner spins for
> ever again, the image is rather large it has 63G.
> 
> I see the file in ~/.local/share/gnome-boxes/images and it looks like it has
> a matching size.

Interesting. Is the image and ~/.local/share/gnome-boxes/images on different filesystems? Can you please try the converstion again but this time choose the target file to be in ~/.local?
Comment 4 calinuswork 2016-04-13 16:51:33 UTC
It works, is the same file system Btrfs and the same partition, running on OpenSuse Thumbelweed
Comment 5 GNOME Infrastructure Team 2018-01-11 10:43:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-boxes/issues/98.