Description of problem:
When I open 'Register system' dialog
and fill 'Login' field
and let 'Password' field empty
and click 'Register'
Then a raw message
'Error: /usr/lib64/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal. passwd = fallback_getpass(prompt, stream) Warning: Password input may be echoed. Password: Registering to: subscription.rhsm.stage.redhat.com:443/subscription'
Version-Release number of selected component (if applicable):
[root@jstavel-rhel7-latest-server ~]# rpm -qa | grep cockpit
Raw result with python related info.
Something better from customer's perspective.
Created attachment 1333181 [details]
a screenshot of a raw error message
I think that this bug is fixed by existing PR (not merged yet). I'm adding link to this PR.
Created attachment 1357599 [details]
Better error message, when no password is provided.
Created attachment 1388766 [details]
Error: Missing username/password
Moving bug to verified .
Proper error message is now thrown to the user
[root@bkr-hv03-guest18 ~]# rpm -qa | grep cockpit
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.