Bug 1463192
Summary: | gfapi: discard glfs object when volume is deleted | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Prasanna Kumar Kalever <prasanna.kalever> | ||||
Component: | libgfapi | Assignee: | Niels de Vos <ndevos> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Vivek Das <vdas> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rhgs-3.3 | CC: | amukherj, atumball, bugs, ndevos, prasanna.kalever, rhs-bugs, storage-qa-internal | ||||
Target Milestone: | --- | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1463191 | Environment: | |||||
Last Closed: | 2018-11-19 07:35:58 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: | 1463191 | ||||||
Bug Blocks: | 1459850 | ||||||
Attachments: |
|
Description
Prasanna Kumar Kalever
2017-06-20 11:12:28 UTC
Created attachment 1491665 [details] Small test program I am unable to reproduce the problem. Could you explain what I am missing, or better yet, adapt the program? Compile: $ gcc -Wall -g -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=1 -I/usr/include/uuid -lacl -lgfapi -lglusterfs -lgfrpc -lgfxdr -luuid test-volume-recreate.c -o test-volume-recreate Run: $ ./test-volume-recreate $HOSTNAME bz1463192 $PWD/bz1463192.log volume create: bz1463192: success: please start the volume to access data volume start: bz1463192: success glfs_set_volfile_server : returned 0 glfs_set_logging : returned 0 glfs_init : returned 0 volume stop: bz1463192: success volume delete: bz1463192: success volume create: bz1463192: success: please start the volume to access data volume start: bz1463192: success glfs_h_anonymous_write : returned error -1 (Stale file handle) glfs_fini(fs) returned 0 The above was tested on glusterfs-4.1.5. Prasanna, I would mark this as CLOSED Upstream, mainly to highlight that this is not critical on OCS setup, and also looks like on upstream master, the issue is not happening too. |