Commit Graph

134812 Commits

Author SHA1 Message Date
Nizamudeen A
67ea64b379
Merge pull request #48616 from rhcs-dashboard/mirror-promote-demote-bug
mgr/dashboard: bug fixes for rbd mirroring edit and promotion/demotion

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-11-07 11:54:44 +05:30
Nizamudeen A
a538cbe929
Merge pull request #48538 from Syphdias/add-bonding-alert
ceph-mixin: Add Prometheus Alert for Degraded Bond

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2022-11-07 11:47:43 +05:30
Yingxin
723a6446f3
Merge pull request #48693 from ljx023/seastore-device-size-detect
crimson/os/seastore/segment_manager/block: get block device size

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2022-11-07 09:55:08 +08:00
zdover23
9bb24e1b40
Merge pull request #48757 from zdover23/wip-doc-2022-11-07-glossary-OSD
doc/glossary: define "OSD"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-07 04:29:47 +10:00
Zac Dover
95154ed492 doc/glossary: define "OSD"
Define "OSD" as "Object Storage Device", distinct from
"object storage daemon".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-07 04:04:04 +10:00
nsedrickm
f2a49717c8 mgr/dashboard: improve level AA color contrast accessibility for dashboard pages and components
Use more accessible colors for dashboard components, text and table columns

Fixes: https://tracker.ceph.com/issues/56023
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
2022-11-06 15:12:08 +01:00
zdover23
545cccbb89
Merge pull request #48753 from zdover23/wip-doc-2022-11-06-glossary-remove-front-matter
doc/glossary.rst: remove old front matter

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-06 18:29:51 +10:00
Zac Dover
f85fb97a43 doc/glossary.rst: remove old front matter
Remove two paragraphs from May 2013 that no longer apply.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-06 17:41:20 +10:00
zdover23
fac115ec74
Merge pull request #48750 from zdover23/wip-doc-2022-11-06-glossary-various
doc/glossary: improve wording

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-06 03:12:07 +10:00
Zac Dover
add6cc2a91 doc/glossary: improve wording
Remove "e.g." and "etc." and improve the wording of a definition.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-06 03:04:27 +10:00
zdover23
dce0dfa099
Merge pull request #48747 from zdover23/wip-doc-2022-11-05-glossary-dashboard
doc/glossary.rst: add "Ceph Dashboard" term

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-06 02:49:39 +10:00
Zac Dover
796bc17ddf doc/glossary.rst: add "Ceph Dashboard" term
Add a definition for "Ceph Dashboard".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-06 02:22:25 +10:00
zdover23
9a5dfabe52
Merge pull request #48744 from zdover23/wip-doc-2022-11-05-glossary-rbd
doc/glosary.rst: add "Ceph Block Device" term

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-05 15:59:22 +10:00
Zac Dover
09e4df6a52 doc/glosary.rst: add "Ceph Block Device" term
Add a definition for "Ceph Block Device".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-05 15:34:20 +10:00
Jos Collin
091db1d012
Merge pull request #48666 from joscollin/wip-cephfs-top-version
cephfs-top: add version in header

 Reviewed-by:  Dhairya Parmar <dparmar@redhat.com>
2022-11-05 07:59:28 +05:30
Laura Flores
5573558a17
Merge pull request #48291 from ljflores/wip-upgrade-telemetry 2022-11-04 20:00:30 -05:00
Jos Collin
2233b68fe0
doc: update cephfs-top.png
Signed-off-by: Jos Collin <jcollin@redhat.com>
2022-11-05 06:18:57 +05:30
Jos Collin
7d2deda2b2
cephfs-top: add version in header
Signed-off-by: Jos Collin <jcollin@redhat.com>
2022-11-05 06:18:57 +05:30
zdover23
05bba6e26d
Merge pull request #48739 from zdover23/wip-doc-2022-11-05-dev-guide-lone-sentence
doc/dev: improve lone sentence

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-05 03:25:54 +10:00
Zac Dover
b0df28b61a doc/dev: improve lone sentence
Improve a lone sentence to make it less ambiguous, and at the same
time permit the testing of a script.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-05 03:11:04 +10:00
zdover23
bd3ecf80ba
Merge pull request #48736 from zdover23/wip-doc-2022-11-05-cephadm-host-management-removing-hosts
doc/cephadm: improve lone sentence

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-05 02:55:32 +10:00
Zac Dover
4a15c77609 doc/cephadm: improve lone sentence
Improve a lone sentence, both to make the cephadm documentation better
and to test a script that is under development.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-05 02:38:13 +10:00
Kefu Chai
c0c0df979e
Merge pull request #48716 from tchaikov/crimson-cpuset
crimson/os/alienstore: parse crimson_alien_thread_cpu_cores in cpuset(7)'s list format

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-11-04 14:31:49 +08:00
Jos Collin
a1e7e5a68f
Merge pull request #48111 from neesingh-rh/feature_55121
cephfs-top: addition of sort feature and limit option

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2022-11-04 08:54:10 +05:30
zdover23
e8180d98cd
Merge pull request #48722 from zdover23/wip-doc-2022-11-04-cephadm-index-list-alphabetizing
doc/cephadm: alphabetize external tools list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-04 00:33:02 +10:00
zdover23
bee9bd170d
Merge pull request #48721 from zdover23/wip-doc-2022-11-04-cephadm-host-management-listing-hosts
doc/cephadm: arrange "listing hosts" section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-04 00:27:57 +10:00
Zac Dover
ef6749cad9 doc/cephadm: alphabetize external tools list
Alphabetize "Ansible", "Rook", and "Salt", so that
the items in the list match the items in the sentence
that precedes the list.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-04 00:16:34 +10:00
Zac Dover
d16e4e0737 doc/cephadm: arrange "listing hosts" section
Collect the material at the top of this page into a
"Listing Hosts" section and clean the English so that
it is clearer.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-04 00:12:25 +10:00
Neeraj Pratap Singh
bc360a4503 doc: addition of sort and limit features in doc
Fixes: https://tracker.ceph.com/issues/55121
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-11-03 17:36:49 +05:30
Neeraj Pratap Singh
27cad628ee cephfs-top: addition of sort and limit feature
This commit intends to add:
- sort-by field value feature to cephfs-top.
- feature to limit number of clients displayed

Fixes: https://tracker.ceph.com/issues/55121
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-11-03 17:36:29 +05:30
Ilya Dryomov
b32837f8ad
Merge pull request #48661 from thesamesam/gcc-13
common: Fix build with GCC 13 (missing <cstdint> include)

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-11-03 11:57:41 +01:00
Pedro Gonzalez Gomez
b1b9d72b75 mgr/dashboard: bug fixes for rbd mirroring edit and promotion/demotion
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2022-11-03 10:08:47 +01:00
Kefu Chai
7ad86ff0a6 crimson/os/alienstore: use boost::counting_iterator for setting cpuset
less repeatings this way.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-11-03 15:25:49 +08:00
Kefu Chai
f1ef17edf8 crimson/os/alienstore: parse crimson_alien_thread_cpu_cores as a cpuset(7)
the "List format" listed in cpuset(7) allows us to specify a range of
CPU cores in a comma-separated list. and the upper bound of the range
is optional. before this change, the upper bound is not optional.

before this change, the upper bound of the range is not optional. and
the upper bound is not inclusive. so we don't support the list format
of cpuset(7). Take cores "1,2,3,5,7,8" for example, we need to set the
option to "1-4,5-6,7-9" to represent this cpuset.
after this change, the upper bound is optional, so we can properly
support the list format defined by cpuset(7). and the upper bound is
inclusive. so we can use "1-3,5,7-8", which is compatible with
notation defined by cpuset(7).

in this change, the cpuset option is parsed using a seastar helper,
which is implemented using a regex. so we don't need to manually parse
it. as Seastar's parser returns an `std::optional<std::set<unsigned>>`.
if the string does not match with the regex of comma-separated list,
the returned cpuset does not have a value. this design is more explicit.
so in this change, instead of using `std::vector<uint64_t>`,
`std::optional<cpuset>` is used.

Signed-off-by: Jianxin Li <jianxin1.li@intel.com>
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-11-03 15:25:49 +08:00
zdover23
aa52af91d7
Merge pull request #48712 from zdover23/wip-doc-2022-11-03-cephadm-compatibility-grammar
doc/cephadm: fix grammar in compatibility.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-03 15:38:31 +10:00
Zac Dover
d8167aa63d doc/cephadm: fix grammar in compatibility.rst
Fix grammar in doc/cephadm/compatibility.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-03 15:23:29 +10:00
Tim Serong
130c962659 ceph-crash: drop privleges to run as "ceph" user, rather than root
If privileges cannot be dropped, log an error and exit.  This commit
also catches and logs exceptions when scraping the crash path, without
which ceph-crash would just exit if it encountered an error.

Fixes: CVE-2022-3650
Fixes: https://tracker.ceph.com/issues/57967
Signed-off-by: Tim Serong <tserong@suse.com>
2022-11-03 16:12:04 +11:00
Tim Serong
4591554055 ceph-crash: fix stderr handling
Popen.communicate() returns a tuple (stdout, stderr), and stderr
will be of type bytes, hence the need to decode it before checking
if it's an empty string or not.

Fixes: a77b47eeeb
Signed-off-by: Tim Serong <tserong@suse.com>
2022-11-03 15:05:47 +11:00
Christian Kugler
4aecdad350
ceph-mixin: Add Prometheus Alert for Degraded Bond
Currently there is no alert for a network interface card to be misconfigured or
failed which is part of a network bond.

This could lead to redundancies and performance being degraded unnoticed.

To solve this, I use node exporter metrics to look at the number of total peers
of the bond and the ones that are active. If the numbers differ, something is up
and should be looked at.

Fixes: https://tracker.ceph.com/issues/57962
Signed-off-by: Christian Kugler <syphdias+git@gmail.com>
2022-11-02 14:48:57 +01:00
Jianxin Li
841a58b7f5 crimson/os/seastore/segment_manager/block: get block device size
Previously the file_stat(::stat) can not get correct size for block devices.
Now call the file.size(using ::lseek) to replace it.

Signed-off-by: Jianxin Li <jianxin1.li@intel.com>
2022-11-02 07:08:25 +00:00
zdover23
aac5bbd1fe
Merge pull request #48699 from zdover23/wip-doc-2022-11-02-dev-osd-internals-ec-glossary-fixes
doc/dev: refine erasure_coding.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-02 15:15:02 +10:00
Zac Dover
6d6de42b6f doc/dev: refine erasure_coding.rst
Improve the readability and clarity of
erasure_coding.rst.

Co-author: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-02 15:04:04 +10:00
Ben Gao
df600e787b mgr/rook:NFSRados constructor expects type of rados as a parameter instead of MgrModule. This change should fix nfs cluster creation bug 57954.
Signed-off-by: Ben Gao <bengao168@msn.com>
2022-11-02 08:47:54 +08:00
Anthony D'Atri
478cbbb3b1
Merge pull request #48687 from StevenWash/bugfix/fix_command_error_blank
doc/radosgw: fix command error blank
2022-11-01 09:55:19 -04:00
stevenhua
870e8e7b3f doc/radosgw: fix command error blank 2022-11-01 09:53:02 +08:00
zdover23
13e50f6f49
Merge pull request #48684 from zdover23/wip-doc-2022-11-01-dev-osd-internals-ec-glossary-alphabetize
doc/dev: alphabetize EC glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-01 10:57:30 +10:00
Zac Dover
5067f575ad doc/dev: alphabetize EC glossary
Alphabetize the glossary in
doc/dev/osd_internals/erasure_coding.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-01 10:47:52 +10:00
Ilya Dryomov
a639f084e7
Merge pull request #48673 from idryomov/wip-49947
doc: note architecture availability for PMEM mode of PWL cache

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2022-10-31 19:33:30 +01:00
Matan
3b874e9930
Merge pull request #48548 from dparmar18/update_debug_script
script/ceph-debug-docker.sh: change default branch to main

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2022-10-31 14:57:08 +02:00
zdover23
0072b2d69e
Merge pull request #48674 from zdover23/doc-2022-10-31-dev-osd-internals-ec-glossary
doc/dev: improve EC glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-31 13:43:46 +10:00