Bug 1276227
Summary: | Data Tiering:delete command rm -rf not deleting files the linkto file(hashed) which are under migration and possible spit-brain observed and possible disk wastage | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> | |
Component: | tier | Assignee: | Mohammed Rafi KC <rkavunga> | |
Status: | CLOSED ERRATA | QA Contact: | krishnaram Karthick <kramdoss> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | rhgs-3.1 | CC: | asrivast, dlambrig, rhs-bugs, rkavunga, sankarshan, storage-qa-internal | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.1.2 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.5-12 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1282388 1282390 (view as bug list) | Environment: | ||
Last Closed: | 2016-03-01 05:47:32 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: | 1282388, 1282390 | |||
Bug Blocks: | 1260783, 1260923, 1285237, 1289437, 1289975 |
Description
Nag Pavan Chilakam
2015-10-29 07:04:06 UTC
following is the xattrs during the delete of files: [root@zod glusterfs]# head -n 853 /heels.log |tail -n 100 /rhs/brick1/rosa/: total 0 /rhs/brick2/rosa/: total 510080 ---------T. 2 root root 614400000 Oct 29 13:16 heaven.3 /rhs/brick6/rosa_hot/: total 0 /rhs/brick7/rosa_hot/: total 0 # file: rhs/brick2/rosa/heaven.3 security.selinux=0x73797374656d5f753a6f626a6563745f723a756e6c6162656c65645f743a733000 trusted.afr.dirty=0x000000010000000000000000 trusted.bit-rot.version=0x0200000000000000562f7f97000d37e6 trusted.gfid=0x644b07152673448f8b29cb3e43940f13 trusted.pgfid.00000000-0000-0000-0000-000000000001=0x00000001 trusted.tier-gfid.linkto=0x726f73612d686f742d64687400 /rhs/brick1/rosa/: total 0 /rhs/brick2/rosa/: total 568960 ---------T. 2 root root 614400000 Oct 29 13:16 heaven.3 /rhs/brick6/rosa_hot/: total 0 /rhs/brick7/rosa_hot/: total 0 # file: rhs/brick2/rosa/heaven.3 security.selinux=0x73797374656d5f753a6f626a6563745f723a756e6c6162656c65645f743a733000 trusted.afr.dirty=0x000000010000000000000000 trusted.bit-rot.version=0x0200000000000000562f7f97000d37e6 trusted.gfid=0x644b07152673448f8b29cb3e43940f13 trusted.pgfid.00000000-0000-0000-0000-000000000001=0x00000001 trusted.tier-gfid.linkto=0x726f73612d686f742d64687400 /rhs/brick1/rosa/: total 0 /rhs/brick2/rosa/: total 600000 -rw-r--r--. 2 root root 614400000 Oct 29 13:13 heaven.3 /rhs/brick6/rosa_hot/: total 0 /rhs/brick7/rosa_hot/: total 0 # file: rhs/brick2/rosa/heaven.3 security.selinux=0x73797374656d5f753a6f626a6563745f723a756e6c6162656c65645f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.bit-rot.version=0x0200000000000000562f7f97000d37e6 trusted.gfid=0x644b07152673448f8b29cb3e43940f13 trusted.pgfid.00000000-0000-0000-0000-000000000001=0x00000001 trusted.tier-gfid.linkto=0x726f73612d686f742d64687400 /rhs/brick1/rosa/: total 0 /rhs/brick2/rosa/: total 600000 -rw-r--r--. 2 root root 614400000 Oct 29 13:13 heaven.3 /rhs/brick6/rosa_hot/: total 0 /rhs/brick7/rosa_hot/: total 0 # file: rhs/brick2/rosa/heaven.3 security.selinux=0x73797374656d5f753a6f626a6563745f723a756e6c6162656c65645f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.bit-rot.version=0x0200000000000000562f7f97000d37e6 trusted.gfid=0x644b07152673448f8b29cb3e43940f13 trusted.pgfid.00000000-0000-0000-0000-000000000001=0x00000001 trusted.tier-gfid.linkto=0x726f73612d686f742d64687400 /rhs/brick1/rosa/: total 0 /rhs/brick2/rosa/: total 600000 -rw-r--r--. 2 root root 614400000 Oct 29 13:13 heaven.3 /rhs/brick6/rosa_hot/: total 0 /rhs/brick7/rosa_hot/: total 0 # file: rhs/brick2/rosa/heaven.3 security.selinux=0x73797374656d5f753a6f626a6563745f723a756e6c6162656c65645f743a733000 trusted.afr.dirty=0x000000000000000000000000 trusted.bit-rot.version=0x0200000000000000562f7f97000d37e6 trusted.gfid=0x644b07152673448f8b29cb3e43940f13 trusted.pgfid.00000000-0000-0000-0000-000000000001=0x00000001 trusted.tier-gfid.linkto=0x726f73612d686f742d64687400 [root@zod glusterfs]# tier logs: =========== 2015-10-29 07:46:23.327109] I [MSGID: 109038] [tier.c:476:tier_migrate_using_query_file] 0-rosa-tier-dht: Tier 0 src_subvol rosa-hot-dht file heaven.3 [2015-10-29 07:46:23.328847] I [dht-rebalance.c:1103:dht_migrate_file] 0-rosa-tier-dht: /heaven.3: attempting to move from rosa-hot-dht to rosa-cold-dht [2015-10-29 07:46:44.142458] W [dht-rebalance.c:1247:dht_migrate_file] 0-rosa-tier-dht: /heaven.3: failed to fsync on rosa-cold-dht (Structure needs cleaning) [2015-10-29 07:46:44.144700] W [MSGID: 114031] [client-rpc-fops.c:2971:client3_3_lookup_cbk] 0-rosa-client-7: remote operation failed. Path: <gfid:644b0715-2673-448f-8b29-cb3e43940f13> (644b0715-2673-448f-8b29-cb3e43940f13) [No such file or directory] [2015-10-29 07:46:44.144923] W [MSGID: 114031] [client-rpc-fops.c:2971:client3_3_lookup_cbk] 0-rosa-client-6: remote operation failed. Path: <gfid:644b0715-2673-448f-8b29-cb3e43940f13> (644b0715-2673-448f-8b29-cb3e43940f13) [No such file or directory] [2015-10-29 07:46:44.145032] W [MSGID: 109023] [dht-rebalance.c:1317:dht_migrate_file] 0-rosa-tier-dht: Migrate file failed:/heaven.3: failed to get xattr from rosa-hot-dht (No such file or directory) [2015-10-29 07:46:44.145091] E [MSGID: 108008] [afr-transaction.c:1975:afr_transaction] 0-rosa-replicate-2: Failing FSETATTR on gfid 644b0715-2673-448f-8b29-cb3e43940f13: split-brain observed. [Input/output error] [2015-10-29 07:46:44.145470] W [MSGID: 109023] [dht-rebalance.c:1356:dht_migrate_file] 0-rosa-tier-dht: Migrate file failed:/heaven.3: failed to perform setattr on rosa-hot-dht [Input/output error] [2015-10-29 07:46:44.146381] E [MSGID: 109037] [tier.c:492:tier_migrate_using_query_file] 0-rosa-tier-dht: ERROR -28 in current migration heaven.3 /heaven.3 [2015-10-29 07:46:44.150682] E [MSGID: 109037] [tier.c:442:tier_migrate_using_query_file] 0-rosa-tier-dht: ERROR in current lookup [2015-10-29 07:46:44.153524] E [MSGID: 109037] [tier.c:442:tier_migrate_using_query_file] 0-rosa-tier-dht: ERROR in current lookup [2015-10-29 07:46:44.153656] E [MSGID: 109037] [tier.c:1446:tier_start] 0-rosa-tier-dht: Demotion failed [2015-10-29 07:48:00.161457] I [MSGID: 109038] [tier.c:1010:tier_build_migration_qfile] 0-rosa-tier-dht: Failed to remove /var/run/gluster/rosa-tier-dht/demotequeryfile-rosa-tier-dht ^C upstream patch : http://review.gluster.org/12829 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/RHBA-2016-0193.html |