Bug 754635 - Traceback message displayed while replica install is terminated before entering admin password.
Summary: Traceback message displayed while replica install is terminated before enteri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-17 06:51 UTC by Gowrishankar Rajaiyan
Modified: 2012-06-20 13:17 UTC (History)
3 users (show)

Fixed In Version: ipa-2.2.0-6.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Clone Of:
Environment:
Last Closed: 2012-06-20 13:17:37 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0819 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2012-06-19 20:34:17 UTC

Description Gowrishankar Rajaiyan 2011-11-17 06:51:36 UTC
Description of problem:
As part of negative testing, when you terminate the replica-install when it asks for admin password, you get to see traceback messages.

Version-Release number of selected component (if applicable):
ipa-server-2.1.3-9.el6.x86_64

How reproducible:


Steps to Reproduce:
1. [root@ratchet ~]# ipa-replica-install /var/lib/ipa/replica-info-ratchet.testrelm.gpg 
Directory Manager (existing master) password: 

Run connection check to master
Check connection from replica to remote master 'jetfire.testrelm':
   Directory Service: Unsecure port (389): OK
   Directory Service: Secure port (636): OK
   Kerberos KDC: TCP (88): OK
   Kerberos KDC: UDP (88): OK
   Kerberos Kpasswd: TCP (464): OK
   Kerberos Kpasswd: UDP (464): OK
   HTTP Server: port 80 (80): OK
   HTTP Server: port 443(https) (443): OK

Connection from replica to master is OK.
Start listening on required ports for remote master check
Get credentials to log in to remote master
admin@TESTRELM password: 

2. CTRL+c when asked for admin password.
3.
  
Actual results:
Cleaning up...
Installation cancelled.

Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.
[root@ratchet ~]# /usr/lib64/python2.6/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
  passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
admin@TESTRELM password: Traceback (most recent call last):
  File "/usr/sbin/ipa-replica-conncheck", line 364, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-replica-conncheck", line 318, in main
    validate=False, retry=False)
  File "/usr/lib/python2.6/site-packages/ipaserver/install/installutils.py", line 355, in read_password
    pwd = get_password(user + " password: ")
  File "/usr/lib/python2.6/site-packages/ipaserver/install/installutils.py", line 340, in get_password
    return getpass.getpass(prompt)
  File "/usr/lib64/python2.6/getpass.py", line 83, in unix_getpass
    passwd = fallback_getpass(prompt, stream)
  File "/usr/lib64/python2.6/getpass.py", line 118, in fallback_getpass
    return _raw_input(prompt, stream)
  File "/usr/lib64/python2.6/getpass.py", line 133, in _raw_input
    line = input.readline()
IOError: [Errno 5] Input/output error
^C
[root@ratchet ~]#


Expected results: No traceback message displayed.


Additional info:

Comment 3 Martin Kosek 2011-11-21 09:26:00 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2127

Comment 6 Gowrishankar Rajaiyan 2012-03-29 08:15:21 UTC
[root@goldbug ~]# ipa-replica-install /var/lib/ipa/replica-info-goldbug.lab.eng.pnq.redhat.com.gpg 
Directory Manager (existing master) password: 

Run connection check to master
Check connection from replica to remote master 'primenova.lab.eng.pnq.redhat.com':
   Directory Service: Unsecure port (389): OK
   Directory Service: Secure port (636): OK
   Kerberos KDC: TCP (88): OK
   Kerberos Kpasswd: TCP (464): OK
   HTTP Server: Unsecure port (80): OK
   HTTP Server: Secure port (443): OK

The following list of ports use UDP protocol and would need to be
checked manually:
   Kerberos KDC: UDP (88): SKIPPED
   Kerberos Kpasswd: UDP (464): SKIPPED

Connection from replica to master is OK.
Start listening on required ports for remote master check
Get credentials to log in to remote master
admin.PNQ.REDHAT.COM password: 
Cleaning up...
Installation cancelled.

Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.
[root@goldbug ~]# 


Verified in version: ipa-server-2.2.0-7.el6.x86_64

Comment 8 Martin Kosek 2012-04-19 12:27:29 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

Comment 10 errata-xmlrpc 2012-06-20 13:17:37 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.

http://rhn.redhat.com/errata/RHBA-2012-0819.html


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