collect S3 error messages

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

 



hi, all

Our RGW has a bug: http://tracker.ceph.com/issues/18241

According to the AWS documentation the Code element in an error
response for Multi-Object Delete should be a string with values
resembling codes we usually convey as rgw_http_errors::s3_code.
Code
Status code for the result of the failed delete. .
Type: String
Values: AccessDenied, InternalError
Ancestor: Error
Actually we are dumping Code as int with HTTP response number. In
RGWDeleteMultiObj_ObjStore_S3::send_partial_response we have:
      s->formatter->open_object_section("Error");
      err_no = -op_ret;
      rgw_get_errno_s3(&r, err_no);
      s->formatter->dump_string("Key", key.name);
      s->formatter->dump_string("VersionId", key.instance);
      s->formatter->dump_int("Code", r.http_ret);
      s->formatter->dump_string("Message", r.s3_code);
      s->formatter->close_section();



We need to collect "error message" for RGW, as discuss with @Yehudasa,
I have created a gdoc which could be commented by anyone. Please help
us to correct those MESSAGEs

Google Doc URL is
https://docs.google.com/document/d/1iDpqOrVulZbEDXUM_LTsb8IBydNyu4i9CpMDQiM8ARY/edit?usp=sharing

Any comments would be appreciated! Thanks
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux