Commit Graph

149357 Commits

Author SHA1 Message Date
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
Venky Shankar 94ce78a599
Merge pull request #59072 from lxbsz/wip-66991
qa: increase the http.maxRequestBuffer to 100MB and enable the git debug logs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-30 07:14:50 +05:30
John Mulligan 2b30c8e895 cephadm/smb: convert config object to use a dataclass
While working on the smb.py file I began to be annoyed at the Config
class and the need to repeat myself. Now that cephadm is not expected to
run on python versions older than 3.7 I think it's safe to convert
Config to use a dataclass.

While making the change to a dataclass I also chose to make it a frozen
dataclass to help eliminate any future bugs wrt mutating the config object.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2024-10-29 17:37:16 -04:00
Gil Bregman 947b5d28ab
Merge branch 'ceph:main' into main 2024-10-29 23:32:03 +02:00
Max Kellermann fd9c40465b mon/MDSMonitor: send reply to beacons with `state=DNE`
During shutdown, the MDS sends a `MSG_MDS_BEACON` with
`MDSMap::STATE_DNE` (in `MDSDaemon::suicide()`) and then waits for a
`MSG_MDS_BEACON` reply from the MON.

The MON, however, suppresses replies to `STATE_DNE`; in
`MDSMonitor::preprocess_beacon()`, it returns early on `STATE_DNE` and
`MDSMonitor::prepare_beacon()` silently evicts the dying MDS without
any reply.

This delays the MDS shutdown until the MDS times out.

Since `MDSDaemon::suicide()` has code to wait for a beacon reply, I
figure that the MON reply was suppressed accidently, therefore I
suggest adding it.

Fixes: https://tracker.ceph.com/issues/68761
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2024-10-29 21:41:48 +01:00
John Mulligan 96a2f89dc5 CODEOWNERS: let orchestration cover all of python-common
While it's not perfectly correct to say the orchestration team owns
src/python-common, it's closer to the truth than not. It also ensures
that someone with domain specific knowledge is looking at the rest of
python-common outside just the deployment section (short of creating
some sort of new python-sig type group). This is relevant due to the
changes in PR #60377 as python-common's ceph package will be included
in cephadm.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2024-10-29 16:35:00 -04:00
Max Kellermann 0276ab4eb9 mds/Beacon: wake up the thread in shutdown()
This eliminates the `wait_for()` delay and speeds up MDS shutdown.

Fixes: https://tracker.ceph.com/issues/68759
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2024-10-29 21:34:19 +01:00
Ernesto Puerta a3cf84271f
Merge pull request #57299 from rhcs-dashboard/fix-47066-main
mgr/{restful,zabbix}: remove deprecated module

Reviewed-by: @tchaikov 
Reviewed-by: @ktdreyer 
Reviewed-by: @jmolmo
2024-10-29 17:34:41 +00:00
Dnyaneshwari 961757b59b mgr/dashboard: Replacing bootstrap modal service with cds modal service
Fixes: https://tracker.ceph.com/issues/68650

Signed-off-by: Dnyaneshwari talwekar <dtalweka@redhat.com>
2024-10-29 22:16:03 +05:30
Patrick Donnelly c636ba85fa
Merge PR #60518 into main
* refs/pull/60518/head:
	doc/governance: updates based on 2024q4 election

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2024-10-29 12:11:43 -04:00
Anthony D'Atri 9a027d921e
Merge pull request #60532 from joscollin/wip-mirroring-create-snapshot
doc: mention how to initiate snapshot mirroring
2024-10-29 11:13:48 -04:00
Gil Bregman dd5dcc2945 mgr/cephadm: Change NVME image version to 1.3.3.
Fixes https://tracker.ceph.com/issues/68755

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2024-10-29 16:41:26 +02:00
Ronen Friedman 63c0649da4 osd: revert PR#57582
The reverted commit unconditionally copies the Info
data from the primary-info message to the replica,
causing multiple tests failures.

For example:
compare the failures in
https://pulpito.ceph.com/?branch=wip-rf-store2-steps
to
https://pulpito.ceph.com/?branch=wip-rf-store2-steps-reverted
(with said PR reverted).

Revert "src/osd: pg stat are not synced between osds after deep-scrub. So if primary osd is killed, next primary osd has wrong stats. Reason behind it is PeeringState::proc_primary_info does not process or update any pg stats."

This reverts commit a24f3cf1e9.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2024-10-29 08:04:10 -05:00
Patrick Donnelly c0451e1ca2
Merge PR #60010 into main
* refs/pull/60010/head:
	script/ceph-debug-docker: add debuginfod for ubuntu
	script/ceph-debug-docker: drop /ceph mount

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2024-10-29 08:53:41 -04:00
Zac Dover 9fd2b851a2
Merge pull request #60508 from zdover23/wip-doc-2024-10-27-rados-operations-erasure-code-jerasure
doc/rados: add blaum_roth coding guidance

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-10-29 22:51:07 +10:00
Matan Breizman db181e5d33
Merge pull request #60510 from Matan-B/wip-matanb-backfill-crimson-docs
doc/dev/crimson: Add BackfillMachine state graph

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2024-10-29 11:44:58 +02:00
Jos Collin 1a895c9d12
doc: mention how to initiate snapshot mirroring
Signed-off-by: Jos Collin <jcollin@redhat.com>
2024-10-29 14:33:10 +05:30
afreen23 ffa01e353f
Merge pull request #60054 from rhcs-dashboard/realm-popup
mgr/dashboard: Carbon Design - Create realm popup

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-29 13:44:53 +05:30
afreen23 7c095b53e1
Merge pull request #60393 from rhcs-dashboard/nvmeofServiceUnitTest
Add API tests for nvmeof service.ts file

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-29 12:35:15 +05:30
afreen23 cc76c71d77
Merge pull request #60476 from rhcs-dashboard/usermanagment-roles-defect
mgr/dashboard:Roles section is not aligned with column name

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-29 12:13:25 +05:30
Ronen Friedman d71e222e53
Merge pull request #60318 from ronen-fr/wip-rf-schedlogl
osd/scrub: improve scrub information conveyed in standard

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2024-10-29 07:47:46 +02:00
Zac Dover dbe3004e69
Merge pull request #60470 from joscollin/wip-doc-cephfs-mirroring-improve-note
doc: explain the consequence of enabling mirroring through monitor commands

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-29 15:36:06 +10:00
Venky Shankar 7df6ac1296 Merge PR #60400 into main
* refs/pull/60400/head:
	mon,cephfs: fix indentation level of a code block

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2024-10-29 10:18:50 +05:30
Matan Breizman c29c1e7bb2 doc/dev/crimson: update index
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-10-29 12:05:00 +10:00
Matan Breizman 61ebde0be2 doc/dev/crimson: Add initial BackfillMachine docs
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2024-10-29 12:03:40 +10:00
Adam King dbddf1256c
Merge pull request #60190 from avanthakkar/teuthology-smb-cluster-public-addrs
qa/suites/orch: add a tests for testing public_addr for smb cluster create cmd

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-28 13:53:27 -04:00