Bug 667924

Summary: cobbler buildiso error Required file not found: /var/lib/cobbler/loaders/menu.c32
Product: Red Hat Satellite 5 Reporter: Stephan Dühr <stephan.duehr>
Component: OtherAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 540CC: cperry, dherrman, mmello
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-19 17:43:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.