Unable to netboot with dhcpd managed by cobbler

Bug #841726 reported by James Page
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Fix Released
Medium
Andres Rodriguez

Bug Description

cobbler manages the isc-dhcp-server instance that run alongside it in my test deployment; prior to upgrade to oneiric it was able to manage /etc/dhcp/dhpcd.conf fine - however now when cobbler generates this file using 'cobbler sync' I always get a gpxe filename rather than pxelinux.0:

# group for Cobbler DHCP tag: default
group {
    host mercury.shouse.local {
        hardware ethernet <HIDDEN>;
        fixed-address <HIDDEN>;
        option host-name "<HIDDEN>";
        filename "gpxe/menu.gpxe";
        next-server <HIDDEN>;
    }
}

use_gpxe is set to 0 in /etc/cobbler/settings so this is a little inexpected.

Workaround: fix filename to "pxelinux.0" in /etc/cobbler/dhcp.template

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cobbler 2.1.0+git20110602-0ubuntu23
ProcVersionSignature: Ubuntu 3.0.0-9.14-server 3.0.3
Uname: Linux 3.0.0-9-server x86_64
Architecture: amd64
Date: Mon Sep 5 11:56:38 2011
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Beta amd64 (20110413)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: cobbler
UpgradeStatus: Upgraded to oneiric on 2011-08-30 (5 days ago)

Revision history for this message
James Page (james-page) wrote :
description: updated
Robie Basak (racb)
Changed in cobbler (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cobbler (Ubuntu):
status: New → Confirmed
Revision history for this message
David Dyball (david-dyball) wrote :

I can confirm that the pxelinux.cfg files for hosts generated using cobbler version 2.1.0+git20110602-0ubuntu26 generate gpxe/menu.gpxe configurations no matter what the setting in use_gpxe.

Unfortunately fixing "filename '/pxelinux.0'" has no effect when booting hosts. They're still trying to boot gpxe/menu.gpxe

Revision history for this message
David Dyball (david-dyball) wrote :

Scratch that... I was changing the filename option under the subnet, not under the host template. Changing that works. Looking forward to a fix.

Changed in cobbler (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
Changed in cobbler (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Andres Rodriguez (andreserl) wrote :

cobbler (2.2.2-0ubuntu7) precise; urgency=low

  * debian/patches:
    - 45_add_gpxe_support.patch: Updated to only use menu.gpxe when gpxe
      is enabled and not always. (LP: #8417268)
    - 61_ubuntu_pxe_chainc32_default.patch: Use chain.c32 for localboot,
      rather than 'LOCALBOOT -1' by default. (LP: #898838)
 -- Andres Rodriguez <email address hidden> Tue, 06 Dec 2011 17:15:41 -0500

Changed in cobbler (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.