[Users] Fails to add a new host due to ssh error
Alon Bar-Lev
alonbl at redhat.com
Fri Jan 24 15:58:59 UTC 2014
----- Original Message -----
> From: "Meital Bourvine" <mbourvin at redhat.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: "users" <users at ovirt.org>
> Sent: Friday, January 24, 2014 5:56:15 PM
> Subject: Re: [Users] Fails to add a new host due to ssh error
>
> Yes, it's rhev.
>
> I think that it's a bug that the user sees an error about SSH, while the real
> problem is with yum.
> What do you think?
If you look at the event log in UI while selecting the host you can find the same error presented to user.
>
> ----- Original Message -----
> > From: "Alon Bar-Lev" <alonbl at redhat.com>
> > To: "Meital Bourvine" <mbourvin at redhat.com>
> > Cc: "users" <users at ovirt.org>
> > Sent: Friday, January 24, 2014 3:52:27 PM
> > Subject: Re: [Users] Fails to add a new host due to ssh error
> >
> > Hi,
> >
> > Is this rhev product?
> > If it is, can you please contact support?
> > I think that your channels are not setup up correctly.
> >
> > Alon
> >
> > ----- Original Message -----
> > > From: "Meital Bourvine" <mbourvin at redhat.com>
> > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > Cc: "users" <users at ovirt.org>
> > > Sent: Friday, January 24, 2014 5:46:55 PM
> > > Subject: Re: [Users] Fails to add a new host due to ssh error
> > >
> > > From host-deploy log: (also attached)
> > >
> > > 2014-01-24 17:43:12 ERROR otopi.plugins.otopi.packagers.yumpackager
> > > yumpackager.error:97 Yum [u'libvirt-lock-sanlock-0.10.2-29.el6.x86_64
> > > requires libvirt = 0.10.2-29.el6', u'vdsm-4.13.2-0.7.el6ev.x86_64
> > > requires
> > > qemu-img-rhev >= 2:0.12.1.2-2.415.el6_5.3',
> > > u'vdsm-4.13.2-0.7.el6ev.x86_64
> > > requires qemu-kvm-rhev >= 2:0.12.1.2-2.415.el6_5.3']
> > > 2014-01-24 17:43:12 DEBUG otopi.context context._executeMethod:137 method
> > > exception
> > > Traceback (most recent call last):
> > > File "/tmp/ovirt-sjxbTqRqN0/pythonlib/otopi/context.py", line 127, in
> > > _executeMethod
> > > method['method']()
> > > File
> > > "/tmp/ovirt-sjxbTqRqN0/otopi-plugins/otopi/packagers/yumpackager.py",
> > > line 253, in _packages
> > > if self._miniyum.buildTransaction():
> > > File "/tmp/ovirt-sjxbTqRqN0/pythonlib/otopi/miniyum.py", line 821, in
> > > buildTransaction
> > > raise yum.Errors.YumBaseError(msg)
> > > YumBaseError: [u'libvirt-lock-sanlock-0.10.2-29.el6.x86_64 requires
> > > libvirt
> > > =
> > > 0.10.2-29.el6', u'vdsm-4.13.2-0.7.el6ev.x86_64 requires qemu-img-rhev >=
> > > 2:0.12.1.2-2.415.el6_5.3', u'vdsm-4.13.2-0.7.el6ev.x86_64 requires
> > > qemu-kvm-rhev >= 2:0.12.1.2-2.415.el6_5.3']
> > > 2014-01-24 17:43:12 ERROR otopi.context context._executeMethod:146 Failed
> > > to
> > > execute stage 'Package installation':
> > > [u'libvirt-lock-sanlock-0.10.2-29.el6.x86_64 requires libvirt =
> > > 0.10.2-29.el6', u'vdsm-4.13.2-0.7.el6ev.x86_64 requires qemu-img-rhev >=
> > > 2:0.12.1.2-2.415.el6_5.3', u'vdsm-4.13.2-0.7.el6ev.x86_64 requires
> > > qemu-kvm-rhev >= 2:0.12.1.2-2.415.el6_5.3']
> > >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > To: "Meital Bourvine" <mbourvin at redhat.com>
> > > > Cc: "users" <users at ovirt.org>
> > > > Sent: Friday, January 24, 2014 2:45:51 PM
> > > > Subject: Re: [Users] Fails to add a new host due to ssh error
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > > From: "Meital Bourvine" <mbourvin at redhat.com>
> > > > > To: "users" <users at ovirt.org>
> > > > > Sent: Friday, January 24, 2014 2:19:02 PM
> > > > > Subject: [Users] Fails to add a new host due to ssh error
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm trying to add a new host to my setup, and it fails with the
> > > > > following
> > > > > error:
> > > > >
> > > > > 014-01-24 14:12:52,129 ERROR
> > > > > [org.ovirt.engine.core.bll.InstallVdsCommand]
> > > > > (pool-4-thread-48) [1111ca35] Host installation failed for host
> > > > > efd0c4b4-e3d6-421a-b6e5-21bd5f03aa59, master-vds13.:
> > > > > java.io.IOException:
> > > > > Command returned failure code 1 during SSH session 'root at myhost'
> > > > > at
> > > > > org.ovirt.engine.core.utils.ssh.SSHClient.executeCommand(SSHClient.java:508)
> > > > > [utils.jar:]
> > > >
> > > > Before going to the engine log, what messages have you got to audit log
> > > > in
> > > > the UI when trying to deploy?
> > > >
> > > > Have you got a log file message for the host-deploy? if you had please
> > > > attach
> > > > it.
> > > >
> > > > If not, then the actual error is above the location you pasted.
> > > >
> > > > Alon
> > > >
> > >
> >
>
More information about the Users
mailing list