installing syslinux doesn't provide /usr/lib/syslinux/pxelinux.0

Bug #1570915 reported by Muelli
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

sudo cobbler sync

API http://192.168.0.131:80/cobbler_api
RPC http://127.0.0.1:25151
task started: 2016-04-15_165129_sync
task started (id=Sync, time=Fri Apr 15 16:51:29 2016)
running pre-sync triggers
cleaning trees
removing: /var/lib/tftpboot/grub/images
copying bootloaders
Exception occured: <class 'cexceptions.CX'>
Exception value: 'Could not find files matching /usr/lib/syslinux/pxelinux.0'
Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 87, in run
    rc = self._run(self)
   File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 186, in runner
    return self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
   File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 769, in sync
    return sync.run()
   File "/usr/lib/python2.7/dist-packages/cobbler/action_sync.py", line 114, in run
    self.tftpd.sync(self.verbose)
   File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_in_tftpd.py", line 168, in sync
    self.pxegen.copy_bootloaders()
   File "/usr/lib/python2.7/dist-packages/cobbler/pxegen.py", line 101, in copy_bootloaders
    dst, api=self.api, cache=False, logger=self.logger)
   File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 1261, in copyfile_pattern
    raise CX(_("Could not find files matching %s") % pattern)

!!! TASK FAILED !!!

I followed the advice that cobbler sync gave and installed syslinux.

the command to download the loaders doesn't work, due to the url being cobblerd.org which is down at the moment.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cobbler (not installed)
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Apr 15 16:51:46 2016
InstallationDate: Installed on 2015-12-02 (135 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151027)
SourcePackage: cobbler
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :
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
Changed in cobbler (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Mathieu Mitchell (mat128) wrote :

xenial's pxelinux provides "/usr/lib/PXELINUX/pxelinux.0" instead.

Revision history for this message
Nish Aravamudan (nacc) wrote :

While we can update the path in the source, if you used `cobbler get-loaders` first, it should be preferentially using the /var/lib/cobbler file.

This bug is actually introduced because Debian picked up the fix from MAAS for LP: #898838 but was clearly not tested to actually work any longer. I'm dropping this patch and running a test build.

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.