Bug 571459 - Cobbler 'default' system record doesn't set timeout pxe entry
Summary: Cobbler 'default' system record doesn't set timeout pxe entry
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Jiri Kastner
URL:
Whiteboard:
Depends On:
Blocks: sat531-blockers
TreeView+ depends on / blocked
 
Reported: 2010-03-08 15:35 UTC by Justin Sherrill
Modified: 2010-04-23 07:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-23 07:10:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0369 0 normal SHIPPED_LIVE Red Hat Network Satellite bug fix update 2010-04-23 07:01:54 UTC

Description Justin Sherrill 2010-03-08 15:35:22 UTC
According to the cobbler man page:

    If the association between a system (MAC address) and a profile is already known, it may be more useful to just use "system add"
       commands and declare that relationship in cobbler; however many use cases will prefer having a PXE system, especially when
       provisioning is done at the same time as installing new physical machines.

       If this behavior is not desired, run "cobbler system add --name=default --profile=plugh" to default all PXE booting machines to get a
       new copy of the profile "plugh".  To go back to the menu system, run "cobbler system remove --name=default" and then "cobbler sync" to
       regenerate the menus.



This however doesn't seem to work, after running:

cobbler system add --name=default --profile=PROFILE_NAME
cobbler sync

the /tftpboot/pxelinux.cfg/default file is removed, and thus unrecognized systems are not pxebooted to the PROFILE_NAME profile by default.

Comment 1 Justin Sherrill 2010-03-08 16:46:03 UTC
fixed in 3rdparty git:

2e9a1091d18d507864cfe108a31bf8824b3d0390

Comment 5 Justin Sherrill 2010-04-06 14:02:57 UTC
Reproducer steps:


1.  Create a kickstart profile in spacewalk
2.  run on the command line:  

cobbler system add --name=default --profile=PROFILE_NAME
cobbler sync

where PROFILE_name is the cobbler name of the profile (which can bee seen by running 'cobbler profile list'.


3.  examine /tftpboot/pxelinux.cfg/default  and verify that this profile was set to the default. 

(optionally) 4.  Try to pxe boot and verify that by default the system will book to the default profile.

Comment 10 errata-xmlrpc 2010-04-23 07:10:51 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0369.html


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