On Sun, Dec 18, 2016 at 3:55 PM, GTC R <gajendraravichandran@gmail.com> wrote:
Hi,

I have installed oVirtEngine on CentOS and running Node through virt manager. I am trying to link node to the engine, but its giving the following error

Why are you using virt-manager?
 

Host oVirtHost installation failed. Command returned failure code 1 during SSH session 'root@192.168.122.116'.

I checked for detailed log on  /var/log/ovirt-engine/engine.log. Its showing the following error:

2016-12-18 13:36:00,632 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message: Installing Host oVirtHost. Stage: Environment packages setup.
2016-12-18 13:36:00,720 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message: Failed to install Host oVirtHost. Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: ovirt-4.0/7.

This is the problem: Cannot find a valid baseurl for repo: ovirt-4.0/7

Y.
 
2016-12-18 13:36:00,725 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message: Failed to install Host oVirtHost. Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: ovirt-4.0/7.
2016-12-18 13:36:00,731 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message: Installing Host oVirtHost. Yum Performing yum transaction rollback.
2016-12-18 13:36:00,756 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message: Installing Host oVirtHost. Stage: Pre-termination.
2016-12-18 13:36:00,789 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message: Installing Host oVirtHost. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20161218133600-192.168.122.116-1d3c6f4e.log'.
2016-12-18 13:36:00,872 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1d3c6f4e] Correlation ID: 1d3c6f4e, Call Stack: null, Custom Event ID: -1, Message: Installing Host oVirtHost. Stage: Termination.
2016-12-18 13:36:00,918 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-6-thread-1) [1d3c6f4e] SSH error running command root@192.168.122.116:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': Command returned failure code 1 during SSH session 'root@192.168.122.116'
2016-12-18 13:36:00,918 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-6-thread-1) [1d3c6f4e] Exception: java.io.IOException: Command returned failure code 1 during SSH session 'root@192.168.122.116'
        at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:526) [uutils.jar:]
        at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317) [uutils.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBase.java:563) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:168) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:89) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1305) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1447) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2075) [bll.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:166) [utils.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105) [utils.jar:]
        at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1490) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:398) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:493) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:475) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:670) [bll.jar:]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_111]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_111]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_111]
        at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_111]
        at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
        at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
        at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:70) [wildfly-weld-10.1.0.Final.jar:10.1.0.Final]

Any idea about the problem?

Thanks,

Gaju


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users