Bug 1009990

Summary: [AIO] Host does not resolve on NON loopback if ipv6 address is resolved at DNS
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Stehlik <pstehlik>
Component: ovirt-engine-setupAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, alonbl, bazulay, iheim, oschreib, Rhev-m-bugs, scohen, strzol, yeylon
Target Milestone: ---Keywords: Regression, TestBlocker, Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: is26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1007418, 1044030    
Attachments:
Description Flags
log
none
setup log 3.3.1 on CentOS 6.4 none

Description Pavel Stehlik 2013-09-19 16:14:57 UTC
Created attachment 800035 [details]
log

Description of problem:
There is similar bz#928667 [AIO] Make sure host does not resolve to loopback

This case is preventing AIO installation on NON loopback:
Host fully qualified DNS name of this server [srv-02.rhev.lab.eng.brq.redhat.com]: 
[ ERROR ] Host name is not valid: The following addreses: 10.34.63.205 can't be mapped to non loopback devices on this host

It's IP of eth0 not loopback.


Version-Release number of selected component (if applicable):
is15

How reproducible:
100%

Steps to Reproduce:
1. yum install rhevm rhevm-setup-plugin-allinone
2. rhevm-setup (install AIO)
3.

Actual results:
Tried few workarounds, but didn't succeed.

Expected results:


Additional info:

Comment 1 Yedidyah Bar David 2013-09-23 10:39:17 UTC
It's a bug in the fix for BZ #1004582 .

Comment 2 sefi litmanovich 2013-10-09 12:18:34 UTC
Verified on RHEL 6.5, RHEVM 3.3 is17.
rhevm-setup-plugin-allinone-3.3.0-0.21.master.el6ev.noarch
rhevm-3.3.0-0.24.master.el6ev.noarch

Comment 3 Stratos Zolotas 2013-10-21 13:44:53 UTC
Is there a fix for this one, or we have to wait for the next release? I'm experiencing this on a fresh CentoOS 6.4 install.

Thanks.

Comment 4 Yedidyah Bar David 2013-10-21 16:33:37 UTC
(In reply to Stratos Zolotas from comment #3)
> Is there a fix for this one, or we have to wait for the next release? I'm
> experiencing this on a fresh CentoOS 6.4 install.

There is a fix here:
http://gerrit.ovirt.org/19458

It will be included in 3.3.1.

> 
> Thanks.

Best,
-- 
Didi

Comment 5 Stratos Zolotas 2013-10-21 16:38:01 UTC
Thanks for the answer.

Is there any estimate for the 3.3.1 release? (Or a roadmap somewhere).

Comment 7 Itamar Heim 2013-10-22 06:23:28 UTC
ovirt 3.3.1 beta is out for testing. a refresh of the beta is expected any day. release is expected by end of the month (depending on more blockers found)
http://www.ovirt.org/OVirt_3.3.1_release_notes

Comment 8 Stratos Zolotas 2013-11-25 18:27:11 UTC
I'm still experiencing this on CentOS 6.4 with ovirt 3.3.1 (just upgraded).

[ ERROR ] Host name is not valid: The following addreses: 2a01:4f8:161:1482::2 5.9.32.143 can't be mapped to non loopback devices on this host

The host has IPv6 also.

I can provide more info, if that helps.

Installed Packages
Name        : ovirt-engine-setup
Arch        : noarch
Version     : 3.3.1
Release     : 2.el6
Size        : 992 k
Repo        : installed
From repo   : ovirt-stable
Summary     : Setup and upgrade scripts for oVirt Engine
URL         : http://www.ovirt.org
License     : ASL 2.0
Description : Setup and upgrade scripts for oVirt Engine

Comment 9 Alon Bar-Lev 2013-11-25 18:30:48 UTC
(In reply to Stratos Zolotas from comment #8)
> I'm still experiencing this on CentOS 6.4 with ovirt 3.3.1 (just upgraded).

Can you please attach the setup log?

Comment 10 Stratos Zolotas 2013-11-25 18:33:15 UTC
I'm doing a clean install and will update with the log or successful news.

Thanks.

Comment 11 Stratos Zolotas 2013-11-25 18:53:46 UTC
Created attachment 828815 [details]
setup log 3.3.1 on CentOS 6.4

I have attached my setup log.

Thanks in advance.

Comment 12 Alon Bar-Lev 2013-11-25 19:06:06 UTC
The following code does not filter out ipv6 addresses, causing the detection algorithm to break.

packaging/setup/plugins/ovirt-engine-setup/config/hostname.py
---
            resolvedAddresses = set([
                address[0] for __, __, __, __, address in
                socket.getaddrinfo(
                    fqdn,
                    None
                )
            ])
---

Comment 13 sefi litmanovich 2013-12-16 13:07:28 UTC
Verified on RHEVM 3.3 IS27, rhevm-setup-plugin-allinone-3.3.0-0.40.rc.el6ev.noarch

Comment 14 Itamar Heim 2014-01-21 22:21:54 UTC
Closing - RHEV 3.3 Released

Comment 15 Itamar Heim 2014-01-21 22:27:09 UTC
Closing - RHEV 3.3 Released