Bug 1353829

Summary: traceback message seen in ipaserver-uninstall.log file.
Product: Red Hat Enterprise Linux 7 Reporter: Sudhir Menon <sumenon>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jhrozek, mbasti, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: ipa-4.4.0-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 05:56:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Backtrace file created in abrt folder.
sos report
ipa server uninstall log none

Description Sudhir Menon 2016-07-08 06:40:59 UTC
Created attachment 1177526 [details]
Backtrace file created in abrt folder.

Description of problem: traceback message seen in ipaserver-uninstall.log.

Version-Release number of selected component (if applicable):

How reproducible: Always

Steps to Reproduce:
1. Install ipa-server on RHEL7.3 | Ensure installation is successfull.
2. echo Secret123|kinit admin
3. Now uninstall ipa-server 
4. tail -f /var/log/ipaserver-uninstall.log

Actual results:
1. ipaserver-uninstall.log files displays traceback message.
2. Also see backtrace in /var/spool/abrt/ folder. 

[root@server abrt]# ls -l
total 8
-rw-------. 1 root root   26 Jul  8 11:37 last-via-server
drwxr-x---. 2 root abrt 4096 Jul  8 11:37 Python-2016-07-05-14:26:34-27547

Expected results:
Traceback message should be fixed.

Additional info:
Attached ipaserver-uninstall.log file and backtrace file information and sosreport

Comment 1 Sudhir Menon 2016-07-08 06:41 UTC
Created attachment 1177527 [details]
sos report

Comment 2 Sudhir Menon 2016-07-08 06:42 UTC
Created attachment 1177528 [details]
ipa server uninstall log

Comment 4 Petr Vobornik 2016-07-12 16:23:44 UTC
Upstream ticket:

Comment 5 Martin Bašti 2016-07-28 07:20:28 UTC
This was added there on purpose, because there are many hidden places where sys.exit() in modules is incorrectly used from past. Without this we couldn't be able easily debug issues in installer code. It logs only as DEBUG level.

To avoid this we need refactor client and installers, but it hasn't been prioritized.

I propose wontfix for this part of BZ.

traceback reported by abrt should be fixed.

Comment 6 Martin Bašti 2016-08-01 15:19:32 UTC
Fixed upstream

ABRT reported traceback fixed

Comment 8 Sudhir Menon 2016-08-05 11:10:01 UTC
Verified using ipa-server-4.4.0-5.el7.x86_64 on RHEL7.3

abrt report is not generated now which is the fix.
Although we can see the traceback in the ipaserver-uninstall.log file which is  wontfix for this part of BZ  as per comment #5.

Comment 10 errata-xmlrpc 2016-11-04 05:56:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.