Bug 621528

Summary: [dup profiles] ISE on comparing systems (one is migrated from another Org)
Product: [Community] Spacewalk Reporter: Garik Khachikyan <gkhachik>
Component: ServerAssignee: Partha Aji <paji>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.1CC: mkoci
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-19 08:24:55 UTC Type: ---
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: 585232    
Attachments:
Description Flags
catalina.out - compare systems (one of them is migrated from another org)
none
email - compare systems (one of them is migrated from another org) none

Description Garik Khachikyan 2010-08-05 11:33:09 UTC
Created attachment 436825 [details]
catalina.out - compare systems (one of them is migrated from another org)

Description of problem:
There is thrown ISE while trying to compare systems where one of them is migrated from another Org in SW (using "Migrate" from the "Systems->Details").

Version-Release number of selected component (if applicable):
spacewalk-java-1.1.41-1.el5
spacewalk-html-1.1.6-1.el5
spacewalk-oracle-1.1.6-1.el5
spacewalk-schema-1.1.19-1.el5

How reproducible:
Always on the duplicated system(s) migrated from another organizations.

Steps to Reproduce:
1. Make an Org and add the trust to the main org.
2. register a system to the child org.
3. register the same system to the main org.
4. Refer to the "Duplicate Systems" and do compare of that 2 systems. -> ISE
  
Actual results:
ISE is thrown. 

Expected results:
The systems should be compared without an ISE.

Additional info:
catalina.out and the email about traceback are attached.

Comment 1 Garik Khachikyan 2010-08-05 11:33:39 UTC
Created attachment 436826 [details]
email - compare systems (one of them is migrated from another org)

Comment 5 Partha Aji 2010-08-09 22:35:06 UTC
Ok this bug occurs even outside Migrate systems. This bug will occur when you unentitle duplicate systems and compare. Should be fixed as of http://git.fedorahosted.org/git/?p=spacewalk.git;a=commit;h=340fc406addd97f8acd505bc139d20d7cc1f7c40

Comment 6 Partha Aji 2010-08-12 14:28:33 UTC
Moving to on qa

Comment 7 Garik Khachikyan 2010-08-16 14:50:02 UTC
# VERIFIED

Got my issue fixed for:
---
spacewalk-java-oracle-1.2.3-1.el5sat
spacewalk-java-lib-1.2.3-1.el5sat
spacewalk-java-config-1.2.3-1.el5sat
spacewalk-java-1.2.3-1.el5sat
spacewalk-taskomatic-1.2.3-1.el5sat
---

no more ISE when comparing 2 systems (the one is migrated from another Org). the case when both systems are migrated - also goes ok. thanks for the fix.

Comment 8 Milan Zázrivec 2010-08-19 08:24:55 UTC
Spacewalk 1.1 has been released.