Re: [sandbox PATCH 00/11] Virt-sandbox-image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 23, 2015 at 03:57:26PM +0000, Eren Yagdiran wrote:
> Hello,
> 
> virt-sandbox-image.py is a python script that lets you download and run templates
> from supported sources using virt-sandbox.
> Component-based archictecture is accomplished through Source base class.
> Docker image support is added through DockerSource.
> DockerSource is capable of downloading and running Docker images by consuming Docker Registry API.

I've been attempting to test this and ran into a few problems.

Did you forget to add virt-sandbox-image/sources/__init__.py to
the commits ? Python won't load any of the files in that dir
without that file existing. I created that file empty, but then
it fails to import the DockerSource, so i had to change the code
to explicitly import that.

Once I did that I found that something is going wrong when extracting
the tar.gz contents into the disk image. The files are all extracted
but they never get written into the disk image. I think what's happening
is that we're shutting down before the kernel had a chance to flush
the filesystem writes. This smells like a bug in libvirt-sandbox - I
think we need to make sure we cleanly unmount the host-image filesystem
to ensure the data actually gets flushed to disk before QEMU exits.

Can you just give an few examples of the commands you are using to
test this, so I can see that I'm using the commands in the same way
that you are. In particular I'm curious about the URI you are using
and various command line args you're using.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]