Bug 1438727

Summary: Message with id: {[Sparc Solaris],[TP-Processor5]} not found. + Solaris mentioned
Product: Red Hat Satellite 5 Reporter: Lukáš Hellebrandt <lhellebr>
Component: WebUIAssignee: Grant Gainey <ggainey>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: lhellebr, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-13 11:41:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1358815    

Description Lukáš Hellebrandt 2017-04-04 09:59:05 UTC
Description of problem:
On page /rhn/channels/software/Search.do (Channels->Package Search), these errors occur, shown in catalina.out :

2017-04-04 11:51:19,307 [TP-Processor5] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [Sparc Solaris] not found.*** called by com.redhat.rhn.frontend.action.BaseSearchAction.addOption(BaseSearchAction.java:246)
2017-04-04 11:51:19,307 [TP-Processor5] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [Sparc Solaris] not found.*** called by com.redhat.rhn.frontend.action.BaseSearchAction.addOption(BaseSearchAction.java:246)
2017-04-04 11:51:19,307 [TP-Processor5] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [i386 Solaris] not found.*** called by com.redhat.rhn.frontend.action.BaseSearchAction.addOption(BaseSearchAction.java:246)
2017-04-04 11:51:19,307 [TP-Processor5] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [i386 Solaris] not found.*** called by com.redhat.rhn.frontend.action.BaseSearchAction.addOption(BaseSearchAction.java:246)

Furthermore, there is Solaris architecture mentioned which is not supported anymore.



How reproducible:
Deterministic

Steps to Reproduce:
1. Go to <sat_url>/rhn/channels/software/Search.do
2. Notice mention of Solaris in architecture options
3. See the errors in catalina.out

Actual results:
Errors + Solaris mentioned

Expected results:
No errors, no Solaris mentions

Comment 1 Grant Gainey 2017-04-12 19:37:29 UTC
I can't recreate this on a fresh 5.8 install. 

That happens only if rhnPackageArch still contains the 'sparc-solaris' entry. Part of the 5.7-to-5.8 upgrade finds and removes that reference:

spacewalk/upgrade/spacewalk-schema-2.5-to-spacewalk-schema-2.6/007-remove-solaris-arch.sql.postgresql:delete from rhnPackage where package_arch_id = (select id from rhnPackageArch where label = 'sparc-solaris');

Currently I don't see any way to make this happen. Lukas, can you give me some more details on the history of the system you see this on?

Comment 2 Lukáš Hellebrandt 2017-04-13 09:08:26 UTC
I tried again on current compose and indeed, I can't reproduce the bug. Maybe it got fixed somewhere on the way. I advise closing this bugzilla.

Comment 3 Grant Gainey 2017-04-13 11:41:19 UTC
(In reply to Lukáš Hellebrandt from comment #2)
> I tried again on current compose and indeed, I can't reproduce the bug.
> Maybe it got fixed somewhere on the way. I advise closing this bugzilla.

Sounds like a plan to me :)