This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# create a bucket and enable versioning | |
import boto3 | |
import sys | |
# bucket name as first argument | |
bucketname = sys.argv[1] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RGWRados *RGWStoreManager::init_storage_provider(CephContext *cct, bool use_cache) | |
{ | |
// service factory functions return unique_ptr and take dependencies as raw pointers, | |
// or as unique_ptr&& to transfer ownership. errors are thrown as std::system_errors | |
try { | |
auto rados = create_rados(cct); | |
auto core = create_sysobj_core(cct, rados.get()); | |
auto sysobj = create_sysobj(cct, rados.get(), core.get()); | |
auto sync = create_sync_modules(cct); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-01-28 15:15:30.725 7f2e7422f700 1 -- v2:10.17.151.111:0/3494253670 --> [v2:10.17.151.111:6808/32473,v1:10.17.151.111:6809/32473] -- osd_op(unknown.0.0:183 5.4 5:37a55eaa:::.dir.cc0a453e-e99d-41d2-8231-8dc498033b02.4146.1.1:head [call rgw.guard_bucket_resharding,call rgw.bucket_link_olh] snapc 0=[] ondisk+write+known_if_redirected e19) v8 -- 0x56156cb8c000 con 0x56156c330880 | |
2019-01-28 15:15:30.728 7f2e89c6c700 1 -- v2:10.17.151.111:0/3494253670 <== osd.0 v2:10.17.151.111:6808/32473 183 ==== osd_op_reply(183 .dir.cc0a453e-e99d-41d2-8231-8dc498033b02.4146.1.1 [call,call] v19'15 uv14 ondisk = -125 ((125) Operation canceled)) v8 ==== 236+0+0 (4034947892 0 0) 0x56156cb8c000 con 0x56156c330880 | |
2019-01-28 15:15:30.728 7f2e7422f700 20 cls_rgw_bucket_link_olh() returned r=-125 | |
2019-01-28 15:15:30.728 7f2e7422f700 20 bucket_index_link_olh() target_obj=uxpygt-1:obj delete_marker=0 returned -125 | |
2019 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-04-19 19:01:14.979 7f4196906700 20 HTTP_ACCEPT_ENCODING=identity | |
2019-04-19 19:01:14.979 7f4196906700 20 HTTP_AUTHORIZATION=AWS4-HMAC-SHA256 Credential=0555b35654ad1656d804/20190419/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=9ddc31d9a97e5ed644337fc6b69b8ae1c92522ef86933e4a8d24f2e9e4c95837 | |
2019-04-19 19:01:14.979 7f4196906700 20 HTTP_HOST=cezanne.eng.arb.redhat.com:8000 | |
2019-04-19 19:01:14.979 7f4196906700 20 HTTP_USER_AGENT=Boto3/1.9.103 Python/2.7.15 Linux/4.20.11-100.fc28.x86_64 Botocore/1.12.103 | |
2019-04-19 19:01:14.979 7f4196906700 20 HTTP_VERSION=1.1 | |
2019-04-19 19:01:14.979 7f4196906700 20 HTTP_X_AMZ_CONTENT_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | |
2019-04-19 19:01:14.979 7f4196906700 20 HTTP_X_AMZ_DATE=20190419T230114Z | |
2019-04-19 19:01:14.979 7f4196906700 20 QUERY_STRING=max-keys=1000&encoding-type=url&allow-unordered=true | |
2019-04-19 19:01:14.979 7f4196906700 20 REMOTE_ADDR=10.17.151.111 | |
2019-04-19 19:01:14.979 7f4196906700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-04-19 19:15:19.184 7ff71f2ae700 20 HTTP_ACCEPT_ENCODING=identity | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 HTTP_AUTHORIZATION=AWS4-HMAC-SHA256 Credential=0555b35654ad1656d804/20190419/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=9a9269aa36d87750e5eab3e282f36c5af42b4e70cadd2a124d40a321ce4dce80 | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 HTTP_HOST=cezanne.eng.arb.redhat.com:8000 | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 HTTP_USER_AGENT=Boto3/1.9.103 Python/2.7.15 Linux/4.20.11-100.fc28.x86_64 Botocore/1.12.103 | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 HTTP_VERSION=1.1 | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 HTTP_X_AMZ_CONTENT_SHA256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 HTTP_X_AMZ_DATE=20190419T231519Z | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 QUERY_STRING=max-keys=1000&encoding-type=url&allow-unordered=true | |
2019-04-19 19:15:19.184 7ff71f2ae700 20 REMOTE_ADDR=10.17.151.111 | |
2019-04-19 19:15:19.184 7ff71f2ae700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ceph-mgr dashboard not built - disabling. | |
** going verbose ** | |
rm -f core* | |
hostname cezanne | |
ip 10.17.151.111 | |
port 40239 | |
/home/cbodley/scratch/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mon. /home/cbodley/scratch/ceph/build/keyring --cap mon 'allow *' | |
creating /home/cbodley/scratch/ceph/build/keyring | |
/home/cbodley/scratch/ceph/src/common/buffer.cc:492:9: runtime error: member access within null pointer of type 'struct raw' | |
/home/cbodley/scratch/ceph/src/common/buffer.cc:493:9: runtime error: member access within null pointer of type 'struct raw' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct cls_queue_marker { uint64_t gen; uint64_t offset; }; | |
struct cls_queue_header; | |
struct cls_queue_entry { cls_queue_marker marker; bufferlist data; }; | |
int queue_marker_encode(const cls_queue_marker& marker, std::string& encoded); | |
int queue_marker_decode(const std::string& encoded, cls_queue_marker& marker); | |
int queue_header_read(cls_method_context_t hctx, cls_queue_header&); | |
int queue_header_write(cls_method_context_t hctx, const cls_queue_header&); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/test/cls_log/test_cls_log.cc b/src/test/cls_log/test_cls_log.cc | |
index 868afcaf65..e23322ff25 100644 | |
--- a/src/test/cls_log/test_cls_log.cc | |
+++ b/src/test/cls_log/test_cls_log.cc | |
@@ -381,3 +381,34 @@ TEST_F(cls_log, trim_by_marker) | |
ASSERT_EQ(-ENODATA, do_log_trim(ioctx, oid, from, to)); | |
} | |
} | |
+ | |
+static void create_remove(librados::IoCtx& ioctx, std::string& oid, int count) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/rgw/rgw_pubsub.h b/src/rgw/rgw_pubsub.h | |
index d752044aee..94a69d6e35 100644 | |
--- a/src/rgw/rgw_pubsub.h | |
+++ b/src/rgw/rgw_pubsub.h | |
@@ -648,7 +648,6 @@ int RGWUserPubSub::write(const rgw_raw_obj& obj, const T& info, RGWObjVersionTra | |
bufferlist bl; | |
encode(info, bl); | |
- auto obj_ctx = store->svc()->sysobj->init_obj_ctx(); | |
int ret = rgw_put_system_obj(obj_ctx, obj.pool, obj.oid, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 1.0, | |
"merge": { | |
"shapes": { | |
"ListObjectsRequest": { | |
"members": { | |
"AllowUnordered": { | |
"shape":"AllowUnordered", | |
"documentation":"<p>Allow the listing results to be returned in unsorted order. This may be faster when listing very large buckets.</p>", | |
"location":"querystring", |