Skip to content

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

Open
@necarnot

Description

@necarnot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions