summaryrefslogtreecommitdiffstats
path: root/doc/api (unfollow)
Commit message (Collapse)AuthorFilesLines
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>
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>
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 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>
12 daysceph-volume: fix loop devices supportGuillaume Abrioux1-5/+14
This commit updates the `is_device` function to correctly handle loop devices. The function now validates loop devices when they are explicitly allowed, by checking their type (`loop`) in addition to `disk` and `mpath`. Changes include: - Extending the type check to include `loop` in the list of supported device types. - Enhancing the docstring for better documentation of the function's purpose and behavior. These changes ensure that loop devices are properly recognized and handled when configuring OSDs in ceph-volume. Fixes: https://tracker.ceph.com/issues/69432 Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
12 dayscommon/io_exerciser: Make chunksize so initial generated value is 4096 and ↵JonBailey19931-1/+1
random values are generated thereafter Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 dayscommon/io_exerciser: Make sure Sequence 10 removes objects after finishing ↵JonBailey19931-0/+3
running Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 dayssrc/common/json: Modified JSON structures so they take advantage of ↵JonBailey199315-863/+609
ceph_json.h fully. Also moved and renamed JSONStructures files so they structures are more easily identifiable and usable by others if desired. Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 dayssrc/common/io_exerciser: Remove unneccisairy override in ↵JonBailey19931-2/+2
data_generation::SeededRandomGenerator Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 dayssrc/common/io_exerciser: add missing override statements to JsonStructures.hJonBailey19931-6/+6
Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 dayssrc/common/io_exerciser: Formatting improvements using clang formatJonBailey199319-3957/+2990
Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 dayscommon/io_exerciser: Add simple sequences for testing error injectsJonBailey199312-63/+888
Add sequences to test IOs with simple error injects, along with some small fixes for previous error inject implementation. Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 dayscommon/io_exerciser: Add injecterror commands to ceph_test_rados_io_sequence ↵JonBailey199311-175/+1721
interactive mode Add injecterror commands that can be used in interactive mode to inject read and write errors as well as clear them Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 daysosd: EC error inject interfacesBill Scales7-6/+466
Error inject interfaces for EC reads and writes using ceph tell osd.<n> interface Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
12 dayssrc/common/io_exerciser: Code readability improvementsJonBailey19939-528/+738
Implement inheritence for ceph::io_exerciser::IoOp to allow better differentiation between the different Op types and allow more complex Operations to be implemented Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
12 daysRevert "doc/dev/crimson: update SeaStore as default backend"Matan Breizman1-82/+91
This reverts commit 41327dcf0f733777f0d022d1bab7bf72b9807b3c. Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 daysqa/suites/crimson-rados-exp: add Seastore/thrashMatan Breizman42-1/+352
As Seastore/trash was removed from the non-exp suite, it is moved here until fully supported. Follow-up to: 5150dae471c Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 daysqa/suites/crimson-rados-exp: remove basicMatan Breizman15-102/+0
"basic" directory is included in the non-exp suite and is fully supported Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 daysqa/suites/crimson-rados: disable thrash/seastoreMatan Breizman1-0/+0
Seastore supports thrash_simple only until https://tracker.ceph.com/issues/69405 is resolved. Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 dayscommon/options/crimson.yaml.in: Bluestore by defaultMatan Breizman1-1/+1
This partially reverts f4dee79c3309e5ac1e1a142b85f492851e6757e1 Until https://tracker.ceph.com/issues/69402 is resolved. Signed-off-by: Matan Breizman <mbreizma@redhat.com>
12 daysceph-volume: add python hints to util.prepare.create_id()Guillaume Abrioux1-1/+2
This commit introduces type annotations to the `create_id` function in `ceph_volume.util.prepare`. The parameters and return value are now typed as follows: - `fsid` is a `str`. - `json_secrets` is a `str`. - `osd_id` is an optional `str` (`Optional[str]`). - The function returns a `str`. Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
12 daysmon/NVMeofGwMap: add delay to NVMEOF_GATEWAY_DELETING warningVallari Agrawal3-5/+34
Instead of immediately triggering, have this healthcheck trigger after some time has elasped. This delay can be configured by mon_nvmeofgw_delete_grace. Track the time when gateways go into DELETING state in a new member var (of NVMeofGwMon) 'gws_deleting_time'. Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
12 daysrgw: migrate rgw_admin to new directory.Jesse Williamson7-32/+34
Some C++ fixes, macro fixes, etc.. Gathers other core files, makes names more closely match executable. Signed-off-by: Jesse F. Williamson <jfw@ibm.com>
12 daysrgw: don't use merge_and_store_attrs() when recreating a bucketCasey Bodley1-2/+8
https://github.com/ceph/ceph/pull/56583 recently fixed merge_and_store_attrs() to preserve existing attrs, but this broke the swift api's ability to remove container metadata. RGWCreateBucket handles this merging itself with prepare_add_del_attrs(), so we should just assign createparams.attrs to the bucket and store it with bucket->put_info() make the same change for RGWPutMetadataBucket which swift uses to add/remove existing metadata Fixes: https://tracker.ceph.com/issues/69301 Signed-off-by: Casey Bodley <cbodley@redhat.com>
12 daysceph-volume: fix Zap.ensure_associated_raw()Guillaume Abrioux2-3/+2
When an OSD creation fails, ceph-volume can zaps unrelated existing raw based OSD as part of the 'rollback step'. Fixes: https://tracker.ceph.com/issues/69430 Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
12 daysdoc/radosgw/s3: correct eTag op match tablesAnthony D'Atri1-2/+2
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
13 dayssrc/common/options/mon.yaml.in: add mon_nvmeofgw_delete_graceVallari Agrawal1-0/+7
This config allows to configure the delay in triggering NVMEOF_GATEWAY_DELETING healthcheck warning, which is triggered when NVMeoF gateways are in DELETEING state for too long (indicating a problem in namespace load-balacing). The default value for this config is 15 mins. Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
13 daysdoc: add snapshots in docs under Cephfs conceptsneeraj pratap singh2-0/+86
Fixes: https://tracker.ceph.com/issues/68974 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
13 dayscrimson/osd/replicated_recovery_backend: prevent recovery/backfills fromXuehan Xu3-15/+36
polluting the cache of the underlying futurized store Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 dayscrimson/os: all "read/get" interfaces accept op_flagsXuehan Xu7-78/+149
To be used by exclusively by Seastore, See `seastore::cache_hint_t` Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 dayscrimson/os/seastore: introduce cache_hint_tXuehan Xu13-35/+122
Layers above Cache can use cache_hint_t to notify Cache whether to put the extents to Cache::lru. CEPH_OSD_OP_FLAG_FADVISE_DONTNEED and CEPH_OSD_OP_FLAG_FADVISE_NOCACHE will be treated as "no need to put into Cache::lru" Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
13 dayscrimson/osd/pg_recovery: throttle backfills together with pg-log basedXuehan Xu6-4/+34
recoveries Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2025-01-04doc: README.md - improve "Tshooting" and "Tips & Tricks"Zac Dover1-24/+30
Improve the formatting and English language in the sections "Troubleshooting" and "Tips and Tricks", and move those sections to a place where they don't interrupt the flow of the vstart cluster installation instructions. Some of the strings in "Tips and Tricks" are not yet unambiguous sentences that will make sense to the uninitiated, but this PR represents a step in that direction. This PR is part of a series of PRs meant to preserve the integrity of the README.md file after some recent additions that break the flow of the document. This PR follows https://github.com/ceph/ceph/pull/61226 and https://github.com/ceph/ceph/pull/61221. Signed-off-by: Zac Dover <zac.dover@proton.me>
2025-01-03doc: README.md - format "Troubleshooting"Zac Dover1-9/+8
Format "Troubleshooting" into its own section so that it doesn't confuse readers of the vstart installation procedure. This PR is part of a series of PRs meant to preserve the integrity of the README.md file after some recent additions that break the flow of the document. This PR follows https://github.com/ceph/ceph/pull/61221. Signed-off-by: Zac Dover <zac.dover@proton.me>
2025-01-03mon/NVMeofGwMap: add healthcheck warning NVMEOF_GATEWAY_DELETINGVallari Agrawal2-0/+22
Add a warning when NVMeoF gateways are in DELETING state. This happens when there are namespaces under the deleted gateway's ANA group ID. The gateways are removed completely after users manually move these namespaces to another load balancing group. Or if a new gateway is deployed on that host. Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
2025-01-03doc: README.md - format "Tips and Tricks"Zac Dover1-12/+9
Format "Tips and Tricks" into its own section so that it doesn't confuse readers of the vstart installation procedure. Signed-off-by: Zac Dover <zac.dover@proton.me>
2025-01-02mgr/cephadm/nvmeof: Add key verification field to NVMeOF configurationGil Bregman3-0/+6
Fixes https://tracker.ceph.com/issues/69413 Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2025-01-02crimson/common/shared_lru: rename Deleter::cacheMatan Breizman1-6/+6
to not be confused with SharedLRU::cache Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2025-01-02crimson/common/shared_lru: invalidate Deleter's cacheMatan Breizman1-1/+16
Once we destruct SharedLRU, SharedLRU::weak_refs map is destroyed. As a weak refernce might outlive the SharedLRU itself, when destroying the object via the custom Deleter, we try to access the already destroyed SharedLRU instance's weak ref map. Instead, invalidate the custom Deleter (Deleter::cache), when destructing the SharedLRU. Fixes: https://tracker.ceph.com/issues/66478 Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-12-31qa/standalone/scrub: osd-scrub-test.sh - test operator overridesRonen Friedman1-0/+231
verify that an operator scrub aborts a reserving scrub of the same PG. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2024-12-31osd/scrub: reset m_active_target when the scrub endsRonen Friedman1-0/+1
... as it is now queried to determine whever we are scrubbing, but not yet 'm_active', as the scrubber is in ReservingReplicas. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2024-12-31osd/scrub: convey 'reserving replicas' status in query resultsRonen Friedman1-0/+10
... and not just in 'pg dump' output. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2024-12-31qa/standalone/scrub: add build_pg_dicts()Ronen Friedman1-2/+106
a helper function that builds bash dictionaries: pg to acting set, pg to primary & pg to pool. Also added are two helper functions that make use of the dictionaries: count_common_active() to count the number of common OSDs in the acting set of two PGs, and find_disjoint_but_primary() to find a PG that is disjoint from the first PG, apart from possibly having the same primary OSD. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2024-12-30doc/mgr/dashboard: Fix HAProxy TLS exampleBenedikt Heine1-3/+3
With `ssl` set on the `server` option, HAProxy strips the TLS protocol for all clients. You would need to connect to it with `http://<ip>:443`. To have an active health check, which uses SSL, but does not strip it for clients, you'd need to add: - `check` to enable active health checks. - `check-ssl` to instruct the health check to use TLS - `verify none` to skip verification on the health check requests from HAProxy - _REMOVE_ `ssl` to stop stripping TLS The active health checks are required to not route any requests to the inactive managers. These would redirect to any unusable IP from the active mgr. --- Alternatively you could add another certificate in the frontend and then re-encrypt the traffic. But this would require tracking the certs also in HAProxy. Signed-off-by: Benedikt Heine <bebe@bebehei.de>
2024-12-30test/rgw/noitifications: fix test namesYuval Lifshitz1-12/+24
for persistent topic stats tests Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2024-12-30qa: write out ESubtreeMap more frequently to find large eventsPatrick Donnelly2-1/+3
With the trimming changes by 9d2b3aa, ESubtreeMap wasn't written reliably often enough to pass the test. Fixes: https://tracker.ceph.com/issues/68913 Signed-off-by: Patrick Donnelly <pdonnell@ibm.com> Signed-off-by: Venky Shankar <vshankar@redhat.com>
2024-12-29doc: README.md - format admonitionZac Dover1-1/+1
Format an admonition correctly. This commit is a prelude to a cleanup of a recent addition to README.md. Signed-off-by: Zac Dover <zac.dover@proton.me>