Skip to content

Satellite sync failure #9752

@ymartin-ovh

Description

@ymartin-ovh

Hello

When starting a new icinga2 instance inside a zone, icinga2 fails to start because config validation fails:
group in hosts are missing.

Looking on satellite filesystem (/var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d):

  • hosts/*.conf are present as expected
  • hostgroups/*.conf are absent (config exists on both masters).

I expect that icinga satellites load package" and hostgroups before hosts.

To fix this, I do:

  • systemctl stop icinga2
  • rm -f /var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d/hosts/*.conf
  • chattr +i /var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d/hosts
  • systemctl start icinga2

When hostgroups config is sync:

  • systemctl stop icinga2
  • chattr -i /var/lib/icinga2/api/packages/_api/bdd5cdff-6e46-4795-a2cf-64ef56d3b397/conf.d/hosts
  • systemctl start icinga2

I didn't experience this before icinga2 2.13.7-1+debian11

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/distributedDistributed monitoring (master, satellites, clients)bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions