Bug 1287436
Summary: | Link files being created(and not cleaned up), if hot tier is full during migration | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> |
Component: | tier | Assignee: | hari gowtham <hgowtham> |
Status: | CLOSED WONTFIX | QA Contact: | Nag Pavan Chilakam <nchilaka> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rhgs-3.1 | CC: | rhs-bugs |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | tier-migration | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-08 19:19:09 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
Nag Pavan Chilakam
2015-12-02 06:03:31 UTC
Also, if we delete such a file and then try to create a new file with same name we get following error on mount : [root@rhs-client1 cola]# touch fil1 touch: setting times of ‘fil1’: Stale file handle [root@rhs-client1 cola]# [root@rhs-client1 cola]# [root@rhs-client1 cola]# touch fil1 touch: setting times of ‘fil1’: Stale file handle [root@rhs-client1 cola]# [root@rhs-client1 cola]# touch fil1 touch: setting times of ‘fil1’: Stale file handle mount log: [root@rhs-client1 cola]# tail /var/log/glusterfs/mnt-cola.log [2015-12-18 17:56:02.729983] I [MSGID: 109069] [dht-common.c:1159:dht_lookup_unlink_stale_linkto_cbk] 2-cola-tier-dht: Returned with op_ret -1 and op_errno 16 for /fil1 [2015-12-18 17:56:02.731658] I [MSGID: 109070] [dht-common.c:1865:dht_lookup_linkfile_cbk] 2-cola-tier-dht: lookup of /fil1 on cola-hot-dht (following linkfile) reached link,gfid = 00000000-0000-0000-0000-000000000000 [2015-12-18 17:56:02.732169] W [MSGID: 109009] [dht-common.c:1619:dht_lookup_everywhere_cbk] 2-cola-tier-dht: /fil1: gfid differs on subvolume cola-hot-dht, gfid local = 7a9ba3e2-72f2-45c0-ae60-76637e4169a5, gfid node = 32c02986-be79-42b2-8fac-f29abb356856 The message "W [MSGID: 114031] [client-rpc-fops.c:664:client3_3_unlink_cbk] 2-cola-client-4: remote operation failed [Device or resource busy]" repeated 2 times between [2015-12-18 17:56:02.725145] and [2015-12-18 17:56:02.732609] [2015-12-18 17:56:02.732612] I [MSGID: 109069] [dht-common.c:1069:dht_lookup_unlink_cbk] 2-cola-tier-dht: lookup_unlink returned with op_ret -> -1 and op-errno -> 16 for /fil1 [2015-12-18 17:56:02.733384] W [MSGID: 114031] [client-rpc-fops.c:664:client3_3_unlink_cbk] 2-cola-client-1: remote operation failed [Device or resource busy] [2015-12-18 17:56:02.733502] W [MSGID: 114031] [client-rpc-fops.c:664:client3_3_unlink_cbk] 2-cola-client-0: remote operation failed [Device or resource busy] [2015-12-18 17:56:02.733820] I [MSGID: 109069] [dht-common.c:1159:dht_lookup_unlink_stale_linkto_cbk] 2-cola-tier-dht: Returned with op_ret -1 and op_errno 16 for /fil1 [2015-12-18 17:56:02.741391] I [MSGID: 109063] [dht-layout.c:702:dht_layout_normalize] 2-cola-tier-dht: Found anomalies in /fil1 (gfid = 32c02986-be79-42b2-8fac-f29abb356856). Holes=1 overlaps=0 [2015-12-18 17:56:02.741522] W [fuse-bridge.c:1058:fuse_setattr_cbk] 0-glusterfs-fuse: 2884793: SETATTR() /fil1 => -1 (Stale file handle) after some time i was able to create the file but saw following error in mount log [root@rhs-client1 cola]# tail /var/log/glusterfs/mnt-cola.log [2015-12-18 17:56:02.732169] W [MSGID: 109009] [dht-common.c:1619:dht_lookup_everywhere_cbk] 2-cola-tier-dht: /fil1: gfid differs on subvolume cola-hot-dht, gfid local = 7a9ba3e2-72f2-45c0-ae60-76637e4169a5, gfid node = 32c02986-be79-42b2-8fac-f29abb356856 The message "W [MSGID: 114031] [client-rpc-fops.c:664:client3_3_unlink_cbk] 2-cola-client-4: remote operation failed [Device or resource busy]" repeated 2 times between [2015-12-18 17:56:02.725145] and [2015-12-18 17:56:02.732609] [2015-12-18 17:56:02.732612] I [MSGID: 109069] [dht-common.c:1069:dht_lookup_unlink_cbk] 2-cola-tier-dht: lookup_unlink returned with op_ret -> -1 and op-errno -> 16 for /fil1 [2015-12-18 17:56:02.733384] W [MSGID: 114031] [client-rpc-fops.c:664:client3_3_unlink_cbk] 2-cola-client-1: remote operation failed [Device or resource busy] [2015-12-18 17:56:02.733502] W [MSGID: 114031] [client-rpc-fops.c:664:client3_3_unlink_cbk] 2-cola-client-0: remote operation failed [Device or resource busy] [2015-12-18 17:56:02.733820] I [MSGID: 109069] [dht-common.c:1159:dht_lookup_unlink_stale_linkto_cbk] 2-cola-tier-dht: Returned with op_ret -1 and op_errno 16 for /fil1 [2015-12-18 17:56:02.741391] I [MSGID: 109063] [dht-layout.c:702:dht_layout_normalize] 2-cola-tier-dht: Found anomalies in /fil1 (gfid = 32c02986-be79-42b2-8fac-f29abb356856). Holes=1 overlaps=0 [2015-12-18 17:56:02.741522] W [fuse-bridge.c:1058:fuse_setattr_cbk] 0-glusterfs-fuse: 2884793: SETATTR() /fil1 => -1 (Stale file handle) [2015-12-18 17:56:02.732187] I [MSGID: 109045] [dht-common.c:1744:dht_lookup_everywhere_cbk] 2-cola-tier-dht: attempting deletion of stale linkfile /fil1 on cola-hot-dht (hashed subvol is cola-cold-dht) [2015-12-18 17:56:02.741502] E [MSGID: 109040] [dht-helper.c:1020:dht_migration_complete_check_task] 2-cola-tier-dht: /fil1: failed to lookup the file on cola-tier-dht [Stale file handle] [root@rhs-client1 cola]# As tier is not being actively developed, I'm closing this bug. Feel free to open it if necessary. |