#2127 Traceback message displayed while replica install is terminated before entering admin password.
Closed: Fixed None Opened 12 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=754635

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:

Moving to next month iteration.

Metadata Update from @mkosek:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03

7 years ago

Login to comment on this ticket.

Metadata