Project

General

Profile

Actions

Bug #23887

closed

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

Added by Samir Jha almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1573629

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:

Actions

Also available in: Atom PDF