On May 23, Jan Kowalsky wrote:
I get reproducible the following error on service/icinga_web
/usr/local/src/icinga_web/github.com/Icinga/icingaweb2-module-director/library/Director/KickstartHelper.php:348
with message: I found no Endpoint object called \"erdmaennchen\" on
erdmaennchen:5665", "stdout_lines": ["ERROR:
I checkt already fqdn. It's all fine.
Is it? What is 'erdmaennchen', the host on which you are deploying Icinga
Director? I would think that it would be a fully qualified domain name, with
some kind of domain. It's important, because Icinga uses TLS to communicate
with the clients, which means X.509 certificates, which means FQDNs used as
common names. The 'debops.icinga*' set of roles is geared towards usage with
'debops.pki', which means that a working DNS setup is required.
So, I would look at DNS, both on the Ansible Controller and on the remote
host. Do both hosts see the same results when you query the hostname and FQDN
of that host? What do you get when you run 'hostname --fqdn' or
'dnsdomainname' on the remote host?
You should then check if the generated X.509 certificates used for Icinga have
the correct common names, most likely with wildcard domain. You can do this
with the command:
openssl x509 -in /etc/pki/realms/domain/default.crt -text
Let me know what you found out. If nothing helped, we could arrange a session
via remote desktop setup so that I could look around.
Good luck,
Maciej