I am trying to import LDAP groups and sync them to Icinga UserGroups.
When I run the sync rule which is supposed to create the object I get a weird error:
Exception while syncing Icinga\Module\Director\Objects\IcingaUserGroup IT-TEAM: Trying to get invalid property "assign_filter" (Sync.php:931)
#0 /data/extra-modules/icingaweb2-module-director/application/forms/SyncRunForm.php(56): Icinga\Module\Director\Import\Sync->apply()
#1 /usr/share/icinga-php/ipl/vendor/ipl/html/src/Form.php(224): Icinga\Module\Director\Forms\SyncRunForm->onSuccess()
#2 /data/extra-modules/icingaweb2-module-director/application/controllers/SyncruleController.php(69): ipl\Html\Form->handleRequest()
#3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Director\Controllers\SyncruleController->indexAction()
#4 /usr/share/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch()
#6 /usr/share/icingaweb2/library/Icinga/Application/Web.php(290): Zend_Controller_Front->dispatch()
#7 /usr/share/icingaweb2/library/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#8 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/icin...')
#9 {main}
The import is aborted, although the Preview looks good:
object UserGroup "IT-TEAM" {
display_name = "IT-TEAM"
}
I wouldn’t want any filters, where should I debug this further?
I am running on an extended Icinga Docker-playground.
- Director version: master (8896e54d69d6f8e8ad01a4663de64aa02172b74d)
- Icinga Web 2 version: 2.11.4
- Icinga 2 version: 2.14
Alex