[ovirt-users] [Libguestfs] OVA import of FC21 VM hangs during virt-v2v conversion?
Derek Atkins
derek at ihtfp.com
Thu Nov 17 16:06:48 UTC 2016
Hi,
On Thu, November 17, 2016 10:51 am, Richard W.M. Jones wrote:
> On Thu, Nov 17, 2016 at 09:57:47AM -0500, Derek Atkins wrote:
>> Hi,
>>
>> On Thu, November 17, 2016 4:11 am, Richard W.M. Jones wrote:
>> > On Wed, Nov 16, 2016 at 08:07:15PM -0500, Derek Atkins wrote:
>> >> I found the disk image for the running VM, created a symlink, and
>> then
>> >> ran
>> >> the command above. It took a while:
>> >>
>> >> # time LIBGUESTFS_BACKEND=direct guestfish --ro -a fc21-64.qcow2 -i
>> >> selinux-relabel /etc/selinux/targeted/contexts/files/file_contexts /
>> >> force:true
>> >>
>> >> real 114m17.757s
>> >> user 114m16.476s
>> >> sys 0m6.042s
>> >
>> > That certainly demonstrates the bug. I'm unclear why it would be
>> > happening, but perhaps you can run the following commands and send me
>> > the results:
>> >
>> > LIBGUESTFS_BACKEND=direct guestfish --ro -a fc21-64.qcow2 -i find / >
>> > files
>> >
>> > LIBGUESTFS_BACKEND=direct virt-cat -a fc21-64.qcow2
>> > /etc/selinux/targeted/contexts/files/file_contexts / > file_contexts
>>
>> See attached.. There are 184,431 entries in the file list.
>>
>> > rpm -qf /usr/sbin/setfiles > setfiles.version
>>
>> Did you want this on the host or in the guest? On the host I get:
>> policycoreutils-2.2.5-20.el7.x86_64
>
> This is the same version I have.
>
>> There's really nothing private in the list of files on this machine.
>> It's
>> an openafs build slave. :)
>
> Indeed there's a large number of .ccache files (over 50000).
But that shouldn't be an issue, right? In the scheme of things, 50,000
files isn't a lot.
> However even recreating this directory structure locally and using the
> same version of setfiles, I wasn't able to reproduce the problem.
> Runs of setfiles never took more than about 15 seconds.
>
> So, I don't know ..
Would you like a copy of the VMDK? If so I can figure out how to make it
available to you (privately).
> Rich.
-derek
--
Derek Atkins 617-623-3745
derek at ihtfp.com www.ihtfp.com
Computer and Internet Security Consultant
More information about the Users
mailing list