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

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Sep 13 19:25:37 UTC 2016


On Tue, Sep 13, 2016 at 10:59 AM, <aleksey.maksimov at it-kb.ru> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160913/bb452e06/attachment-0001.html>


More information about the Users mailing list