-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running playbook to install and configure zabbix agent causes system corruption #1365
Comments
Would ask you to rerun and increase verbosity using -vvv |
Attached is the verbose log (It only gave me the option for -vvvv in Semaphore) |
I'm inclined to agree with @AlexPykavy had their comment in #1366 based on this output that gets garbled up in the end:
What I don't understand though is why it's doing that because your vars at the top don't show you changing the |
OK try updating to 3.1.1 release and run it again. Let us know what happens. Will leave this open for a few days. |
Updated to 3.1.1 - and that seems to have fixed the corruption issue! Wikijs and the system/user login still work after running the playbook. All good! (Edited.... I had made a silly mistake in my playbook) Great job! |
SUMMARY
Deploying Zabbix agent (1) on Debian 12 machine causes system/user corruption, where the user can no longer login (error displayed on console is "Unable to cd to '/home/josh" and permissions on the home directory seem ok. My wiki software also breaks and displays "Internal Server Error". Odd warning was presented during playbook run:
10:47:52 AM TASK [community.zabbix.zabbix_agent : Create include dirs zabbix-agent] ******** 10:47:53 AM [WARNING]: Module invocation had junk after the JSON data: /bin/sh: 1: sleep: 10:47:53 AM Permission denied 10:47:54 AM fatal: [home1wikijs]: FAILED! => {"msg": "Failed to connect to the host via ssh: josh@home1wikijs: Permission denied (publickey,password)."}
ISSUE TYPE
COMPONENT NAME
community.zabbix.zabbix_agent
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT / Zabbix Version
I'm using Semaphore as a GUI, and it's running on the same machine as Ansible which are in an LXC running on a Proxmox VE host. Target OS is Debian 12 and it's also running on the same Proxmox VE node as an LXC.
STEPS TO REPRODUCE
Run playbook below towards a fairly stock Debian 12 machine (the debian 12 machine was updated from 11, not sure if that matters and is running WikiJS software on it for a wiki). Notice errors in the log and then try logging in via SSH or console to the user account that ansible uses.
EXPECTED RESULTS
I would expect Zabbix to be installed with no errors and my user account/system not corrupted.
ACTUAL RESULTS
I had to restore the LXC from backup twice as it this re-occured both times I ran it on the machine.
The text was updated successfully, but these errors were encountered: