Bug 967503

Summary: spacewalkkoan doesn't set correctly option no_copy_default
Product: [Community] Spacewalk Reporter: Braggle <braggle>
Component: ClientsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-koan-2.1.4-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 13:06:25 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: 1069560    
Attachments:
Description Flags
patch to correct no_copy_default parameter none

Description Braggle 2013-05-27 10:13:08 UTC
Created attachment 753540 [details]
patch to correct no_copy_default parameter

Description of problem:
Re install a fedora 17 system from spacewalk (Provisioning->Kickstart->Schedule) doesn't work. The system reboots with the koan kernel but start the services instead of the installation program. The option "--copy-default" is set in the grubby command. The spacewalkkoan.py script launch the command koan with wrong args: grubby_copy_default instead of no_copy_default. And the default value is wrong too.


Version-Release number of selected component (if applicable):
spacewalk-koan package version 1.8.3 and newest


How reproducible:
Spacewalk server v1.8 and Fedora 17 system

Steps to Reproduce:
1. Register the already installed Fedora 17 system on Spacewalk
2. Schedule a kickstart
3. use the "rhn_check -vv" 

Actual results:
The kernel is added in the grub.cfg file with all the default args.

Expected results:
The kernel is added in the grub.cfg file without the default args

Additional info:
In the script /usr/share/rhn/spacewalkkoan/spacewalkkoan.py I have replace the lines "k.grubby_copy_default = 0" with "k.no_copy_default     = 1" and it works.

Comment 1 Milan Zázrivec 2013-12-20 16:52:47 UTC
Fixed in spacewalk.git master: 72c696cca8a61d2c64a19ff9c6cfc2128378410b

Thank you for your report.

Comment 2 Matej Kollar 2014-01-17 12:15:24 UTC
Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release.

Comment 3 Matej Kollar 2014-03-04 13:06:25 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21

Comment 4 Matej Kollar 2014-03-04 13:08:31 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21