<tt><font size=2>"Serge E. Hallyn" <serge.hallyn@ubuntu.com>
wrote on 14/03/2011 22:54:55:<br>
<br>
> From: "Serge E. Hallyn" <serge.hallyn@ubuntu.com></font></tt>
<br><tt><font size=2>> To: jurgen.depicker@let.be</font></tt>
<br><tt><font size=2>> Cc: "Serge E. Hallyn" <serge.hallyn@ubuntu.com>,
David Peall <br>
> <david@dnservices.co.za>, ubuntu-server@lists.ubuntu.com</font></tt>
<br><tt><font size=2>> Date: 14/03/2011 22:55</font></tt>
<br><tt><font size=2>> Subject: Re: troubles copying qcow2 VM images</font></tt>
<br><tt><font size=2>> <br>
> Quoting jurgen.depicker@let.be (jurgen.depicker@let.be):<br>
> > When trying to start the VM on VLET3, the VM hangs immediately
at boot, <br>
> > with following messags in /var/log/messages:<br>
> > Mar 14 21:21:30 VLET3 kernel: [255777.604342] type=1400 <br>
> > audit(1300134090.205:39): apparmor="STATUS" operation="profile_load"
<br>
> > name="libvirt-02f97acb-d586-4eb9-9f59-e1df7a3cd647"
pid=29124 <br>
> > comm="apparmor_parser"<br>
> > Mar 14 21:21:30 VLET3 libvirtd: 21:21:30.803: warning : <br>
> > qemudParsePCIDeviceStrs:1422 : Unexpected exit status '1', qemu
probably <br>
> <br>
> ...<br>
> <br>
> > > Can you sha1sum {/mnt/nfs,/srv/VMs/}/VM1.qcow2? My
guess is this is an<br>
> > > NFS bug with large file xfer corruption.<br>
> > > <br>
> > > -serge<br>
> > <br>
> > Great, I didn't think of that one before! I thought that
was it, but, <br>
> > unfortunately, I ran sha1sum on VLET1 and VLET3's copies, and
both give <br>
> > the same checksum.<br>
> > I really really don't understand this... Is there some
'magic' associated <br>
> > with qcow2 images, so you need to copy them in a special way?
But since <br>
> > the sha1sums are identical...<br>
> > The funny thing is, most of these images were VMWare images which
I <br>
> > converted. They were first stored on other systems, and
I could copy the <br>
> > qcow2 images to VLET1 and they all worked fine. But now
it seems <br>
> > impossible to move them...<br>
> <br>
> A-ha - Did you update the apparmor profile for that libvirt<br>
> instance so that it can access the file in the new location?</font></tt>
<br>
<br><tt><font size=2>Could you please provide some more info about this?
I found some info on </font></tt><a href=https://apparmor.wiki.kernel.org/index.php/Libvirt><tt><font size=2>https://apparmor.wiki.kernel.org/index.php/Libvirt</font></tt></a><tt><font size=2>
but I'm completely inexperienced with apparmor...</font></tt>
<br>
<br><tt><font size=2>Thanks a lot!!</font></tt>
<br>
<br><tt><font size=2><br>
> <br>
> -serge<br>
> [attachment "signature.asc" deleted by Jurgen Depicker/Let]
</font></tt>