Bug 967503 - spacewalkkoan doesn't set correctly option no_copy_default
Summary: spacewalkkoan doesn't set correctly option no_copy_default
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.8
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space21
TreeView+ depends on / blocked
 
Reported: 2013-05-27 10:13 UTC by Braggle
Modified: 2014-03-04 13:08 UTC (History)
0 users

Fixed In Version: spacewalk-koan-2.1.4-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-04 13:06:25 UTC
Embargoed:


Attachments (Terms of Use)
patch to correct no_copy_default parameter (643 bytes, patch)
2013-05-27 10:13 UTC, Braggle
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.