| Summary: | [RHEL-6] Metadata validation always fails for marker dir objects during GET | ||
|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | Prashanth Pai <ppai> |
| Component: | gluster-swift | Assignee: | Prashanth Pai <ppai> |
| Status: | CLOSED ERRATA | QA Contact: | surabhi <sbhaloth> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rhgs-3.1 | CC: | amukherj, ppai, rcyriac, rhinduja, rhs-bugs, sasundar, sbhaloth, storage-qa-internal, thiago |
| Target Milestone: | Development Freeze | ||
| Target Release: | RHGS 3.2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | swiftonfile-1.13.1-9.el6rhs | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1351637 | Environment: | |
| Last Closed: | 2017-03-23 04:56:45 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: | |
| Bug Depends On: | 1351637 | ||
| Bug Blocks: | 1351522 | ||
|
Description
Prashanth Pai
2016-09-22 11:26:56 UTC
Downstream changes have been submitted and merged. rhel6 - https://code.engineering.redhat.com/gerrit/85059 curl -i http://localhost:8080/v1/AUTH_test/c1/dirobject -X GET HTTP/1.1 200 OK Content-Length: 0 Accept-Ranges: bytes Last-Modified: Thu, 15 Dec 2016 11:09:18 GMT Etag: d41d8cd98f00b204e9800998ecf8427e X-Timestamp: 1481800157.44880 Content-Type: application/directory X-Trans-Id: txe6e9b11d86ed4655a6ed7-00585279f7 Date: Thu, 15 Dec 2016 11:09:43 GMT [pid 8568] getsockname(8, {sa_family=AF_INET, sin_port=htons(6010), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 [pid 8568] gettimeofday({1481800183, 263202}, NULL) = 0 [pid 8568] gettimeofday({1481800183, 263265}, NULL) = 0 [pid 8568] gettimeofday({1481800183, 263552}, NULL) = 0 [pid 8568] lstat("/mnt/gluster-object/test", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 8568] lstat("/mnt/gluster-object/test/..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 8568] open("/mnt/gluster-object/test/c1/dirobject", O_RDONLY|O_CLOEXEC) = 11 [pid 8568] fstat(11, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 8568] fgetxattr(11, "user.swift.metadata", 0x0, 0) = 183 [pid 8568] fgetxattr(11, "user.swift.metadata", "{"Content-Length":"0","ETag":"d41d8cd98f00b204e9800998ecf8427e","X-Timestamp":"1481800157.44880","X-Object-Type":"marker_dir","X-Type":"Object","Content-Type":"application/directory"}", 183) = 183 [pid 8568] close(11) = 0 [pid 8568] gettimeofday({1481800183, 270573}, NULL) = 0 [pid 8568] gettimeofday({1481800183, 270679}, NULL) = 0 [pid 8568] sendto(8, "HTTP/1.1 200 OK\r\nX-Timestamp: 14"..., 250, 0, NULL, 0) = 250 [pid 8568] gettimeofday({1481800183, 271651}, NULL) = 0 [pid 8568] gettimeofday({1481800183, 271711}, NULL) = 0 [pid 8568] shutdown(8, SHUT_RDWR) = 0 [pid 8568] close(8) = 0 [pid 8568] poll([{fd=12, events=POLLIN|POLLPRI|POLLERR|POLLHUP}, {f On an marker-object, there is no setxattr call and metadata is not rewritten on marker directory object. Verified on swiftonfile-1.13.1-10.el6rhs.noarch 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-2017-0489.html |