Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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   
Whiteboard:
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: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Backtrace file created in abrt folder.
none
sos report
none
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):
ipa-server-4.4.0-1.el7.x86_64

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. 

/var/spool/abrt
[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:31 UTC
Created attachment 1177527 [details]
sos report

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

Comment 4 Petr Vobornik 2016-07-12 16:23:44 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6072

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
master:
https://fedorahosted.org/freeipa/changeset/2d4d1a9dc0ef2bbe86751768d6e6b009a52c0dc9


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

Note:
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.

https://rhn.redhat.com/errata/RHBA-2016-2404.html