Improve logging around resource group acquisition

Summary

Several customers have reported issues with jobs being stuck waiting for resource groups. These issues are currently hard to debug due to a lack of logging around potential timing / race conditions.

We should add detailed logging for events and errors around acquiring resource groups

  • Log when attempting to acquire a resource group
  • Log on success or failure for getting a resource group
  • Log any exceptions in the process of trying to get a resource group
  • Logs should include which resource group, job and any other relevant information
Edited by Allen Cook