Bug 1003504

Summary: when installing SAM and services do not get started, katello-configure ends with 0
Product: [Retired] Subscription Asset Manager Reporter: Jan Hutař <jhutar>
Component: katelloAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED WONTFIX QA Contact: SAM QE List <sam-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, cwelton, jhutar, mmccune, sthirugn, tomckay, tsanders
Target Milestone: ---Keywords: Regression, Reopened, Triaged
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-26 20:34:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 971511    

Description Jan Hutař 2013-09-02 08:33:58 UTC
Description of problem:
I have installed katello-headpin-all and Splaice packages and run katello-configure multiple times. I got to the state when related services do not get started and katello-configure ended with 0 and did not printed any error.

I have checked documentation for SAM 1.2 (can not find one for 1.3) and there is:

[...]
If the configuration script encounters an error, it will display details of the error, for example: 
[...]

so I consider this a regression.


Version-Release number of selected component (if applicable):
katello-configure-1.4.4-3.el6sat.noarch


How reproducible:
consistently in my case


Steps to Reproduce:
1. I got to the state when katello services can not get started somehow
2. # katello-configure --deployment=sam --user-pass=<user> --user-pass=<pass> --user-email=jhutar --reset-data='YES' --org-name=jhutar


Actual results:
# grep -i error /var/log/katello/katello-configure-20130902-041433/main.log
130902-04:16:39 Error: Could not start Service[katello-jobs]: Execution of '/sbin/service katello-jobs start' returned 1: 
130902-04:16:39 Error: /Stage[main]/Katello::Service/Service[katello-jobs]/ensure: change from stopped to running failed: Could not start Service[katello-jobs]: Execution of '/sbin/service katello-jobs start' returned 1:
# echo $?
0


Expected results:
In case of any error, error should be printer and exit code should be != 0.

Comment 2 Tom McKay 2013-09-02 12:15:05 UTC
Please include katello-debug and splice-debug outputs as attachments.

Comment 7 RHEL Program Management 2013-09-17 04:16:21 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 12 Bryan Kearney 2014-05-08 12:11:28 UTC
katello-configure has been deprecated.

Comment 13 Jan Hutař 2014-05-09 21:16:53 UTC
Please reconsider as this is against SAM (probably incorrectly filled against Sat6, but in the time of filling it i have been told it does not matter where to file it).

Comment 17 Bryan Kearney 2017-06-26 20:34:26 UTC
The release of Satellite 5.8 we are deprecating the support of Subscription Asset Manager. The release notes for 5.8 can be found at https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/pdf/release_notes/Red_Hat_Satellite-5.8-Release_Notes-en-US.pdf.

I am therefore closing out this bug as WONTFIX. If you believe this to be an error, please feel free tor each out to either Rich Jerrido or Bryan Kearney. Thank you!