RHEV 3.1 : hypervisor offline installation failed
Issue
- I have a problem with the integration of Red Hat Enterprise Linux (RHEL) 6.4 with hypervisor packages, to the Red Hat Enterprise Virtualization (RHEV) manager 3.1 in offline mode, with the following message:
>> Failed to install Host <hostname>. Step: RHEV_INSTALL.
followed by an ssh error:
>> Host <hostname> installation failed. SSH command failed while executing at host '<hostname>', refer to logs for further information.
To do that, I follow the instructions given in the Red Hat product documentation until, later the instructions for RHEV offline installation from here .
In few words:
- I download the RHEVH packages from the RHN.
- I create a repository
- I install those packages on a basic Linux 6.4 as an hypervisor without RHN connexion.
The installation packages performed with success status, but when I try to add the host to the manager,
the installation is interrupted after the Supported kernel version
step. From the vds_bootstrap.py
file. So I check the engine.log
file and I see those following errors messages:
2013-05-31 10:19:17,836 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (NioProcessor-58) Installation of hostname. Received message: . Error occured. (Stage: Running first installation script on Host)
2013-05-31 10:19:17,881 ERROR [org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH] (pool-4-thread-48) SSH error running command
tic:'umask 0077; MYTMP="$(mktemp -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; rm -fr "${MYTMP}" && mkdir "${MYTMP}" && tar -C "${MYTMP}" --no-same-permissions -o -x && "${MYTMP}"/setup -c 'ssl=true;management_port=54321' -O 'example.org' -t
2013-05-31T08:18:50 -S /tmp/ovirt-id_rsa_6542f581-6fd3-4676-b351-1b6dcd5f9375 -p 80 -b -B rhevm http://example.org:80/Components/vds/ http://example.org:80/Components/vds/ hostname 6542f581-6fd3- 4676-b351-1b6dcd5f9375 False': java.io.IOException: Command returned failure code 1 during SSH session
hostname:22' 'umask 0077; MYTMP="$(mktemp -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; rm -fr "${MYTMP}" && mkdir "${MYTMP}" && tar -C "${MYTMP}" --no-same-permissions -o -x && "${MYTMP}"/setup -c 'ssl=true;management_port=54321' -O 'example.org' -t
2013-05-31T08:18:50 -S /tmp/ovirt-id_rsa_6542f581-6fd3-4676-b351-1b6dcd5f9375 -p 80 -b -B rhevm http://example.org:80/Components/vds/ http://example.org:80/Components/vds/ hostname 6542f581-6fd3- 4676-b351-1b6dcd5f9375 False'
2013-05-31 10:19:17,884 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-4-thread-48) [76723a3c] Installation of hostname has failed. Failure details: SSH command failed while executing at host 'hostname', refer to logs for further information. (Stage: Running first installation script on Host)
2013-05-31 10:19:17,884 INFO [org.ovirt.engine.core.bll.InstallerMessages] (pool-4-thread-48) [76723a3c] VDS message: SSH command failed while executing at host 'hostname', refer to logs for further information
2013-05-31 10:19:17,888 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool- 4-thread-48) [76723a3c] START, SetVdsStatusVDSCommand(HostName = hostname, HostId = b8038776-c9ca-11e2-a5f6- 5f98cc05bc3f, status=InstallFailed, nonOperationalReason=NONE), log id: 1dd6d7e3
Environment
- Red Hat Enterprise Virtualization (RHEV) 3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.