[ovirt-users] SSH error while adding host

RASTELLI Alessandro alessandro.rastelli at skytv.it
Fri Jan 30 10:34:47 UTC 2015


Hi,
I'm trying to use oVirt 3.5 for glusterFS management.
I installed the package on a Centos6.5 VM following the procedure, and everything went fine.
When I add any host to the Cluster, I get the message:

Host gluster01-mi installation failed. Command returned failure code 1 during SSH session 'root at gluster01-mi'.
In the engine.log I see:

2015-01-30 11:04:33,255 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1, Message: Installing Host gluster01-mi. Stage: Setup validation.
2015-01-30 11:04:33,398 ERROR [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation gluster01-mi: Failed to execute stage 'Setup validation': Cannot locate gluster packages, possible cause is incorrect channels
2015-01-30 11:04:33,402 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1, Message: Failed to install Host gluster01-mi. Failed to execute stage 'Setup validation': Cannot locate gluster packages, possible cause is incorrect channels.
2015-01-30 11:04:33,403 INFO  [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation gluster01-mi: Stage: Pre-termination
2015-01-30 11:04:33,407 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1, Message: Installing Host gluster01-mi. Stage: Pre-termination.
2015-01-30 11:04:33,415 INFO  [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation gluster01-mi: Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-20150130110433-gluster01-mi-251a7b21.log'
2015-01-30 11:04:33,418 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1, Message: Installing Host gluster01-mi. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-20150130110433-gluster01-mi-251a7b21.log'.
2015-01-30 11:04:33,538 INFO  [org.ovirt.engine.core.bll.InstallerMessages] (VdsDeploy) Installation gluster01-mi: Stage: Termination
2015-01-30 11:04:33,543 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1, Message: Installing Host gluster01-mi. Stage: Termination.
2015-01-30 11:04:33,587 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-8-thread-3) SSH error running command root at gluster01-mi:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" 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 --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True': java.io.IOException: Command returned failure code 1 during SSH session 'root at gluster01-mi'
        at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:527) [uutils.jar:]
        at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:318) [uutils.jar:]
        at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:1118) [bll.jar:]
        at org.ovirt.engine.core.bll.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:154) [bll.jar:]
        at org.ovirt.engine.core.bll.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:81) [bll.jar:]

and in host-deploy:
2015-01-30 11:02:45 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-gX6QXlgaG2/pythonlib/otopi/context.py", line 142, in _executeMethod
    method['method']()
  File "/tmp/ovirt-gX6QXlgaG2/otopi-plugins/ovirt-host-deploy/gluster/packages.py", line 66, in _validation
    'Cannot locate gluster packages, '
RuntimeError: Cannot locate gluster packages, possible cause is incorrect channels
2015-01-30 11:02:45 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Setup validation': Cannot locate gluster packages, possible cause is incorrect channels

Glusterfs-client is correctly installed on oVirt (same version as gluster nodes - 3.6.1)

Can you please help me with that?
Thank you

[cid:image001.png at 01D03C7E.A8AB2A40]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150130/c0b19455/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 46574 bytes
Desc: image001.png
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150130/c0b19455/attachment-0001.png>


More information about the Users mailing list