[Katello] 3.16.1.2 “NoMethodError: undefined method `repository_href’ for nil:NilClass” when syncing yum repos

Hello! I believe you are hitting this: [Katello] Can't Delete Package "NoMethodError: undefined method `repository_href' for nil:NilClass"

I linked directly to the solution. We’ve been having trouble narrowing down the cause. If you are able to fix the problem with those instructions, would you be able to send /var/log/foreman/* to me? I can pm you my email address.