Bug 730999

Summary: Spacewalk clients do not reregister when reinstalling.
Product: [Community] Spacewalk Reporter: Gerhard Hagn <gerhard.hagn>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.5CC: drj, slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-1.6.32-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-22 16:49:07 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: 723481    

Description Gerhard Hagn 2011-08-16 14:04:50 UTC
Description of problem:

When reinstalling a SW Client, die client does not reconnect to the original system profile although the kickstart profile is set to "Re-connect to exixting system profile"

Version-Release number of selected component (if applicable):
Spacewalk Server 1.4 & 1.5 

How reproducible:
Always

Steps to Reproduce:
1. Create kickstart profile in Spacewalk & set option to "Re-connec to existing system profile"
2. Install / and reinstall Client
  
Actual results:
New system profile is created.

Expected results:
Reinstalled Machine connects to existing System Profile

Additional info:
Problem was introduced in SW 1.4 (1.3 was OK) is in Package spacewalk-java
File /var/lib/rhn/kickstarts/snippets/post_reactivation_key

It appears to be an indentation Problem in the Python Code (File in spacewalk-java-1.3.53-1.el5 works).

Comment 1 Michael Mráka 2011-08-30 12:17:14 UTC
THe issue has been fixed in spacewalk master by
commit e69008c7434d66ee8bcac43c2922a45fec0da9a1
    730999 - fixed bad indentation

Comment 2 Milan Zázrivec 2011-12-22 16:49:07 UTC
Spacewalk 1.6 has been released.

Comment 3 Jan Pazdziora (Red Hat) 2012-01-18 09:33:47 UTC
*** Bug 772796 has been marked as a duplicate of this bug. ***