Bug 988329 - spacewalk install misses syslinux dependency
Summary: spacewalk install misses syslinux dependency
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space23
TreeView+ depends on / blocked
 
Reported: 2013-07-25 10:26 UTC by Matej Susta
Modified: 2015-04-14 19:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-14 19:02:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Matej Susta 2013-07-25 10:26:20 UTC
Description of problem:


Version-Release number of selected component (if applicable):
2.0

How reproducible:
Follow installation steps for 2.0 Spacewalk.

Actual results:
After installation there is no syslinux pkg installed making cobbler fail on distro/profile creation.

Expected results:
include syslinux into deps of some spacewalk metapackage - provisioning seems to be quite popular function of Satellite and it's a bit PITA that this package is not included in default install as it will break cobbler-sync - and you have to either know or get it from the logs. At least a note in installation instructions would be nice...

Comment 1 Matej Susta 2013-07-25 10:32:33 UTC
Wed Jul 24 18:34:34 2013 - INFO | authenticate; ['spaceroot', True]
Wed Jul 24 18:34:34 2013 - INFO | REMOTE sync; user(spaceroot)
Wed Jul 24 18:34:34 2013 - DEBUG | authorize; ['spaceroot', 'sync', None, None, True]
Wed Jul 24 18:34:34 2013 - DEBUG | REMOTE spaceroot authorization result: True; user(?)
Wed Jul 24 18:34:34 2013 - INFO | sync
Wed Jul 24 18:34:34 2013 - INFO | running pre-sync triggers
Wed Jul 24 18:34:34 2013 - INFO | cleaning trees
Wed Jul 24 18:34:34 2013 - INFO | removing: /var/www/cobbler/images/centos-6-x86_64:2:GRS
Wed Jul 24 18:34:34 2013 - INFO | removing: /var/lib/tftpboot/pxelinux.cfg/default
Wed Jul 24 18:34:34 2013 - INFO | removing: /var/lib/tftpboot/grub/images
Wed Jul 24 18:34:34 2013 - INFO | removing: /var/lib/tftpboot/grub/efidefault
Wed Jul 24 18:34:34 2013 - INFO | removing: /var/lib/tftpboot/images/centos-6-x86_64:2:GRS
Wed Jul 24 18:34:34 2013 - INFO | removing: /var/lib/tftpboot/s390x/profile_list
Wed Jul 24 18:34:34 2013 - INFO | copying bootloaders
Wed Jul 24 18:34:34 2013 - INFO | Exception occured: <class 'cobbler.cexceptions.CX'>
Wed Jul 24 18:34:34 2013 - INFO | Exception value: 'Could not find files matching /usr/lib/syslinux/pxelinux.0'
Wed Jul 24 18:34:34 2013 - INFO | Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 1764, in _dispatch
    return method_handle(*params)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 1609, in sync
    return self.api.sync()
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 611, in sync
    return sync.run()
   File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line 113, in run
    self.pxegen.copy_bootloaders()
   File "/usr/lib/python2.6/site-packages/cobbler/pxegen.py", line 101, in copy_bootloaders
    dst, api=self.api, cache=False, logger=self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 1173, in copyfile_pattern
    raise CX(_("Could not find files matching %s") % pattern)

yum -y install syslinux

Wed Jul 24 18:37:49 2013 - INFO | REMOTE sync; user(spaceroot)
Wed Jul 24 18:37:49 2013 - DEBUG | authorize; ['spaceroot', 'sync', None, None, True]
Wed Jul 24 18:37:49 2013 - DEBUG | REMOTE spaceroot authorization result: True; user(?)
Wed Jul 24 18:37:49 2013 - INFO | sync
Wed Jul 24 18:37:49 2013 - INFO | running pre-sync triggers
Wed Jul 24 18:37:49 2013 - INFO | cleaning trees
Wed Jul 24 18:37:49 2013 - INFO | removing: /var/lib/tftpboot/grub/images
Wed Jul 24 18:37:49 2013 - INFO | copying bootloaders
Wed Jul 24 18:37:49 2013 - INFO | copying: /usr/share/syslinux/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
Wed Jul 24 18:37:49 2013 - INFO | copying: /usr/share/syslinux/menu.c32 -> /var/lib/tftpboot/menu.c32
Wed Jul 24 18:37:49 2013 - INFO | copying: /usr/share/syslinux/memdisk -> /var/lib/tftpboot/memdisk
Wed Jul 24 18:37:49 2013 - INFO | copying distros

Comment 2 Tomas Lestach 2015-01-16 11:07:59 UTC
The issue was addressed by upstream commit ...
spacewalk.git: da111e15523d88daa74481a93f8505437f2c68b9

Comment 3 Grant Gainey 2015-03-23 16:58:50 UTC
Moving bugs to ON_QA as we move to release Spacewalk 2.3

Comment 4 Grant Gainey 2015-04-14 19:02:47 UTC
Spacewalk 2.3 has been released. See

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23


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