Red Hat Bugzilla – Bug 1284931
`cobbler buildiso --profiles=nonexistent` returns 0 and resulting ISO only contain "(local)" boot target
Last modified: 2018-04-09 10:52:07 EDT
Description of problem:
Command `cobbler buildiso --profiles=nonexistent` (e.g. do a typo in the profile name) returns exit code 0 and resulting ISO only contain "(local)" boot target
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure you do not have profile named "nonexistent"
2. # cobbler buildiso --profiles=nonexistent
# cobbler buildiso --profiles=foobarbaz
task started: 2015-11-24_082751_buildiso
task started (id=Build Iso, time=Tue Nov 24 08:27:51 2015)
using/creating tempdir: /tmp/cobbler/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 /tmp/cobbler/buildiso/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 /tmp/cobbler/buildiso
ISO build complete
You may wish to delete: /tmp/cobbler/buildiso
The output file is: /tmp/cobbler/buildiso/generated.iso
*** TASK COMPLETE ***
# echo $?
Some error message and non-0 return code
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.
This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED.
Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.