awx
awx copied to clipboard
Avoid cache warning for dispatching control type tasks
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