Bug 1244670

Summary: After executing volume set command hook script takes a while to run and update the share information in smb.conf
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: surabhi <sbhaloth>
Component: coreAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED WONTFIX QA Contact: Anoop <annair>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: rhs-bugs
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-06 06:13:57 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:

Description surabhi 2015-07-20 09:02:18 UTC
Description of problem:

After setting the volume option user.cifs/user.smb to enable or disable , the hook scripts are getting executed with some delay(few seconds) and the share entry from smb.conf gets removed or added with the delay and not immediately as we set the option.

In previous releases , the smb.conf used to get updated as soon as we execute the command gluster volume set.

Already verified that once the hook script gets the instruction, it executes the command within 1 sec, the delay is between executing teh vol set command and execution of hook script.


Version-Release number of selected component (if applicable):
glusterfs-3.7.1-9.el7rhgs.x86_64


How reproducible:
Always

Steps to Reproduce:
1.create a volume
2.start, do volume set 
3. check testparm/smb.conf for the share entry immediately after executing command

Actual results:
it takes few seconds delay to execute hook script after executing vol set.

Expected results:
as per pre


Additional info:

Comment 2 surabhi 2015-07-20 09:04:25 UTC
Expected results:
as per previous releases as soon as volume set command is executed , the hook scripts gets executed and share entry gets updated for smb.conf.