Project

General

Profile

Actions

Refactor #19558

closed

Improve orchestration queue logging

Added by Lukas Zapletal over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Orchestration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We do not log anything when things are added to orchestration queue, some messages are present but these are not useful and sparse. Example transaction:

Using host queue
Using host queue
Using host queue
Queueing Realm
Using host queue

This patch will add support for naming queues, the two main queues will be named in the following way:

  • Host::Managed Main
  • Host::Managed Post
  • Nic::Managed Main
  • Nic::Managed Post

It will add more logs into DEBUG app logger, example transaction:

Enqueued task 'Remove DHCP Settings for mac5254000a4dd1' to 'Host::Managed Main' queue
Enqueued task 'Remove Reverse IPv4 DNS record for mac5254000a4dd1' to 'Host::Managed Main' queue
Enqueued task 'Delete TFTP PXEGrub2 config for mac5254000a4dd1' to 'Host::Managed Main' queue
Enqueued task 'Delete TFTP PXELinux config for mac5254000a4dd1' to 'Host::Managed Main' queue
Enqueued task 'Delete TFTP PXEGrub config for mac5254000a4dd1' to 'Host::Managed Main' queue
Processed queue 'Host::Managed Main', 5/5 completed tasks

Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #19534: Excessive amount of log messages around db field encryptionClosedLukas Zapletal05/15/2017Actions
Actions #1

Updated by Lukas Zapletal over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Dominic Cleal over 7 years ago

  • Status changed from New to Closed
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/4533 added

Commit has incorrect issue number, reassociated.

Actions #3

Updated by Lukas Zapletal over 7 years ago

  • Related to Refactor #19534: Excessive amount of log messages around db field encryption added
Actions

Also available in: Atom PDF