Bug in RGW header x-amz-date parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks,

Is there a bug in ceph RGW date parsing?
https://github.com/ceph/ceph/blob/master/src/rgw/rgw_auth_s3.cc#L223 - this
line parses the date in x-amz-date as RFC 2616. BUT the format specified by
Amazon S3 is ISO 8601 basic - YYYYMMDDTHHMMSSZ (
https://docs.aws.amazon.com/ses/latest/APIReference-V2/CommonParameters.html).
I think this causes an error in my tests stating NOTICE: failed to parse
date for auth header. Am I reading the code wrong?

s3Cmd specified for testing in rook docs uses SigV4 (as recommended) so am
assuming this code path isn't getting exercised. I am trying to run the
benchmark from https://github.com/wasabi-tech/s3-benchmark and this uses
sig v2. FWIW it works once I remove the header and add a HTTP date instead.

Sorry I don't have access to the bug tracker (pending account creation), so
mailing here.

Thanks. Subu
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux