| Summary: | if ricci authentication hasn't taken place yet, then state that and exit | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | ricci | Assignee: | Chris Feist <cfeist> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | cluster-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ricci-0.16.2-29.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 14:18:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Corey Marthaler
2011-03-04 20:33:20 UTC
The above "Enter the ricci password" endless loop should be replaced with a single message stating "hey dummy, run passwd ricci". If the password entered isn't correct, cman_tool should immediately fail (with a message to that effect). It shouldn't continue to request a password. devel_acking this. Due to the way ccs_sync was written a rewrite of major parts of the code would be necessary to completely fix the broken behavior. However, now when you type Control-C, it will actually interrupt the program and get you out. Also, if you enter an incorrect password for a node, ccs_sync may ask your for passwords for other nodes, but it will not ask for the password for a node more than once. How to test: On all ricci nodes: rm -f /var/lib/ricci/certs/clients/client_cert_* service ricci restart On node running ccs_sync: [root@ask-03 ~]# ccs_sync You have not authenticated to the ricci daemon on ask-03 Password: <enter bad password here> Incorrect ricci password for ask-03 [root@ask-03 ~]# With old ccs_sync it would continually ask for the nodes password instead of failing This now exits after receiving an invalid password, as well as when receiving a ^C. I'd still like to see it exit right away with a "run 'passwd ricci'" message when it knows that authenticated hasn't even taken place yet. I'll file another RFE for that and mark this one verified. [root@taft-01 ~]# cman_tool version -r You have not authenticated to the ricci daemon on taft-01 Password: You have not authenticated to the ricci daemon on taft-04 Password: You have not authenticated to the ricci daemon on taft-03 Password: You have not authenticated to the ricci daemon on taft-02 Password: Incorrect ricci password for taft-01 cman_tool: ccs_sync failed. If you have distributed the config file yourself, try re-running with -S [root@taft-01 ~]# cman_tool version -r You have not authenticated to the ricci daemon on taft-03 Password: You have not authenticated to the ricci daemon on taft-04 Password: ^C cman_tool: ccs_sync failed. If you have distributed the config file yourself, try re-running with -S An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0749.html |