Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-14 Thread aleksey . maksimov
 Problem solved.The cause of the problem was really in the fact that there was no global proxy settings in yum.confThank you all! 14.09.2016, 13:24, "aleksey.maksi...@it-kb.ru" :Hmm..I'll try.How can I call the forced update checking process for oVirt, as well as it happens every night ? 14.09.2016, 13:05, "Gianluca Cecchi" :On Wed, Sep 14, 2016 at 10:40 AM,  wrote:Yesterday I installed the all updates to hosts and Hosted Engine (and now I have oVirt Engine Version: 4.0.3-1.el7.centos)But the problem still persists.==>>> Is this happening consistently or randomly?Consistently. every night.==>>> Do you have any proxy server defined?Yes. I add to end of ~/.bash_profile (for root) three lines:export https_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/export http_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/export ftp_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/  Why not using global proxy config in yum.conf?https://wiki.centos.org/TipsAndTricks/YumAndRPM#head-ea1fc5d78f578114f4843e57627ebae9cc4fcb5a eventually changing permissions of yum.conf if passowrd is to be kept secret (it seems that by default is 644) ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-14 Thread aleksey . maksimov
Hmm..I'll try.How can I call the forced update checking process for oVirt, as well as it happens every night ? 14.09.2016, 13:05, "Gianluca Cecchi" :On Wed, Sep 14, 2016 at 10:40 AM,  wrote:Yesterday I installed the all updates to hosts and Hosted Engine (and now I have oVirt Engine Version: 4.0.3-1.el7.centos)But the problem still persists.==>>> Is this happening consistently or randomly?Consistently. every night.==>>> Do you have any proxy server defined?Yes. I add to end of ~/.bash_profile (for root) three lines:export https_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/export http_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/export ftp_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/  Why not using global proxy config in yum.conf?https://wiki.centos.org/TipsAndTricks/YumAndRPM#head-ea1fc5d78f578114f4843e57627ebae9cc4fcb5a eventually changing permissions of yum.conf if passowrd is to be kept secret (it seems that by default is 644) ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-14 Thread Gianluca Cecchi
On Wed, Sep 14, 2016 at 10:40 AM,  wrote:

> Yesterday I installed the all updates to hosts and Hosted Engine (and now
> I have oVirt Engine Version: 4.0.3-1.el7.centos)
> But the problem still persists.
>
> ==>>> Is this happening consistently or randomly?
>
> Consistently. every night.
>
> ==>>> Do you have any proxy server defined?
>
> Yes. I add to end of ~/.bash_profile (for root) three lines:
>
> export https_proxy=http://s-MY01-Linux-Upd:Passw0rd@KOM-AD01-
> GWCLU.holding.com:3128/
> export http_proxy=http://s-MY01-Linux-Upd:Passw0rd@KOM-AD01-
> GWCLU.holding.com:3128/
> export ftp_proxy=http://s-MY01-Linux-Upd:Passw0rd@KOM-AD01-GWCLU.
> holding.com:3128/
>
>
Why not using global proxy config in yum.conf?
https://wiki.centos.org/TipsAndTricks/YumAndRPM#head-ea1fc5d78f578114f4843e57627ebae9cc4fcb5a

eventually changing permissions of yum.conf if passowrd is to be kept
secret (it seems that by default is 644)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-14 Thread aleksey . maksimov
Yesterday I installed the all updates to hosts and Hosted Engine (and now I 
have oVirt Engine Version: 4.0.3-1.el7.centos)
But the problem still persists.

==>>> Is this happening consistently or randomly?

Consistently. every night.

==>>> Do you have any proxy server defined?

Yes. I add to end of ~/.bash_profile (for root) three lines:

export 
https_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/
export 
http_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/
export 
ftp_proxy=http://s-MY01-Linux-Upd:passw...@kom-ad01-gwclu.holding.com:3128/

==>>> anything special in yum.conf?

In yum.conf I changed just one parameter (installonly_limit)
Other parameters - default

# cat /etc/yum.conf | grep -v '^$\|^\s*\#'

[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

==>>> Perhaps you should try 'yum clean all', but it makes no sense since 
'update' worked for you.

I already tried "yum clean". Ineffectually

==>>> Is NetworkManager operational? Does it help if you disable it?

NetworkManager already off:

# service NetworkManager status

Redirecting to /bin/systemctl status  NetworkManager.service
● NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled; 
vendor preset: enabled)
   Active: inactive (dead)

14.09.2016, 11:21, "Edward Haas" :
> On Wed, Sep 14, 2016 at 8:21 AM,  wrote:
>> Hi oVirt guru`s!
>>
>> # getent ahosts mirrorlist.centos.org
>>
>> 216.176.179.218 STREAM mirrorlist.centos.org
>> 216.176.179.218 DGRAM
>> 216.176.179.218 RAW
>> 67.219.148.138  STREAM
>> 67.219.148.138  DGRAM
>> 67.219.148.138  RAW
>> 85.236.43.108   STREAM
>> 85.236.43.108   DGRAM
>> 85.236.43.108   RAW
>> 212.69.166.138  STREAM
>> 212.69.166.138  DGRAM
>> 212.69.166.138  RAW
>>
>> # ip addr | grep inet6
>>
>> (no output)
>
> This is indeed very strange.
> Is this happening consistently or randomly?
> Do you have any proxy server defined? anything special in yum.conf?
> Perhaps you should try 'yum clean all', but it makes no sense since 'update' 
> worked for you.
>
> Is NetworkManager operational? Does it help if you disable it?
>
>> 13.09.2016, 21:58, "Edward Haas" :
>>> On Tue, Sep 13, 2016 at 12:55 PM, Martin Perina  wrote:
 On Tue, Sep 13, 2016 at 10:59 AM,  wrote:
> nslookup resolves names on the engine and hosts without ipv6 address:
>
> # nslookup mirrorlist.centos.org
>
> Server:         10.1.0.10
> Address:        10.1.0.10#53
>
> Non-authoritative answer:
> Name:   mirrorlist.centos.org
> Address: 67.219.148.138
> Name:   mirrorlist.centos.org
> Address: 85.236.43.108
> Name:   mirrorlist.centos.org
> Address: 212.69.166.138
> Name:   mirrorlist.centos.org
> Address: 216.176.179.218
>
> Why oVirt updates checking process trying to use ipv6 ?
>
> 13.09.2016, 08:26, "aleksey.maksi...@it-kb.ru" 
> :
>> Yesterday I changed the settings the host to:
>>
>> net.ipv6.conf.all.disable_ipv6 = 1
>> net.ipv6.conf.default.disable_ipv6 = 1
>>
>> I deleted the last two lines in /etc/sysctl.conf and rebooted host.
>>
>> Tonight - problem repeated:
>>
>> 2016-09-13 01:11:13 ERROR otopi.context context._executeMethod:151 
>> Failed to execute stage 'Environment packages setup': Cannot find a 
>> valid baseurl for repo: base/7/x86_64
>> 2016-09-13 01:11:13 DEBUG otopi.transaction transaction.abort:119 
>> aborting 'Yum Transaction'
>> 2016-09-13 01:11:13 INFO otopi.plugins.otopi.packagers.yumpackager 
>> yumpackager.info:80 Yum Performing yum transaction rollback
>> Could not retrieve mirrorlist 
>> http://mirrorlist.centos.org/?release=7=x86_64=os=stock 
>> error was
>> 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is 
>> unreachable"
>>
>> Why so?

 ​Didi, any idea why otopi (or python underneath, not sure) is using IPv6​ 
 addresses when IPv6 is disabled on the host?
>>>
>>> Could you please resolve it with "getent ahosts " ?
>>> Please add the output from "ip addr", if you see there an IPv6 address, 
>>> something is enabling the ipv6 on that iface.
>>>
>>
>> 12.09.2016, 17:34, "Martin Perina" :
>>> On Mon, Sep 12, 2016 at 3:34 PM,  wrote:
 My /etc/sysctl.conf is:

 net.ipv6.conf.all.disable_ipv6 = 1
 net.ipv6.conf.default.disable_ipv6 = 1
 net.ipv6.conf.lo.disable_ipv6 = 0
 net.ipv6.conf.ovirtmgmt.disable_ipv6 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-14 Thread Edward Haas
On Wed, Sep 14, 2016 at 8:21 AM,  wrote:

> Hi oVirt guru`s!
>
> # getent ahosts mirrorlist.centos.org
>
> 216.176.179.218 STREAM mirrorlist.centos.org
> 216.176.179.218 DGRAM
> 216.176.179.218 RAW
> 67.219.148.138  STREAM
> 67.219.148.138  DGRAM
> 67.219.148.138  RAW
> 85.236.43.108   STREAM
> 85.236.43.108   DGRAM
> 85.236.43.108   RAW
> 212.69.166.138  STREAM
> 212.69.166.138  DGRAM
> 212.69.166.138  RAW
>
> # ip addr | grep inet6
>
> (no output)
>
>

This is indeed very strange.
Is this happening consistently or randomly?
Do you have any proxy server defined? anything special in yum.conf?
Perhaps you should try 'yum clean all', but it makes no sense since
'update' worked for you.

Is NetworkManager operational? Does it help if you disable it?


>
> 13.09.2016, 21:58, "Edward Haas" :
>
>
>
> On Tue, Sep 13, 2016 at 12:55 PM, Martin Perina 
> wrote:
>
>
>
> On Tue, Sep 13, 2016 at 10:59 AM,  wrote:
>
> nslookup resolves names on the engine and hosts without ipv6 address:
>
> # nslookup mirrorlist.centos.org
>
> Server: 10.1.0.10
> Address:10.1.0.10#53
>
> Non-authoritative answer:
> Name:   mirrorlist.centos.org
> Address: 67.219.148.138
> Name:   mirrorlist.centos.org
> Address: 85.236.43.108
> Name:   mirrorlist.centos.org
> Address: 212.69.166.138
> Name:   mirrorlist.centos.org
> Address: 216.176.179.218
>
> Why oVirt updates checking process trying to use ipv6 ?
>
>
> 13.09.2016, 08:26, "aleksey.maksi...@it-kb.ru"  >:
> > Yesterday I changed the settings the host to:
> >
> > net.ipv6.conf.all.disable_ipv6 = 1
> > net.ipv6.conf.default.disable_ipv6 = 1
> >
> > I deleted the last two lines in /etc/sysctl.conf and rebooted host.
> >
> > Tonight - problem repeated:
> >
> > 2016-09-13 01:11:13 ERROR otopi.context context._executeMethod:151
> Failed to execute stage 'Environment packages setup': Cannot find a valid
> baseurl for repo: base/7/x86_64
> > 2016-09-13 01:11:13 DEBUG otopi.transaction transaction.abort:119
> aborting 'Yum Transaction'
> > 2016-09-13 01:11:13 INFO otopi.plugins.otopi.packagers.yumpackager
> yumpackager.info:80 Yum Performing yum transaction rollback
> > Could not retrieve mirrorlist http://mirrorlist.centos.org/?
> release=7=x86_64=os=stock error was
> > 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is
> unreachable"
> >
> > Why so?
>
>
> ​Didi, any idea why otopi (or python underneath, not sure) is using IPv6​
> addresses when IPv6 is disabled on the host?
>
>
> Could you please resolve it with "getent ahosts " ?
> Please add the output from "ip addr", if you see there an IPv6 address,
> something is enabling the ipv6 on that iface.
>
>
>
>
> >
> > 12.09.2016, 17:34, "Martin Perina" :
> >> On Mon, Sep 12, 2016 at 3:34 PM,  wrote:
> >>> My /etc/sysctl.conf is:
> >>>
> >>> net.ipv6.conf.all.disable_ipv6 = 1
> >>> net.ipv6.conf.default.disable_ipv6 = 1
> >>> net.ipv6.conf.lo.disable_ipv6 = 0
> >>> net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0
> >>
> >> ​I'm not networking expert, but last two lines means that you have IPv6
> enabled on loopback and ovirtmgmt network interfaces (but disabled on all
> others). So you shouldn't be surprised to get IPv6 address from DNS
> resolver if ovirtmgmt supports IPv6. Dan/Edward, am I right?
> >> ​
> >>> Last two lines was added for http://lists.ovirt.org/
> pipermail/users/2016-July/041443.html
> >>>
> >>> My configuration file is bad ??
> >>>
> >>> 12.09.2016, 16:22, "Martin Perina" :
>  On Mon, Sep 12, 2016 at 2:49 PM,  wrote:
> > Ok. I found log-file /var/log/ovirt-engine/host-
> deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log
> with this:
> >
> > ...
> > 2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager
> yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid
> baseurl for repo: base/7/x86_64
> > 2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142
> method exception
> > Traceback (most recent call last):
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line
> 132, in _executeMethod
> > method['method']()
> >   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py",
> line 54, in _internal_packages
> > self.packager.install(packages=('iproute',))
> >   File 
> > "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py",
> line 295, in install
> > ignoreErrors=ignoreErrors
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
> 851, in install
> > **kwargs
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
> 495, in _queue
> > provides = self._queryProvides(packages=(package,))
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
> 433, in 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-13 Thread aleksey . maksimov
IPv6 disabled in my ifcfg files # cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt | grep IPV6 IPV6INIT=no And running the command "yum update" manually operates successfully.  13.09.2016, 22:25, "Gianluca Cecchi" :On Tue, Sep 13, 2016 at 10:59 AM,  wrote:nslookup resolves names on the engine and hosts without ipv6 address:# nslookup mirrorlist.centos.orgServer:         10.1.0.10Address:        10.1.0.10#53Non-authoritative answer:Name:   mirrorlist.centos.orgAddress: 67.219.148.138Name:   mirrorlist.centos.orgAddress: 85.236.43.108Name:   mirrorlist.centos.orgAddress: 212.69.166.138Name:   mirrorlist.centos.orgAddress: 216.176.179.218Why oVirt updates checking process trying to use ipv6 ?   I had a similar problem some days ago with a CentOS 7 system, but it was general and unrelated to ovirt itself.If I remember correctly the problem was that originally it was configured by anaconda with NetworkManager and ipv6 and yum worked well.Then I stopped and disabled NetworkManager service (the "network" service is already enabled by default, so no action for it)  but I didn't remove all the IPV6 entries inside the anaconda-configured ifcfg-eno16780032 file in my /etc/sysconfig/network-scripts directoryI also created a /etc/sysctl.d/noipv6.conf file with:net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1 But I got the ipv6 problem when trying in general to run "yum update"After wiping ipv6 entries in ifcfg-xxx file all went well.Could it be that in some ifcfg-* files you still have any reference to ipv6? Also, I had to run systemctl restart network HIH,Gianluca ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-13 Thread aleksey . maksimov
Hi oVirt guru`s! # getent ahosts mirrorlist.centos.org 216.176.179.218 STREAM mirrorlist.centos.org216.176.179.218 DGRAM216.176.179.218 RAW67.219.148.138  STREAM67.219.148.138  DGRAM67.219.148.138  RAW85.236.43.108   STREAM85.236.43.108   DGRAM85.236.43.108   RAW212.69.166.138  STREAM212.69.166.138  DGRAM212.69.166.138  RAW # ip addr | grep inet6 (no output)  13.09.2016, 21:58, "Edward Haas" :  On Tue, Sep 13, 2016 at 12:55 PM, Martin Perina  wrote:  On Tue, Sep 13, 2016 at 10:59 AM,  wrote:nslookup resolves names on the engine and hosts without ipv6 address:# nslookup mirrorlist.centos.orgServer:         10.1.0.10Address:        10.1.0.10#53Non-authoritative answer:Name:   mirrorlist.centos.orgAddress: 67.219.148.138Name:   mirrorlist.centos.orgAddress: 85.236.43.108Name:   mirrorlist.centos.orgAddress: 212.69.166.138Name:   mirrorlist.centos.orgAddress: 216.176.179.218Why oVirt updates checking process trying to use ipv6 ?13.09.2016, 08:26, "aleksey.maksi...@it-kb.ru" :> Yesterday I changed the settings the host to:>> net.ipv6.conf.all.disable_ipv6 = 1> net.ipv6.conf.default.disable_ipv6 = 1>> I deleted the last two lines in /etc/sysctl.conf and rebooted host.>> Tonight - problem repeated:>> 2016-09-13 01:11:13 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base/7/x86_64> 2016-09-13 01:11:13 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'> 2016-09-13 01:11:13 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollback> Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7=x86_64=os=stock error was> 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable">> Why so? ​Didi, any idea why otopi (or python underneath, not sure) is using IPv6​ addresses when IPv6 is disabled on the host? Could you please resolve it with "getent ahosts " ?Please add the output from "ip addr", if you see there an IPv6 address, something is enabling the ipv6 on that iface.  >> 12.09.2016, 17:34, "Martin Perina" :>> On Mon, Sep 12, 2016 at 3:34 PM,  wrote:>>> My /etc/sysctl.conf is:>> net.ipv6.conf.all.disable_ipv6 = 1>>> net.ipv6.conf.default.disable_ipv6 = 1>>> net.ipv6.conf.lo.disable_ipv6 = 0>>> net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0 ​I'm not networking expert, but last two lines means that you have IPv6 enabled on loopback and ovirtmgmt network interfaces (but disabled on all others). So you shouldn't be surprised to get IPv6 address from DNS resolver if ovirtmgmt supports IPv6. Dan/Edward, am I right?>> ​>>> Last two lines was added for http://lists.ovirt.org/pipermail/users/2016-July/041443.html>> My configuration file is bad ??>> 12.09.2016, 16:22, "Martin Perina" : On Mon, Sep 12, 2016 at 2:49 PM,  wrote:> Ok. I found log-file /var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log with this:>> ...> 2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base/7/x86_64> 2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142 method exception> Traceback (most recent call last):>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line 132, in _executeMethod>     method['method']()>   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py", line 54, in _internal_packages>     self.packager.install(packages=('iproute',))>   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py", line 295, in install>     ignoreErrors=ignoreErrors>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 851, in install>     **kwargs>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 495, in _queue>     provides = self._queryProvides(packages=(package,))>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 433, in _queryProvides>     for po in self._yb.searchPackageProvides(args=packages):>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3429, in searchPackageProvides>     where = self.returnPackagesByDep(arg)>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4255, in returnPackagesByDep>     return self.pkgSack.searchProvides(depstring)>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in >     pkgSack = property(fget=lambda self: self._getSacks(),>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in _getSacks>     self.repos.populateSack(which=repos)>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-13 Thread Gianluca Cecchi
On Tue, Sep 13, 2016 at 10:59 AM,  wrote:

> nslookup resolves names on the engine and hosts without ipv6 address:
>
> # nslookup mirrorlist.centos.org
>
> Server: 10.1.0.10
> Address:10.1.0.10#53
>
> Non-authoritative answer:
> Name:   mirrorlist.centos.org
> Address: 67.219.148.138
> Name:   mirrorlist.centos.org
> Address: 85.236.43.108
> Name:   mirrorlist.centos.org
> Address: 212.69.166.138
> Name:   mirrorlist.centos.org
> Address: 216.176.179.218
>
> Why oVirt updates checking process trying to use ipv6 ?
>
>

I had a similar problem some days ago with a CentOS 7 system, but it was
general and unrelated to ovirt itself.
If I remember correctly the problem was that originally it was configured
by anaconda with NetworkManager and ipv6 and yum worked well.
Then I stopped and disabled NetworkManager service (the "network" service
is already enabled by default, so no action for it)  but I didn't remove
all the IPV6 entries inside the anaconda-configured ifcfg-eno16780032 file
in my /etc/sysconfig/network-scripts directory
I also created a /etc/sysctl.d/noipv6.conf file with:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

But I got the ipv6 problem when trying in general to run "yum update"
After wiping ipv6 entries in ifcfg-xxx file all went well.
Could it be that in some ifcfg-* files you still have any reference to ipv6?

Also, I had to run
systemctl restart network

HIH,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-13 Thread Yaniv Kaul
On Tue, Sep 13, 2016 at 8:26 AM,  wrote:

> 2604:1580:fe02:2::10


Probably yum/DNF not explicitly asking for IPv4 (and perhaps happy
eyeballs[1] is used on the stack?)
Y.

[1] https://en.wikipedia.org/wiki/Happy_Eyeballs
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-13 Thread Edward Haas
On Tue, Sep 13, 2016 at 12:55 PM, Martin Perina  wrote:

>
>
> On Tue, Sep 13, 2016 at 10:59 AM,  wrote:
>
>> nslookup resolves names on the engine and hosts without ipv6 address:
>>
>> # nslookup mirrorlist.centos.org
>>
>> Server: 10.1.0.10
>> Address:10.1.0.10#53
>>
>> Non-authoritative answer:
>> Name:   mirrorlist.centos.org
>> Address: 67.219.148.138
>> Name:   mirrorlist.centos.org
>> Address: 85.236.43.108
>> Name:   mirrorlist.centos.org
>> Address: 212.69.166.138
>> Name:   mirrorlist.centos.org
>> Address: 216.176.179.218
>>
>> Why oVirt updates checking process trying to use ipv6 ?
>>
>>
>> 13.09.2016, 08:26, "aleksey.maksi...@it-kb.ru" > >:
>> > Yesterday I changed the settings the host to:
>> >
>> > net.ipv6.conf.all.disable_ipv6 = 1
>> > net.ipv6.conf.default.disable_ipv6 = 1
>> >
>> > I deleted the last two lines in /etc/sysctl.conf and rebooted host.
>> >
>> > Tonight - problem repeated:
>> >
>> > 2016-09-13 01:11:13 ERROR otopi.context context._executeMethod:151
>> Failed to execute stage 'Environment packages setup': Cannot find a valid
>> baseurl for repo: base/7/x86_64
>> > 2016-09-13 01:11:13 DEBUG otopi.transaction transaction.abort:119
>> aborting 'Yum Transaction'
>> > 2016-09-13 01:11:13 INFO otopi.plugins.otopi.packagers.yumpackager
>> yumpackager.info:80 Yum Performing yum transaction rollback
>> > Could not retrieve mirrorlist http://mirrorlist.centos.org/?
>> release=7=x86_64=os=stock error was
>> > 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is
>> unreachable"
>> >
>> > Why so?
>>
>
> ​Didi, any idea why otopi (or python underneath, not sure) is using IPv6​
> addresses when IPv6 is disabled on the host?
>

Could you please resolve it with "getent ahosts " ?
Please add the output from "ip addr", if you see there an IPv6 address,
something is enabling the ipv6 on that iface.


>
>
>> >
>> > 12.09.2016, 17:34, "Martin Perina" :
>> >> On Mon, Sep 12, 2016 at 3:34 PM,  wrote:
>> >>> My /etc/sysctl.conf is:
>> >>>
>> >>> net.ipv6.conf.all.disable_ipv6 = 1
>> >>> net.ipv6.conf.default.disable_ipv6 = 1
>> >>> net.ipv6.conf.lo.disable_ipv6 = 0
>> >>> net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0
>> >>
>> >> ​I'm not networking expert, but last two lines means that you have
>> IPv6 enabled on loopback and ovirtmgmt network interfaces (but disabled on
>> all others). So you shouldn't be surprised to get IPv6 address from DNS
>> resolver if ovirtmgmt supports IPv6. Dan/Edward, am I right?
>> >> ​
>> >>> Last two lines was added for http://lists.ovirt.org/piperma
>> il/users/2016-July/041443.html
>> >>>
>> >>> My configuration file is bad ??
>> >>>
>> >>> 12.09.2016, 16:22, "Martin Perina" :
>>  On Mon, Sep 12, 2016 at 2:49 PM,  wrote:
>> > Ok. I found log-file /var/log/ovirt-engine/host-dep
>> loy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log
>> with this:
>> >
>> > ...
>> > 2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager
>> yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid
>> baseurl for repo: base/7/x86_64
>> > 2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142
>> method exception
>> > Traceback (most recent call last):
>> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line
>> 132, in _executeMethod
>> > method['method']()
>> >   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py",
>> line 54, in _internal_packages
>> > self.packager.install(packages=('iproute',))
>> >   File 
>> > "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py",
>> line 295, in install
>> > ignoreErrors=ignoreErrors
>> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
>> 851, in install
>> > **kwargs
>> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
>> 495, in _queue
>> > provides = self._queryProvides(packages=(package,))
>> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
>> 433, in _queryProvides
>> > for po in self._yb.searchPackageProvides(args=packages):
>> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
>> 3429, in searchPackageProvides
>> > where = self.returnPackagesByDep(arg)
>> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
>> 4255, in returnPackagesByDep
>> > return self.pkgSack.searchProvides(depstring)
>> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
>> 1079, in 
>> > pkgSack = property(fget=lambda self: self._getSacks(),
>> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
>> 784, in _getSacks
>> > self.repos.populateSack(which=repos)
>> >   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-13 Thread Martin Perina
On Tue, Sep 13, 2016 at 10:59 AM,  wrote:

> nslookup resolves names on the engine and hosts without ipv6 address:
>
> # nslookup mirrorlist.centos.org
>
> Server: 10.1.0.10
> Address:10.1.0.10#53
>
> Non-authoritative answer:
> Name:   mirrorlist.centos.org
> Address: 67.219.148.138
> Name:   mirrorlist.centos.org
> Address: 85.236.43.108
> Name:   mirrorlist.centos.org
> Address: 212.69.166.138
> Name:   mirrorlist.centos.org
> Address: 216.176.179.218
>
> Why oVirt updates checking process trying to use ipv6 ?
>
>
> 13.09.2016, 08:26, "aleksey.maksi...@it-kb.ru"  >:
> > Yesterday I changed the settings the host to:
> >
> > net.ipv6.conf.all.disable_ipv6 = 1
> > net.ipv6.conf.default.disable_ipv6 = 1
> >
> > I deleted the last two lines in /etc/sysctl.conf and rebooted host.
> >
> > Tonight - problem repeated:
> >
> > 2016-09-13 01:11:13 ERROR otopi.context context._executeMethod:151
> Failed to execute stage 'Environment packages setup': Cannot find a valid
> baseurl for repo: base/7/x86_64
> > 2016-09-13 01:11:13 DEBUG otopi.transaction transaction.abort:119
> aborting 'Yum Transaction'
> > 2016-09-13 01:11:13 INFO otopi.plugins.otopi.packagers.yumpackager
> yumpackager.info:80 Yum Performing yum transaction rollback
> > Could not retrieve mirrorlist http://mirrorlist.centos.org/?
> release=7=x86_64=os=stock error was
> > 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is
> unreachable"
> >
> > Why so?
>

​Didi, any idea why otopi (or python underneath, not sure) is using IPv6​
addresses when IPv6 is disabled on the host?


> >
> > 12.09.2016, 17:34, "Martin Perina" :
> >> On Mon, Sep 12, 2016 at 3:34 PM,  wrote:
> >>> My /etc/sysctl.conf is:
> >>>
> >>> net.ipv6.conf.all.disable_ipv6 = 1
> >>> net.ipv6.conf.default.disable_ipv6 = 1
> >>> net.ipv6.conf.lo.disable_ipv6 = 0
> >>> net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0
> >>
> >> ​I'm not networking expert, but last two lines means that you have IPv6
> enabled on loopback and ovirtmgmt network interfaces (but disabled on all
> others). So you shouldn't be surprised to get IPv6 address from DNS
> resolver if ovirtmgmt supports IPv6. Dan/Edward, am I right?
> >> ​
> >>> Last two lines was added for http://lists.ovirt.org/
> pipermail/users/2016-July/041443.html
> >>>
> >>> My configuration file is bad ??
> >>>
> >>> 12.09.2016, 16:22, "Martin Perina" :
>  On Mon, Sep 12, 2016 at 2:49 PM,  wrote:
> > Ok. I found log-file /var/log/ovirt-engine/host-
> deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log
> with this:
> >
> > ...
> > 2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager
> yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid
> baseurl for repo: base/7/x86_64
> > 2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142
> method exception
> > Traceback (most recent call last):
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line
> 132, in _executeMethod
> > method['method']()
> >   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py",
> line 54, in _internal_packages
> > self.packager.install(packages=('iproute',))
> >   File 
> > "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py",
> line 295, in install
> > ignoreErrors=ignoreErrors
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
> 851, in install
> > **kwargs
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
> 495, in _queue
> > provides = self._queryProvides(packages=(package,))
> >   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line
> 433, in _queryProvides
> > for po in self._yb.searchPackageProvides(args=packages):
> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
> 3429, in searchPackageProvides
> > where = self.returnPackagesByDep(arg)
> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
> 4255, in returnPackagesByDep
> > return self.pkgSack.searchProvides(depstring)
> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
> 1079, in 
> > pkgSack = property(fget=lambda self: self._getSacks(),
> >   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line
> 784, in _getSacks
> > self.repos.populateSack(which=repos)
> >   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344,
> in populateSack
> > self.doSetup()
> >   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158,
> in doSetup
> > self.ayum.plugins.run('postreposetup')
> >   File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188,
> in run
> > func(conduitcls(self, self.base, conf, **kwargs))
> >   File 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-13 Thread aleksey . maksimov
nslookup resolves names on the engine and hosts without ipv6 address:

# nslookup mirrorlist.centos.org

Server: 10.1.0.10
Address:10.1.0.10#53

Non-authoritative answer:
Name:   mirrorlist.centos.org
Address: 67.219.148.138
Name:   mirrorlist.centos.org
Address: 85.236.43.108
Name:   mirrorlist.centos.org
Address: 212.69.166.138
Name:   mirrorlist.centos.org
Address: 216.176.179.218

Why oVirt updates checking process trying to use ipv6 ?


13.09.2016, 08:26, "aleksey.maksi...@it-kb.ru" :
> Yesterday I changed the settings the host to:
>
> net.ipv6.conf.all.disable_ipv6 = 1
> net.ipv6.conf.default.disable_ipv6 = 1
>
> I deleted the last two lines in /etc/sysctl.conf and rebooted host.
>
> Tonight - problem repeated:
>
> 2016-09-13 01:11:13 ERROR otopi.context context._executeMethod:151 Failed to 
> execute stage 'Environment packages setup': Cannot find a valid baseurl for 
> repo: base/7/x86_64
> 2016-09-13 01:11:13 DEBUG otopi.transaction transaction.abort:119 aborting 
> 'Yum Transaction'
> 2016-09-13 01:11:13 INFO otopi.plugins.otopi.packagers.yumpackager 
> yumpackager.info:80 Yum Performing yum transaction rollback
> Could not retrieve mirrorlist 
> http://mirrorlist.centos.org/?release=7=x86_64=os=stock error 
> was
> 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is 
> unreachable"
>
> Why so?
>
> 12.09.2016, 17:34, "Martin Perina" :
>> On Mon, Sep 12, 2016 at 3:34 PM,  wrote:
>>> My /etc/sysctl.conf is:
>>>
>>> net.ipv6.conf.all.disable_ipv6 = 1
>>> net.ipv6.conf.default.disable_ipv6 = 1
>>> net.ipv6.conf.lo.disable_ipv6 = 0
>>> net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0
>>
>> ​I'm not networking expert, but last two lines means that you have IPv6 
>> enabled on loopback and ovirtmgmt network interfaces (but disabled on all 
>> others). So you shouldn't be surprised to get IPv6 address from DNS resolver 
>> if ovirtmgmt supports IPv6. Dan/Edward, am I right?
>> ​
>>> Last two lines was added for 
>>> http://lists.ovirt.org/pipermail/users/2016-July/041443.html
>>>
>>> My configuration file is bad ??
>>>
>>> 12.09.2016, 16:22, "Martin Perina" :
 On Mon, Sep 12, 2016 at 2:49 PM,  wrote:
> Ok. I found log-file 
> /var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log
>  with this:
>
> ...
> 2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager 
> yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a 
> valid baseurl for repo: base/7/x86_64
> 2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142 method 
> exception
> Traceback (most recent call last):
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line 132, in 
> _executeMethod
>     method['method']()
>   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py", 
> line 54, in _internal_packages
>     self.packager.install(packages=('iproute',))
>   File 
> "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py", 
> line 295, in install
>     ignoreErrors=ignoreErrors
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 851, in 
> install
>     **kwargs
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 495, in 
> _queue
>     provides = self._queryProvides(packages=(package,))
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 433, in 
> _queryProvides
>     for po in self._yb.searchPackageProvides(args=packages):
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3429, in 
> searchPackageProvides
>     where = self.returnPackagesByDep(arg)
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4255, in 
> returnPackagesByDep
>     return self.pkgSack.searchProvides(depstring)
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in 
> 
>     pkgSack = property(fget=lambda self: self._getSacks(),
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in 
> _getSacks
>     self.repos.populateSack(which=repos)
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in 
> populateSack
>     self.doSetup()
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in 
> doSetup
>     self.ayum.plugins.run('postreposetup')
>   File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
>     func(conduitcls(self, self.base, conf, **kwargs))
>   File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in 
> postreposetup_hook
>     if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in 
> 
>     urls = property(fget=lambda self: self._geturls(),
>   

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread aleksey . maksimov
Yesterday I changed the settings the host to: net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1 I deleted the last two lines in /etc/sysctl.conf and rebooted host. Tonight - problem repeated: 2016-09-13 01:11:13 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base/7/x86_642016-09-13 01:11:13 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'2016-09-13 01:11:13 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollbackCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7=x86_64=os=stock error was14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable" Why so?  12.09.2016, 17:34, "Martin Perina" :  On Mon, Sep 12, 2016 at 3:34 PM,  wrote:My /etc/sysctl.conf is: net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1net.ipv6.conf.lo.disable_ipv6 = 0net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0 ​I'm not networking expert, but last two lines means that you have IPv6 enabled on loopback and ovirtmgmt network interfaces (but disabled on all others). So you shouldn't be surprised to get IPv6 address from DNS resolver if ovirtmgmt supports IPv6. Dan/Edward, am I right?​ Last two lines was added for http://lists.ovirt.org/pipermail/users/2016-July/041443.html My configuration file is bad ??  12.09.2016, 16:22, "Martin Perina" :  On Mon, Sep 12, 2016 at 2:49 PM,  wrote:Ok. I found log-file /var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log with this:...2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base/7/x86_642016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142 method exceptionTraceback (most recent call last):  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line 132, in _executeMethod    method['method']()  File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py", line 54, in _internal_packages    self.packager.install(packages=('iproute',))  File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py", line 295, in install    ignoreErrors=ignoreErrors  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 851, in install    **kwargs  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 495, in _queue    provides = self._queryProvides(packages=(package,))  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 433, in _queryProvides    for po in self._yb.searchPackageProvides(args=packages):  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3429, in searchPackageProvides    where = self.returnPackagesByDep(arg)  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4255, in returnPackagesByDep    return self.pkgSack.searchProvides(depstring)  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in     pkgSack = property(fget=lambda self: self._getSacks(),  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in _getSacks    self.repos.populateSack(which=repos)  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in populateSack    self.doSetup()  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in doSetup    self.ayum.plugins.run('postreposetup')  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run    func(conduitcls(self, self.base, conf, **kwargs))  File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook    if downgrade_ftp and _len_non_ftp(repo.urls) == 1:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in     urls = property(fget=lambda self: self._geturls(),  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in _geturls    self._baseurlSetup()  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 834, in _baseurlSetup    self.check()  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 554, in check    'Cannot find a valid baseurl for repo: %s' % self.ui_idRepoError: Cannot find a valid baseurl for repo: base/7/x86_642016-09-12 02:00:13 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base/7/x86_642016-09-12 02:00:13 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'2016-09-12 02:00:13 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollbackCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7=x86_64=os=stock error was14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable"Loaded plugins: fastestmirror2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread Martin Perina
On Mon, Sep 12, 2016 at 3:34 PM,  wrote:

> My /etc/sysctl.conf is:
>
> net.ipv6.conf.all.disable_ipv6 = 1
> net.ipv6.conf.default.disable_ipv6 = 1
> net.ipv6.conf.lo.disable_ipv6 = 0
> net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0
>

​I'm not networking expert, but last two lines means that you have IPv6
enabled on loopback and ovirtmgmt network interfaces (but disabled on all
others). So you shouldn't be surprised to get IPv6 address from DNS
resolver if ovirtmgmt supports IPv6. Dan/Edward, am I right?
​


>
> Last two lines was added for http://lists.ovirt.org/
> pipermail/users/2016-July/041443.html
>
> My configuration file is bad ??
>
>
> 12.09.2016, 16:22, "Martin Perina" :
>
>
>
> On Mon, Sep 12, 2016 at 2:49 PM,  wrote:
>
> Ok. I found log-file /var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-
> 20160912020013-kom-ad01-vm31.holding.com-null.log with this:
>
> ...
> 2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager
> yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid
> baseurl for repo: base/7/x86_64
> 2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142 method
> exception
> Traceback (most recent call last):
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line 132, in
> _executeMethod
> method['method']()
>   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py",
> line 54, in _internal_packages
> self.packager.install(packages=('iproute',))
>   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py",
> line 295, in install
> ignoreErrors=ignoreErrors
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 851, in
> install
> **kwargs
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 495, in
> _queue
> provides = self._queryProvides(packages=(package,))
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 433, in
> _queryProvides
> for po in self._yb.searchPackageProvides(args=packages):
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3429, in
> searchPackageProvides
> where = self.returnPackagesByDep(arg)
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4255, in
> returnPackagesByDep
> return self.pkgSack.searchProvides(depstring)
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in
> 
> pkgSack = property(fget=lambda self: self._getSacks(),
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in
> _getSacks
> self.repos.populateSack(which=repos)
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in
> populateSack
> self.doSetup()
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in
> doSetup
> self.ayum.plugins.run('postreposetup')
>   File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
> func(conduitcls(self, self.base, conf, **kwargs))
>   File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in
> postreposetup_hook
> if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in
> 
> urls = property(fget=lambda self: self._geturls(),
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in
> _geturls
> self._baseurlSetup()
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 834, in
> _baseurlSetup
> self.check()
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 554, in
> check
> 'Cannot find a valid baseurl for repo: %s' % self.ui_id
> RepoError: Cannot find a valid baseurl for repo: base/7/x86_64
> 2016-09-12 02:00:13 ERROR otopi.context context._executeMethod:151 Failed
> to execute stage 'Environment packages setup': Cannot find a valid baseurl
> for repo: base/7/x86_64
> 2016-09-12 02:00:13 DEBUG otopi.transaction transaction.abort:119
> aborting 'Yum Transaction'
> 2016-09-12 02:00:13 INFO otopi.plugins.otopi.packagers.yumpackager
> yumpackager.info:80 Yum Performing yum transaction rollback
> Could not retrieve mirrorlist http://mirrorlist.centos.org/?
> release=7=x86_64=os=stock error was
> 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is
> unreachable"
> Loaded plugins: fastestmirror
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:760
> ENVIRONMENT DUMP - BEGIN
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/error=bool:'True'
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/exceptionInfo=list:'[(, RepoError(),
> )]'
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:774
> ENVIRONMENT DUMP - END
> ...
>
> He's trying to use ipv6 connection ??
> But, I have not ipv6 networks and my hosts/engine used only ipv4 settings.
>
>
> ​Hmm, it seems to me that you don't have IPv6 disabled properly, as your
> DNS resolver returns you IPv6 addresses. Please take a look 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread aleksey . maksimov
My /etc/sysctl.conf is: net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1net.ipv6.conf.lo.disable_ipv6 = 0net.ipv6.conf.ovirtmgmt.disable_ipv6 = 0 Last two lines was added for http://lists.ovirt.org/pipermail/users/2016-July/041443.html My configuration file is bad ??  12.09.2016, 16:22, "Martin Perina" :  On Mon, Sep 12, 2016 at 2:49 PM,  wrote:Ok. I found log-file /var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log with this:...2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid baseurl for repo: base/7/x86_642016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142 method exceptionTraceback (most recent call last):  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line 132, in _executeMethod    method['method']()  File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py", line 54, in _internal_packages    self.packager.install(packages=('iproute',))  File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py", line 295, in install    ignoreErrors=ignoreErrors  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 851, in install    **kwargs  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 495, in _queue    provides = self._queryProvides(packages=(package,))  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 433, in _queryProvides    for po in self._yb.searchPackageProvides(args=packages):  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3429, in searchPackageProvides    where = self.returnPackagesByDep(arg)  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4255, in returnPackagesByDep    return self.pkgSack.searchProvides(depstring)  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in     pkgSack = property(fget=lambda self: self._getSacks(),  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in _getSacks    self.repos.populateSack(which=repos)  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in populateSack    self.doSetup()  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in doSetup    self.ayum.plugins.run('postreposetup')  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run    func(conduitcls(self, self.base, conf, **kwargs))  File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook    if downgrade_ftp and _len_non_ftp(repo.urls) == 1:  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in     urls = property(fget=lambda self: self._geturls(),  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in _geturls    self._baseurlSetup()  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 834, in _baseurlSetup    self.check()  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 554, in check    'Cannot find a valid baseurl for repo: %s' % self.ui_idRepoError: Cannot find a valid baseurl for repo: base/7/x86_642016-09-12 02:00:13 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Environment packages setup': Cannot find a valid baseurl for repo: base/7/x86_642016-09-12 02:00:13 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum Transaction'2016-09-12 02:00:13 INFO otopi.plugins.otopi.packagers.yumpackager yumpackager.info:80 Yum Performing yum transaction rollbackCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7=x86_64=os=stock error was14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable"Loaded plugins: fastestmirror2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/error=bool:'True'2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV BASE/exceptionInfo=list:'[(, RepoError(), 7002252f80>)]'2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT DUMP - END...He's trying to use ipv6 connection ??But, I have not ipv6 networks and my hosts/engine used only ipv4 settings. ​Hmm, it seems to me that you don't have IPv6 disabled properly, as your DNS resolver returns you IPv6 addresses. Please take a look at:https://wiki.centos.org/FAQ/CentOS7#head-8984faf811faccca74c7bcdd74de7467f2fcd8ee​ 12.09.2016, 15:45, "Martin Perina" :>> ​2016-09-12 02:00:13,388 INFO [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.l$>> This is most probably the log file where details of the issue can be found>> On Mon, Sep 12, 2016 at 2:35 PM, Yedidyah Bar David  wrote:>> On Mon, Sep 12, 2016 at 3:08 PM,   wrote:>> Excuse me. I do 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread Martin Perina
On Mon, Sep 12, 2016 at 2:49 PM,  wrote:

> Ok. I found log-file /var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-
> 20160912020013-kom-ad01-vm31.holding.com-null.log with this:
>
> ...
> 2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager
> yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid
> baseurl for repo: base/7/x86_64
> 2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142 method
> exception
> Traceback (most recent call last):
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line 132, in
> _executeMethod
> method['method']()
>   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py",
> line 54, in _internal_packages
> self.packager.install(packages=('iproute',))
>   File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py",
> line 295, in install
> ignoreErrors=ignoreErrors
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 851, in
> install
> **kwargs
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 495, in
> _queue
> provides = self._queryProvides(packages=(package,))
>   File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 433, in
> _queryProvides
> for po in self._yb.searchPackageProvides(args=packages):
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3429, in
> searchPackageProvides
> where = self.returnPackagesByDep(arg)
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4255, in
> returnPackagesByDep
> return self.pkgSack.searchProvides(depstring)
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in
> 
> pkgSack = property(fget=lambda self: self._getSacks(),
>   File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in
> _getSacks
> self.repos.populateSack(which=repos)
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in
> populateSack
> self.doSetup()
>   File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in
> doSetup
> self.ayum.plugins.run('postreposetup')
>   File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
> func(conduitcls(self, self.base, conf, **kwargs))
>   File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in
> postreposetup_hook
> if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in
> 
> urls = property(fget=lambda self: self._geturls(),
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in
> _geturls
> self._baseurlSetup()
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 834, in
> _baseurlSetup
> self.check()
>   File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 554, in
> check
> 'Cannot find a valid baseurl for repo: %s' % self.ui_id
> RepoError: Cannot find a valid baseurl for repo: base/7/x86_64
> 2016-09-12 02:00:13 ERROR otopi.context context._executeMethod:151 Failed
> to execute stage 'Environment packages setup': Cannot find a valid baseurl
> for repo: base/7/x86_64
> 2016-09-12 02:00:13 DEBUG otopi.transaction transaction.abort:119 aborting
> 'Yum Transaction'
> 2016-09-12 02:00:13 INFO otopi.plugins.otopi.packagers.yumpackager
> yumpackager.info:80 Yum Performing yum transaction rollback
> Could not retrieve mirrorlist http://mirrorlist.centos.org/?
> release=7=x86_64=os=stock error was
> 14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is
> unreachable"
> Loaded plugins: fastestmirror
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:760
> ENVIRONMENT DUMP - BEGIN
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/error=bool:'True'
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV
> BASE/exceptionInfo=list:'[(, RepoError(),
> )]'
> 2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:774
> ENVIRONMENT DUMP - END
> ...
>
> He's trying to use ipv6 connection ??
> But, I have not ipv6 networks and my hosts/engine used only ipv4 settings.
>

​Hmm, it seems to me that you don't have IPv6 disabled properly, as your
DNS resolver returns you IPv6 addresses. Please take a look at:

https://wiki.centos.org/FAQ/CentOS7#head-8984faf811faccca74c7bcdd74de7467f2fcd8ee
​


>
> 12.09.2016, 15:45, "Martin Perina" :
> >> ​2016-09-12 02:00:13,388 INFO 
> >> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Retrieving installation logs to: '/var/log/ovirt-engine/host-
> deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.l$
> >
> > This is most probably the log file where details of the issue can be
> found
> >
> > On Mon, Sep 12, 2016 at 2:35 PM, Yedidyah Bar David 
> wrote:
> >> On Mon, Sep 12, 2016 at 3:08 PM,   wrote:
> >>>
> >>> Excuse me. I do not understand. What I should do?
> >>> The directory 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread aleksey . maksimov
Ok. I found log-file 
/var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.log
 with this:

...
2016-09-12 02:00:13 ERROR otopi.plugins.otopi.packagers.yumpackager 
yumpackager.error:85 Yum Cannot queue package iproute: Cannot find a valid 
baseurl for repo: base/7/x86_64
2016-09-12 02:00:13 DEBUG otopi.context context._executeMethod:142 method 
exception
Traceback (most recent call last):
  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/context.py", line 132, in 
_executeMethod
    method['method']()
  File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/network/hostname.py", line 
54, in _internal_packages
    self.packager.install(packages=('iproute',))
  File "/tmp/ovirt-B4lcSm14u9/otopi-plugins/otopi/packagers/yumpackager.py", 
line 295, in install
    ignoreErrors=ignoreErrors
  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 851, in install
    **kwargs
  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 495, in _queue
    provides = self._queryProvides(packages=(package,))
  File "/tmp/ovirt-B4lcSm14u9/pythonlib/otopi/miniyum.py", line 433, in 
_queryProvides
    for po in self._yb.searchPackageProvides(args=packages):
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3429, in 
searchPackageProvides
    where = self.returnPackagesByDep(arg)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4255, in 
returnPackagesByDep
    return self.pkgSack.searchProvides(depstring)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1079, in 

    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 784, in 
_getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in 
populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 158, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/fastestmirror.py", line 197, in postreposetup_hook
    if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in 
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 834, in 
_baseurlSetup
    self.check()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 554, in check
    'Cannot find a valid baseurl for repo: %s' % self.ui_id
RepoError: Cannot find a valid baseurl for repo: base/7/x86_64
2016-09-12 02:00:13 ERROR otopi.context context._executeMethod:151 Failed to 
execute stage 'Environment packages setup': Cannot find a valid baseurl for 
repo: base/7/x86_64
2016-09-12 02:00:13 DEBUG otopi.transaction transaction.abort:119 aborting 'Yum 
Transaction'
2016-09-12 02:00:13 INFO otopi.plugins.otopi.packagers.yumpackager 
yumpackager.info:80 Yum Performing yum transaction rollback
Could not retrieve mirrorlist 
http://mirrorlist.centos.org/?release=7=x86_64=os=stock error 
was
14: curl#7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable"
Loaded plugins: fastestmirror
2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT 
DUMP - BEGIN
2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV 
BASE/error=bool:'True'
2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:770 ENV 
BASE/exceptionInfo=list:'[(, RepoError(), 
)]'
2016-09-12 02:00:13 DEBUG otopi.context context.dumpEnvironment:774 ENVIRONMENT 
DUMP - END
...

He's trying to use ipv6 connection ??
But, I have not ipv6 networks and my hosts/engine used only ipv4 settings.

12.09.2016, 15:45, "Martin Perina" :
>> ​2016-09-12 02:00:13,388 INFO 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>> Retrieving installation logs to: 
>> '/var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.l$
>
> This is most probably the log file where details of the issue can be found
>
> On Mon, Sep 12, 2016 at 2:35 PM, Yedidyah Bar David  wrote:
>> On Mon, Sep 12, 2016 at 3:08 PM,   wrote:
>>>
>>> Excuse me. I do not understand. What I should do?
>>> The directory /var/log/ovirt-engine/host-deploy many different log files
>>
>> Please check the one from a time where you see this error.
>>
>> Every run of host-deploy creates its own log file.
>>
>> Best,
>>
>>>
>>> 12.09.2016, 14:59, "Yedidyah Bar David" :
 On Mon, Sep 12, 2016 at 11:17 AM,  wrote:
>  # yum install iproute
>
>  Loaded plugins: fastestmirror
>  Loading mirror speeds from cached hostfile
>   * base: mirror.awanti.com

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread Martin Perina
> ​2016-09-12 02:00:13,388 INFO 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
(VdsDeploy) [] Retrieving installation logs to: '/var/log/ovirt-engine/host-
deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.l$

This is most probably the log file where details of the issue can be found


On Mon, Sep 12, 2016 at 2:35 PM, Yedidyah Bar David  wrote:

> On Mon, Sep 12, 2016 at 3:08 PM,   wrote:
> >
> > Excuse me. I do not understand. What I should do?
> > The directory /var/log/ovirt-engine/host-deploy many different log files
>
> Please check the one from a time where you see this error.
>
> Every run of host-deploy creates its own log file.
>
> Best,
>
> >
> > 12.09.2016, 14:59, "Yedidyah Bar David" :
> >> On Mon, Sep 12, 2016 at 11:17 AM,  wrote:
> >>>  # yum install iproute
> >>>
> >>>  Loaded plugins: fastestmirror
> >>>  Loading mirror speeds from cached hostfile
> >>>   * base: mirror.awanti.com
> >>>   * elrepo: dfw.mirror.rackspace.com
> >>>   * epel: epel.besthosting.ua
> >>>   * extras: centos-mirror.rbc.ru
> >>>   * ovirt-4.0: ftp.nluug.nl
> >>>   * ovirt-4.0-epel: epel.besthosting.ua
> >>>   * updates: centos-mirror.rbc.ru
> >>>  Package iproute-3.10.0-54.el7_2.1.x86_64 already installed and
> latest version
> >>>  Nothing to do
> >>>
> >>>  # ls -la /etc/yum.repos.d/
> >>>
> >>>  total 76
> >>>  drwxr-xr-x. 2 root root 4096 Jul 26 14:08 .
> >>>  drwxr-xr-x. 102 root root 12288 Sep 12 11:00 ..
> >>>  -rw-r--r--. 1 root root 1664 Dec 9 2015 CentOS-Base.repo
> >>>  -rw-r--r--. 1 root root 1309 Dec 9 2015 CentOS-CR.repo
> >>>  -rw-r--r--. 1 root root 649 Dec 9 2015 CentOS-Debuginfo.repo
> >>>  -rw-r--r--. 1 root root 290 Dec 9 2015 CentOS-fasttrack.repo
> >>>  -rw-r--r--. 1 root root 630 Dec 9 2015 CentOS-Media.repo
> >>>  -rw-r--r--. 1 root root 1331 Dec 9 2015 CentOS-Sources.repo
> >>>  -rw-r--r--. 1 root root 1952 Dec 9 2015 CentOS-Vault.repo
> >>>  -rw-r--r--. 1 root root 2150 May 21 2014 elrepo.repo
> >>>  -rw-r--r--. 1 root root 957 Jun 3 16:52 epel.repo
> >>>  -rw-r--r--. 1 root root 1056 Jun 3 16:52 epel-testing.repo
> >>>  -rw-r--r--. 1 root root 383 Jul 21 10:44 HP-MCP.repo
> >>>  -rw-r--r--. 1 root root 446 Jul 21 10:45 HP-SPP-2014-06.repo
> >>>  -rw-r--r--. 1 root root 417 Jul 21 10:44 HP-SPP-Current.repo
> >>>  -rw-r--r--. 1 root root 1678 Jul 26 14:08 ovirt-4.0-dependencies.repo
> >>>  -rw-r--r--. 1 root root 289 Jul 26 14:08 ovirt-4.0.repo
> >>>
> >>>  Which repo file you are interested in?
> >>
> >> The one(s) that has in it '[base]'. Also, you might find more
> >> details in the host-deploy log, in /var/log/ovirt-engine/host-deploy .
> >>
> >>>  12.09.2016, 11:14, "Yedidyah Bar David" :
>   On Mon, Sep 12, 2016 at 10:59 AM,  wrote:
> >   Hi, Martin.
> >
> >   The command is executed successfully:
> >
> >   Updated:
> > vdsm.x86_64 0:4.18.12-1.el7 vdsm-cli.noarch 0:4.18.12-1.el7
> >   Dependency Updated:
> > vdsm-api.noarch 0:4.18.12-1.el7 vdsm-hook-vmfex-dev.noarch
> 0:4.18.12-1.el7 vdsm-infra.noarch 0:4.18.12-1.el7
> > vdsm-jsonrpc.noarch 0:4.18.12-1.el7 vdsm-python.noarch
> 0:4.18.12-1.el7 vdsm-xmlrpc.noarch 0:4.18.12-1.el7
> > vdsm-yajsonrpc.noarch 0:4.18.12-1.el7
> >   Complete!
> >
> >   12.09.2016, 10:47, "Martin Perina" :
> >>   Hi Aleksey,
> >>
> >>   the error message is raised by Host upgrade manager (more info at
> [1]) which checks for available package upgrades on the host.
> >>
> >>   It seems that you have somehow corrupted repository configuration
> of the host 'kom-ad01-vm31.holding.com':
> >>
> >>   2016-09-12 02:00:13,300 ERROR 
> >> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Yum Cannot queue package iproute: Cannot find a valid
> baseurl for repo: base/7/x86_64
> >>   2016-09-12 02:00:13,304 ERROR 
> >> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Failed to execute stage 'Environment packages setup': Cannot
> find a valid baseurl for repo: base/7/x86_64
> >>
> >>   Could you please verify that you are able to successfully execute
> following commands on the host?
> >>
> >> yum check-update
> >> yum update vdsm vdsm-cli
> 
>   Can you please try also:
> 
>   yum install iproute
> 
>   And also share your /etc/yum.repos.d/* ?
> 
>   Thanks.
> 
> >>   Thanks
> >>
> >>   Martin Perina
> >>
> >>   [1] http://www.ovirt.org/develop/release-management/features/
> engine/upgrademanager/
> >>
> >>   On Mon, Sep 12, 2016 at 9:20 AM, 
> wrote:
> >>>   Hello oVirt guru`s!
> >>>
> >>>   oVirt Engine Version: 4.0.1.1-1.el7.centos
> >>>
> >>>   Every day there is a message in web UI for one of my two hosts:

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread Yedidyah Bar David
On Mon, Sep 12, 2016 at 3:08 PM,   wrote:
>
> Excuse me. I do not understand. What I should do?
> The directory /var/log/ovirt-engine/host-deploy many different log files

Please check the one from a time where you see this error.

Every run of host-deploy creates its own log file.

Best,

>
> 12.09.2016, 14:59, "Yedidyah Bar David" :
>> On Mon, Sep 12, 2016 at 11:17 AM,  wrote:
>>>  # yum install iproute
>>>
>>>  Loaded plugins: fastestmirror
>>>  Loading mirror speeds from cached hostfile
>>>   * base: mirror.awanti.com
>>>   * elrepo: dfw.mirror.rackspace.com
>>>   * epel: epel.besthosting.ua
>>>   * extras: centos-mirror.rbc.ru
>>>   * ovirt-4.0: ftp.nluug.nl
>>>   * ovirt-4.0-epel: epel.besthosting.ua
>>>   * updates: centos-mirror.rbc.ru
>>>  Package iproute-3.10.0-54.el7_2.1.x86_64 already installed and latest 
>>> version
>>>  Nothing to do
>>>
>>>  # ls -la /etc/yum.repos.d/
>>>
>>>  total 76
>>>  drwxr-xr-x. 2 root root 4096 Jul 26 14:08 .
>>>  drwxr-xr-x. 102 root root 12288 Sep 12 11:00 ..
>>>  -rw-r--r--. 1 root root 1664 Dec 9 2015 CentOS-Base.repo
>>>  -rw-r--r--. 1 root root 1309 Dec 9 2015 CentOS-CR.repo
>>>  -rw-r--r--. 1 root root 649 Dec 9 2015 CentOS-Debuginfo.repo
>>>  -rw-r--r--. 1 root root 290 Dec 9 2015 CentOS-fasttrack.repo
>>>  -rw-r--r--. 1 root root 630 Dec 9 2015 CentOS-Media.repo
>>>  -rw-r--r--. 1 root root 1331 Dec 9 2015 CentOS-Sources.repo
>>>  -rw-r--r--. 1 root root 1952 Dec 9 2015 CentOS-Vault.repo
>>>  -rw-r--r--. 1 root root 2150 May 21 2014 elrepo.repo
>>>  -rw-r--r--. 1 root root 957 Jun 3 16:52 epel.repo
>>>  -rw-r--r--. 1 root root 1056 Jun 3 16:52 epel-testing.repo
>>>  -rw-r--r--. 1 root root 383 Jul 21 10:44 HP-MCP.repo
>>>  -rw-r--r--. 1 root root 446 Jul 21 10:45 HP-SPP-2014-06.repo
>>>  -rw-r--r--. 1 root root 417 Jul 21 10:44 HP-SPP-Current.repo
>>>  -rw-r--r--. 1 root root 1678 Jul 26 14:08 ovirt-4.0-dependencies.repo
>>>  -rw-r--r--. 1 root root 289 Jul 26 14:08 ovirt-4.0.repo
>>>
>>>  Which repo file you are interested in?
>>
>> The one(s) that has in it '[base]'. Also, you might find more
>> details in the host-deploy log, in /var/log/ovirt-engine/host-deploy .
>>
>>>  12.09.2016, 11:14, "Yedidyah Bar David" :
  On Mon, Sep 12, 2016 at 10:59 AM,  wrote:
>   Hi, Martin.
>
>   The command is executed successfully:
>
>   Updated:
> vdsm.x86_64 0:4.18.12-1.el7 vdsm-cli.noarch 0:4.18.12-1.el7
>   Dependency Updated:
> vdsm-api.noarch 0:4.18.12-1.el7 vdsm-hook-vmfex-dev.noarch 
> 0:4.18.12-1.el7 vdsm-infra.noarch 0:4.18.12-1.el7
> vdsm-jsonrpc.noarch 0:4.18.12-1.el7 vdsm-python.noarch 
> 0:4.18.12-1.el7 vdsm-xmlrpc.noarch 0:4.18.12-1.el7
> vdsm-yajsonrpc.noarch 0:4.18.12-1.el7
>   Complete!
>
>   12.09.2016, 10:47, "Martin Perina" :
>>   Hi Aleksey,
>>
>>   the error message is raised by Host upgrade manager (more info at [1]) 
>> which checks for available package upgrades on the host.
>>
>>   It seems that you have somehow corrupted repository configuration of 
>> the host 'kom-ad01-vm31.holding.com':
>>
>>   2016-09-12 02:00:13,300 ERROR 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
>> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
>> base/7/x86_64
>>   2016-09-12 02:00:13,304 ERROR 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>> Failed to execute stage 'Environment packages setup': Cannot find a 
>> valid baseurl for repo: base/7/x86_64
>>
>>   Could you please verify that you are able to successfully execute 
>> following commands on the host?
>>
>> yum check-update
>> yum update vdsm vdsm-cli

  Can you please try also:

  yum install iproute

  And also share your /etc/yum.repos.d/* ?

  Thanks.

>>   Thanks
>>
>>   Martin Perina
>>
>>   [1] 
>> http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/
>>
>>   On Mon, Sep 12, 2016 at 9:20 AM,  wrote:
>>>   Hello oVirt guru`s!
>>>
>>>   oVirt Engine Version: 4.0.1.1-1.el7.centos
>>>
>>>   Every day there is a message in web UI for one of my two hosts:
>>>
>>>   "Failed to check for available updates on host KOM-AD01-VM31 with 
>>> message 'Command returned failure code 1 during SSH session 'root@
>>>
>>>   kom-ad01-vm31.holding.com''.
>>>
>>>   In /var/log/ovirt-engine/engine.log at this time:
>>>
>>>   ...
>>>   2016-09-12 01:59:45,045 INFO 
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>>> Stage: Initializing
>>>   2016-09-12 01:59:45,055 INFO 
>>> 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread aleksey . maksimov

Excuse me. I do not understand. What I should do?
The directory /var/log/ovirt-engine/host-deploy many different log files

12.09.2016, 14:59, "Yedidyah Bar David" :
> On Mon, Sep 12, 2016 at 11:17 AM,  wrote:
>>  # yum install iproute
>>
>>  Loaded plugins: fastestmirror
>>  Loading mirror speeds from cached hostfile
>>   * base: mirror.awanti.com
>>   * elrepo: dfw.mirror.rackspace.com
>>   * epel: epel.besthosting.ua
>>   * extras: centos-mirror.rbc.ru
>>   * ovirt-4.0: ftp.nluug.nl
>>   * ovirt-4.0-epel: epel.besthosting.ua
>>   * updates: centos-mirror.rbc.ru
>>  Package iproute-3.10.0-54.el7_2.1.x86_64 already installed and latest 
>> version
>>  Nothing to do
>>
>>  # ls -la /etc/yum.repos.d/
>>
>>  total 76
>>  drwxr-xr-x. 2 root root 4096 Jul 26 14:08 .
>>  drwxr-xr-x. 102 root root 12288 Sep 12 11:00 ..
>>  -rw-r--r--. 1 root root 1664 Dec 9 2015 CentOS-Base.repo
>>  -rw-r--r--. 1 root root 1309 Dec 9 2015 CentOS-CR.repo
>>  -rw-r--r--. 1 root root 649 Dec 9 2015 CentOS-Debuginfo.repo
>>  -rw-r--r--. 1 root root 290 Dec 9 2015 CentOS-fasttrack.repo
>>  -rw-r--r--. 1 root root 630 Dec 9 2015 CentOS-Media.repo
>>  -rw-r--r--. 1 root root 1331 Dec 9 2015 CentOS-Sources.repo
>>  -rw-r--r--. 1 root root 1952 Dec 9 2015 CentOS-Vault.repo
>>  -rw-r--r--. 1 root root 2150 May 21 2014 elrepo.repo
>>  -rw-r--r--. 1 root root 957 Jun 3 16:52 epel.repo
>>  -rw-r--r--. 1 root root 1056 Jun 3 16:52 epel-testing.repo
>>  -rw-r--r--. 1 root root 383 Jul 21 10:44 HP-MCP.repo
>>  -rw-r--r--. 1 root root 446 Jul 21 10:45 HP-SPP-2014-06.repo
>>  -rw-r--r--. 1 root root 417 Jul 21 10:44 HP-SPP-Current.repo
>>  -rw-r--r--. 1 root root 1678 Jul 26 14:08 ovirt-4.0-dependencies.repo
>>  -rw-r--r--. 1 root root 289 Jul 26 14:08 ovirt-4.0.repo
>>
>>  Which repo file you are interested in?
>
> The one(s) that has in it '[base]'. Also, you might find more
> details in the host-deploy log, in /var/log/ovirt-engine/host-deploy .
>
>>  12.09.2016, 11:14, "Yedidyah Bar David" :
>>>  On Mon, Sep 12, 2016 at 10:59 AM,  wrote:
   Hi, Martin.

   The command is executed successfully:

   Updated:
 vdsm.x86_64 0:4.18.12-1.el7 vdsm-cli.noarch 0:4.18.12-1.el7
   Dependency Updated:
 vdsm-api.noarch 0:4.18.12-1.el7 vdsm-hook-vmfex-dev.noarch 
 0:4.18.12-1.el7 vdsm-infra.noarch 0:4.18.12-1.el7
 vdsm-jsonrpc.noarch 0:4.18.12-1.el7 vdsm-python.noarch 0:4.18.12-1.el7 
 vdsm-xmlrpc.noarch 0:4.18.12-1.el7
 vdsm-yajsonrpc.noarch 0:4.18.12-1.el7
   Complete!

   12.09.2016, 10:47, "Martin Perina" :
>   Hi Aleksey,
>
>   the error message is raised by Host upgrade manager (more info at [1]) 
> which checks for available package upgrades on the host.
>
>   It seems that you have somehow corrupted repository configuration of 
> the host 'kom-ad01-vm31.holding.com':
>
>   2016-09-12 02:00:13,300 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
> base/7/x86_64
>   2016-09-12 02:00:13,304 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
> Failed to execute stage 'Environment packages setup': Cannot find a valid 
> baseurl for repo: base/7/x86_64
>
>   Could you please verify that you are able to successfully execute 
> following commands on the host?
>
> yum check-update
> yum update vdsm vdsm-cli
>>>
>>>  Can you please try also:
>>>
>>>  yum install iproute
>>>
>>>  And also share your /etc/yum.repos.d/* ?
>>>
>>>  Thanks.
>>>
>   Thanks
>
>   Martin Perina
>
>   [1] 
> http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/
>
>   On Mon, Sep 12, 2016 at 9:20 AM,  wrote:
>>   Hello oVirt guru`s!
>>
>>   oVirt Engine Version: 4.0.1.1-1.el7.centos
>>
>>   Every day there is a message in web UI for one of my two hosts:
>>
>>   "Failed to check for available updates on host KOM-AD01-VM31 with 
>> message 'Command returned failure code 1 during SSH session 'root@
>>
>>   kom-ad01-vm31.holding.com''.
>>
>>   In /var/log/ovirt-engine/engine.log at this time:
>>
>>   ...
>>   2016-09-12 01:59:45,045 INFO 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>> Stage: Initializing
>>   2016-09-12 01:59:45,055 INFO 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>> Stage: Environment setup
>>   2016-09-12 01:59:45,070 INFO 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>> Stage: Environment packages setup
>>
>>   2016-09-12 02:00:13,300 ERROR 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread Yedidyah Bar David
On Mon, Sep 12, 2016 at 11:17 AM,   wrote:
> # yum install iproute
>
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: mirror.awanti.com
>  * elrepo: dfw.mirror.rackspace.com
>  * epel: epel.besthosting.ua
>  * extras: centos-mirror.rbc.ru
>  * ovirt-4.0: ftp.nluug.nl
>  * ovirt-4.0-epel: epel.besthosting.ua
>  * updates: centos-mirror.rbc.ru
> Package iproute-3.10.0-54.el7_2.1.x86_64 already installed and latest version
> Nothing to do
>
>
> # ls -la /etc/yum.repos.d/
>
> total 76
> drwxr-xr-x.   2 root root  4096 Jul 26 14:08 .
> drwxr-xr-x. 102 root root 12288 Sep 12 11:00 ..
> -rw-r--r--.   1 root root  1664 Dec  9  2015 CentOS-Base.repo
> -rw-r--r--.   1 root root  1309 Dec  9  2015 CentOS-CR.repo
> -rw-r--r--.   1 root root   649 Dec  9  2015 CentOS-Debuginfo.repo
> -rw-r--r--.   1 root root   290 Dec  9  2015 CentOS-fasttrack.repo
> -rw-r--r--.   1 root root   630 Dec  9  2015 CentOS-Media.repo
> -rw-r--r--.   1 root root  1331 Dec  9  2015 CentOS-Sources.repo
> -rw-r--r--.   1 root root  1952 Dec  9  2015 CentOS-Vault.repo
> -rw-r--r--.   1 root root  2150 May 21  2014 elrepo.repo
> -rw-r--r--.   1 root root   957 Jun  3 16:52 epel.repo
> -rw-r--r--.   1 root root  1056 Jun  3 16:52 epel-testing.repo
> -rw-r--r--.   1 root root   383 Jul 21 10:44 HP-MCP.repo
> -rw-r--r--.   1 root root   446 Jul 21 10:45 HP-SPP-2014-06.repo
> -rw-r--r--.   1 root root   417 Jul 21 10:44 HP-SPP-Current.repo
> -rw-r--r--.   1 root root  1678 Jul 26 14:08 ovirt-4.0-dependencies.repo
> -rw-r--r--.   1 root root   289 Jul 26 14:08 ovirt-4.0.repo
>
> Which repo file you are interested in?

The one(s) that has in it '[base]'. Also, you might find more
details in the host-deploy log, in /var/log/ovirt-engine/host-deploy .

>
>
> 12.09.2016, 11:14, "Yedidyah Bar David" :
>> On Mon, Sep 12, 2016 at 10:59 AM,  wrote:
>>>  Hi, Martin.
>>>
>>>  The command is executed successfully:
>>>
>>>  Updated:
>>>vdsm.x86_64 0:4.18.12-1.el7 vdsm-cli.noarch 0:4.18.12-1.el7
>>>  Dependency Updated:
>>>vdsm-api.noarch 0:4.18.12-1.el7 vdsm-hook-vmfex-dev.noarch 
>>> 0:4.18.12-1.el7 vdsm-infra.noarch 0:4.18.12-1.el7
>>>vdsm-jsonrpc.noarch 0:4.18.12-1.el7 vdsm-python.noarch 0:4.18.12-1.el7 
>>> vdsm-xmlrpc.noarch 0:4.18.12-1.el7
>>>vdsm-yajsonrpc.noarch 0:4.18.12-1.el7
>>>  Complete!
>>>
>>>  12.09.2016, 10:47, "Martin Perina" :
  Hi Aleksey,

  the error message is raised by Host upgrade manager (more info at [1]) 
 which checks for available package upgrades on the host.

  It seems that you have somehow corrupted repository configuration of the 
 host 'kom-ad01-vm31.holding.com':

  2016-09-12 02:00:13,300 ERROR 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
 Cannot queue package iproute: Cannot find a valid baseurl for repo: 
 base/7/x86_64
  2016-09-12 02:00:13,304 ERROR 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed 
 to execute stage 'Environment packages setup': Cannot find a valid baseurl 
 for repo: base/7/x86_64

  Could you please verify that you are able to successfully execute 
 following commands on the host?

yum check-update
yum update vdsm vdsm-cli
>>
>> Can you please try also:
>>
>> yum install iproute
>>
>> And also share your /etc/yum.repos.d/* ?
>>
>> Thanks.
>>
  Thanks

  Martin Perina

  [1] 
 http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/

  On Mon, Sep 12, 2016 at 9:20 AM,  wrote:
>  Hello oVirt guru`s!
>
>  oVirt Engine Version: 4.0.1.1-1.el7.centos
>
>  Every day there is a message in web UI for one of my two hosts:
>
>  "Failed to check for available updates on host KOM-AD01-VM31 with 
> message 'Command returned failure code 1 during SSH session 'root@
>
>  kom-ad01-vm31.holding.com''.
>
>  In /var/log/ovirt-engine/engine.log at this time:
>
>  ...
>  2016-09-12 01:59:45,045 INFO 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
> Stage: Initializing
>  2016-09-12 01:59:45,055 INFO 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
> Stage: Environment setup
>  2016-09-12 01:59:45,070 INFO 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
> Stage: Environment packages setup
>
>  2016-09-12 02:00:13,300 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
> base/7/x86_64
>  2016-09-12 02:00:13,304 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
> Failed to execute stage 'Environment packages setup': Cannot find a 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread aleksey . maksimov
# yum install iproute

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.awanti.com
 * elrepo: dfw.mirror.rackspace.com
 * epel: epel.besthosting.ua
 * extras: centos-mirror.rbc.ru
 * ovirt-4.0: ftp.nluug.nl
 * ovirt-4.0-epel: epel.besthosting.ua
 * updates: centos-mirror.rbc.ru
Package iproute-3.10.0-54.el7_2.1.x86_64 already installed and latest version
Nothing to do


# ls -la /etc/yum.repos.d/

total 76
drwxr-xr-x.   2 root root  4096 Jul 26 14:08 .
drwxr-xr-x. 102 root root 12288 Sep 12 11:00 ..
-rw-r--r--.   1 root root  1664 Dec  9  2015 CentOS-Base.repo
-rw-r--r--.   1 root root  1309 Dec  9  2015 CentOS-CR.repo
-rw-r--r--.   1 root root   649 Dec  9  2015 CentOS-Debuginfo.repo
-rw-r--r--.   1 root root   290 Dec  9  2015 CentOS-fasttrack.repo
-rw-r--r--.   1 root root   630 Dec  9  2015 CentOS-Media.repo
-rw-r--r--.   1 root root  1331 Dec  9  2015 CentOS-Sources.repo
-rw-r--r--.   1 root root  1952 Dec  9  2015 CentOS-Vault.repo
-rw-r--r--.   1 root root  2150 May 21  2014 elrepo.repo
-rw-r--r--.   1 root root   957 Jun  3 16:52 epel.repo
-rw-r--r--.   1 root root  1056 Jun  3 16:52 epel-testing.repo
-rw-r--r--.   1 root root   383 Jul 21 10:44 HP-MCP.repo
-rw-r--r--.   1 root root   446 Jul 21 10:45 HP-SPP-2014-06.repo
-rw-r--r--.   1 root root   417 Jul 21 10:44 HP-SPP-Current.repo
-rw-r--r--.   1 root root  1678 Jul 26 14:08 ovirt-4.0-dependencies.repo
-rw-r--r--.   1 root root   289 Jul 26 14:08 ovirt-4.0.repo

Which repo file you are interested in?


12.09.2016, 11:14, "Yedidyah Bar David" :
> On Mon, Sep 12, 2016 at 10:59 AM,  wrote:
>>  Hi, Martin.
>>
>>  The command is executed successfully:
>>
>>  Updated:
>>    vdsm.x86_64 0:4.18.12-1.el7 vdsm-cli.noarch 0:4.18.12-1.el7
>>  Dependency Updated:
>>    vdsm-api.noarch 0:4.18.12-1.el7 vdsm-hook-vmfex-dev.noarch 
>> 0:4.18.12-1.el7 vdsm-infra.noarch 0:4.18.12-1.el7
>>    vdsm-jsonrpc.noarch 0:4.18.12-1.el7 vdsm-python.noarch 0:4.18.12-1.el7 
>> vdsm-xmlrpc.noarch 0:4.18.12-1.el7
>>    vdsm-yajsonrpc.noarch 0:4.18.12-1.el7
>>  Complete!
>>
>>  12.09.2016, 10:47, "Martin Perina" :
>>>  Hi Aleksey,
>>>
>>>  the error message is raised by Host upgrade manager (more info at [1]) 
>>> which checks for available package upgrades on the host.
>>>
>>>  It seems that you have somehow corrupted repository configuration of the 
>>> host 'kom-ad01-vm31.holding.com':
>>>
>>>  2016-09-12 02:00:13,300 ERROR 
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
>>> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
>>> base/7/x86_64
>>>  2016-09-12 02:00:13,304 ERROR 
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed 
>>> to execute stage 'Environment packages setup': Cannot find a valid baseurl 
>>> for repo: base/7/x86_64
>>>
>>>  Could you please verify that you are able to successfully execute 
>>> following commands on the host?
>>>
>>>    yum check-update
>>>    yum update vdsm vdsm-cli
>
> Can you please try also:
>
> yum install iproute
>
> And also share your /etc/yum.repos.d/* ?
>
> Thanks.
>
>>>  Thanks
>>>
>>>  Martin Perina
>>>
>>>  [1] 
>>> http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/
>>>
>>>  On Mon, Sep 12, 2016 at 9:20 AM,  wrote:
  Hello oVirt guru`s!

  oVirt Engine Version: 4.0.1.1-1.el7.centos

  Every day there is a message in web UI for one of my two hosts:

  "Failed to check for available updates on host KOM-AD01-VM31 with message 
 'Command returned failure code 1 during SSH session 'root@

  kom-ad01-vm31.holding.com''.

  In /var/log/ovirt-engine/engine.log at this time:

  ...
  2016-09-12 01:59:45,045 INFO 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
 Initializing
  2016-09-12 01:59:45,055 INFO 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
 Environment setup
  2016-09-12 01:59:45,070 INFO 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
 Environment packages setup

  2016-09-12 02:00:13,300 ERROR 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
 Cannot queue package iproute: Cannot find a valid baseurl for repo: 
 base/7/x86_64
  2016-09-12 02:00:13,304 ERROR 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed 
 to execute stage 'Environment packages setup': Cannot find a valid baseurl 
 for repo: base/7/x86_64
  2016-09-12 02:00:13,304 INFO 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
 Performing yum transaction rollback
  2016-09-12 02:00:13,368 INFO 
 [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
 Pre-termination
  2016-09-12 02:00:13,388 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread Yedidyah Bar David
On Mon, Sep 12, 2016 at 10:59 AM,   wrote:
> Hi, Martin.
>
> The command is executed successfully:
>
> Updated:
>   vdsm.x86_64 0:4.18.12-1.el7
> vdsm-cli.noarch 0:4.18.12-1.el7
> Dependency Updated:
>   vdsm-api.noarch 0:4.18.12-1.el7   vdsm-hook-vmfex-dev.noarch 
> 0:4.18.12-1.el7 vdsm-infra.noarch 0:4.18.12-1.el7
>   vdsm-jsonrpc.noarch 0:4.18.12-1.el7   vdsm-python.noarch 
> 0:4.18.12-1.el7 vdsm-xmlrpc.noarch 0:4.18.12-1.el7
>   vdsm-yajsonrpc.noarch 0:4.18.12-1.el7
> Complete!
>
> 12.09.2016, 10:47, "Martin Perina" :
>> Hi Aleksey,
>>
>> the error message is raised by Host upgrade manager (more info at [1]) which 
>> checks for available package upgrades on the host.
>>
>> It seems that you have somehow corrupted repository configuration of the 
>> host 'kom-ad01-vm31.holding.com':
>>
>> 2016-09-12 02:00:13,300 ERROR 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
>> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
>> base/7/x86_64
>> 2016-09-12 02:00:13,304 ERROR 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed 
>> to execute stage 'Environment packages setup': Cannot find a valid baseurl 
>> for repo: base/7/x86_64
>>
>> Could you please verify that you are able to successfully execute following 
>> commands on the host?
>>
>>   yum check-update
>>   yum update vdsm vdsm-cli

Can you please try also:

yum install iproute

And also share your /etc/yum.repos.d/* ?

Thanks.

>>
>> Thanks
>>
>> Martin Perina
>>
>> [1] 
>> http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/
>>
>> On Mon, Sep 12, 2016 at 9:20 AM,  wrote:
>>> Hello oVirt guru`s!
>>>
>>> oVirt Engine Version: 4.0.1.1-1.el7.centos
>>>
>>> Every day there is a message in web UI for one of my two hosts:
>>>
>>> "Failed to check for available updates on host KOM-AD01-VM31 with message 
>>> 'Command returned failure code 1 during SSH session 'root@
>>>
>>> kom-ad01-vm31.holding.com''.
>>>
>>> In /var/log/ovirt-engine/engine.log at this time:
>>>
>>> ...
>>> 2016-09-12 01:59:45,045 INFO  
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>>> Initializing
>>> 2016-09-12 01:59:45,055 INFO  
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>>> Environment setup
>>> 2016-09-12 01:59:45,070 INFO  
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>>> Environment packages setup
>>>
>>> 2016-09-12 02:00:13,300 ERROR 
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
>>> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
>>> base/7/x86_64
>>> 2016-09-12 02:00:13,304 ERROR 
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed 
>>> to execute stage 'Environment packages setup': Cannot find a valid baseurl 
>>> for repo: base/7/x86_64
>>> 2016-09-12 02:00:13,304 INFO  
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
>>> Performing yum transaction rollback
>>> 2016-09-12 02:00:13,368 INFO  
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>>> Pre-termination
>>> 2016-09-12 02:00:13,388 INFO  
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>>> Retrieving installation logs to: 
>>> '/var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.l$
>>> 2016-09-12 02:00:13,459 INFO  
>>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>>> Termination
>>> 2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] 
>>> (DefaultQuartzScheduler5) [] SSH error running command 
>>> r...@kom-ad01-vm31.holding.com:'umask 0077; 
>>> MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; 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-mgmt DIALOG/dialect=str:machine 
>>> DIALOG/customization=bool:True': Command returned failure code 1 during SSH 
>>> session 'r...@kom-ad01-vm31.holding.com'
>>>
>>> 2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] 
>>> (DefaultQuartzScheduler5) [] Exception: java.io.IOException: Command 
>>> returned failure code 1 during SSH session 'r...@kom-ad01-vm31.holding.com'
>>> 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 
>>> 

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread aleksey . maksimov
Hi, Martin.

The command is executed successfully:

Updated:
  vdsm.x86_64 0:4.18.12-1.el7    
vdsm-cli.noarch 0:4.18.12-1.el7
Dependency Updated:
  vdsm-api.noarch 0:4.18.12-1.el7   vdsm-hook-vmfex-dev.noarch 
0:4.18.12-1.el7 vdsm-infra.noarch 0:4.18.12-1.el7
  vdsm-jsonrpc.noarch 0:4.18.12-1.el7   vdsm-python.noarch 0:4.18.12-1.el7  
   vdsm-xmlrpc.noarch 0:4.18.12-1.el7
  vdsm-yajsonrpc.noarch 0:4.18.12-1.el7
Complete!

12.09.2016, 10:47, "Martin Perina" :
> Hi Aleksey,
>
> the error message is raised by Host upgrade manager (more info at [1]) which 
> checks for available package upgrades on the host.
>
> It seems that you have somehow corrupted repository configuration of the host 
> '​kom-ad01-vm31.holding.com':
>
> ​2016-09-12 02:00:13,300 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
> base/7/x86_64
> 2016-09-12 02:00:13,304 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed to 
> execute stage 'Environment packages setup': Cannot find a valid baseurl for 
> repo: base/7/x86_64
>
> Could you please verify that you are able to successfully execute following 
> commands on the host?
>
>   yum check-update
>   yum update vdsm vdsm-cli
>
> Thanks
>
> Martin Perina
>
> [1] 
> http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/
>
> On Mon, Sep 12, 2016 at 9:20 AM,  wrote:
>> Hello oVirt guru`s!
>>
>> oVirt Engine Version: 4.0.1.1-1.el7.centos
>>
>> Every day there is a message in web UI for one of my two hosts:
>>
>> "Failed to check for available updates on host KOM-AD01-VM31 with message 
>> 'Command returned failure code 1 during SSH session 'root@
>> ​​
>> kom-ad01-vm31.holding.com''.
>>
>> In /var/log/ovirt-engine/engine.log at this time:
>>
>> ...
>> 2016-09-12 01:59:45,045 INFO  
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>> Initializing
>> 2016-09-12 01:59:45,055 INFO  
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>> Environment setup
>> 2016-09-12 01:59:45,070 INFO  
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>> Environment packages setup
>> ​​
>> 2016-09-12 02:00:13,300 ERROR 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
>> Cannot queue package iproute: Cannot find a valid baseurl for repo: 
>> base/7/x86_64
>> 2016-09-12 02:00:13,304 ERROR 
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Failed 
>> to execute stage 'Environment packages setup': Cannot find a valid baseurl 
>> for repo: base/7/x86_64
>> 2016-09-12 02:00:13,304 INFO  
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Yum 
>> Performing yum transaction rollback
>> 2016-09-12 02:00:13,368 INFO  
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>> Pre-termination
>> 2016-09-12 02:00:13,388 INFO  
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] 
>> Retrieving installation logs to: 
>> '/var/log/ovirt-engine/host-deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.l$
>> 2016-09-12 02:00:13,459 INFO  
>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [] Stage: 
>> Termination
>> 2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] 
>> (DefaultQuartzScheduler5) [] SSH error running command 
>> r...@kom-ad01-vm31.holding.com:'umask 0077; 
>> MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; 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-mgmt DIALOG/dialect=str:machine 
>> DIALOG/customization=bool:True': Command returned failure code 1 during SSH 
>> session 'r...@kom-ad01-vm31.holding.com'
>>
>> 2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] 
>> (DefaultQuartzScheduler5) [] Exception: java.io.IOException: Command 
>> returned failure code 1 during SSH session 'r...@kom-ad01-vm31.holding.com'
>>         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.host.HostUpgradeManager.isUpdateAvailable(HostUpgradeManager.java:44)
>>  [bll.jar:]
>>         at 
>> org.ovirt.engine.core.bll.host.AvailableUpdatesFinder.isUpdateAvailable(AvailableUpdatesFinder.java:26)
>>  [bll.jar:]
>>         at 
>> org.ovirt.engine.core.bll.VdsEventListener.isUpdateAvailable(VdsEventListener.java:553)
>>  [bll.jar:]
>>    

Re: [ovirt-users] Failed to check for available updates on host * with message 'Command returned failure code 1 during SSH session 'root@*

2016-09-12 Thread Martin Perina
Hi Aleksey,

the error message is raised by Host upgrade manager (more info at [1])
which checks for available package upgrades on the host.

It seems that you have somehow corrupted repository configuration of the
host '​kom-ad01-vm31.holding.com':

​2016-09-12 02:00:13,300 ERROR
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
(VdsDeploy) [] Yum Cannot queue package iproute: Cannot find a valid
baseurl for repo: base/7/x86_64
2016-09-12 02:00:13,304 ERROR
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
(VdsDeploy) [] Failed to execute stage 'Environment packages setup': Cannot
find a valid baseurl for repo: base/7/x86_64

Could you please verify that you are able to successfully execute following
commands on the host?

  yum check-update
  yum update vdsm vdsm-cli


Thanks

Martin Perina

[1]
http://www.ovirt.org/develop/release-management/features/engine/upgrademanager/


On Mon, Sep 12, 2016 at 9:20 AM,  wrote:

> Hello oVirt guru`s!
>
> oVirt Engine Version: 4.0.1.1-1.el7.centos
>
> Every day there is a message in web UI for one of my two hosts:
>
> "Failed to check for available updates on host KOM-AD01-VM31 with message
> 'Command returned failure code 1 during SSH session 'root@
> ​​
> kom-ad01-vm31.holding.com ''.
>
> In /var/log/ovirt-engine/engine.log at this time:
>
> ...
> 2016-09-12 01:59:45,045 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Stage: Initializing
> 2016-09-12 01:59:45,055 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Stage: Environment setup
> 2016-09-12 01:59:45,070 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Stage: Environment packages setup
> ​​
> 2016-09-12 02:00:13,300 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Yum Cannot queue package iproute: Cannot find a valid
> baseurl for repo: base/7/x86_64
> 2016-09-12 02:00:13,304 ERROR 
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Failed to execute stage 'Environment packages setup': Cannot
> find a valid baseurl for repo: base/7/x86_64
> 2016-09-12 02:00:13,304 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Yum Performing yum transaction rollback
> 2016-09-12 02:00:13,368 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Stage: Pre-termination
> 2016-09-12 02:00:13,388 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Retrieving installation logs to: '/var/log/ovirt-engine/host-
> deploy/ovirt-host-mgmt-20160912020013-kom-ad01-vm31.holding.com-null.l$
> 2016-09-12 02:00:13,459 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase]
> (VdsDeploy) [] Stage: Termination
> 2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (DefaultQuartzScheduler5) [] SSH error running command
> r...@kom-ad01-vm31.holding.com:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}"
> mktemp -d -t ovirt-XX)"; 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-mgmt
> DIALOG/dialect=str:machine DIALOG/customization=bool:True': Command
> returned failure code 1 during SSH session 'r...@kom-ad01-vm31.holding.com
> '
>
> 2016-09-12 02:00:13,506 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
> (DefaultQuartzScheduler5) [] Exception: java.io.IOException: Command
> returned failure code 1 during SSH session 'r...@kom-ad01-vm31.holding.com
> '
> 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.host.HostUpgradeManager.
> isUpdateAvailable(HostUpgradeManager.java:44) [bll.jar:]
> at org.ovirt.engine.core.bll.host.AvailableUpdatesFinder.
> isUpdateAvailable(AvailableUpdatesFinder.java:26) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.VdsEventListener.isUpdateAvailable(VdsEventListener.java:553)
> [bll.jar:]
> at org.ovirt.engine.core.vdsbroker.ResourceManager.
> isUpdateAvailable(ResourceManager.java:510) [vdsbroker.jar:]
> at org.ovirt.engine.core.vdsbroker.VdsManager.
> availableUpdates(VdsManager.java:306) [vdsbroker.jar:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [rt.jar:1.8.0_101]
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_101]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_101]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_101]
> at 
>