Bug 667924 - cobbler buildiso error Required file not found: /var/lib/cobbler/loaders/menu.c32
Summary: cobbler buildiso error Required file not found: /var/lib/cobbler/loaders/menu...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Other
Version: 540
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-07 10:04 UTC by Stephan Dühr
Modified: 2011-01-20 13:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-19 17:43:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 666435 0 medium CLOSED cobbler buildiso incorrectly listed in Reference Guide - Was: cobbler get-loaders ignores proxy setting 2021-02-22 00:41:40 UTC

Internal Links: 666435

Description Stephan Dühr 2011-01-07 10:04:31 UTC
Description of problem:

cobbler buildiso does not work:

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

cobbler-2.0.7-5.el5sat

How reproducible:
by running "cobbler buildiso"

Steps to Reproduce:
1. cobbler buildiso
2.
3.
  
Actual results:

task started: 2011-01-07_104447_buildiso
task started (id=Build Iso, time=Fri Jan  7 10:44:47 2011)
using/creating tempdir: /buildiso
building tree for isolinux
copying miscellaneous files
Exception occured: cobbler.cexceptions.CX
Exception value: 'Required file not found: /var/lib/cobbler/loaders/menu.c32'
Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 123, in die
    raise CX(msg)

Exception occured: cobbler.cexceptions.CX
Exception value: 'Required file not found: /var/lib/cobbler/loaders/menu.c32'
Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 95, in run
    rc = self._run(self)
   File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 155, in runner
    self.logger
   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 755, in build_iso
    return builder.run(
   File "/usr/lib/python2.4/site-packages/cobbler/action_buildiso.py", line 418, in run
    utils.die(self.logger,"Required file not found: %s" % f)
   File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 131, in die
    raise CX(msg)

!!! TASK FAILED !!!

Expected results:

task started: 2011-01-07_110343_buildiso
task started (id=Build Iso, time=Fri Jan  7 11:03:43 2011)
using/creating tempdir: /buildiso
building tree for isolinux
copying miscellaneous files
copying kernels and initrds for profiles
generating a isolinux.cfg
generating profile list
done writing config
running: mkisofs -o /root/generated.iso -r -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -V Cobbler\ Install -R -J -T /buildiso
received:
ISO build complete
You may wish to delete: /buildiso
The output file is: /root/generated.iso
*** TASK COMPLETE ***

Additional info:
workaround:
cd /var/lib/cobbler/loaders/
ln -s /usr/lib/syslinux/menu.c32

Comment 1 Marcelo Moreira de Mello 2011-01-18 15:47:55 UTC
Hello Stephan, 

Try to use this sequence: 


   $ cobbler get-loaders 
   $ cobbler buildiso 

To use buildiso option, cobbler needs some files in /var/lib/cobbler/loaders/* which are required. 

Let us know if this helped. 

Kind Regards, 
Marcelo Moreira de Mello

Comment 2 Clifford Perry 2011-01-19 17:43:16 UTC
cobbler buildiso was added into the Satellite documentation by mistake. We are not supporting usage of cobbler buildiso within Satellite 5.x. We are using bug 666435 to track the removal of cobbler buildiso from our documentation. 

As such, we have no plans to fix this bug in Satellite in the near future. 

Cliff.


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