Bug 251183 - When Activation Keys -> Groups is clicked, traceback about Can't locate object method "server_group_list" via package "RHN::ServerGroup" is thrown
Summary: When Activation Keys -> Groups is clicked, traceback about Can't locate objec...
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other
Version: 500
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Preethi Thomas
URL: /network/account/activation_keys/grou...
: 251182 (view as bug list)
Depends On:
Blocks: 248627
TreeView+ depends on / blocked
Reported: 2007-08-07 16:43 UTC by Jan Pazdziora
Modified: 2018-10-19 22:25 UTC (History)
1 user (show)

Fixed In Version: sat510
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-04-03 00:21:19 UTC

Attachments (Terms of Use)

Description Jan Pazdziora 2007-08-07 16:43:27 UTC
Description of problem:

When Activation Keys -> Groups is clicked, traceback about Can't locate object
method "server_group_list" via package "RHN::ServerGroup" is thrown.

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

Satellite 5.0.0 GA.

How reproducible:

Nondeterministic, see below.

Steps to Reproduce:
1. Restart httpd on the Satellite, to clear mod_perl of any loaded moodule.
2. Go directly to Systems -> Activation Keys -> select a key -> Groups.
Actual results:

ISE 500 and traceback email which says

Error message:
  Can't locate object method "server_group_list" via package "RHN::ServerGroup"
(perhaps you forgot to load "RHN::ServerGroup"?) at
lets/ActivationKeys.pm line 251.

Expected results:

No error.

Additional info:

When you click on Systems -> System Groups (and you manage to do it with the
same httpd child and thus the same mod_perl interpreter), the Groups tab for
activation key starts to work.

Comment 1 Jan Pazdziora 2007-08-07 16:48:37 UTC
This is a low hanging fruit with solution offered directly in the error message
(use RHN::ServerGroup). I've verified that adding

   use RHN::ServerGroup ();

to Sniglets/ActivationKeys.pm indeed fixes the problem.

I therefore put this as an exception for 5.1.0. If 5.1.0 is already full and
closed, just punt it for 5.2.0.

Comment 2 Jan Pazdziora 2007-08-07 16:49:40 UTC
*** Bug 251182 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Suchý 2007-09-12 12:48:41 UTC
I'm taking over this bug. 
Commited into RELEASE-5.0 branch (rel. 131561).
Commited into trunk (rel. 131562)

Comment 8 Miroslav Suchý 2007-10-05 19:06:34 UTC
Moving ON_QA

Comment 9 Preethi Thomas 2007-10-16 16:14:27 UTC

Comment 12 Issue Tracker 2008-02-07 14:54:04 UTC
My bad, I was looking at my RHEL 5.1 schedule and scratching my head :)

This event sent from IssueTracker by cevich 
 issue 131842

Comment 14 Brandon Perkins 2008-04-03 00:21:19 UTC
5.1 Sat GA so Closed for Current Release.

Note You need to log in before you can comment on or make changes to this bug.