Displaying 5 results from an estimated 5 matches for "otp02".
Did you mean:
otp
2018 Mar 06
3
Re: virt-v2v 1.38 fails to convert .vmx VM: setfiles ... Multiple same specifications for /.*.
...Fedora rawhide has policycoreutils-2.7-11.fc28.x86_64 (setfiles is shipped inside that rpm package).
> What happens if you run these commands (which should be safe to run
> because they only operate on a throw-away overlay):
>
> qemu-img create -f qcow2 throwaway.qcow2 /mnt/knp1-vm-otp02/knp1-vm-
> otp02.vmdk
Seems that qemu-img 2.11 (which I have on my fedora rawhide) does not support
such format of invocation. VM have two disks (/boot and LVM partitioned one).
I converted both disks to .qcow2 format and executed virt-customize on them:
# qemu-img convert -f vmdk -O qcow2 /mnt...
2018 Mar 05
2
virt-v2v 1.38 fails to convert .vmx VM: setfiles ... Multiple same specifications for /.*.
[This email is either empty or too large to be displayed at this time]
2018 Mar 06
0
Re: virt-v2v 1.38 fails to convert .vmx VM: setfiles ... Multiple same specifications for /.*.
On Tue, Mar 06, 2018 at 08:40:51AM +0000, Зиновик Игорь Анатольевич wrote:
> > What happens if you run these commands (which should be safe to run
> > because they only operate on a throw-away overlay):
> >
> > qemu-img create -f qcow2 throwaway.qcow2 /mnt/knp1-vm-otp02/knp1-vm-
> > otp02.vmdk
I missed out the -b flag:
qemu-img create -f qcow2 throwaway.qcow2 -b /mnt/knp1-vm-otp02/knp1-vm-otp02.vmdk
anyway ...
> setfiles: /sysroot/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /.*.
> /sysroot/etc/selinux/targe...
2018 Mar 06
3
Re: virt-v2v 1.38 fails to convert .vmx VM: setfiles ... Multiple same specifications for /.*.
...1AM +0000, Зиновик Игорь Анатольевич
> wrote:
> > > What happens if you run these commands (which should be safe to run
> > > because they only operate on a throw-away overlay):
> > >
> > > qemu-img create -f qcow2 throwaway.qcow2
> > > /mnt/knp1-vm-otp02/knp1-vm- otp02.vmdk
>
> I missed out the -b flag:
>
> qemu-img create -f qcow2 throwaway.qcow2 -b /mnt/knp1-vm-otp02/knp1-
> vm-otp02.vmdk
>
> anyway ...
>
> > setfiles: /sysroot/etc/selinux/targeted/contexts/files/file_contexts: Multiple
> same specifications for...
2018 Mar 05
0
Re: virt-v2v 1.38 fails to convert .vmx VM: setfiles ... Multiple same specifications for /.*.
...Rawhide), since
> it contains virt-v2v 1.38.
This has got to be a bug of some kind in the SELinux ‘setfiles’
program.
What happens if you run these commands (which should be safe to run
because they only operate on a throw-away overlay):
qemu-img create -f qcow2 throwaway.qcow2 /mnt/knp1-vm-otp02/knp1-vm-otp02.vmdk
virt-customize --selinux-relabel -a throwaway.qcow2
rm throwaway.qcow2
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without n...