Icinga2 director loop

your service template tries to import itself.
you can fix that by reverting steps in the activity log or fixing the database manually