Bug #27823
closedwhen disabling Red Hat repository: Module::DelegationError: Katello::Repository#content_id delegated to root.content_id, but root is nil
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1733182
Description of problem:
When disabling multiple (~10) Red Hat repositories, one task failed. Error attached
Version-Release number of selected component (if applicable):
rubygem-smart_proxy_dynflow-0.2.2-2.el7sat.noarch
tfm-rubygem-dynflow-1.2.3-1.el7sat.noarch
tfm-rubygem-foreman-tasks-0.15.5-2.el7sat.noarch
tfm-rubygem-foreman-tasks-core-0.3.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.13-2.el7sat.noarch
tfm-rubygem-smart_proxy_dynflow_core-0.2.2-1.el7sat.noarch
How reproducible:
seen for a first time
Steps to Reproduce:
1. I have enabled all RHEL6 i386 KS repositories (all on UI)
2. Then I have noticed it is not x86_64 repos I wanted and enabled these
3. Then I have disabled thse i386 KS repos
Actual results:
One of them failed
Expected results:
It should not fail
Additional info:
Resuming the task made it to finish correctly