Hide Forgot
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:
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2127
Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/d9e8b9a3ed7b26e9cb6bb891cf0d5bb4fcd66dbf ipa-2-2: https://fedorahosted.org/freeipa/changeset/93312d19d8dc5d889d075bf661199eeb98e0a54d
[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
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.
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