Commit Graph

149332 Commits

Author SHA1 Message Date
Zack Cerza
681a75e949
Merge pull request #60577 from zmc/rpm-dwz-toggle 2024-11-04 15:26:27 -07:00
Samuel Just
048ce81f45
Merge pull request #56677 from athanatos/sjust/for-review/wip-replica-read
osd,crimson/osd: rework of replica read and related state

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-11-04 09:49:09 -08:00
Adam King
0a586d2926
Merge pull request #60425 from ShwetaBhosale1/orch_host_drain-attempt_to_drain_non_existing_host_must_fail
mgr/cephadm: ceph orch host drain command to return error for invalid hostname

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anuradha Gadge <Anuradha.Gadge@ibm.com>
2024-11-04 12:03:18 -05:00
Zac Dover
a8e43a9aa1
Merge pull request #60608 from yuvalif/wip-yuval-68818
doc/rgw/notification: add missing admin commands

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-11-05 01:25:16 +10:00
Yuval Lifshitz
ec272797c4 doc/rgw/notification: add missing admin commands
also remove obsolete admin commands

Fixes: https://tracker.ceph.com/issues/68818

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
2024-11-04 14:24:22 +00:00
Nizamudeen A
6f5612a3a7 mgr/dashboard: improve the kcli bootstrap process
I have a new script added for starting the kcli cluster called
quick-bootstrap.sh

The goal is to use that script to download the ceph image on local
(rather than inside vm) and then copy them over to all the vms that is
being spawned by the kcli. This way all the hosts will get the ceph
image which will make the deployment loads faster.

Another thing I added is to add some dnf.conf to improve
parallel_downlaods and get the fastest server to install deps

eg:
```
╰─$ ./quick-bootstrap.sh -h                                                                                    255 ↵
+ set +x
Usage: ./quick-bootstrap.sh [OPTIONS]

Options:
  -u, --use-cached-image     Uses the existing podman image in local. Only use this if there is such an image present.
  -dir, --ceph-dir             Use this to provide the local ceph directory. eg. --ceph-dir=/path/to/ceph
  -e, --expanded-cluster     To add all the hosts and deploy OSDs on top of it.
  -h, --help             Display this help message.

Example:
  ./quick-bootstrap.sh --use-cached-image

```

```
./quick-bootstrap.sh -u --ceph-dir=/home/nia/projects/ceph
```

Signed-off-by: Nizamudeen A <nia@redhat.com>
2024-11-04 14:59:32 +05:30
Venky Shankar
c8e3946117
Merge pull request #59725 from mchangir/mds-fallocate-return-EOPNOTSUPP-for-mode-0
client: return EOPNOTSUPP for fallocate with mode 0

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-11-04 14:54:59 +05:30
SrinivasaBharathKanta
28887e258a
Merge pull request #59486 from ceph/ceph-ec-benchmark-increase-default-buffer-size
test/erasure-code: increase ceph_erasure_code_benchmark default buffe…
2024-11-04 12:58:09 +05:30
SrinivasaBharathKanta
cfd73d56e8
Merge pull request #59481 from ifed01/wip-ifed-more-info-in-slow-op-log
os/bluestore: log txc details in slow op notification on committed_kv
2024-11-04 12:50:40 +05:30
Niklas Hambüchen
790afd2777 doc: Document which options are disabled by mClock.
Not only in the mClock docs, but also in the reference
of the options that are disabled.

Otherwise users are bound to miss it, and surprised
why their options are ignored or reset.

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
2024-11-04 13:00:08 +08:00
Shweta Bhosale
ab8d709597 mgr/cephadm: orch host drain command does not return error for invalid hostname
Fixes: https://tracker.ceph.com/issues/68681

Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2024-11-04 08:42:59 +05:30
Venky Shankar
2505e27edb Merge PR #60236 into main
* refs/pull/60236/head:
	MDS/CDir: return as early as possible from CDir::should_split_fast()

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-11-04 07:21:38 +05:30
Matan Breizman
17e86d1c30
Merge pull request #60438 from xxhdx1985126/wip-68661
crimson/osd/pg: make sure ops are sent to backfill targets if and only if the object has been pushed.

Reviewed-by: Samuel Just <sjust@redhat.com>
2024-11-03 16:46:32 +02:00
Matan Breizman
c89ab2c6ce
Merge pull request #60517 from xxhdx1985126/wip-68737
crimson/osd/osd_operations/client_request: no need to hold head's obc lock throughout the recovery of clones

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-11-03 16:45:38 +02:00
Matan Breizman
0c03d0ca71
Merge pull request #60485 from xxhdx1985126/wip-68719
crimson/osd/backfill_state: discard CancelBackfill events when the backfill is done

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-11-03 16:44:48 +02:00
Matan Breizman
a82492ed70
Merge pull request #60439 from xxhdx1985126/wip-68662
crimson/osd/shard_services: fix dangling reference caused by rvalue reference of ShardSercies::dispatch_context()

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-11-03 16:44:05 +02:00
Matan Breizman
b98ebf78e4
Merge pull request #60313 from xxhdx1985126/wip-68541
crimson/osd/pg: trigger PG::wait_for_active_blocker only when the pg is going active

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-11-03 16:32:39 +02:00
Matan Breizman
7e5898ff41 Revert "suites: crimson basic adding wait for test"
This reverts commit a9de8be0f4.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-11-03 14:20:38 +00:00
Leonid Chernin
66ca80e7d7 mon/nvmeofgw*: fix no-listeners FSM, fix detection of no-listeners
condition

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
2024-11-03 07:47:17 +00:00
Zack Cerza
88deedee94 ceph.spec.in: Add an option to disable dwz
We disabled dwz in 2017, then re-enabled it in 2021. In my tests I observe dwz
adding about 50% to build times in exchange for 33% space-saving.

Signed-off-by: Zack Cerza <zack@redhat.com>
2024-11-01 10:20:31 -06:00
Anthony D'Atri
4b3747af71
Merge pull request #60584 from zdover23/wip-doc-2024-11-01-whereas
doc: s/Whereas,/Although/
2024-11-01 10:51:24 -04:00
Zac Dover
ea1a470fb4 doc: s/Whereas,/Although/
Change the subordinating conjunction "Whereas" followed by a comma to
the less grammatically-incorrect "Although". I've been meaning to do
this since 22 Mar 2023.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2024-11-01 23:43:07 +10:00
Anthony D'Atri
7f9a2ec38f
Merge pull request #60362 from mchangir/doc-add-note-about-vol-delete-wrt-snap-schedule
doc/cephfs: add note to remind user about snap-schedule during volume delete
2024-10-31 15:05:24 -04:00
Ronen Friedman
07555ce91d
Merge pull request #60540 from ronen-fr/wip-rf-revert-57582
osd: revert PR#57582

Reviewed-by: Samuel Just <sjust@redhat.com>
2024-10-31 17:05:30 +02:00
Adam King
ad7c409fc2
Merge pull request #60549 from phlogistonjohn/jjm-smb-dataclass-config
cephadm/smb: convert config object to use a dataclass

Reviewed-by: Adam King <adking@redhat.com>
2024-10-30 16:26:33 -04:00
Adam King
2cbef7195a
Merge pull request #60451 from rhcs-dashboard/nvmeof-conf-rm-fix
mgr/dashboard: rm nvmeof conf based on its daemon name

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
2024-10-30 15:56:30 -04:00
Adam King
72e7e1078b
Merge pull request #60377 from adk3798/cephadm-share-default-images
cephadm: use shared spot for default container image names

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2024-10-30 15:39:39 -04:00
Adam King
944d412516
Merge pull request #60281 from phlogistonjohn/jjm-change-cluster-validate
smb: prevent switching between clustering modes

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2024-10-30 15:35:54 -04:00
Adam King
9190d057fc
Merge pull request #60096 from adk3798/maintenance-mode-dead-host
mgr/cephadm: offline host handling for maintenance exit command

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-30 15:29:20 -04:00
Adam King
43658087d4
Merge pull request #59957 from adk3798/cephadm-bootstrap-global-public-network
cephadm: make bootstrap default to "global" section for public_network setting

Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2024-10-30 15:27:56 -04:00
Yuri Weinstein
c6ee081202
Merge pull request #59838 from cbodley/wip-68083
os: remove unused btrfs_ioctl.h and tests

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-10-30 11:14:22 -07:00
Yuri Weinstein
0bddaf4ce6
Merge pull request #59644 from wlritchi/boost-1.86-compat
src/include/uuid.h: fix for boost 1.86.0

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2024-10-30 11:13:09 -07:00
Yuri Weinstein
11454f9f54
Merge pull request #59568 from badone/wip-tracker-65235-noscrub-to-ignorelist
qa: Add ignorelist entries for reef-x tests

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2024-10-30 11:12:27 -07:00
Casey Bodley
873057e3f3
Merge pull request #60453 from cbodley/wip-librados-dup
librados: dont duplicate class names in member definitions

Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
2024-10-30 14:11:21 -04:00
Yuri Weinstein
408c10613e
Merge pull request #54954 from diffs/main
osd: add clear_shards_repaired command

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2024-10-30 11:10:42 -07:00
Adam King
81e274bd05
Merge pull request #55693 from adk3798/cephadm-nfsv3
mgr/nfs: add NFSv3 protocol to default protocols

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-30 13:26:38 -04:00
Adam King
874f12451d cephadm: update default image imports to point to common location
Additionally, remove the image defaults from the two previous locations
and update the check for the number of instances of "quay" and "docker"
in these areas respectively.

Fixes: https://tracker.ceph.com/issues/68120

Signed-off-by: Adam King <adking@redhat.com>
2024-10-30 10:12:11 -04:00
Adam King
297f9f94b3 cephadm: add python-common/ceph to MYPYPATH and pytest PYTHONPATH
Otherwise the unit tests will fail trying to import from here.

Signed-off-by: Adam King <adking@redhat.com>
2024-10-30 10:12:11 -04:00
Adam King
b1b9cc0c84 python-common: add spot in python-common for cephadm default images
To be shared between the binary and mgr module.

Signed-off-by: Adam King <adking@redhat.com>
2024-10-30 10:12:11 -04:00
Adam King
b44121f483 cephadm: add python-common/ceph to cephadm zipapp
We want to use this location for files to be shared between
the cephadm binary and cephadm mgr module so it must be included
as part of the zipapp

Signed-off-by: Adam King <adking@redhat.com>
2024-10-30 10:09:04 -04:00
Gil Bregman
de3c6e4ea1
Merge pull request #60541 from gbregman/main
mgr/cephadm: Change NVME image version to 1.3.3.
2024-10-30 15:55:12 +02:00
Adam King
3b0cb061d2
Merge pull request #60546 from phlogistonjohn/jjm-python-common-codeowners
CODEOWNERS: let orchestration cover all of python-common

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
2024-10-30 09:45:15 -04:00
Milind Changire
9244f0a303
test/pybind: update to test_fallocate for mode 0
Signed-off-by: Milind Changire <mchangir@redhat.com>
2024-10-30 15:41:16 +05:30
Milind Changire
b0690837f3
qa: test fallocate fails in mode 0
Signed-off-by: Milind Changire <mchangir@redhat.com>
2024-10-30 15:41:16 +05:30
Milind Changire
ac34dd3309
PendingReleaseNotes: add note about fallocate mode 0
fallocate now returns EOPNOTSUPP for mode 0

Signed-off-by: Milind Changire <mchangir@redhat.com>
2024-10-30 15:41:16 +05:30
Milind Changire
98a67b6596
client: return EOPNOTSUPP for fallocate with mode 0
Fixes: https://tracker.ceph.com/issues/68026
Signed-off-by: Milind Changire <mchangir@redhat.com>
2024-10-30 15:41:11 +05:30
Zac Dover
9c4fc785fa
Merge pull request #60520 from zdover23/wip-doc-2024-10-29-start-os-recs-add-supported-squid-distros
doc/start: add supported Squid distros

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-10-30 19:27:21 +10:00
Gil Bregman
1e1258d527
Merge branch 'ceph:main' into main 2024-10-30 11:18:22 +02:00
afreen23
8a7e670fdd
Merge pull request #60422 from rhcs-dashboard/modal-carbonized
mgr/dashboard: Replacing bootstrap modal service with cds modal service

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-30 13:43:58 +05:30
Venky Shankar
7809b0e57d
Merge pull request #50105 from zhsgao/mds_export_state
mds: add an asok command to dump export states

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-30 07:16:11 +05:30