Comment # 15 on bug 1189868 from
https://github.com/389ds/389-ds-base/pull/4960

I've put in a fix to the error message here, but we can't actually do much else
beside be clearer about whats going on.

The issue is that susetest machines in openqa seem to have an invalid hostname
that doesn't resolve to localhost:

susetest:~/test # cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1    localhost
# fallback hostname used by NetworkManager
127.0.0.1    localhost.localdomain

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts


due to this when lib389 is trying to determine if the instance status can be
retrieved, we look if the named instance is local or not. To determine this we
use a number of factors, but one is the hostname matching to a local ip on the
machine. 

In this case, we likely need to add to /etc/hosts:

127.0.0.1    susetest

Which would resolve this detection issue.


You are receiving this mail because: