Bug 637905

Summary: re-provisioning doesn't work with RHEL6
Product: Red Hat Satellite 5 Reporter: Justin Sherrill <jsherril>
Component: ProvisioningAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Sklenar <psklenar>
Severity: medium Docs Contact:
Priority: low    
Version: 540CC: atodorov, cperry, jhutar, mminar, psklenar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cobbler-2.0.3.1-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 14:53:00 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: 487678    

Description Justin Sherrill 2010-09-27 17:53:57 UTC
How reproducible:


Steps to Reproduce:
1. Schedule a re-provision of a RHEL 6 machine through the UI 
2. run rhn_check -vvv on it manually

  
Actual results:

Get an error:

Kickstart failed. Koan error.', {'koan': '  

  File "/usr/share/rhn/spacewalkkoan/spacewalkkoan.py", line 128, in initiate\n    k.run()\n   
  File "/usr/lib/python2.6/site-packages/koan/app.py", line 334, in run\n    self.replace()\n   
  File "/usr/lib/python2.6/site-packages/koan/app.py", line 895, in replace\n    return self.net_install(after_download)\n   
  File "/usr/lib/python2.6/site-packages/koan/app.py", line 571, in net_install\n    after_download(self, profile_data)\n   
  File "/usr/lib/python2.6/site-packages/koan/app.py", line 804, in after_download\n    (make, version, rest) = utils.os_release()\n   
  File "/usr/lib/python2.6/site-packages/koan/utils.py", line 358, in os_release\n    
  version = float(version[0])\n'})



Expected results:
Should complete successfully 

Additional info:

The logic that handles redhat-release can't handle rhel6

Comment 2 Justin Sherrill 2010-09-28 17:27:11 UTC
Added ext4 support for the duplicate system script:  c3b0aac56237e984596f89e45344d5ccdc0271be

Fix koan to work:  5bcb28836792a99db87f5bdc6473bbaed7887a3d (third party)

Comment 5 Jan Hutaƙ 2010-10-06 14:28:58 UTC
*** Bug 640626 has been marked as a duplicate of this bug. ***

Comment 9 Clifford Perry 2010-10-28 14:48:06 UTC
The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. 


RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332

RHEA-2010:0803 - RHN Tools enhancement update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333

RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334

RHEA-2010:0800 - RHN Satellite Server 5.4.0
https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335

Docs are available:

http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html 

Regards,
Clifford