Bug 1213802

Summary: tiering:volume set command fails for tiered volume after restarting glusterd
Product: [Community] GlusterFS Reporter: Mohammed Rafi KC <rkavunga>
Component: tieringAssignee: Mohammed Rafi KC <rkavunga>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig, nchilaka, vagarwal
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard: TIERING
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-27 05:48:41 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: 1186580, 1199352, 1260923    

Description Mohammed Rafi KC 2015-04-21 10:36:59 UTC
Description of problem:

gluster volume set command fails for a tiered volume after restarting the glusterd.

# gluster v set patchy2 client-log-level ERROR
volume set: failed: Error, Validation Failed

glusterd logs

[2015-04-21 10:26:14.875202] D [options.c:1036:xlator_validate_rec] 0-patchy2-worm: Validated options
[2015-04-21 10:26:14.875268] D [options.c:1036:xlator_validate_rec] 0-patchy2-read-only: Validated options
[2015-04-21 10:26:14.875404] D [options.c:1036:xlator_validate_rec] 0-/home/brick18: Validated options
[2015-04-21 10:26:14.875701] D [options.c:1036:xlator_validate_rec] 0-patchy2-server: Validated options
[2015-04-21 10:26:14.875875] D [glusterd-volgen.c:5165:validate_brickopts] 0-: Returning 0
[2015-04-21 10:26:14.875908] D [glusterd-volgen.c:5142:validate_clientopts] 0-: Returning -1
[2015-04-21 10:26:14.875913] D [glusterd-volgen.c:5286:glusterd_validate_reconfopts] 0-: Could not Validate client
[2015-04-21 10:26:14.875917] D [glusterd-volgen.c:5305:glusterd_validate_reconfopts] 0-: Returning -1
[2015-04-21 10:26:14.875920] E [glusterd-op-sm.c:1057:glusterd_op_stage_set_volume] 0-management: Could not create temp volfile, some option failed: (null)
[2015-04-21 10:26:14.875926] D [glusterd-op-sm.c:1117:glusterd_op_stage_set_volume] 0-management: Error, Cannot Validate option :Error, Validation Failed
[2015-04-21 10:26:14.875930] D [glusterd-op-sm.c:4976:glusterd_op_stage_validate] 0-management: OP = 11. Returning -1
[2015-04-21 10:26:14.875934] E [glusterd-syncop.c:1205:gd_stage_op_phase] 0-management: Staging of operation 'Volume Set' failed on localhost : Error, Validation Failed

Version-Release number of selected component (if applicable):


How reproducible:

always

Steps to Reproduce:
1.create a single node cluster
2.create a tiered volume
3.kill glusterd
4.bring back glusterd
5.do a volume set command eg 
6.gluster v set patchy client-log-level ERROR

Actual results:

volume set failed

Expected results:

volume set should success.

Additional info:

Comment 1 Mohammed Rafi KC 2015-04-27 05:48:41 UTC
I couldn't reproduce the issue in latest build. So closing the bug as current release.