awx icon indicating copy to clipboard operation
awx copied to clipboard

Avoid cache warning for dispatching control type tasks

Open AlanCoding opened this issue 3 years ago • 0 comments

SUMMARY

I saw that we have significant log noise from this particular error log.

logger.warn(f"No instance groups in cache exist, defaulting to global instance groups for task {task}")

It seems like that root problem is that preferred_instance_groups just shouldn't be a construct for project updates. So I hope this is the logical change to avoid this log. We will continue before we try to obtain this list for looping, and avoid all those errors in logs.

I could file an issue for this, but since it was only introduced in devel and is mostly concerned with logs, I thought I'd just go straight to the fix.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
ADDITIONAL INFORMATION

AlanCoding avatar Sep 09 '22 19:09 AlanCoding