HA-Master Setup errors with director-global zone

Hey there,

I’ve createt a HA-Envorinment with 2 masters on Ubuntu 20.04. Now I’m stuck, because the sync doesn’t work as it should.

I’ve already asked similar questions in another topic, but it started slipping away from the original question there, so I decided to start anew.

So the hosts I created on master 1 are visible in the overview of master 2, and they get synced whenever I deploy on Master 1. But in the Director of Master 2, I can’t see these hosts or any other config I did on master 1. But when Master 1 gets down, on Master 2 takes over the checks and continues doing it. But I can’t change the configs in the Director, because I can’t see them…

I already figured out that the sync of the director-zone “drector-global” doesn’t deploy with some error messages and for some reason, it thinks that the new deployment is similarto the last one:

[2021-06-15 08:17:51 +0200] information/ApiListener: Ignoring config update from endpoint 'srvv33' for zone 'director-global' because we have an authoritative version of the zone's config.
[2021-06-15 08:17:51 +0200] information/ApiListener: Received configuration updates (1) from endpoint 'srvv33' are equal to production, skipping validation and reload.

To the first error message: I do know about the .authoritative file, and indeed it does exist on Master 2. But when I delete it and deploy something on Master 1, it gets created again. Any suggestions for me, or a hint to wrong configured files?

My zones.conf on Master 1

object Endpoint "srvv33" {
        host = "10.0.1.133"
}

object Endpoint "srvp32" {
        host = "10.0.1.132" // actively connect to the secondary master
}

object Zone "master" {
        endpoints = [ "srvv33", "srvp32"]
}

object Zone "global-templates" {
        global = true
}

object Zone "director-global" {
        global = true
}

My zones.conf on Master 2

object Endpoint "srvv33" {
        host = "10.0.1.133"
        port = "5665"
}

object Zone "master" {
        endpoints = [ "srvv33", "srvp32" ]
}

object Endpoint "srvp32" {
        host = "10.0.1.132"
}

object Zone "global-templates" {
        global = true
}

object Zone "director-global" {
        global = true
}

My api.conf on both Masters

object ApiListener "api" {
  accept_config = true
  accept_commands = true
  ticket_salt = TicketSalt
}

I also set the HA-feature to “false” in both hosts, because I’m using 2 different DB’s.

Greetings

NOTE: I just inspected one of the hosts on Master 2, and this comes up:

The configuration for this object has not been rendered by Icinga Director. You can find it on line 15 in /var/lib/icinga2/api/zones/master/director/hosts.conf.

Does anyone have a hint for me? Or are you missing some technical informations or better explanations of my setup?