This is a multi-part message in MIME format.
--------------A93619A46E97919680078253
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
I wasn't either and was beating my head against the wall trying to get
it to work and finally found a post that mentioned it. In hindsight it
makes sense because the vdsm account is what it runs under but nowhere
in any document I've found from RH or oVirt on conversion does it
mention running as vdsm. I guess the poster of that site had the same
problem.
Good luck.
On 06/16/2016 07:26 AM, Cam Mac wrote:
Hi Brett,
Thanks for the reply. Yes, I tried the GUI, and it failed (the
original email is at:
http://lists.ovirt.org/pipermail/users/2016-June/040298.html, which
includes log files). I wasn't aware that virt-v2v doesn't like being
run as root, so I will try it as user vdsm. I will try your other
suggestions too, and post the results.
Cheers,
Cam
On Wed, Jun 15, 2016 at 9:29 PM, Brett I. Holcomb
<biholcomb(a)l1049h.com <mailto:biholcomb@l1049h.com>> wrote:
On 06/15/2016 01:41 PM, Cam Mac wrote:
> Hi,
>
> I haven't had any luck using the oVirt GUI or virt-v2v (see
> earlier email), and I need to find a way to migrate quite a few
> Windows hosts (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt
> cluster as a PoC so I can make a compelling case for getting rid
> of VMware. Using OVF files looks like a lot more manual work as
> compared to the GUI or virt-v2v, with their nice conversion features.
>
> Any suggestions?
>
> Thanks,
>
> Cam
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org <mailto:Users@ovirt.org>
>
http://lists.ovirt.org/mailman/listinfo/users
Are you getting errors?
Here's what I have in my notes but you may already have tried it
and the GUI doesn't seem to have a way to do it. I migrated from
both ESXi6 and VMwareWorkstation 11. First I exported as ova.
** Make sure the export directory is mounted.
* virt-v2v doesn't like being run as root so run it as vdsm user
and you need to specify the shell.
su - vdsm -s /bin/bash
For Export storage located on another computer remote to the one
running virt-v2v use the host:/export format
virt-v2v -i ova -of raw -o rhev -os
ovhost1:/srv/exports/ovirt/export1 --network VLAN100 -oa sparse
-on <vm name> <input file name>
For Export storage located on a server that is doing exporting use
this format with local directory path for -os
virt-v2v -i ova -of raw -o rhev -os /srv/exports/ovirt/export1
-oa sparse --network VLAN100 -on <vm name> /path/<input file name>
I moved my ova files to my host (I run hosted engine deployment).
Then I su'd and ran the second command since my host exports the
oVirt Export directory.
Once the command completes I run the oVirt admin import and select
the VMs from the list and move them over. I have to change the
location of the storage since it defaults to the Engine storage
and not my iSCSI storage.
I've done it on mainly Linux and a Win 7 VM and it worked. I
haven't tried any servers yet.
*
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
--------------A93619A46E97919680078253
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I wasn't either and was beating my head against the wall trying
to get it to work and finally found a post that mentioned it. In
hindsight it makes sense because the vdsm account is what it runs
under but nowhere in any document I've found from RH or oVirt on
conversion does it mention running as vdsm. I guess the poster of
that site had the same problem.</p>
<p>Good luck.<br>
</p>
<br>
<div class="moz-cite-prefix">On 06/16/2016 07:26 AM, Cam Mac
wrote:<br>
</div>
<blockquote
cite="mid:CAJGJ8tR+cOuzH39qcC+zBhkFxMJuN0wqJL7UO6qOdYvo_ovRTw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Brett,
<div><br>
</div>
<div>Thanks for the reply. Yes, I tried the GUI, and it failed
(the original email is at: <a moz-do-not-send="true"
href="http://lists.ovirt.org/pipermail/users/2016-June/040298.html&q...;,
which includes log files). I wasn't aware that virt-v2v
doesn't like being run as root, so I will try it as user vdsm.
I will try your other suggestions too, and post the results.</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
Cam</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jun 15, 2016 at 9:29 PM, Brett
I. Holcomb <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:biholcomb@l1049h.com"
target="_blank">biholcomb(a)l1049h.com</a>&gt;</span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>
<div class="h5">
<p><br>
</p>
<br>
<div>On 06/15/2016 01:41 PM, Cam Mac wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I haven't had any luck using the oVirt GUI or
virt-v2v (see earlier email), and I need to find
a way to migrate quite a few Windows hosts
(Windows 7, 2012, 2008, 2k3 etc) into my test
oVirt cluster as a PoC so I can make a
compelling case for getting rid of VMware. Using
OVF files looks like a lot more manual work as
compared to the GUI or virt-v2v, with their nice
conversion features.</div>
<div><br>
</div>
<div>Any suggestions?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Cam</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@ovirt.org"
target="_blank">Users(a)ovirt.org</a>
<a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users"
target="_blank">http://lists.ovirt.org/mailman/listinfo/user...
</pre>
</blockquote>
<br>
Are you getting errors? <br>
<br>
Here's what I have in my notes but you may already have
tried it and the GUI doesn't seem to have a way to do it.
I migrated from both ESXi6 and VMwareWorkstation 11.
First I exported as ova.<br>
<br>
<b>* Make sure the export directory is mounted.<br>
* virt-v2v doesn't like being run as root so run it as
vdsm user and you need to specify the shell.<br>
<br>
su - vdsm -s /bin/bash<br>
<br>
For Export storage located on another computer remote to
the one running virt-v2v use the host:/export format<br>
<br>
virt-v2v -i ova -of raw -o rhev -os
ovhost1:/srv/exports/ovirt/export1 --network VLAN100 -oa
sparse -on <vm name> <input file
name><br>
<br>
For Export storage located on a server that is doing
exporting use this format with local directory path for
-os<br>
<br>
virt-v2v -i ova -of raw -o rhev -os
/srv/exports/ovirt/export1 -oa sparse --network VLAN100
-on <vm name> /path/<input file
name><br>
<br>
I moved my ova files to my host (I run hosted engine
deployment). Then I su'd and ran the second command
since my host exports the oVirt Export directory.<br>
<br>
Once the command completes I run the oVirt admin import
and select the VMs from the list and move them over. I
have to change the location of the storage since it
defaults to the Engine storage and not my iSCSI storage.<br>
<br>
I've done it on mainly Linux and a Win 7 VM and it
worked. I haven't tried any servers yet.<br>
<br>
<br>
<br>
</b><br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users"
rel="noreferrer"
target="_blank">http://lists.ovirt.org/mailman/listinfo/user...
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>
--------------A93619A46E97919680078253--