Bug 1284931 - `cobbler buildiso --profiles=nonexistent` returns 0 and resulting ISO only contain "(local)" boot target
`cobbler buildiso --profiles=nonexistent` returns 0 and resulting ISO only co...
Status: CLOSED DEFERRED
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Provisioning (Show other bugs)
570
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Jan Dobes
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-24 08:33 EST by Jan Hutař
Modified: 2018-04-09 10:52 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-09 10:52:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2015-11-24 08:33:14 EST
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 10:52:07 EDT
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.