Commit Graph

141726 Commits

Author SHA1 Message Date
Radoslaw Zarzynski
f44c70236e mon: update for squid ondisk features
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Radoslaw Zarzynski
c9f9174b32 doc/dev/release-checklists: mark ceph-release-notes is already done
This happened in 5d944bb237.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Radoslaw Zarzynski
b23a134baf doc/dev/release-checklists: mark backport-resolve-issue is already done
This happened in 3d15f685a8.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Radoslaw Zarzynski
93a898ea6c ceph-volume: change to squid
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Radoslaw Zarzynski
0d18c1f67f include/ceph_features: retire deprecated bits
Nothing has been deprecated in Mimic, so this commit is just
updates the release checklist.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:51 +01:00
Radoslaw Zarzynski
2963ca6eb8 doc, mon: add always_on_modules for squid
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radoslaw Zarzynski
da25e58dc1 doc, qa/standalone/mon/misc: verify that len(monmap.features.persistent) == 11
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radoslaw Zarzynski
b6986466f7 cephadm: update DEFAULT_IMAGE_RELEASE to squid
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radoslaw Zarzynski
adc05c510a tools/monmaptool, test/cli, doc: pacific to quincy for default min_mon_release
This is modelled after 4210e0a95e.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radosław Zarzyński
72a2301922 include/ceph_features, doc: define FEATURE_SERVER_SQUID
I've departed from 35d483af54
in that way the _incarnation_ is selected to be the very next
one to the retired bit's one.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radosław Zarzyński
61c7b30bbd common, doc, include, mds, mon: add feature/release name squid
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radosław Zarzyński
d2639a30b8 ceph_release, doc: bump to 19/squid
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radosław Zarzyński
1b2c8394cb cmake, doc: bump librbd version to 19.0.0 for squid
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radoslaw Zarzynski
0c0767e243 cmake, doc: bump project version to 19.0.0 for squid
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Radoslaw Zarzynski
217c9dbed6 doc/dev/release-checklists: uncheck everything!
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-12-04 16:27:50 +01:00
Adam King
1680e466aa
Merge pull request #54441 from phlogistonjohn/jjm-cephadm-breakup
cephadm: break various daemon type classes out to smaller files in cephadmlib

Reviewed-by: Adam King <adking@redhat.com>
2023-12-04 07:32:52 -05:00
Adam King
a1a2252f7f
Merge pull request #54679 from Suyashd999/add-rgw
src/cephadm: Added rgw for listing in Daemons

Reviewed-by: Adam King <adking@redhat.com>
2023-12-04 07:26:13 -05:00
Nizamudeen A
4b7bfdaa00
Merge pull request #54076 from rhcs-dashboard/subvolume-snapshot
mgr/dashboard: cephfs subvolume list snapshots

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
2023-12-04 14:12:51 +05:30
Anthony D'Atri
e89bb53732
Merge pull request #54758 from zdover23/wip-doc-2023-12-03-rados-stretch-mode-repair-of-54689
doc/rados: repair stretch-mode.rst
2023-12-03 09:40:46 -05:00
Zac Dover
b73656787d doc/rados: repair stretch-mode.rst
Remove a section of doc/rados/operations/stretch-mode.rst that I wrongly
re-included after its removal. The request for this (re)-removal is
here: https://github.com/ceph/ceph/pull/54689#discussion_r1413007655.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-12-03 13:17:46 +01:00
Matan Breizman
67b75549b3
Merge pull request #54437 from Matan-B/wip-matanb-crimson-osdmap-trimming
crimson/osd: introduce osdmap trimming 

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-12-03 10:06:33 +02:00
Ronen Friedman
65945407ac
Merge pull request #53712 from ronen-fr/wip-rf-move-1
osd: fix a missing 'noexcept' on a move ctor

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-12-03 09:51:41 +02:00
Ronen Friedman
8ec47bba09
Merge pull request #54482 from ronen-fr/wip-rf-repl-hp
osd/scrub: decouple being reserved from handling scrub requests

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-12-03 09:45:18 +02:00
zdover23
28f26d87b3
Merge pull request #54689 from PC-Admin/update-stretch-mode-docs
doc/rados: Update stretch mode docs.

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2023-12-03 06:56:59 +01:00
PC-Admin
28551b41f8 doc/rados: update "stretch mode"
Update stretch mode docs, min_size and max_size are no longer defined in
the CRUSH map and the example rule given will fail to compile.

Specify that the tiebreaker data centre cannot be defined in CRUSH as
this produces an error.

Signed-off-by: Michael Collins <perthserverplus@gmail.com>
2023-12-03 06:45:16 +01:00
Ronen Friedman
084fb34971 osd: fix a missing 'noexcept' on a move ctor
as a non-default, non-noexcept move ctor is ignored by
stl containers.

See clang-tidy's performance-noexcept-move-constructor

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2023-12-02 16:36:30 +02:00
zdover23
171d2b5b38
Merge pull request #54752 from zdover23/wip-doc-2023-12-02-radosgw-multisite-formatting
doc/radosgw: fix formatting

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-12-02 07:22:12 +01:00
Zac Dover
08ac3114e9 doc/radosgw: fix formatting
Repair the formatting of a string that had a string inside backticks
that itself was inside double asterisks. The presence of the asterisks
around the entire string caused the backticks to appear in the rendered
documentation.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-12-02 06:38:28 +01:00
Casey Bodley
b27938f5f1
Merge pull request #54526 from cbodley/wip-rgw-acl-cleanup
rgw/acl: clean up RGWAccessControlPolicy and friends

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-12-01 16:46:33 +00:00
Casey Bodley
22a3208a1e
Merge pull request #54488 from cbodley/wip-versioned-variant
common: add versioned encodings for std::variant

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2023-12-01 16:02:20 +00:00
Ronen Friedman
6f1e0e6825 tests/scrub: deactivate osd-scrub-dump stand-alone test
as the scrub reservation changes had made it obsolete.
Note - it is not an issue of fixing the test, but rather
that the tested functionality is no longer there.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2023-12-01 08:48:49 -06:00
Casey Bodley
b7e1c1d59c common: add generate_test_instances() for std::variant
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-12-01 08:52:31 -05:00
Casey Bodley
8e92cbac3e common: add versioned encodings for std::variant
adds two encoding strategies for `std::variant<>` under the namespaces
`ceph::versioned_variant` and `ceph::converted_variant`

these versioned encodings allow the variant to be extended with new
types, provided that they're always added to the end without changing
or removing existing types. because of this requirement, no default
encoding is provided for `std::variant`. callers must opt in to one
namespace or the other

the `converted_variant` encoding requires the variant's first type T
to use versioned encoding, and guarantees that the variant's encoding
is backward-compatible with T's

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-12-01 08:52:31 -05:00
Nizamudeen A
4689c3d65e mgr/dashboard: fs snapshots e2e
Fixes: https://tracker.ceph.com/issues/63237
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-12-01 18:24:29 +05:30
Nizamudeen A
b35be54ed9 mgr/dashboard: cephfs subvolume list snapshots
Added a tab for displaying the subvolume snapshots
- this tab will show an info alert when there are no subvolumes present
- if the subvolume is present, then it'll be auto-selected by default

Implemented a filter to search the groups and subvolumes by its name.
Also added a scrollbar when there are too many items in the nav list

Modified the REST APIs to fetch only the names of the resources and
fetch the info when an API call is requesting for it.

Added unit tests

Fixes: https://tracker.ceph.com/issues/63237
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-12-01 18:24:28 +05:30
Nizamudeen A
122c6b2170
Merge pull request #54648 from rhcs-dashboard/fs-rename-fix
mgr/dashboard: fs rename only when fs is offline 

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: ivoalmeida <NOT@FOUND>
2023-12-01 18:21:49 +05:30
zdover23
a34821aaa4
Merge pull request #54731 from zdover23/wip-doc-2023-11-30-rados-tshooting-log-and-debug-note
doc/rados: improve formatting of log-and-debug.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-12-01 11:43:24 +01:00
zdover23
9a6c468bc3
Merge pull request #54730 from zdover23/wip-doc-2023-11-30-glossary-monitor-store
doc/glossary.rst: add "Monitor Store"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-12-01 10:44:41 +01:00
Zac Dover
e63fa697b7 doc/rados: improve formatting of log-and-debug.rst
Improve the arrangment of information in the section "Ceph Subsystems"
in doc/rados/troubleshooting/log-and-debug.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-12-01 10:35:42 +01:00
Ilya Dryomov
cb16d96e83
Merge pull request #54724 from ajarr/wip-63673
qa/workunits/rbd/cli_generic.sh: narrow race window

... when checking that rbd_support module command fails after blocklisting the module's client.

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-12-01 10:33:10 +01:00
Nizamudeen A
2c8faf256d mgr/dashboard: generalized code-block component
Fixes: https://tracker.ceph.com/issues/63608
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-12-01 13:49:48 +05:30
John Mulligan
ed6f171ba0 cephadm: black format daemons/tracing.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
b0f1c7fff3 cephadm: black format daemons/snmp.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
bc0c9d5422 cephadm: black format daemons/nvmeof.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
192ff2f6ef cephadm: black format daemons/nfs.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
8535d57b3b cephadm: black format daemons/monitoring.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
196ad1855e cephadm: black format daemons/iscsi.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
505624de9f cephadm: black format daemons/ingress.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
c791915164 cephadm: black format daemons/custom.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00
John Mulligan
a7f5b0c20b cephadm: black format daemons/ceph.py
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-11-30 16:55:59 -05:00