Bug 1213986
| Summary: | RGW swift API: Response header of COPY request for object does not contain certain headers | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Yehuda Sadeh <yehuda> |
| Component: | RGW | Assignee: | Yehuda Sadeh <yehuda> |
| Status: | CLOSED ERRATA | QA Contact: | Harish NV Rao <hnallurv> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.3.0 | CC: | cbodley, ceph-eng-bugs, flucifre, icolle, kbader, kdreyer, mbenjamin, owasserm, smanjara, sweil, yehuda |
| Target Milestone: | rc | ||
| Target Release: | 1.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-0.94.1-7.el7cp | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-24 15:52:10 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
Yehuda Sadeh
2015-04-21 17:14:29 UTC
Yehuda, can you please confirm that my cherry-pick was correct for fixing this bug? https://github.com/ceph/ceph/commit/d54ab2a8ff754dfddb13ae0bd5c0806706f2a9a7 On the ceph-devel mailing list, Loic pointed out that my cherry-pick for this bug is slightly different than the one that ultimately landed in Hammer for v0.94.2 (https://github.com/dachary/ceph/commit/b034511fa79996415640b4aca3e8747340f2a127). From Loic's email, http://www.spinics.net/lists/ceph-devel/msg24489.html ... * rgw: send X-Copied-From-Last-Modified header of Swift API is https://github.com/ceph/ceph/commit/d54ab2a8ff754dfddb13ae0bd5c0806706f2a9a7 which is a backport for http://tracker.ceph.com/issues/10663. It has been backported differently in hammer : https://github.com/dachary/ceph/commit/b034511fa79996415640b4aca3e8747340f2a127 as part of https://github.com/ceph/ceph/pull/4568. I want to be sure I've backported the commits correctly for this bug here. Looks good! Verified in ceph-0.94.1-11. The response headers mentioned in c#0 are listed when COPY operation is performed. # curl -i http://10.x.x.x/swift/v1/test-bucket/yum_save_tx -X COPY -H "X-Auth-Token: AUTH_rgwtkxxx" -H "Destination: test-container/yum_save" HTTP/1.1 201 Created etag: c11fe4f67215e8cad987d68a0d2e86c2 Last-Modified: Mon, 15 Jun 2015 13:59:13 GMT X-Copied-From: test-bucket/yum_save_tx.2015-06-15.06-41.F0cSTk.yumtx X-Copied-From-Account: testuser X-Copied-From-Last-Modified: Mon, 15 Jun 2015 12:39:49 GMT Content-type: binary/octet-stream Content-Length: 0 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://access.redhat.com/errata/RHBA-2015:1183 |