Hi, We have a problem with the radosgw using the S3 REST API. Trying to create a new bucket does not work. We got an 405 on API level and the log does indicate an 2002 error. Do anybody know, what this error-code does mean? Find the radosgw-log attached Bests, Michael 2018-09-17 11:58:03.388 7f65250c2700 1 ====== starting new request req=0x7f65250b9830 ===== 2018-09-17 11:58:03.388 7f65250c2700 2 req 20:0.000020::GET /egobackup::initializing for trans_id = tx000000000000000000014-005b9f88bb-d393-default 2018-09-17 11:58:03.388 7f65250c2700 10 rgw api priority: s3=5 s3website=4 2018-09-17 11:58:03.388 7f65250c2700 10 host=85.214.24.54 2018-09-17 11:58:03.388 7f65250c2700 20 subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 2018-09-17 11:58:03.388 7f65250c2700 20 final domain/bucket subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 s->info.domain= s->info.request_ uri=/egobackup 2018-09-17 11:58:03.388 7f65250c2700 20 get_handler handler=25RGWHandler_REST_Bucket_S3 2018-09-17 11:58:03.388 7f65250c2700 10 handler=25RGWHandler_REST_Bucket_S3 2018-09-17 11:58:03.388 7f65250c2700 2 req 20:0.000081:s3:GET /egobackup::getting op 0 2018-09-17 11:58:03.388 7f65250c2700 10 op=32RGWGetBucketLocation_ObjStore_S3 2018-09-17 11:58:03.388 7f65250c2700 2 req 20:0.000086:s3:GET /egobackup:get_bucket_location:verifying requester 2018-09-17 11:58:03.388 7f65250c2700 20 rgw::auth::StrategyRegistry::s3_main_strategy_t: trying rgw::auth::s3::AWSAuthStrategy 2018-09-17 11:58:03.388 7f65250c2700 20 rgw::auth::s3::AWSAuthStrategy: trying rgw::auth::s3::S3AnonymousEngine 2018-09-17 11:58:03.388 7f65250c2700 20 rgw::auth::s3::S3AnonymousEngine denied with reason=-1 2018-09-17 11:58:03.388 7f65250c2700 20 rgw::auth::s3::AWSAuthStrategy: trying rgw::auth::s3::LocalEngine 2018-09-17 11:58:03.388 7f65250c2700 10 get_canon_resource(): dest=/egobackup?location 2018-09-17 11:58:03.388 7f65250c2700 10 string_to_sign: GET 1B2M2Y8AsgTpgAmY7PhCfg== Mon, 17 Sep 2018 10:58:03 GMT /egobackup?location 2018-09-17 11:58:03.388 7f65250c2700 15 string_to_sign=GET 1B2M2Y8AsgTpgAmY7PhCfg== Mon, 17 Sep 2018 10:58:03 GMT /egobackup?location 2018-09-17 11:58:03.388 7f65250c2700 15 server signature=fbEd2DlKyKC8JOXTgMZSXV68ngc= 2018-09-17 11:58:03.388 7f65250c2700 15 client signature=fbEd2DlKyKC8JOXTgMZSXV68ngc= 2018-09-17 11:58:03.388 7f65250c2700 15 compare=0 2018-09-17 11:58:03.388 7f65250c2700 20 rgw::auth::s3::LocalEngine granted access 2018-09-17 11:58:03.388 7f65250c2700 20 rgw::auth::s3::AWSAuthStrategy granted access 2018-09-17 11:58:03.388 7f65250c2700 2 req 20:0.000226:s3:GET /egobackup:get_bucket_location:normalizing buckets and tenants 2018-09-17 11:58:03.388 7f65250c2700 10 s->object=<NULL> s->bucket=egobackup 2018-09-17 11:58:03.388 7f65250c2700 2 req 20:0.000235:s3:GET /egobackup:get_bucket_location:init permissions 2018-09-17 11:58:03.388 7f65250c2700 20 get_system_obj_state: rctx=0x7f65250b7a30 obj=default.rgw.meta:root:egobackup state=0x55b1bc2e1220 s->prefetch_data=0 2018-09-17 11:58:03.388 7f65250c2700 10 cache get: name=default.rgw.meta+root+egobackup : miss 2018-09-17 11:58:03.388 7f65250c2700 10 cache put: name=default.rgw.meta+root+egobackup info.flags=0x0 2018-09-17 11:58:03.388 7f65250c2700 10 adding default.rgw.meta+root+egobackup to cache LRU end 2018-09-17 11:58:03.388 7f65250c2700 10 init_permissions on egobackup[] failed, ret=-2002 2018-09-17 11:58:03.388 7f65250c2700 20 op->ERRORHANDLER: err_no=-2002 new_err_no=-2002 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_status: e=0, sent=24, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_content_length: e=0, sent=21, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::complete_header: e=0, sent=159, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::set_account: e=1 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_body: e=1, sent=219, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::complete_request: e=1, sent=0, total=219 2018-09-17 11:58:03.388 7f65250c2700 2 req 20:0.001272:s3:GET /egobackup:get_bucket_location:op status=0 2018-09-17 11:58:03.388 7f65250c2700 2 req 20:0.001276:s3:GET /egobackup:get_bucket_location:http status=404 2018-09-17 11:58:03.388 7f65250c2700 1 ====== req done req=0x7f65250b9830 op status=0 http_status=404 ====== 2018-09-17 11:58:03.388 7f65250c2700 20 process_request() returned -2002 2018-09-17 11:58:03.388 7f65250c2700 1 civetweb: 0x55b1bc68e000: 81.169.156.122 - - [17/Sep/2018:11:58:03 +0100] "GET /egobackup?location HTTP/1.1" 404 423 - - 2018-09-17 11:58:03.388 7f65250c2700 20 CONTENT_LENGTH=0 2018-09-17 11:58:03.388 7f65250c2700 20 HTTP_AUTHORIZATION=AWS 107E0J1HG5WGMMYC22I6:dLeoldB9Hb0fS3hQ0SnPM70kE9g= 2018-09-17 11:58:03.388 7f65250c2700 20 HTTP_CONTENT_MD5=1B2M2Y8AsgTpgAmY7PhCfg== 2018-09-17 11:58:03.388 7f65250c2700 20 HTTP_DATE=Mon, 17 Sep 2018 10:58:03 GMT 2018-09-17 11:58:03.388 7f65250c2700 20 HTTP_HOST=egobackup.85.214.24.54:7480 2018-09-17 11:58:03.388 7f65250c2700 20 HTTP_VERSION=1.1 2018-09-17 11:58:03.388 7f65250c2700 20 REMOTE_ADDR=81.169.156.122 2018-09-17 11:58:03.388 7f65250c2700 20 REQUEST_METHOD=PUT 2018-09-17 11:58:03.388 7f65250c2700 20 REQUEST_URI=/ 2018-09-17 11:58:03.388 7f65250c2700 20 SCRIPT_URI=/ 2018-09-17 11:58:03.388 7f65250c2700 20 SERVER_PORT=7480 2018-09-17 11:58:03.388 7f65250c2700 1 ====== starting new request req=0x7f65250b9830 ===== 2018-09-17 11:58:03.388 7f65250c2700 2 req 21:0.000023::PUT /::initializing for trans_id = tx000000000000000000015-005b9f88bb-d393-default 2018-09-17 11:58:03.388 7f65250c2700 10 rgw api priority: s3=5 s3website=4 2018-09-17 11:58:03.388 7f65250c2700 10 host=egobackup.85.214.24.54 2018-09-17 11:58:03.388 7f65250c2700 20 subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 2018-09-17 11:58:03.388 7f65250c2700 20 final domain/bucket subdomain= domain= in_hosted_domain=0 in_hosted_domain_s3website=0 s->info.domain= s->info.request_uri=/ 2018-09-17 11:58:03.388 7f65250c2700 20 get_handler handler=26RGWHandler_REST_Service_S3 2018-09-17 11:58:03.388 7f65250c2700 10 handler=26RGWHandler_REST_Service_S3 2018-09-17 11:58:03.388 7f65250c2700 2 req 21:0.000070:s3:PUT /::getting op 1 2018-09-17 11:58:03.388 7f65250c2700 20 handler->ERRORHANDLER: err_no=-2003 new_err_no=-2003 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_status: e=0, sent=33, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_content_length: e=0, sent=21, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_header: e=0, sent=0, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::complete_header: e=0, sent=159, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::set_account: e=1 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::send_body: e=1, sent=189, total=0 2018-09-17 11:58:03.388 7f65250c2700 30 AccountingFilter::complete_request: e=1, sent=0, total=189 2018-09-17 11:58:03.388 7f65250c2700 2 req 21:0.000159:s3:PUT /::op status=0 2018-09-17 11:58:03.388 7f65250c2700 2 req 21:0.000161:s3:PUT /::http status=405 2018-09-17 11:58:03.388 7f65250c2700 1 ====== req done req=0x7f65250b9830 op status=0 http_status=405 ====== 2018-09-17 11:58:03.388 7f65250c2700 20 process_request() returned -2003 2018-09-17 11:58:03.388 7f65250c2700 1 civetweb: 0x55b1bc68e000: 81.169.156.122 - - [17/Sep/2018:11:58:03 +0100] "PUT / HTTP/1.1" 405 402 - - _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com