https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2021-06-24T18:35:24ZCeph rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1977952021-06-24T18:35:24ZSteven Umbehocker
<ul></ul><p>looks like the bug may be in rgw_rest_s3.cc on line 389.</p>
<p>< dump_time_header(s, "x-amz-object-lock-retain-until-date", retention.get_retain_until_date());</p>
<p>That dump_time_header is using this strftime GMT format:</p>
<p>return strftime(timestr, sizeof(timestr),<br /> "%a, %d %b %Y %H:%M:%S %Z", tmp);</p>
<p>Saw there was a method for to_iso_8601 so might be fixable with something like this:</p>
<blockquote>
<p>string date = ceph::to_iso_8601(retain_until_date);</p>
</blockquote>
<blockquote>
<p>dump_header(s, "x-amz-object-lock-retain-until-date", date.c_str());</p>
</blockquote> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1977992021-06-24T20:17:21ZMatt Benjaminmbenjamin@redhat.com
<ul><li><strong>Assignee</strong> set to <i>Matt Benjamin</i></li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1988752021-07-11T11:20:36ZDanny Abukalam
<ul></ul><p>I've tested that fix on both master and nautilus Steven, and it works.</p>
<p>I've submitted a PR to master here - <a class="external" href="https://github.com/ceph/ceph/pull/42273">https://github.com/ceph/ceph/pull/42273</a>.</p>
<p>I believe we should backport this fix once it's been merged.</p> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1991612021-07-14T22:38:01ZMatt Benjaminmbenjamin@redhat.com
<ul><li><strong>Pull request ID</strong> set to <i>42273</i></li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1992092021-07-15T16:02:00ZCasey Bodleycbodley@redhat.com
<ul><li><strong>Backport</strong> set to <i>octopus pacific</i></li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1992102021-07-15T16:02:14ZCasey Bodleycbodley@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1994582021-07-21T17:07:50ZCasey Bodleycbodley@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1994602021-07-21T17:10:22ZBackport Bot
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/51774">Backport #51774</a>: octopus: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)</i> added</li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=1994622021-07-21T17:10:30ZBackport Bot
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/51775">Backport #51775</a>: pacific: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)</i> added</li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2014442021-08-18T10:26:03ZDeepika Upadhyay
<ul></ul><p>Hey Danny!</p>
<p>I see already existing tracker issues for backports, do you want to create backports for them: <a class="external" href="https://github.com/ceph/ceph/blob/master/SubmittingPatches-backports.rst#opening-a-backport-pr">https://github.com/ceph/ceph/blob/master/SubmittingPatches-backports.rst#opening-a-backport-pr</a> ?</p> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2045042021-10-19T08:24:28ZRobert Groenewald
<ul></ul><p>Deepika Upadhyay wrote:</p>
<blockquote>
<p>Hey Danny!</p>
<p>I see already existing tracker issues for backports, do you want to create backports for them: <a class="external" href="https://github.com/ceph/ceph/blob/master/SubmittingPatches-backports.rst#opening-a-backport-pr">https://github.com/ceph/ceph/blob/master/SubmittingPatches-backports.rst#opening-a-backport-pr</a> ?</p>
</blockquote>
<p>Is there any progress on this? We have a huge issue with VEEAM right now because of this. It makes Ceph unusable for things like VBR!</p> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2048962021-10-26T23:12:50ZPreben Berg
<ul></ul><p>I’ve submitted the backport for Octopus: <a class="external" href="https://github.com/ceph/ceph/pull/43656">https://github.com/ceph/ceph/pull/43656</a></p> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2049592021-10-27T14:19:30ZGreg Farnumgfarnum@redhat.com
<ul><li><strong>Project</strong> changed from <i>Ceph</i> to <i>rgw</i></li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2081172022-01-09T15:00:24ZRolf Knudsen
<ul></ul><p>Anything but a new octopus release outstandig to get this into production? We're another VBR user which got across this bug as we upgraded to reccomended version. We'd like to skip tape.</p>
<p>Robert Groenewald wrote:</p>
<blockquote>
<p>Deepika Upadhyay wrote:</p>
<blockquote>
<p>Hey Danny!</p>
<p>I see already existing tracker issues for backports, do you want to create backports for them: <a class="external" href="https://github.com/ceph/ceph/blob/master/SubmittingPatches-backports.rst#opening-a-backport-pr">https://github.com/ceph/ceph/blob/master/SubmittingPatches-backports.rst#opening-a-backport-pr</a> ?</p>
</blockquote>
<p>Is there any progress on this? We have a huge issue with VEEAM right now because of this. It makes Ceph unusable for things like VBR!</p>
</blockquote> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2088362022-01-20T19:25:26ZDavid Ormanormandj@corenode.com
<ul></ul><p>We're working on the Pacific backport now (see backport trackers for status/progress, PR is in), and we'll check on the Octopus backport status, as well.</p> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2097622022-02-03T23:04:40ZJustin Goetzjgoetz@teraswitch.com
<ul></ul><p>We were able to build and test the backport here: <a class="external" href="https://github.com/ceph/ceph/pull/43656">https://github.com/ceph/ceph/pull/43656</a> on our Octopus v15.2.14 cluster.</p>
<p>I can confirm the date codes are now being served correctly:</p>
<pre><code class="text syntaxhl"><span class="CodeRay">'x-amz-object-lock-retain-until-date': '2022-03-01T14:00:00.000000000Z'
</span></code></pre>
<p>I can confirm after applying the backport, our immutable Veeam buckets began working again for our customers, eliminating the "Unable to convert string with date format..." error that was present in Veeam.</p> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2113132022-03-01T19:58:52ZYuri Weinsteinyweinste@redhat.com
<ul></ul><p>Preben Berg wrote:</p>
<blockquote>
<p>I’ve submitted the backport for Octopus: <a class="external" href="https://github.com/ceph/ceph/pull/43656">https://github.com/ceph/ceph/pull/43656</a></p>
</blockquote>
<p>merged</p> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2227462022-08-08T16:33:02ZBackport Bot
<ul><li><strong>Tags</strong> set to <i>backport_processed</i></li></ul> rgw - Bug #51327: Format of date/time header "x-amz-object-lock-retain-until-date" is incorrect (does not meet the S3 API)https://tracker.ceph.com/issues/51327?journal_id=2234412022-08-15T12:18:23ZKonstantin Shalygink0ste@k0ste.ru
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li><li><strong>Tags</strong> deleted (<del><i>backport_processed</i></del>)</li></ul>