Project

General

Profile

Actions

Bug #17269

closed

There is a question about the bucket link API parameters

Added by Jiang Yu over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

#0 RGWBucket::link (this=0x7f55c8ff68d0, op_state=..., err_msg=0x0) at rgw/rgw_bucket.cc:591
#1 0x00007f588d75dd97 in RGWBucketAdminOp::link (store=0x55fe690aabb0, op_state=..., err=0x0) at rgw/rgw_bucket.cc:1058
#2 0x00007f588d95cff3 in RGWOp_Bucket_Link::execute (this=0x7f557401c580) at rgw/rgw_rest_bucket.cc:144
#3 0x00007f588d8b2468 in process_request (store=0x55fe690aabb0, rest=0x7ffff090bf00, req=0x7f55c00175c0, client_io=0x7f55c8ff7750, olog=0x0) at rgw/rgw_process.cc:270
#4 0x000055fe66e67dd4 in RGWFCGXProcess::handle_request (this=0x55fe691852e0, r=0x7f55c00175c0) at rgw/rgw_fcgi_process.cc:119
#5 0x000055fe66e690ce in RGWProcess::RGWWQ::_process (this=0x55fe69185598, req=0x7f55c00175c0) at rgw/rgw_process.h:86
#6 0x000055fe66e6bb8d in ThreadPool::WorkQueue<RGWRequest>::_void_process (this=0x55fe69185598, p=0x7f55c00175c0, handle=...) at ./common/WorkQueue.h:282
#7 0x00007f588dd82b83 in ThreadPool::worker (this=0x55fe69185350, wt=0x7f55c0000e90) at common/WorkQueue.cc:128
#8 0x00007f588dd87013 in ThreadPool::WorkThread::entry (this=0x7f55c0000e90) at common/WorkQueue.h:445
#9 0x00007f588dd76405 in Thread::entry_wrapper (this=0x7f55c0000e90) at common/Thread.cc:87
#10 0x00007f588dd7633a in Thread::_entry_func (arg=0x7f55c0000e90) at common/Thread.cc:67
#11 0x00007f588bcd3184 in start_thread (arg=0x7f55c8ff9700) at pthread_create.c:312
#12 0x00007f588b4e637d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

I see the code requires the client to carry “bucket-id”,RESTArgs::get_string(s, "bucket-id", bucket_id, &bucket_id);
But the document did not write the bucket-id is doing what?
How can I get?

http://docs.ceph.com/docs/master/radosgw/adminops/#link-bucket

Actions #1

Updated by Yehuda Sadeh over 7 years ago

  • Status changed from New to Resolved
  • Priority changed from High to Normal

The bucket_id is specified when running the following command:

$ radosgw-admin metadata get bucket:<bucket>

btw, such questions should really be sent to the ceph-users mailing list.

Actions #2

Updated by Jiang Yu over 7 years ago

Thank you very much, my question is solved

Actions

Also available in: Atom PDF