Commit Graph

137615 Commits

Author SHA1 Message Date
Laura Flores
70c5a4d548 mgr/telemetry: compile all channels and collections in selftest
The selftest currently compiles only channels and collections that
are on by default. This change tests the compilation of all channels
and collections.

Signed-off-by: Laura Flores <lflores@redhat.com>
2023-04-27 19:21:00 +00:00
Matan
6de55cb759
Merge pull request #50530 from Matan-B/wip-matanb-crimson-only-new-rbd-v2
crimson/osd: Handle rollback to head obejct

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-04-27 12:53:38 +03:00
Matan
dbe797bf9d
Merge pull request #50584 from Matan-B/wip-matanb-crimson-only-add-thrash
qa/suites/crimson-rados/thrash: Enable supported tests and ops

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-04-27 12:43:00 +03:00
Matan
3169d61c32
Merge pull request #51198 from Matan-B/wip-matanb-snap-trimmer-loop
crimson/osd/snaptrim_event: Handle missing clone obc case

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
2023-04-27 12:40:07 +03:00
Nizamudeen A
864336f564
Merge pull request #51189 from rhcs-dashboard/fix-cephpgimbalance-alert
mgr/dashboard: fix CephPGImbalance alert

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-04-27 11:05:19 +05:30
zdover23
555bcd3ed6
Merge pull request #51154 from zdover23/wip-doc-2023-04-20-rados-operations-3-of-x
doc/rados/ops: edit user-management.rst (3 of x)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2023-04-27 10:11:24 +10:00
zdover23
c15bbb2dc6
Merge pull request #51204 from zdover23/wip-doc-2023-04-25-cephfs-nfs-ganesha-permissions
doc/cephfs: explain cephfs data and metadata set

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-04-27 08:08:07 +10:00
Zac Dover
9152f97004 doc/cephfs: explain cephfs data and metadata set
Explain how to set application metadata for the CephFS data pool and the
CephFS metadata pool.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-04-27 07:46:46 +10:00
Ilya Dryomov
c9f0ecd242
Merge pull request #51228 from jsoref/spelling-rbd
rbd: fix spelling errors

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-04-26 23:07:47 +02:00
Rishabh Dave
3bc21774f4
Merge pull request #51030 from batrick/i59425
qa: check each fs for health

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-04-26 19:44:39 +05:30
Josh Soref
965ee91d3f rbd: fix spelling errors
* acquire
* are
* asynchronous
* attempt
* bootstrap
* concurrent
* consume
* couldn't
* cumulative
* disable
* disabling
* disaster
* disconnected
* endianness
* entries
* exclusive
* filesystem
* flag
* generic
* github
* image
* information
* initiating
* latency
* limitations
* metadata
* modify
* namespace
* noautoconsole
* ourselves
* prefetch
* propagate
* protection
* recorder
* recover
* release
* replicated
* reserved
* selection
* sentinel
* several
* snapshot
* source
* specifying
* suppress
* synchronize
* the
* transfer
* triggering
* unknown
* validation
* version
* visible
* write log entries

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-26 09:30:53 -04:00
Nizamudeen A
547055e38a
Merge pull request #50927 from rhcs-dashboard/export-authx
mgr/dashboard: import/export ceph authx users

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-04-26 18:36:23 +05:30
Pere Diaz Bou
62d762f696 mgr/dashboard: import/export authx users
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Fixes: https://tracker.ceph.com/issues/59486
2023-04-26 10:00:25 +02:00
Venky Shankar
6b3ec68792 Merge PR #51223 into main
* refs/pull/51223/head:
	Revert "tools/cephfs/top/CMakeList.txt: check the minimum compatible python version for cephfs-top"

Reviewed-by: Jos Collin <jcollin@redhat.com>
2023-04-26 09:58:15 +05:30
Venky Shankar
51fb180157 Revert "tools/cephfs/top/CMakeList.txt: check the minimum compatible python version for cephfs-top"
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-04-26 07:00:28 +05:30
Anthony D'Atri
d66925dcae
Merge pull request #51193 from zdover23/wip-doc-2023-04-24-start-intro-first-para-rewrite
doc/start: rewrite intro paragraph
2023-04-25 19:17:50 -04:00
Zac Dover
bea01d5f14 doc/start: rewrite intro paragraph
Rewrite the first paragraph in doc/start/intro.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-04-26 09:06:38 +10:00
Adam King
1e73409b36
Merge pull request #50722 from adk3798/asyncio-cephadm-timeout
mgr/cephadm: asyncio based universal timeout for ssh/cephadm commands

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-04-25 13:08:07 -04:00
Adam King
c7d382b0ff
Merge pull request #49103 from adk3798/mon-crush-location
mgr/cephadm: allow setting mon crush locations through mon service spec

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-04-25 11:25:29 -04:00
Adam King
76b2e83b4c
Merge pull request #51120 from mgfritch/cephadm-haproxy-offline-host
cephadm: reschedule haproxy from an offline host

Reviewed-by: Adam King <adking@redhat.com>
2023-04-25 11:21:28 -04:00
Adam King
adf13c82eb mgr/cephadm: asyncio based universal timeout for ssh/cephadm commands
Since we already have make use of asyncio for our ssh commands,
we can use asyncio's timeout on waiting for concurrent futures to complete
as a way to have universal timeouts on our cephadm commands.
This change also creates a contextmanager that will catch any asyncio.TimeoutError.
Using the contextmanager along with calls to the wait_async function
will catch any timeout exception raised and convert it into an appropriate
OrchetratorError including information about what and where for the timeout
if it was provided (host where run, what command). This allows us to guarantee a
background ssh command eventually returns and inform users of any
timeouts by raising a health warning or logging the error instead
of sitting idle indefinitely

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

Signed-off-by: Adam King <adking@redhat.com>
2023-04-25 10:13:50 -04:00
Adam King
00d4203ec6 mgr/cephadm: pass --timeout to cephadm binary commands
Signed-off-by: Adam King <adking@redhat.com>
2023-04-25 10:11:39 -04:00
Adam King
819777e68f
Merge pull request #50719 from guits/update-dockerfile-keepalived
contrib: update keepalived Dockerfile

Reviewed-by: Adam King <adking@redhat.com>
2023-04-25 10:04:36 -04:00
Matan Breizman
b888cfa3da qa/suites/crimson-rados/thrash: Enable supported thrashers
Balanced/Localized reads are now supported.
snap_remove and rollback are supported as well.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-04-25 09:47:38 +00:00
Matan Breizman
8839f829d6 qa/suites/crimson-rados/thrash: Add snap_remove/create weights
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-04-25 09:47:38 +00:00
Matan Breizman
ad129f39e7 crimson/osd/pg: PG::on_active_actmap() clear PG_STATE_SNAPTRIM_ERROR
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-04-25 08:28:42 +00:00
Matan Breizman
03ff8f206a crimson/osd/pg: PG::on_active_actmap() fix SnapTrimEvent stop condition
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-04-25 08:28:42 +00:00
Matan Breizman
5f1f362590 crimson/osd/osd_operations/snaptrim_event: Handle missing clone obc
The case where resolve_oid is not able to return the clone oid (in order
to load the clone obc) should result in an SNAPTRIM_ERROR and stop the loop
iteration. Without taking this case into account an infinite loop of snap
trim events will be created.
The ENOENT error is delegated upwards to be handled by PG::on_active_actmap().

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

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-04-25 08:28:02 +00:00
Yingxin
23183260c5
Merge pull request #49980 from myoungwon/wip-generalize-recordsubmitter
crimson/os/seastore/journal: generalize recordsubmitter

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-04-25 09:48:35 +08:00
Matan Breizman
51c70dc95d crimson/osd/osd_operations/snaptrim_event: Add log lines and formatting
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-04-24 12:58:15 +00:00
Guillaume Abrioux
7e93b032d7
Merge pull request #51067 from guits/fix-backward-compatible-issue-cv
ceph-volume: fix batch refactor issue
2023-04-24 10:36:42 +02:00
Guillaume Abrioux
300e3ee87e
Merge pull request #50838 from guits/osd-replacement-improvements
orchestrator: add `--no-destroy` arg to `ceph orch osd rm`
2023-04-24 10:35:51 +02:00
Guillaume Abrioux
bfa8bd15c7
Merge pull request #50745 from guits/quick-fix-cv
ceph-volume: quick fix in zap.py
2023-04-24 10:35:31 +02:00
Aashish Sharma
8b5c4d27c2 mgr/dashboard: fix CephPGImbalance alert
Fixes: https://tracker.ceph.com/issues/55568

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2023-04-24 11:44:11 +05:30
zdover23
d9e6e1de79
Merge pull request #51178 from zdover23/wip-doc-2023-04-22-glossary-placement-groups
doc/glossary: add "Placement Groups" definition

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-04-23 17:07:28 +02:00
zdover23
f6d5a33d72
Merge pull request #51177 from zdover23/wip-doc-2023-04-22-start-documenting-ceph-first-150-lines
doc/start: edit first 150 lines of documenting-ceph

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-04-23 16:53:46 +02:00
Zac Dover
dd37f94aa4 doc/start: edit first 50 lines of documenting-ceph
Edit the first 150 lines of doc/start/documenting-ceph.rst. This is part
of an initiative to harvest the fruits of Cephalocon 2023, at which
documentation proved to be in demand to a surprising degree.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-04-23 16:43:39 +02:00
Zac Dover
9f37ea651f doc/glossary: add "Placement Groups" definition
Add a definition of "Placement Groups" to the Glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-04-22 16:54:41 +02:00
Anthony D'Atri
2d2fd8d8a9
Merge pull request #51175 from zdover23/wip-doc-2023-04-21-main-page-docs-link
doc: add link to "documenting ceph" to index.rst
2023-04-22 13:24:38 +02:00
Zac Dover
155a382cb2 doc: add link to "documenting ceph" to index.rst
Add a link to the landing page of docs.ceph.com to direct documentation
contributors to documentation-related information.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-04-22 07:51:23 +02:00
Ilya Dryomov
92ba1c08c8
Merge pull request #50324 from pkalever/scrub_incomplete
librbd: remove previous incomplete primary snapshot after successfully creating a new one

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-04-21 18:00:55 +02:00
Samuel Just
7dd23978a6
Merge pull request #48717 from liu-chunmei/multicore-seastore
crimson/os: support multicore seastore

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2023-04-20 15:55:11 -07:00
chunmei-liu
ad5b0c12a7 crimson/os: make ZNS support shard metadata
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2023-04-20 20:08:00 +00:00
chunmei
c401a4af88 crimson/os: fix formatter build error
Signed-off-by: chunmei <chunmei.liu@intel.com>
2023-04-20 20:07:55 +00:00
chunmei
91572c1799 crimson/os: fix unittest error for multicore seastore
Signed-off-by: chunmei <chunmei.liu@intel.com>
2023-04-20 20:07:50 +00:00
chunmei
ad4f7bbf15 crimson/os: static assign segments to each shard
and make device sharded

Signed-off-by: chunmei <chunmei.liu@intel.com>
2023-04-20 20:05:05 +00:00
chunmei
7a673d006d cirmson/os: seperate futurizedStore interface
into futurizedStore and futurizedShardStore
and modification the other parts in osd and objectstore

Signed-off-by: chunmei <chunmei.liu@intel.com>
2023-04-20 19:58:16 +00:00
chunmei
6a121c0852 crimson/seastore: fix heap-used-after-free bug
Signed-off-by: chunmei <chunmei.liu@intel.com>
2023-04-20 18:46:41 +00:00
Nizamudeen A
f79b94300e
Merge pull request #51153 from rhcs-dashboard/applitools-fix
mgr/dashboard: ignore Details card in applitools vrt

Reviewed-by: Pegonzal <NOT@FOUND>
2023-04-20 23:07:48 +05:30
Nizamudeen A
d36d554041
Merge pull request #51163 from rhcs-dashboard/hide-rbd-force-promote-notification
mgr/dashboard: hide notification on force promote

Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-04-20 23:05:45 +05:30