Project

General

Profile

Bug #27823

when disabling Red Hat repository: Module::DelegationError: Katello::Repository#content_id delegated to root.content_id, but root is nil

Added by John Mitsch about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

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

Associated revisions

Revision f552ba20 (diff)
Added by John Mitsch about 1 month ago

Fixes #27823 - Return nil for repo content_id
to prevent issues in concurrent actions

History

#1 Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8339 added

#2 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases Katello 3.14.0 added

#3 Updated by John Mitsch about 1 month ago

  • Status changed from Ready For Testing to Closed

#4 Updated by John Mitsch about 1 month ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.14.0
  • Subject changed from when disabling Red Hat repository: Module::DelegationError: Katello::Repository#content_id delegated to root.content_id, but root is nil to when disabling Red Hat repository: Module::DelegationError: Katello::Repository#content_id delegated to root.content_id, but root is nil

Also available in: Atom PDF