Commit Graph

134193 Commits

Author SHA1 Message Date
Samuel Just
7c01f8b0ef crimson/osd/pg_shard_manager: introduce invoke_on_each_shard_seq
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 15:12:08 -07:00
Samuel Just
177dd34752 crimson/admin: capture PGShardManager for DumpPGStateHistory rather than OSD
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 15:12:08 -07:00
Samuel Just
667a01449e crimson/.../peering_event: remove ifdef'd out tracking_events bits
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 15:12:08 -07:00
Samuel Just
05caa22b84 crimson/common/operation: record op holding OrderedExclusivePhase, add dump_detail
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 15:12:08 -07:00
Samuel Just
8456ea5e40 crimson/common/operation: don't share op ids between types
This way, a particular id will be unique regardless of op type and we
can use it as an unambiguous identifier.

Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 15:12:08 -07:00
Samuel Just
6bb0c1fb29 crimson/common/operation: add OpRegistryT::for_each_op
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 15:12:08 -07:00
Samuel Just
36a3ca5e77 common/operation: make OperationT::get_registry() protected
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 14:38:11 -07:00
Samuel Just
d792faf158 crimson/osd/shard_services: add FORWARD_TO_LOCAL_CONST helper
Signed-off-by: Samuel Just <sjust@redhat.com>
2022-10-01 14:36:56 -07:00
zdover23
9109ee0d72
Merge pull request #48322 from zdover23/wip-doc-2022-10-01-rados-ops-ec-front-matter-rewrite
doc/rados: rewrite EC intro

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-01 14:32:10 +10:00
Zac Dover
d7ba4f8ff6 doc/rados: rewrite EC intro
This PR rewrites the front matter in the "Erasure Code"
section of the RADOS documentation. Previously, the information
in this section was syntactically confused. I have also fleshed
out the distinction between erasure coding and replication.

Co-Author: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-01 13:31:09 +10:00
Josh Durgin
7e03873a35
Merge pull request #43567 from jdurgin/wip-gov
doc/governance: add proposed structure

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2022-09-30 20:05:29 -07:00
Josh Durgin
4c3794805d doc: merge new and old governance description
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2022-09-30 19:44:10 -04:00
Josh Durgin
cde306afcd doc/governance: updates based on review comments
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2022-09-30 19:27:29 -04:00
Laura Flores
83a9c14754
Merge pull request #48072 from ceph/wip-yuriw-release-17.2.4-main
doc: 17.2.4 Release Notes
2022-09-30 15:22:50 -05:00
Yuri Weinstein
6760084ba2 doc: 17.2.4 Release Notes
Fixes: https://tracker.ceph.com/issues/57472
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-09-30 14:59:03 -05:00
Ken Dreyer
2f211779de
Merge pull request #48259 from ktdreyer/build-win-fixes
win32: support building windows client on RHEL

Reviewed-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Reviewed-by: Justin Caratzas <jcaratza@redhat.com>
2022-09-30 15:36:29 -04:00
Josh Durgin
14615e350e doc/governance: update based on review and CLT discussions
Clarified some parts of council that were discussed previously,
specifying the number of members and a staggered term.

Added a bit more about the steering committee - thinking the meetings
could be split between tactical (3/4 weeks) and strategic (monthly),
and still open to anyone to join the discussion, but restricted to
only members voting.

Removed the meeting section since that belongs more in a separate
place, like the ceph.io website.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2022-09-30 15:31:07 -04:00
Josh Durgin
6dbe0424f9 doc/governance: add proposed structure
This is Sage's summary of the Ceph leadership team discussions around
this topic. Still many details to be worked out, this is just one
concrete proposal as a basis for further discussion.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2022-09-30 15:31:07 -04:00
Nizamudeen A
fc01eeb7f4
Merge pull request #47249 from nSedrickm/aria-labels-accessibility-update
mgr/dashboard: Improve level A accessibility for missing aria labels in tabs and listitems

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-09-30 10:37:52 +05:30
Neha Ojha
cc3c52b0ad
Merge pull request #48299 from neha-ojha/wip-crimson-nightlies
qa/crontab: run crimson-rados on the main branch

Reviewed-by: Sam Just <sjust@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2022-09-29 16:44:22 -07:00
Zack Cerza
752140aaa9
Merge pull request #48215 from zmc/osd-containers-tasks
qa/tasks: Updates to enable containerized loop-backed OSDs
2022-09-29 16:57:30 -06:00
Zack Cerza
89419c8072
Merge pull request #48300 from zmc/db-e2e-url-fix
mgr/dashboard: Fix broken Fedora image URL
2022-09-29 16:54:48 -06:00
Zack Cerza
3f32ab0fb3 mgr/dashboard: Fix broken Fedora image URL
This mirror apparently stopped working, breaking jobs that use this
script.

Signed-off-by: Zack Cerza <zack@redhat.com>
2022-09-29 13:44:46 -06:00
Casey Bodley
887d20b8e7
Merge pull request #47679 from cbodley/wip-rgw-sal-bootstrap
rgw: start on a rgw::sal::ConfigStore for boostrapping other stores

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-09-29 13:45:00 -04:00
Neha Ojha
db02b786ab qa/crontab: run crimson-rados on the main branch
It isn't useful to run the crimson suite on Quincy because we don't
backport crimson fixes.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2022-09-29 17:44:56 +00:00
Casey Bodley
49cbbd059b
Merge pull request #48287 from andriytk/fix-rpmbuild
compressor: fix rpmbuild on RHEL-8

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-29 13:43:14 -04:00
Zack Cerza
df8dbd705b
Merge pull request #48194 from zmc/python36-prettytable 2022-09-29 09:46:18 -06:00
Adam King
87c8518ac5
Merge pull request #48260 from phlogistonjohn/jjm-cephadm-import
cephadm: Clean up how test files import/use cephadm as a module

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-09-29 11:00:50 -04:00
Rishabh Dave
4ba8783ccf
Merge pull request #47814 from vshankar/wip-57072
pybind/mgr: check for empty metadata mgr_module:get_metadata()

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-09-29 19:50:47 +05:30
Venky Shankar
187d73bf4c
Merge pull request #48174 from batrick/i57597
qa: output debugging for cephfs-journal-tool/cephfs-data-scan

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2022-09-29 18:14:23 +05:30
Rishabh Dave
fb25b0b17f
Merge pull request #47991 from kotreshhr/qa-fix-57446
qa: Fix test_subvolume_snapshot_info_if_orphan_clone

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-09-29 17:56:35 +05:30
Rishabh Dave
2ff34d1d60
Merge pull request #47985 from kotreshhr/qa-fix-57205
qa: Fix test_subvolume_group_ls_filter_internal_directories

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-09-29 17:54:24 +05:30
Rishabh Dave
c26a148002
Merge pull request #47879 from lxbsz/wip-57344
client: fix incorrectly showing the .snap size for stat

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-09-29 17:51:31 +05:30
Venky Shankar
09fa1b2604
Merge pull request #48257 from batrick/i57657
qa: ignore expected scrub error

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-09-29 17:25:10 +05:30
Venky Shankar
e1d457b3ce
Merge pull request #48264 from batrick/i57677
qa: ignore MDS_TRIM warnings when osd thrashing

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-09-29 17:22:33 +05:30
Yuri Weinstein
120944f9cf
Merge pull request #48282 from ljflores/wip-telemetry-perf-fix
mgr/telemetry: handle daemons with complex ids

Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2022-09-28 15:37:11 -07:00
Casey Bodley
bb8dc36c0f radosgw-admin: use ConfigStore and related zone APIs
replaces all of rgw_admin.cc's use of the RGWSystemMetaObj subclasses
with calls to the ConfigStore

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 17:48:00 -04:00
Casey Bodley
5bd8cb5d2f rgw: add higher-level functions to rgw_zone.*
duplicates some of the logic from member functions of
RGWRealm/Period/ZoneGroup/ZoneParams, but as free functions in terms
of the sal::ConfigStore APIs

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 17:48:00 -04:00
Casey Bodley
547f07d249 radosgw-admin: fix --tier-config for 'zonegroup add'
ZONEGROUP_ADD applies changes to RGWZoneParams based on the
--tier-config option, but doesn't write those changes to rados

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 17:48:00 -04:00
Casey Bodley
d6246eadc4 radosgw-admin: create a ConfigStore
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 17:48:00 -04:00
Casey Bodley
6530f1f9e5 rgw: add create_config_store() factory
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 17:48:00 -04:00
Casey Bodley
465b6f2eb1 rgw: add rgw::sal::ImmutableConfigStore for json-based config
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 17:48:00 -04:00
Casey Bodley
3fb6def08c rgw: add rgw::sal::SQLiteConfigStore
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 17:48:00 -04:00
Casey Bodley
32496e431d rgw: add rgw::sal::RadosConfigStore
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 16:24:20 -04:00
Casey Bodley
0b8538702d rgw: add rgw::sal::ConfigStore
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 16:24:20 -04:00
Casey Bodley
9a7a7b7866 rgw: RGWRealm/Period/ZoneGroup/ZoneParams are fully public
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 16:24:20 -04:00
Andriy Tkachuk
3b3da64d74 compressor: fix rpmbuild on RHEL-8
When building rpms on latest RHEL-8.6:

    [  0%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o
    In file included from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/config_values.h:59,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/config.h:27,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/config_proxy.h:6,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/ceph_context.h:41,
                     from /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/compressor/Compressor.cc:23:
    /d/ceph-build/ceph-17.2.3-0-dff484dfc9e/src/common/options/legacy_config_opts.h:1:10: fatal error: global_legacy_options.h: No such file or directory
        1 | #include "global_legacy_options.h"
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [src/compressor/CMakeFiles/compressor_objs.dir/build.make:76: src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:7964: src/compressor/CMakeFiles/compressor_objs.dir/all] Error 2
    make: *** [Makefile:146: all] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.1CBUsC (%build)

    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.1CBUsC (%build)

Solution: add legacy-option-headers dependency to compressor_objs.

Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
2022-09-28 20:34:22 +01:00
Laura Flores
97833a6a81 mgr/telemetry: handle daemons with complex ids
Treating daemons as `<daemon_type>.x` caused a crash
in the Telemetry module since the current method does not cover a case
where a daemon id is more complex, i.e. `<daemon_type>.x.y`.

When we parse the daemon type and daemon id, we should
split it into a maximum of two pieces rather than splitting
it by every `.` character. Specifying `1` in the Python
.split() function will limit the split to a maximum of two items.

Fixes: https://tracker.ceph.com/issues/57700
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-09-28 17:17:17 +00:00
Casey Bodley
652bf75409
Merge pull request #45379 from tobias-urdin/bump-openstack-versions
qa/suites/rgw: fix and update tempest and barbican tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-28 10:51:38 -04:00
Pedro Gonzalez Gomez
7e4046bee2
Merge pull request #48267 from rhcs-dashboard/nfs-exports-fs-permission-error
mgr/dashboard: handle the cephfs permission issue in nfs exports



Reviewed-by: Pedro González Gómez <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2022-09-28 09:26:17 +02:00