Skip to content
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

Jobs schedules are not ran ("icingacli x509 jobs run" is stalled) #246

Open
necarnot opened this issue Oct 8, 2024 · 0 comments
Open

Jobs schedules are not ran ("icingacli x509 jobs run" is stalled) #246

necarnot opened this issue Oct 8, 2024 · 0 comments

Comments

@necarnot
Copy link

necarnot commented Oct 8, 2024

All is working well (setup, scans, integration with Director), except that jobs run is doing nothing.

  1. "icingacli x509 jobs run" command is launched, either manually, either via /etc/systemd/system/icinga-x509.service
  2. When launching it manually, the command never ends and is getting stuck.
  3. Yet I see that the schedules have been ran (the web gui is showing the dates of the recent retries I made)
  4. this behaviour is preventing us to keep this command in a systemd service that keeps failing silently.

Expected behavior

This command should succeed or fail, but at least tell us something.

I also would love to know in which additional log files I could check things. I tried to enable icinga2 debug mode and look at the log files, which I usually do for other icinga debug matters, but here, to no avail.

Screenshots

Here is a sample :

root@xxxxx:~# icingacli x509 jobs run --verbose --debug
Scheduling sched_10.32.0.0 of job 10.32.0.0 to run at 2024-10-08 11:21:09
Scheduling sched_10.32.11.0 of job 10.32.11.0 to run at 2024-10-08 11:22:58
Scheduling sched_10.100.1.0 of job 10.100.1.0 to run at 2024-10-08 11:23:58
Scheduling sched_10.32.255.0 of job 10.32.255.0 to run at 2024-10-08 11:24:35

[... never ending nor writing anything more]

Here, I have to ctrl-C it to interrupt it.

Your Environment

Icinga Web 2 Version 2.12.1
director 1.11.1
icingadb 1.1.3
x509 1.3.2

  • Icinga Web 2 version and modules (System - About): 2.12.1
  • Web browser used: Firefox 130.0.1
  • Icinga 2 version used (icinga2 --version): r2.14.2-1
  • PHP version used (php --version): 7.4.33
  • Server operating system and version: Debian 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant