# Configs fails to syschronize from zones-stage to satellite zones

**URL:** <https://community.icinga.com/t/configs-fails-to-syschronize-from-zones-stage-to-satellite-zones/12884>\
**Category:** Icinga 2\
**Created:** [November 11, 2023, 1:57am UTC](https://community.icinga.com/t/configs-fails-to-syschronize-from-zones-stage-to-satellite-zones/12884 "2023-11-11T01:57:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuocle](https://community.icinga.com/letter_avatar_proxy/v4/letter/p/a183cd/32.png) [@phuocle](https://community.icinga.com/u/phuocle)\
**Post date:** [November 11, 2023, 1:57am UTC](https://community.icinga.com/t/configs-fails-to-syschronize-from-zones-stage-to-satellite-zones/12884/1 "2023-11-11T01:57:49Z")

</div>

Hi all,  
The Icinga2 version on the master is r2.14.0-1, and the version on the satellite is r2.11.2-1. I am experiencing a problem with my Icinga2 server; the configurations from the master won’t synchronize to the satellite anymore due to the error below. The system worked fine for a few months, but when I attempted to add another satellite to the system, I noticed that the configurations wouldn’t synchronize to the satellite.

Can you provide me with a hint on how to fix this error, please?  
Note the hosts was run on the master use the same template and are fine!

Error.  
[2023-11-10 16:51:29 -0600] critical/config: Error: Argument is not a callable object.  
Location: in /var/lib/icinga2/api/zones-stage//wi-madison-imms/director/host\_templates.conf: 1:6-1:45  
/var/lib/icinga2/api/zones-stage//wi-madison-imms/director/host\_templates.conf(1): if (! get\_template(Host, “ga-camera-template”)) { template Host “ga-camera-template” {  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
/var/lib/icinga2/api/zones-stage//wi-madison-imms/director/host\_templates.conf(2): import “camera\_template”  
/var/lib/icinga2/api/zones-stage//wi-madison-imms/director/host\_templates.conf(3): import “dummy\_template”

[2023-11-10 16:51:29 -0600] critical/cli: Config validation failed. Re-run with ‘icinga2 daemon -C’ after fixing the config.

root@imms2-ird-relay:/var/lib/icinga2# tail -f /var/log/icinga2/icinga2.log  
[2023-11-10 16:51:28 -0600] information/ApiListener: Received configuration updates (11) from endpoint ‘imms2’ are different to production, triggering validation and reload.  
[2023-11-10 16:51:29 -0600] critical/ApiListener: Config validation failed for staged cluster config sync in ‘/var/lib/icinga2/api/zones-stage/’. Aborting. Logs: ’

---

<div class="post-metadata">

**Author:** ![rsx](https://community.icinga.com/user_avatar/community.icinga.com/rsx/32/2094_2.png) [@rsx](https://community.icinga.com/u/rsx)\
**Post date:** [November 12, 2023, 10:28am UTC](https://community.icinga.com/t/configs-fails-to-syschronize-from-zones-stage-to-satellite-zones/12884/2 "2023-11-12T10:28:33Z")

</div>

You’re running an unsupported setup, please check version restrictions [here](https://icinga.com/docs/icinga-2/latest/doc/06-distributed-monitoring/#versions-and-upgrade).

---

<div class="post-metadata">

**Author:** ![lorenz](https://community.icinga.com/user_avatar/community.icinga.com/lorenz/32/7666_2.png) [@lorenz](https://community.icinga.com/u/lorenz)\
**Post date:** [November 12, 2023, 1:14pm UTC](https://community.icinga.com/t/configs-fails-to-syschronize-from-zones-stage-to-satellite-zones/12884/3 "2023-11-12T13:14:14Z")

</div>

`get_template` was introduced in version 2.12.0. You should probably upgrade your satellites.

---

<div class="post-metadata">

**Author:** ![phuocle](https://community.icinga.com/letter_avatar_proxy/v4/letter/p/a183cd/32.png) [@phuocle](https://community.icinga.com/u/phuocle)\
**Post date:** [November 13, 2023, 3:14pm UTC](https://community.icinga.com/t/configs-fails-to-syschronize-from-zones-stage-to-satellite-zones/12884/4 "2023-11-13T15:14:02Z")

</div>

Thank you @rsx and @lorenz, i updated satellites to R2.14.0-1 same version with master. it works
