On Fri, May 24, 2019 at 1:51 PM <nicolas@devels.es> wrote:
El 2019-05-24 12:41, nicolas@devels.es escribió:
> El 2019-05-14 08:19, Yedidyah Bar David escribió:
>> On Tue, May 14, 2019 at 10:02 AM <nicolas@devels.es> wrote:
>>>
>>> Please, any ideas about this?
>>>
>>> Thanks.
>>>
>>> El 2019-05-10 09:18, nicolas@devels.es escribió:
>>> > Hi,
>>> >
>>> > We're running oVirt version 4.3.3, and trying to configure one of the
>>> > hosts to support Nested Virtualization, but when installing the nested
>>> > host it claims it doesn't support hardware virtualization.
>>> >
>>> > On the physical host, we've enabled nested virtualization:
>>> >
>>> > # cat /sys/module/kvm_intel/parameters/nested
>>> > Y
>>> >
>>> > Content of /etc/modprobe.d/kvm.conf:
>>> >
>>> > options kvm_intel nested=1
>>> > options kvm_intel enable_shadow_vmcs=1
>>> > options kvm_intel enable_apicv=1
>>> > options kvm_intel ept=1
>>> >
>>> > I created a VM to run on that host, which will be the nested host. I
>>> > try to deploy it but the engine will show it failed because:
>>> >
>>> > 2019-05-10 09:11:32,006+01 ERROR
>>> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>>> > (VdsDeploy) [6381e662] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511),
>>> > An error has occurred during installation of Host host1: Failed to
>>> > execute stage 'Setup validation': Hardware does not support
>>> > virtualization.
>>
>
> Hi Yedidyah, sorry for the delayed answer.
>
>> You might find some more details in the host-deploy log,
>> which you should be able to find in /var/log/ovirt-engine/host-deploy
>> (on the engine machine, it's copied there after deploy finishes).
>>
>
> I had a look at it, but nothing relevant shows up besides this line:
>
> 2019-05-10 09:11:32,628+0100 DEBUG otopi.context
> context._executeMethod:145 method exception
> Traceback (most recent call last):
>   File "/tmp/ovirt-qPjYkVy6Ys/pythonlib/otopi/context.py", line 132,
> in _executeMethod
>     method['method']()
>   File
> "/tmp/ovirt-qPjYkVy6Ys/otopi-plugins/ovirt-host-deploy/vdsm/hardware.py",
> line 71, in _validate_virtualization
>     _('Hardware does not support virtualization')
> RuntimeError: Hardware does not support virtualization
>
>> It's been some time since I configured this myself, so I do not
>> remember
>> the details anymore. Did you check some guides/blog posts/etc. about
>> this?
>>
>
> I didn't. I just enabled nested virtualization in the host and tried to
> deploy.
>
>> What type of CPU did you configure in the VM (and cluster)?
>>
>
> In the Cluster I have the Intel Broadwell Family, and as the VM CPU I
> have the default cluster CPU which is the one I just referenced. Not
> sure if anything else should be done.
>
>> To see what checks the code does, you can read [1], although the log
>> should be enough IMO.
>>
>> [1] /usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py


I just saw this in the log:

2019-05-24 12:44:56,000+0100 DEBUG otopi.ovirt_host_deploy.hardware
hardware._isVirtualizationEnabled:208 virtualization support
GenuineIntel (cpu: False, bios: True)

So the CPU is not able to support virtualization. Why could be that?

Hi,
can you please share the output of cat /proc/cpuinfo ?
 

>>
>> Best regards,
>>
>>> >
>>> > Am I missing something here?
>>> >
>>> > Thanks.
>>> > _______________________________________________
>>> > Users mailing list -- users@ovirt.org
>>> > To unsubscribe send an email to users-leave@ovirt.org
>>> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> > oVirt Code of Conduct:
>>> > https://www.ovirt.org/community/about/community-guidelines/
>>> > List Archives:
>>> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/P7ZJB2NVO5DYARQTEHLMA4WR3T3P6N4N/
>>> _______________________________________________
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-leave@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/7LALMJF4SQQXLFZUXV2I53YRGX7J7FR6/
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-leave@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4QMYFBJUMSO7XF2XID4UWY27RMKDV6C4/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/6O7QPVYUHVE7BHHSOVRATSYWJA732RPF/


--

Simone Tiraboschi

He / Him / His

Principal Software Engineer

Red Hat

stirabos@redhat.com   

@redhatjobs   redhatjobs @redhatjobs