Hosted-engine-setup

HI Getting below error while doing a hosted engine setup, OS is running on ESXi6.0 version. [root@he ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: yes Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151119152307-cx1kgx.log Version: otopi-1.3.2 (otopi-1.3.2-1.el6) It has been detected that this program is executed through an SSH connection without using screen. Continuing with the installation may lead to broken installation if the network connection fails. It is highly recommended to abort the installation and run it inside a screen session using command "screen". Do you want to continue anyway? (Yes, No)[No]: yes [ ERROR ] Failed to execute stage 'Environment setup': Hardware does not support virtualization [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151119152311.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [root@he ~]#

Hello, hosted-engine has to be executed on a physical host (or a nested host with all the proper CPU flags) that supports KVM virtualization. That means linux kernel and the vmx flag in /proc/cpuinfo iirc. I am also adding Sandro who is the maintainer of the setup tool as he might have some additional insights. Best regards -- Martin Sivak SLA / oVirt On Thu, Nov 19, 2015 at 10:55 AM, Budur Nagaraju <nbudoor@gmail.com> wrote:
HI
Getting below error while doing a hosted engine setup, OS is running on ESXi6.0 version.
[root@he ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: yes Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151119152307-cx1kgx.log Version: otopi-1.3.2 (otopi-1.3.2-1.el6) It has been detected that this program is executed through an SSH connection without using screen. Continuing with the installation may lead to broken installation if the network connection fails. It is highly recommended to abort the installation and run it inside a screen session using command "screen". Do you want to continue anyway? (Yes, No)[No]: yes [ ERROR ] Failed to execute stage 'Environment setup': Hardware does not support virtualization [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151119152311.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [root@he ~]#
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Nov 19, 2015 at 11:16 AM, Martin Sivak <msivak@redhat.com> wrote:
Hello,
hosted-engine has to be executed on a physical host (or a nested host with all the proper CPU flags) that supports KVM virtualization. That means linux kernel and the vmx flag in /proc/cpuinfo iirc.
I am also adding Sandro who is the maintainer of the setup tool as he might have some additional insights.
In hosted-engine the engine will run as a VM so if your host is a virtual machine too you are going to create a nested deployment. To create a nested env you need to: - enable nested virtualization on the external hypervisor, follow here as a reference if you are using oVirt http://www.ovirt.org/Vdsm_Developers#Running_Node_as_guest_-_Nested_KVM - if you are using oVirt as your external hypervisor, disable no-mac-spoof filter on the physical hypervisor otherwise your engine VM will no have network connectivity at all. You can proceed following this instructions: https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof
Best regards
-- Martin Sivak SLA / oVirt
On Thu, Nov 19, 2015 at 10:55 AM, Budur Nagaraju <nbudoor@gmail.com> wrote:
HI
Getting below error while doing a hosted engine setup, OS is running on ESXi6.0 version.
[root@he ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: yes Configuration files: [] Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151119152307-cx1kgx.log
Version: otopi-1.3.2 (otopi-1.3.2-1.el6) It has been detected that this program is executed through an
SSH
connection without using screen. Continuing with the installation may lead to broken installation if the network connection fails. It is highly recommended to abort the installation and run it inside a screen session using command "screen". Do you want to continue anyway? (Yes, No)[No]: yes [ ERROR ] Failed to execute stage 'Environment setup': Hardware does not support virtualization [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151119152311.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [root@he ~]#
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Nov 19, 2015 at 11:57 AM, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Thu, Nov 19, 2015 at 11:16 AM, Martin Sivak <msivak@redhat.com> wrote:
Hello,
hosted-engine has to be executed on a physical host (or a nested host with all the proper CPU flags) that supports KVM virtualization. That means linux kernel and the vmx flag in /proc/cpuinfo iirc.
I am also adding Sandro who is the maintainer of the setup tool as he might have some additional insights.
Simone already replied
In hosted-engine the engine will run as a VM so if your host is a virtual machine too you are going to create a nested deployment. To create a nested env you need to: - enable nested virtualization on the external hypervisor, follow here as a reference if you are using oVirt http://www.ovirt.org/Vdsm_Developers#Running_Node_as_guest_-_Nested_KVM - if you are using oVirt as your external hypervisor, disable no-mac-spoof filter on the physical hypervisor otherwise your engine VM will no have network connectivity at all. You can proceed following this instructions: https://github.com/oVirt/vdsm/tree/master/vdsm_hooks/macspoof
+1
Best regards
-- Martin Sivak SLA / oVirt
On Thu, Nov 19, 2015 at 10:55 AM, Budur Nagaraju <nbudoor@gmail.com> wrote:
HI
Getting below error while doing a hosted engine setup, OS is running on ESXi6.0 version.
[root@he ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: yes Configuration files: [] Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151119152307-cx1kgx.log
Version: otopi-1.3.2 (otopi-1.3.2-1.el6) It has been detected that this program is executed through an
SSH
connection without using screen. Continuing with the installation may lead to broken installation if the network connection fails. It is highly recommended to abort the installation and run it inside a screen session using command "screen". Do you want to continue anyway? (Yes, No)[No]: yes [ ERROR ] Failed to execute stage 'Environment setup': Hardware does not support virtualization [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151119152311.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [root@he ~]#
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
participants (4)
-
Budur Nagaraju
-
Martin Sivak
-
Sandro Bonazzola
-
Simone Tiraboschi