Bug 1015008 - rhevm-manage-domains -action=add fail completely with only IPv6 DNS servers in /etc/resolv.conf
Summary: rhevm-manage-domains -action=add fail completely with only IPv6 DNS servers i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-config
Version: 3.2.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 3.4.0
Assignee: Ravi Nori
QA Contact: Petr Beňas
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-03 09:52 UTC by Petter Reinholdtsen
Modified: 2016-02-10 19:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
RedHat Enterprise Linux 6 and RHEV 3.2.
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petter Reinholdtsen 2013-10-03 09:52:47 UTC
I was unable to find the RHEV module in bugzilla, so I try to report it here.  Please reassign if it is the wrong bug metadata.

Description of problem:

I discovered this problem when trying to use RHEV in an IPv6 only environment.  The RHEV master maskine was set up with IPv4 and IPv6 addresses, and its /etc/resolv.conf was pointing to the networks DNS servers, with only IPV6 addresses listed.

When calling

  rhevm-manage-domains -action=add -domain=internal.network.no -provider=activeDirectory -user=rhevad -interactive

The program would fail with the message "No KDC can be obtained for domain internal.network.no".  The cause was that the program have its own DNS resolver implementation reading /etc/resolv.conf, and this implementation do not understand IPv6 addresses in the nameserver lines in /etc/resolv.conf.

Please fix rhevm-manage-domains to handle IPv6 DNS servers (and the rest of RHEV too, of course), or at least give a more understanding error message
when the home made DNS resolver find nameserver lines it do not understand.

We managed to work around this problem by assigning IPv4 addresses to the DNS servers, and changing /etc/resolv.conf on the RHEVM machine to use these addresses.

Comment 1 Itamar Heim 2013-10-04 06:14:47 UTC
moving to rhev-m. i suggest also opening a support ticket with red hat

Comment 3 Ravi Nori 2014-01-14 17:24:01 UTC
Enclosing the resolve.conf ipv6 address in square brackets seems to do the trick.

Instead of 

fd79:1065:ac3e:0:3e97:eff:fe14:c386

I tried the below and rhevm-manage-domains worked fine

[fd79:1065:ac3e:0:3e97:eff:fe14:c386]

The code that reads the resolv.conf file is in JDK and looks like there could be an issue there.

Comment 4 Eli Mesika 2014-03-03 14:27:34 UTC
moved to on QA please test with instructions from comment 3

Comment 6 Itamar Heim 2014-06-12 14:09:44 UTC
Closing as part of 3.4.0


Note You need to log in before you can comment on or make changes to this bug.