summaryrefslogtreecommitdiffstats
path: root/src/nasm-wrapper (unfollow)
Commit message (Collapse)AuthorFilesLines
2 daysdoc/cephfs: edit disaster-recovery-expertsZac Dover1-19/+22
Edit the first two sections of doc/cephfs/disaster-recovery-experts.rst in preparation for adding deeper explanations of the contexts in which one should use the various commands listed on that page. https://tracker.ceph.com/issues/69557 Signed-off-by: Zac Dover <zac.dover@proton.me>
3 daysAdd Abhishek Kane into peoplemap, githubmap, organizationmap, mailmapabhishek-kane4-0/+4
Signed-off-by: abhishek-kane <abhishek.kane@ibm.com>
3 daysmon: do not show nvmeof in 'ceph versions' outputVallari Agrawal1-1/+1
NVMeoF gateway version is independent of ceph version so 'ceph version' shows wrong nvmeof version in output (i.e. instead of gateway version, it shows Ceph version). Hence, remove nvmeof in 'ceph versions' output. To check for gateway version, use 'gw info' command. Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
4 daysAsyncMessenger.cc : improve error messagesAnthony D'Atri1-4/+4
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
4 daysqa/tasks: Include stderr on tasks badness check.Christopher Hoffman3-6/+24
Make sure that first_in_ceph_log() doesn't return None (which is treated as success/"no badness" by the caller) if the cluster log file is missing. Fixes: https://tracker.ceph.com/issues/57864 Co-authored-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Christopher Hoffman <choffman@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 daysdoc/radosgw/config-ref: fix lifecycle workload tuning descriptionLaimis Juzeliūnas1-4/+5
This commit updates RGW Config Reference - Lifecycle Settings section. In particular it changes the section where two different tunings for two different workloads are suggested. It aims for a more understandable description as asked by the contributors. Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
4 daysqa/scrub: more delay when waiting for noscrub to take effectRonen Friedman1-4/+3
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 dayscommon: config_cacher: use set::contains() instead of count()Ronen Friedman1-1/+1
moved out of the main commit to facilitate backporting it to pre-C++20. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 daysqa/scrub: change 'bin/ceph' to 'ceph'Ronen Friedman3-39/+39
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 dayscommon: fix md_config_cacher_tRonen Friedman1-7/+16
In its get_tracked_conf_keys() member function, the cacher (in the existing code) initializes a static function-block variable ('keys'), and uses it for registering the observer. But the cacher is instantiated on the type of the configuration value. Thus, multiple cacher objects for which the configuration values are of the same type - share the static 'keys'. Only one of the observers is registered. Note that the code could have been simplified somewhat, if the signature of the get_tracked_conf_keys() function was changed to return 'const char* const *'. Fixes: https://tracker.ceph.com/issues/69236 Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 daysdoc/releases: add actual_eol for quincyZac Dover1-0/+1
Add the actual EOL date for the Quincy release (it's 2025-01-13). Signed-off-by: Zac Dover <zac.dover@proton.me>
5 dayscommon/io_exerciser: Reorder lines in RadosIo send_command functionsJon Bailey1-2/+4
Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
5 dayslibrbd/migration/HttpClient: Use asio::ssl::streamAdam Emerson3-25/+25
`beast::ssl_stream` is deprecated as of 1.86, and its loss of the move constructor keeps it from compiling on that version. Hopefully this passes tests on 1.85, too, or it will have to wait until the boost bump. Signed-off-by: Adam Emerson <aemerson@redhat.com>
6 dayscommon/io_exerciser: Clear the stringstream in RadosIO classJon Bailey1-36/+58
Ensures the stringstream is empty before sending a command in the RadosIO class Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
6 daysos/bluestore: Fix BlueFS::truncate()Adam Kupczyk3-2/+7
In `struct bluefs_fnode_t` there is a vector `extents` and the vector `extents_index` that is a log2 seek cache. Until modifications to truncate() we never removed extents from files. Modified truncate() did not update extents_index. For example 10 extents long files when truncated to 0 will have: 0 extents, 10 extents_index. After writing some data to file: 1 extents, 11 extents_index. Now, `bluefs_fnode_t::seek` will binary search extents_index, lets say it located seek at item #3. It will then jump up from #0 extent (that exists) to #3 extent which does not exist at. The worst part is that code is now broken, as #3 != extent.end(). There are 3 parts of the fix: 1) assert in `bluefs_fnode_t::seek` to protect against jumping outside extents 2) code in BlueFS::truncate to sync up `extents_index` with `extents` 3) dampening down assert in _replay to give a way out of cases where incorrect "offset 12345" (12345 is file size) instead of "offset 20000" (allocations occupied) was written to log. Fixes: https://tracker.ceph.com/issues/69481 Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
6 daysrgw/logging: clean pending objectsYuval Lifshitz13-129/+562
* when source bucket is deleted * when logging is disabled * when logging conf changes * when target bucket is deleted also add "bucket logging info" admin command returning logging conf for source bucket, and list of source buckets for log bucket Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 daysrgw/logging: retry attribuite set in case of raceYuval Lifshitz1-45/+56
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 daysrgw/logging: log bucket must not have encryptionYuval Lifshitz1-1/+6
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 daysrgw/logging: source and log bucket must be differentYuval Lifshitz2-0/+11
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 daysrgw/logging: support source and destination buckets on different tenantsYuval Lifshitz3-44/+77
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
6 daysmgr: Work around bug in Boost MPI/PythonAdam Emerson1-0/+12
Thanks to the maintainers of the Arch User Repository Ceph PKGBUILD for this fix. Signed-off-by: Adam Emerson <aemerson@redhat.com>
8 daysrgw_attrs: fixes for 3 more iam/perms mappingsMatt Benjamin3-0/+13
Help from Pritha and Casey appreciated Plus, fix 3 explicit mapping tests in test_rgw_iam_policy.cc. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 daysdoc: improve tests-integration-testing-teuthology-workflow.rstVallari Agrawal2-7/+52
This commit adds: 1. workflow summary in the first section along with an image. 2. sub-section "Pushing to ceph-ci repository" to second section. 3. file doc/dev/developer_guide/testing_integration_tests/workflow.png Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
9 daysos/bluestore: bluefs unittest for truncate bugAdam Kupczyk1-0/+85
Unittest showing 2 different flavours of problems: 1) bluefs log corruption 2) bluefs sigsegv Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
9 dayscrimson/os/seastore: refactor LBAMappingXuehan Xu14-190/+221
So that PhyscalNodeMapping doesn't contain LBAMapping specific interfaces Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
9 daysqa/tests: removed quincy from crontabYuri Weinstein1-2/+0
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 daysdoc/releases: remove Quincy from "Active"Zac Dover1-1/+1
Remove "Quincy" from the list of "Active Releases" in doc/releases/index.rst. Signed-off-by: Zac Dover <zac.dover@proton.me>
9 daysrgw:fix radosgw-admin use after freeAlex Wojno1-8/+6
Converted string_view members to string to avoid use after free. Bug introduced in commit: e84c7fc Signed-off-by: Alex Wojno <awojno@bloomberg.net>
9 daysdoc/rgw: document UserName requirements for account migrationCasey Bodley1-0/+5
clarify the following error when migrating a user into an account: > could not modify user: unable to modify user, UserName contains invalid characters Fixes: https://tracker.ceph.com/issues/69470 Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 daysrgw: Don't crash on exceptions from pool listingAdam Emerson1-9/+23
Fixes: https://tracker.ceph.com/issues/69303 Signed-off-by: Adam Emerson <aemerson@redhat.com>
9 daysrgw: /admin/user api dumps account-related user infoCasey Bodley1-0/+5
the admin api uses a separate dump_user_info() function that wasn't updated with the account changes to RGWUserInfo::dump() Fixes: https://tracker.ceph.com/issues/69462 Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 daysrados/monthrash: add PG_DEGRADED to ignorelistShraddha Agrawal1-0/+1
Issue: mon/test_mon_osdmap_prune.sh is failing due to PG_DEGRADED state. Cause: We are writing an objects to a newly created PG before it has enough OSDs in acting set to create enough replicas. This is expected behaviour, thus the solution is to add the warning to ignorelist. Fixes: https://tracker.ceph.com/issues/69288 Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
9 daysmonitoring: Update nvmeof alert limits in configVallari Agrawal3-24/+91
Update these in config.libsonnet: - NVMeoFMaxGatewaysPerGroup (4->8) - NVMeoFMaxGatewaysPerCluster (4->32) - NVMeoFMaxNamespaces (1024->2048) - NVMeoFHighClientCount (32->128) Also update prometheus_alerts.yml and test_alerts.yml accordingly. Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
10 daysdoc/rados/operations/stretch-mode: Improve docKamoltat Sirivadhna1-7/+23
Added more content and rewrite some sections Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
10 daysdoc/radosgw/config-ref: fix lc worker thread tuningLaimis Juzeliūnas1-1/+1
This commit updates RGW Config Reference - Lifecycle Settings section. In particular it addresses an incorrect suggestion to decrease parallel threads in the workers pool for a more aggressive/accelerated per-bucket lifecycle processing. A more aggressive lifecycle processing for a bucket containing higher number of objects is achieved by increasing, not decreasing parallel threads. Current suggestion is miss-leading. Fixes: https://tracker.ceph.com/issues/63659 Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
10 daysFix signed/unsigned warning and add parameter range checking.Jesse F. Williamson1-7/+28
Signed-off-by: Jesse F. Williamson <1643380+chardan@users.noreply.github.com>
10 daysrgw/multisite: the create_bucket forward request omits theShilpa Jagannath3-1/+5
the request body, thus missing some data if specified inside CreateBucketConfiguration xml on the non-master zone. also, now that we perform cksum validation against empty payloads, such a request would fail with -ERR_AMZ_CONTENT_SHA256_MISMATCH due to a zero content-length but a non-empty payload hash. this fix ensures that request body is forwarded during create_bucket Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
11 daysvstart.sh: add support for launching the ceph-exporter daemonPiyush Agarwal1-0/+20
Signed-off-by: Piyush Agarwal <piyushagarwal14.pa@gmail.com>
11 daysqa/workunits/nvmeof/basic_tests.sh: fix connect-all assertVallari Agrawal3-4/+4
There seems to be change in 'nvme list' json output which caused failures in asserts after 'nvme connect-all' command. Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
11 daysrgw:attrs: dump marker and max_parts only if sentMatt Benjamin2-7/+15
Suggested by Casey. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
11 daysrgw:attrs cap max_parts at 1000Matt Benjamin1-0/+1
Suggested by Casey. This is a relatively small value, but let's be conservative. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
11 daysrgw: GetObjAttrs enforces MaxSize and returns correct IsTruncatedCasey Bodley2-1/+7
Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 daysrgw/rados: Object::list_parts() starts after markerCasey Bodley1-2/+2
Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 daysrgw/rados: get_part_obj_state() fixes accounted_size when uncompressedCasey Bodley1-0/+3
the part head objects don't have a RGW_ATTR_MANIFEST attribute, so get_obj_state_impl() isn't able to set the correct RGWObjState::accounted_size unless RGW_ATTR_COMPRESSION provides one get_part_obj_state() builds a fake manifest in memory to represent the part and updates state.size accordingly, but it hadn't corrected the value of state.accounted_size Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 daysrgw: GetObjAttrs calls rgw_s3_prepare_decrypt()Casey Bodley3-2/+19
RGWGetObj::execute() relies on the virtual get_decrypt_filter() which is overridden by RGWGetObj_ObjStore_S3 but when called from RGWGetObjAttrs_ObjStore_S3, there is no override. add one that just calls rgw_s3_prepare_decrypt() Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 daysrgw_cksum: return version_id in all casesMatt Benjamin1-0/+2
The version_id member in RGWGetObjAttrs shadows the one in RGWGetObj. Just assign it before conditionally returning the version-id header in RGWGetObjAttrs_ObjStore_S3::send_response(). Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
11 daysrgw_cksum: permit fallback to checksum-type from create-multipart, in ↵Matt Benjamin4-7/+58
upload-part There appear to be workloads that provide a checksum algorithm in create-multipart-upload, but do not provide (what must be) the corresponding algorithm when uploading the parts. (complete-multipart-upload has no checksum argument, the value is implicit.) This behavior is inconsistent with at least some SDKs, but it is possibly accepted behavior in AWS S3, and is not logically necessary, since the originally supplied checksum type is already known. Therefore, change the behavior of upload-part to fall back to a checksum type that was sent with the corresponding create-multipart-upload request, if one is present, rather than failing with InvalidRequest. Fixes: https://tracker.ceph.com/issues/68513 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> (cherry picked from commit 6b487a4c6dbadf3f470c8b12ddd5f2521c6920c6)
11 daysrgw: defensive check for part cksum in try_sum_part_cksumsMatt Benjamin1-0/+8
If a create-multipart-upload requested additional checksum but a part upload omits it, fail gracefully. Possibly we can fixup the checksum uploads and remove this scenario, but coding defensively would still be correct. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
11 daysrgw_cksum: don't display nil checksums in get-object-attributes (parts)Matt Benjamin1-1/+3
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
11 daysrgw: GetObjectAttributes iam policy policy hooksMatt Benjamin2-0/+6
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>