Commit Graph

148900 Commits

Author SHA1 Message Date
Rishabh Dave
8978b85bb0
Merge pull request #59420 from rishabh-d-dave/max-mds-confirm
mon,cephfs: require confirmation when changing max_mds on unhealthy cluster

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-18 20:04:18 +05:30
Ilya Dryomov
67b374c8c7
Merge pull request #60331 from MaxKellermann/CodingStyle_fwd
CodingStyle: allow C++ forward declarations

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2024-10-18 16:08:51 +02:00
Adam King
fcc9ffd670
Merge pull request #58084 from asm0deuz/mgmt_gtw_e2e
mgmt-gateway: add e2e testing

Reviewed-by: Adam King <adking@redhat.com>
2024-10-18 09:05:43 -04:00
Casey Bodley
6c168967a8
Merge pull request #60328 from cbodley/wip-mstart-doc
rgw: document and label mstart.sh and related scripts

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2024-10-18 08:36:29 -04:00
Rishabh Dave
2bffb22d41
Merge pull request #58486 from rishabh-d-dave/ignore-osd-down
qa/cephfs: ignore when specific OSD is reported down during upgrade

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-18 17:16:23 +05:30
Rishabh Dave
f9c9a15876
Merge pull request #59712 from rishabh-d-dave/mgr-vol-clone-stats-snap
qa/cephfs: test clone progress reporter after subvol is deleted but...      

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-10-18 17:15:40 +05:30
Rishabh Dave
beb4429ffc
Merge pull request #59848 from rishabh-d-dave/mgr-vol-wakeup-timeout
mgr/vol: use pre-defined timeout period instead of hardcoded value

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2024-10-18 17:14:42 +05:30
Rishabh Dave
4546b09553
Merge pull request #60008 from rishabh-d-dave/mgr-util-improve
mgr/mgr_util: improvements for RTimer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-18 17:06:12 +05:30
Rishabh Dave
0aa4438573
Merge pull request #60027 from rishabh-d-dave/mgr-vol-progbar-id
mgr/vol: don't define progress bar ID repeatedly

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-18 17:05:39 +05:30
Adam Kupczyk
c5faa93d26
Merge pull request #59782 from aclamk/wip-aclamk-fix-67596-allocmap
os/bluestore: Fix ceph-bluestore-tool allocmap command
2024-10-18 08:49:16 +02:00
Teoman ONAY
4b2ba587b7 mgmt-gateway: add e2e testing
Add mgmt-gateway teuthology test scenarios

Signed-off-by: Teoman ONAY <tonay@ibm.com>
2024-10-17 21:51:38 +02:00
Samuel Just
93cbc929c2
Merge pull request #60202 from athanatos/sjust/wip-crimson-io
crimson: replace do_osd_ops* with simpler, more general mechanism

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2024-10-17 11:09:26 -07:00
Adam King
2966f225ee
Merge pull request #60223 from guits/replace-osd-enhancement
orch: disk replacement enhancement

Reviewed-by: Adam King <adking@redhat.com>
2024-10-17 12:12:16 -04:00
Adam King
306cb89192
Merge pull request #60347 from avanthakkar/rm-smb-dump-everything
mgr/smb: rm all `smb dump` commands

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-17 10:44:32 -04:00
Juan Miguel Olmo
99aa9e0052
Merge pull request #60167 from jmolmo/add_daemon_health_metric
exporter: New metric for report ceph daemons health
2024-10-17 16:39:37 +02:00
Zac Dover
1e4f788e4f
Merge pull request #59514 from kevinzs2048/add-uadk-doc
Compressor: Add UADK document

Reviewed-by: Zac Dover <zac.dover@proton.me>
2024-10-17 23:25:15 +10:00
afreen23
6258acbfa0
Merge pull request #60173 from rhcs-dashboard/fix-lc
mgr/dashboard: fix lifecycle issues

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-17 17:11:54 +05:30
Adam King
e90992448a
Merge pull request #60260 from ShwetaBhosale1/new_cephadm_command_to_list_default_images
cephadm: Added cephadm command to list all the default images

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-17 07:12:01 -04:00
Venky Shankar
20af41d716
Merge pull request #55808 from neesingh-rh/wip-63700
cephfs-shell: fixing cephfs-shell test failures

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2024-10-17 12:01:27 +05:30
Pedro Gonzalez Gomez
87612f499f mgr/dashboard: fix lifecycle issues
Fixes: https://tracker.ceph.com/issues/68434

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2024-10-17 07:59:18 +02:00
Venky Shankar
b1d5705433
Merge pull request #58292 from neesingh-rh/wip-vol-method-name-change
mgr/vol : shortening the name of helper method

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2024-10-17 10:51:16 +05:30
Shweta Bhosale
f7a379fe9b cephadm: Added new cephadm command to list all the default images
Fixes: https://tracker.ceph.com/issues/68438

Signed-off-by: Shweta Bhosale <Shweta.Bhosale1@ibm.com>
2024-10-17 09:53:48 +05:30
Yuri Weinstein
6e72881527
Merge pull request #60058 from mchangir/log-save-thread-name-in-log-entries
log: save/fetch thread name infra

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2024-10-16 13:42:33 -07:00
Patrick Donnelly
ce84e76c48
Merge PR #60317 into main
* refs/pull/60317/head:
	.github: detect GPL license in PRs

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2024-10-16 15:34:40 -04:00
Patrick Donnelly
e928af1364
Merge PR #59996 into main
* refs/pull/59996/head:
	mailmap: Add dashboard new joinees in maps

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2024-10-16 15:32:00 -04:00
Adam King
d1a2c0cf62
Merge pull request #60053 from rkachach/fix_issue_68315
mgr/cephadm: move Grafana's subpath handling logic to grafan config

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-10-16 14:07:30 -04:00
Avan Thakkar
82b6a1c578 mgr/smb: rm all smb dump commands
Fixes: https://tracker.ceph.com/issues/68545
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2024-10-16 22:12:02 +05:30
Adam King
202c835836
Merge pull request #59680 from adk3798/bootstrap-apply-spec-fail-continue
cephadm: add ability to continue on failure when applying multiple specs

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-16 11:49:38 -04:00
Adam King
2e90b4bc8f
Merge pull request #60077 from adk3798/cephadm-ganesha-conf-allow-set-io-flusher-fail
mgr/cephadm: add "allow_set_io_flusher_fail = true;" to ganesha conf

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-16 11:37:14 -04:00
Adam King
1f7ab0e0de
Merge pull request #60300 from avanthakkar/add-smb-ok-to-stop
mgr/cephadm: add ok_to_stop func for smb service

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-16 11:35:27 -04:00
Adam King
7c07674207
Merge pull request #60112 from anoopcs9/cephadm-smb-add-ctdb-loglevel
cephadm/smb: Add a provision to specify ctdb log level

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2024-10-16 11:31:54 -04:00
afreen23
3a75014bf6
Merge pull request #60263 from afreen23/wip-api-update
mgr/dashboard: Adapt gateway group changes in nvmeof UI

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-16 20:53:05 +05:30
Juan Miguel Olmo Martínez
3c9b07eb87
exporter: New metric for report ceph daemons health
Ceph exporter provide metrics to report ceph daemons communication health using
 the admin socket

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2146728
       https://tracker.ceph.com/issues/68428

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2024-10-16 17:01:37 +02:00
Casey Bodley
de709e12aa
Merge pull request #60306 from cbodley/wip-osdc-rm-completion
osdc: remove unused overloads for async::Completion

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2024-10-16 10:01:07 -04:00
Guillaume Abrioux
212c874083 orch: disk replacement enhancement
This introduces a new `ceph orch device replace` command in order to
improve the user experience when it comes to replacing the underlying
device of an OSD.

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

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-10-16 13:42:10 +00:00
Guillaume Abrioux
b5e7008d28 ceph-volume: address mypy errors in disk.py
typical error:

```
ceph_volume/util/disk.py:1374: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "str")  [assignment]
```

This commits addresses it.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-10-16 13:42:10 +00:00
Guillaume Abrioux
dd2a150f40 ceph-volume: address test_activate_dmcrypt_tpm
This mocks the call to `luks_close()`, otherwise this test
fails when run on a system where `cryptsetup` isn't available.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-10-16 13:42:10 +00:00
Venky Shankar
68e73b3c9d Merge PR #59503 into main
* refs/pull/59503/head:
	client: Resolve symlink from dirfd for empty pathname
	client: Fix symlink open with O_PATH and O_NOFOLLOW

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2024-10-16 19:06:32 +05:30
Guillaume Abrioux
8981bfcf43
Merge pull request #60055 from guits/tracker_68312
ceph-volume: drop unnecessary call to `get_single_lv()`
2024-10-16 09:35:49 +02:00
Nizamudeen A
ab9cb6059f
Merge pull request #60291 from rhcs-dashboard/NFS-subvol-list
mgr/dashboard: The subvolumes are missing from the dropdown menu on the "Create NFS export" page

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-10-16 12:10:32 +05:30
Zac Dover
b662f58cdb
Merge pull request #60256 from joscollin/wip-doc-update-key-idea
doc: update Key Idea in cephfs-mirroring.rst

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
2024-10-16 15:14:12 +10:00
afreen23
c40fc0cc08
Merge pull request #60222 from rhcs-dashboard/group-name-bug
mgr/dashboard: fix group name bugs in the nvmeof API

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-16 00:00:17 +05:30
Adam King
bcee955ce9
Merge pull request #60060 from guits/move-to-quay-io
cephadm: pull container images from quay.io

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2024-10-15 14:01:37 -04:00
afreen23
74c14f7a49
Merge pull request #60241 from rhcs-dashboard/sync-policy-display-zonegroup
mgr/dashboard: sync policy's in Object >> Multi-site >> Sync-policy does not show the zonegroup to which policy belongs to 

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2024-10-15 22:38:00 +05:30
Afreen Misbah
80d0037c25 mailmap: Add dashboard new joinees in maps
- Afreen Misbah
- Dnyaneshwari Talwekar
- Naman Munet
- Prachi Goel
- Puja Shahu

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2024-10-15 22:31:07 +05:30
Casey Bodley
af3625d3d7
Merge pull request #60125 from cbodley/wip-doc-rgw-index-filenames
doc/dev/radosgw: update paths that moved under src/rgw/driver/rados/

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-10-15 12:50:00 -04:00
Casey Bodley
a7d6dbf17d
Merge pull request #60128 from cbodley/wip-doc-rgw-multisite-secondary-commit
doc/radosgw/multisite: fix Configuring Secondary Zones -> Updating the Period

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2024-10-15 12:49:45 -04:00
Afreen Misbah
56b60c01ca mgr/dashboard: Adapt gateway group changes in nvmeof UI
- Added gateway group param in namespace request - GET, POST, PATCH, DELETE
- Added gateway group param in Listeners request - GET
- Added gateway group param in Initiators - GET, POST, DELETE

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

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2024-10-15 22:02:47 +05:30
Max Kellermann
67f884d39c CodingStyle: allow C++ forward declarations
The Google coding guide opposes to forward declarations, but I
disagree with that opinion.  In my opinion, forward declarations are
useful.  Ceph build times are miserable due to header dependency bloat
and template bloat, both of which can be reduced using forward
declarations.

All cons listed in https://google.github.io/styleguide/cppguide.html

> Forward declarations can hide a dependency, allowing user code to
> skip necessary recompilation when headers change.

That is a pro, not a con.  Skipping (unnecessary) recompilation is a
good thing, it's the goal of forward declarations.

> A forward declaration as opposed to an #include statement makes it
> difficult for automatic tooling to discover the module defining the
> symbol.

That certainly depends on the tools one uses, but I cannot imagine
today's IDEs are limited to one compilation unit.

> A forward declaration may be broken by subsequent changes to the
> library.

True, and that will lead to a compiler error.

> Forward declarations of functions and templates can prevent the
> header owners from making otherwise-compatible changes to their
> APIs, such as widening a parameter type, adding a template parameter
> with a default value, or migrating to a new namespace.

Forward declarations do not prevent any of that.  But if you change
the "real" declaration, all incompatible forward declarations will
cause a compiler error.

> Forward declaring symbols from namespace std:: yields undefined
> behavior.

Sad, but true.  But that is not an argument against forward
declarations for Ceph's own types.

> It can be difficult to determine whether a forward declaration or a
> full #include is needed.

If it compiles without the `#include`, then the forward declaration is
fine.  (Or the primary header happened to be already included by
somebody else.)

> Replacing an #include with a forward declaration can silently change
> the meaning of code: [...] If the #include was replaced with forward
> decls for B and D, test() would call f(void*).

True, but this is a contrived example, and is bad coding style because
it is error prone.  Casts to `void*` can and should be avoided.  There
are rare examples where such casts are necessary (boundary to C APIs),
and then it's very unusual to pass derived incomplete types.

> Forward declaring multiple symbols from a header can be more verbose
> than simply #includeing the header.

True, but that misses the point of forward declarations.

> Structuring code to enable forward declarations (e.g., using pointer
> members instead of object members) can make the code slower and more
> complex.

True, but that is not a property of forward declarations.  I don't
suggest doing such a thing.

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
2024-10-15 18:10:46 +02:00
Casey Bodley
c78d1ba668 rgw: add mstart-related scripts to CODEOWNERS and labeler
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2024-10-15 11:35:53 -04:00