Zones from zones.conf missing in director

Hello!

Im trying to deploy hosts via Director.
While trying to create a new host via Director on master1 (sdc03123) i am getting the following error:

[2021-02-19 09:55:50 +0100] critical/config: Error: Validation failed for object 'test_host' of type 'Host'; Attribute 'zone': Object 'sdc03123.my.domain.com' of type 'Zone' does not exist.
Location: in [stage]/zones.d/sdc03123.my.domain.com/hosts.conf: 1:0-1:22
[stage]/zones.d/sdc03123.my.domain.com/hosts.conf(1): object Host "test_host" {
                                                           ^^^^^^^^^^^^^^^^^^^^^^^
[stage]/zones.d/sdc03123.my.domain.com/hosts.conf(2):     import "test"
[stage]/zones.d/sdc03123.my.domain.com/hosts.conf(3): 

I’ve noticed that my Master Zone configured in zones.conf in missing in Director.


Info:
Icinga2 Setup

Master1 (sdc03123) zones.conf:

/*
 * Generated by Icinga 2 node setup commands
 * on 2021-02-19 08:38:22 +0100
 */

object Endpoint "sdc03123.my.domain.com" {
}

object Endpoint "sdc03124.my.domain.com" {
       host = "192.168.0.218"
}

object Zone "master" {
        endpoints = [ "sdc03123.my.domain.com", "sdc03124.my.domain.com" ]
}

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

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

Master2 (sdc03124) Zones.conf:

/*
 * Generated by Icinga 2 node setup commands
 * on 2021-02-19 08:50:41 +0100
 */

object Endpoint "sdc03123.my.domain.com" {
}

object Endpoint "sdc03124.my.domain.com" {
}

object Zone "master" {
        endpoints = [ "sdc03123.my.domain.com", "sdc03124.my.domain.com" ]
}

/*
object Zone "sdc03124.my.domain.com" {
        endpoints = [ "sdc03124.my.domain.com" ]
        parent = "master"
}

 * from node wizard sattelite setup
 */


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

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

Help would be greatly appreciated!

To have zones (or any config from configuration files) imported into the Director you need to run the Kickstart wizard.
Either from the CLI or the webinterface
image

Thank you!
After runnning the kickstart wizard again everything is working as expected.