Bug #23887

Unclear Error when performing bulk action of Manage Repository Set against Hosts without Content registration

Added by Samir Jha about 3 years ago. Updated about 3 years ago.

Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


Cloned from

Description of problem:

When trying to perform bulk action "Manage Repository Sets" on Content Hosts, if a Content Host has never registered, it will fail and return an undefined method error:

NoMethodError: undefined method `uuid' for nil:NilClass

Version-Release number of selected component (if applicable):

Red Hat Satellite 6.3.1

How reproducible: Easily, always?

Steps to Reproduce:
1. Create a Host: WebUI-> Hosts -> All Hosts -> Create Host - But do not actually build one yet or register that host.

2. Go to WebUI -> Content Hosts and select a number of hosts, including the one just created (which should show as "Never registered" and "Never checked in"

3. Select "Select Action" -> "Manage Repository Sets" and choose a Repository set and either "Override to Enabled" or "Override to disabled"

Actual results:

The task "Update Contennt Overrides to <content-host>" will fail with an error simply saying "undefined method `uuid' for nil:NilClass"

Expected results:

The task should still fail, or give a warning, more gracefully with an explanation of the failure rather than the undefined method error.

Additional info:

Associated revisions

Revision d2b7208c (diff)
Added by Samir Jha about 3 years ago

Fixes #23887 - Unclear error on manage repo set bulk action


#1 Updated by Samir Jha about 3 years ago

  • Assignee set to Samir Jha

#2 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by Samir Jha about 3 years ago

  • Difficulty set to trivial

#4 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

#5 Updated by Anonymous about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF