Bug #16209
closedcalling `enabled_repos` always forces an errata applicability regeneration
Description
If you restart goferd on a system, errata applicability will be regenerated. This can cause performance issues, especially if you have a large number of hosts.
How reproducible: every time
Steps to Reproduce:
1. register host to Katello, ensure goferd is running
2. restart goferd
3. check tasks list
Actual results: applicability regeneration task is created
Expected results: applicability regeneration should only happen when list of enabled repos changes
Additional info: the task list is the "true" way to check this, but a quick way is to tail /var/log/httpd/foreman-ssl_access_ssl.log on the server and restart goferd on the client. If you see a line like "POST /pulp/api/v2/consumers/actions/content/regenerate_applicability//", it means a regenerate was fired.