Icinga / icingaweb2-module-director

The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
https://icinga.com/docs/director/latest
GNU General Public License v2.0
413 stars 202 forks source link

Director Job service should survive "MySQL server has gone away" #807

Closed Thomas-Gelf closed 5 years ago

Thomas-Gelf commented 7 years ago

Currently it keeps failing

tobiasvdk commented 7 years ago

Related to #438.

Philipp4292 commented 5 years ago

When running an Import Run on the director on a database with 6044 rows it works fine. When adding one more entry I get:

Storing importsource[ITIL DB] failed: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away....

Related?

image

Using Icinga2 2.11.0-1 Using Director 1.7.0 Using Web2 2.7.1 Using MariaDB 5.5.64

Thomas-Gelf commented 5 years ago

@Cuvo: thanks for pointing me to this issue. It should have been closed a while ago, as with v1.7 we easily survive the above scenario.

Your problem is not related to this. 6000 rows are no problem at all, you might want to check you DB server's log - eventually you hit a limit like max_allowed_packet. In case this doesn't help please open a dedicated issue, we'll then dig deeper.

Cheers, Thomas