Project

General

Profile

Refactor #19558

Updated by Lukas Zapletal almost 8 years ago

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: 

 <pre>Using host queue 
 Using host queue 
 Using host queue 
 Queueing Realm 
 Using host queue 
 </pre> 

 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: 

 <pre>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', 'queue', 5/5 completed tasks 
 </pre>

Back