Bug 1234213
Summary: | [Backup]: Password of the peer nodes prompted whenever a glusterfind session is deleted. | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Sweta Anandpara <sanandpa> | |
Component: | glusterfind | Assignee: | Milind Changire <mchangir> | |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.1 | CC: | annair, asrivast, avishwan, divya, khiremat, mchangir, rhinduja, rhs-bugs, storage-qa-internal | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.1.1 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.1-14 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, on executing the 'glusterfind delete' command, the user was presented with password prompts for peer nodes. This was due to the peer node SSH key, set up for password-less SSH, getting deleted on local node before the keys got deleted on peer nodes. As a consequence, password prompts got displayed for all peer nodes all at once. The user had to enter passwords for all peer nodes as many times as there are peer nodes in the cluster. With this fix, checks have been added to avoid deleting SSH keys on local node before deleting them on peer node. The SSH keys on local node eventually get deleted as part of session cleanup. Now, the password prompts are no longer presented on executing a 'glusterfind delete' command.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1243785 1250410 (view as bug list) | Environment: | ||
Last Closed: | 2015-10-05 07:14:01 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1223636, 1243785, 1250410, 1251815 |
Description
Sweta Anandpara
2015-06-22 04:31:31 UTC
Sosreports updated at: http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/1234213/ Delete command gets nodes list from gluster volume info, and cleans up the session directory one by one. If the first node in the list is main node then, it deletes the session directory. Ssh pem key present in session directory also gets deleted. After this all the cleanup commands will fail since ssh key not present for passwordless ssh login. Fix: Execute delete in the main node only when cleanup command completed in all the nodes. Upstream Patch posted. Master: http://review.gluster.org/#/c/11693/ Release-3.7: http://review.gluster.org/#/c/11832/ Downstream patch https://code.engineering.redhat.com/gerrit/#/c/54471/ Verified with build: glusterfs-3.7.1-14.el7rhgs.x86_64 If a session is deleted from the node which is used to create the session, the passwords are not asked as: [root@georep1 ~]# glusterfind list SESSION VOLUME SESSION TIME --------------------------------------------------------------------------- gfs master 2015-09-04 11:59:30 g master 2015-09-04 12:14:10 [root@georep1 ~]# glusterfind delete g master Session g with volume master deleted [root@georep1 ~]# [root@georep1 ~]# time glusterfind delete gfs master Session gfs with volume master deleted real 0m0.832s user 0m1.230s sys 0m0.432s [root@georep1 ~]# glusterfind list No sessions found [root@georep1 ~]# But if a session is deleted from any other node in cluster, the passwords are asked as: [root@georep2 scripts]# glusterfind delete g master root.46.93's password: root.46.154's password: root.46.96's password: root.46.96's password: root.46.93's password: root.46.96's password: root.46.93's password: root.46.154's password: root.46.154's password: According to the comment in bz: https://bugzilla.redhat.com/show_bug.cgi?id=1232569#c4 glusterfind commands will not work in peer nodes other than the initiated node ADMIN Guide doc bug is raised to have a note: https://bugzilla.redhat.com/show_bug.cgi?id=1260106 Moving this bug to verified as it doesn't ask for password from the node involved in creation of session. Please review and sign-off the edited doc text. Doc Text looks good to me. 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. https://rhn.redhat.com/errata/RHSA-2015-1845.html |