You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2020. It is now read-only.
If using a remote db host, the role sets delegated_db_host and uses this later to install create.sql.gz. The problem is that create.sql.gz exists on the Zabbix host, not on the remote db host.
TASK [zabbix-server : MySQL | Create database and import file >= 3.0] ***********************************************************************
fatal: [zabbix -> support.scl01.filon.tech]: FAILED! => {"changed": false, "msg": "target /usr/share/doc/zabbix-server-mysql/create.sql.gz does not exist on the host"}
This change will retrieve the file used to initialize the database and then copy it to the `delegated_dbhost` before loading it. it intentionally does not remove the file afterward, in case something goes wrong and the file needs to be re-imported. it also only executes for the series of conditions around zabbix `>=3.0` and was only tested on Ubuntu.
it resolvesdj-wasabi#96.
Describe the bug
If using a remote db host, the role sets
delegated_db_host
and uses this later to installcreate.sql.gz
. The problem is thatcreate.sql.gz
exists on the Zabbix host, not on the remote db host.Installation method/version
Ansible Version
Targetted hosts
Concerns the following OS(es):
Expected behavior
The database should have been installed.
Additional context
I'm working on a resolution and will submit a PR if it works.
The text was updated successfully, but these errors were encountered: