Project

General

Profile

Bug #33511

dynflow workers started before redis

Added by Evgeni Golov 9 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

2021-09-17 11:29:01 [ERROR ] [configure] Systemd start for dynflow-sidekiq@worker-hosts-queue-1 failed!
2021-09-17 11:29:01 [ERROR ] [configure] journalctl log for dynflow-sidekiq@worker-hosts-queue-1:
2021-09-17 11:29:01 [ERROR ] [configure] -- Logs begin at Fri 2021-09-17 12:20:02 CEST, end at Fri 2021-09-17 12:46:43 CEST. --
2021-09-17 11:29:01 [ERROR ] [configure] Sep 17 11:28:45 monforpoc2 systemd[1]: Starting Foreman jobs daemon - worker-hosts-queue-1 on sidekiq...
2021-09-17 11:29:01 [ERROR ] [configure] Sep 17 11:28:47 monforpoc2 dynflow-sidekiq@worker-hosts-queue-1[8749]: 2021-09-17T09:28:47.171Z 8749 TID-7g9 INFO: GitLab reliable fetch activated!
2021-09-17 11:29:01 [ERROR ] [configure] Sep 17 11:28:47 monforpoc2 dynflow-sidekiq@worker-hosts-queue-1[8749]: 2021-09-17T09:28:47.172Z 8749 TID-7et INFO: Booting Sidekiq 5.2.7 with redis options {:id=>"Sidekiq-server-PID-8749", :url=>"redis://localhost:6379/0"}
2021-09-17 11:29:01 [ERROR ] [configure] Sep 17 11:28:47 monforpoc2 dynflow-sidekiq@worker-hosts-queue-1[8749]: 2021-09-17T09:28:47.181Z 8749 TID-7et ERROR: Heartbeat thread error: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)
2021-09-17 11:29:01 [ERROR ] [configure] Sep 17 11:28:48 monforpoc2 dynflow-sidekiq@worker-hosts-queue-1[8749]: 2021-09-17T09:28:48.186Z 8749 TID-7et ERROR: Heartbeat thread error: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)
2021-09-17 11:29:01 [ERROR ] [configure] Sep 17 11:28:49 monforpoc2 dynflow-sidekiq@worker-hosts-queue-1[8749]: 2021-09-17T09:28:49.216Z 8749 TID-7et ERROR: Heartbeat thread error: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)
2021-09-17 11:29:01 [ERROR ] [configure] Sep 17 11:28:50 monforpoc2 dynflow-sidekiq@worker-hosts-queue-1[8749]: 2021-09-17T09:28:50.218Z 8749 TID-7et ERROR: Heartbeat thread error: Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)

Associated revisions

Revision d84fb8ed (diff)
Added by Evgeni Golov 9 months ago

Fixes #33511 - configure redis before dynflow workers

sometimes dynflow workers are started before redis, resulting in ugly
errors in the logs until redis is available

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman/pull/995 added

#2 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases 3.1.0 added

#3 Updated by Evgeni Golov 9 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Amit Upadhye 7 months ago

  • Category set to Foreman modules

Also available in: Atom PDF