Bug 1284931 - `cobbler buildiso --profiles=nonexistent` returns 0 and resulting ISO only contain "(local)" boot target
Summary: `cobbler buildiso --profiles=nonexistent` returns 0 and resulting ISO only co...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning
Version: 570
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-24 13:33 UTC by Jan Hutař
Modified: 2018-04-09 14:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-09 14:52:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2015-11-24 13:33:14 UTC
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):
cobbler-2.0.7-64.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Make sure you do not have profile named "nonexistent"
2. # cobbler buildiso --profiles=nonexistent


Actual results:
# 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
received: 
ISO build complete
You may wish to delete: /tmp/cobbler/buildiso
The output file is: /tmp/cobbler/buildiso/generated.iso
*** TASK COMPLETE ***
# echo $?
0


Expected results:
Some error message and non-0 return code

Comment 1 Tomas Lestach 2018-04-09 14:52:07 UTC
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.


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