<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 14, 2017 at 2:36 PM, cmc <span dir="ltr"><<a href="mailto:iucounu@gmail.com" target="_blank">iucounu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Simone,<br>
<div><div class="gmail-h5"><br>
>><br>
><br>
> It fails due to this one:<br>
> 2017-02-13 13:07:45,812 ERROR (vm/642a0b9a) [virt.vm]<br>
> (vmId='642a0b9a-49fc-4ccc-<wbr>8976-f6685953d0e8') The vm start process failed<br>
> (vm:616)<br>
> Traceback (most recent call last):<br>
> File "/usr/share/vdsm/virt/vm.py", line 552, in _startUnderlyingVm<br>
> self._run()<br>
> File "/usr/share/vdsm/virt/vm.py", line 1994, in _run<br>
> self._connection.createXML(<wbr>domxml, flags),<br>
> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/<wbr>libvirtconnection.py", line<br>
> 123, in wrapper<br>
> ret = f(*args, **kwargs)<br>
> File "/usr/lib/python2.7/site-<wbr>packages/vdsm/utils.py", line 941, in<br>
> wrapper<br>
> return func(inst, *args, **kwargs)<br>
> File "/usr/lib64/python2.7/site-<wbr>packages/libvirt.py", line 3782, in<br>
> createXML<br>
> if ret is None:raise libvirtError('<wbr>virDomainCreateXML() failed',<br>
> conn=self)<br>
> libvirtError: invalid argument: could not find capabilities for arch=x86_64<br>
> domaintype=kvm<br>
> 2017-02-13 13:07:45,852 INFO (vm/642a0b9a) [virt.vm]<br>
> (vmId='642a0b9a-49fc-4ccc-<wbr>8976-f6685953d0e8') Changed state to Down: invalid<br>
> argument: could not find capabilities for arch=x86_64 domaintype=kvm<br>
> (code=1) (vm:1199)<br>
><br>
> Is your CPU properly configured for virtualization? Are you running on a<br>
> nested env?<br>
><br>
<br>
</div></div>Yes, I assume it should be configured for virtualisation, since this<br>
VM I'm creating to replace the bare-metal engine is running on one of<br>
the two hosts that make up the cluster, and host 30 other running VMs<br>
currently. Should it not run on the same cluster perhaps?<br>
<br>
My steps are:<br>
<br>
1. Create a VM on the cluster. Install the ovirt release rpm, install<br>
the packages ovirt-hosted-engine-setup and ovirt-engine-appliance<br>
2. run hosted-engine --deploy<br>
<br>
...and that is as far as I have gotten so far.<br></blockquote><div><br></div><div>OK, a bit of confusion here:</div><div>ovirt-hosted-engine-setup is going to create a VM for you based on ovirt-engine-appliance (with the engine).<br></div><div>If you manually create a VM (L1) on your physical host (L0) to run hosted-engine-setup there, hosted-engine-setup will create a VM (L2) for the engine running inside the L1 VM and this requires nested virtualization support which I think it's not enabled by default on oVirt hosts.</div><div>But the point is that you simply have to run ovirt-hosted-engine-setup on your physical host and not on a VM otherwise all the HA mechanism of hosted-engine will make no sense if nothing is bringing up your virtual hosts for you.</div><div><br></div><div>hosted-engine-setup requires an host with no others running VMs so, if it's already managed my an engine, move it to maintenance and remove it from your cluster.<br></div><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks,<br>
<br>
Cam<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
><br>
>><br>
>> Thanks,<br>
>><br>
>> Cam<br>
>><br>
>><br>
>> On Mon, Feb 13, 2017 at 6:22 PM, Yaniv Kaul <<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>> wrote:<br>
>> ><br>
>> > On Mon, Feb 13, 2017 at 6:26 PM, cmc <<a href="mailto:iucounu@gmail.com">iucounu@gmail.com</a>> wrote:<br>
>> >><br>
>> >><br>
>> >><br>
>> >> /var/log/ovirt-hosted-engine-<wbr>setup/ovirt-hosted-engine-<wbr>setup-20170213141937-0wgc31.<wbr>log<br>
>> ><br>
>> ><br>
>> > Anything in the above log?<br>
>> > Y.<br>
>> ><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
>><br>
><br>
</div></div></blockquote></div><br></div></div>