]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agoceph-mixing: fix ceph_hosts variable 48851/head
Tatjana Dehler [Fri, 11 Nov 2022 15:30:55 +0000 (16:30 +0100)]
ceph-mixing: fix ceph_hosts variable

Do only use `instance` to query for hostnames in single-cluster-mode.
Consider the cluster matcher only in multi-cluster-mode. In this case
the query will look like:
`"label_values({cluster=~\"$cluster\"}, instance)"`.

Fixes: https://tracker.ceph.com/issues/57987
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2 years agoMerge pull request #48840 from zdover23/wip-doc-2022-11-11-glossary-remove-test-framework
zdover23 [Fri, 11 Nov 2022 04:26:16 +0000 (14:26 +1000)]
Merge pull request #48840 from zdover23/wip-doc-2022-11-11-glossary-remove-test-framework

doc/glossary: remove "Ceph Test Framework"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: remove "Ceph Test Framework" 48840/head
Zac Dover [Fri, 11 Nov 2022 03:50:52 +0000 (13:50 +1000)]
doc/glossary: remove "Ceph Test Framework"

Remove "Ceph Test Framework" because it doesn't actually refer to
anything.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48832 from zdover23/wip-doc-2022-11-11-glossary-ceph-OSD-Daemon...
zdover23 [Thu, 10 Nov 2022 22:04:29 +0000 (08:04 +1000)]
Merge pull request #48832 from zdover23/wip-doc-2022-11-11-glossary-ceph-OSD-Daemon-Daemons-redirect

doc/glossary: redirect entries to "Ceph OSD"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: redirect entries to "Ceph OSD" 48832/head
Zac Dover [Thu, 10 Nov 2022 20:31:59 +0000 (06:31 +1000)]
doc/glossary: redirect entries to "Ceph OSD"

Redirect "Ceph OSD Daemon" and "Ceph OSD Daemons" to the entry for "Ceph
OSD", which is already defined.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48298 from alram/alram/osd-meta-created_at
Laura Flores [Thu, 10 Nov 2022 19:24:42 +0000 (13:24 -0600)]
Merge pull request #48298 from alram/alram/osd-meta-created_at

osd: add created_at meta

2 years agoMerge pull request #48044 from nkshirsagar/main
Laura Flores [Thu, 10 Nov 2022 19:24:16 +0000 (13:24 -0600)]
Merge pull request #48044 from nkshirsagar/main

mon: bail from handle_command() if _generate_command_map() fails

2 years agoMerge pull request #46036 from ifed01/wip-ifed-new-statfs-update
Laura Flores [Thu, 10 Nov 2022 19:23:50 +0000 (13:23 -0600)]
Merge pull request #46036 from ifed01/wip-ifed-new-statfs-update

os/bluestore: get rid off statfs update on each txc

2 years agoMerge pull request #48826 from jecluis/wip-rgw-fix-lua-ifdef
Casey Bodley [Thu, 10 Nov 2022 18:15:03 +0000 (13:15 -0500)]
Merge pull request #48826 from jecluis/wip-rgw-fix-lua-ifdef

rgw/rados: drop unnecessary ifdef

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #48694 from gaord/FIX_BUG_57954
Juan Miguel Olmo [Thu, 10 Nov 2022 16:50:17 +0000 (17:50 +0100)]
Merge pull request #48694 from gaord/FIX_BUG_57954

mgr/rook:NFSRados constructor expects type of rados as a parameter instead of MgrModule.

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2 years agorgw/rados: drop unnecessary ifdef 48826/head
Joao Eduardo Luis [Thu, 10 Nov 2022 11:30:15 +0000 (11:30 +0000)]
rgw/rados: drop unnecessary ifdef

Signed-off-by: Joao Eduardo Luis <joao@suse.com>
2 years agoMerge pull request #48823 from zdover23/wip-doc-2022-11-10-glossary-ceph-manager...
zdover23 [Thu, 10 Nov 2022 02:58:53 +0000 (12:58 +1000)]
Merge pull request #48823 from zdover23/wip-doc-2022-11-10-glossary-ceph-manager-dashboard

doc/glossary: improve "Ceph Manager Dashboard"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/glossary: improve "Ceph Manager Dashboard" 48823/head
Zac Dover [Thu, 10 Nov 2022 02:24:12 +0000 (12:24 +1000)]
doc/glossary: improve "Ceph Manager Dashboard"

Redirect "Ceph Manager Dashboard" to the glossary term "Ceph Dashboard".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48819 from zdover23/wip-doc-2022-11-10-glossary-ceph
zdover23 [Thu, 10 Nov 2022 00:12:54 +0000 (10:12 +1000)]
Merge pull request #48819 from zdover23/wip-doc-2022-11-10-glossary-ceph

doc/glossary: improve "ceph" term

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: improve "ceph" term 48819/head
Zac Dover [Wed, 9 Nov 2022 22:39:31 +0000 (08:39 +1000)]
doc/glossary: improve "ceph" term

Define "ceph" in glossary.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48809 from zdover23/wip-doc-2022-11-09-glossary-cluster-map-link...
zdover23 [Wed, 9 Nov 2022 14:01:56 +0000 (00:01 +1000)]
Merge pull request #48809 from zdover23/wip-doc-2022-11-09-glossary-cluster-map-link-improvement

doc/glossary: improve "Ceph Manager" term

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: improve "Ceph Manager" term 48809/head
Zac Dover [Wed, 9 Nov 2022 13:12:54 +0000 (23:12 +1000)]
doc/glossary: improve "Ceph Manager" term

Improve the glossary entry "Ceph Manager" by correcting the grammar and
properly linking to the "Ceph Manager" section of the Architecture
Guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48735 from stefan-chivu/ceph-dokan-tests
Venky Shankar [Wed, 9 Nov 2022 12:35:05 +0000 (18:05 +0530)]
Merge pull request #48735 from stefan-chivu/ceph-dokan-tests

test/dokan: Added ceph-dokan tests

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #48762 from cyx1231st/wip-seastore-define-generation
Yingxin [Wed, 9 Nov 2022 08:10:01 +0000 (16:10 +0800)]
Merge pull request #48762 from cyx1231st/wip-seastore-define-generation

crimson/os/seastore: define the usage of generation

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Zhang Song <zhangsong325@gmail.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoMerge pull request #48793 from joscollin/wip-cephfs-top-version-revert
Venky Shankar [Wed, 9 Nov 2022 07:56:31 +0000 (13:26 +0530)]
Merge pull request #48793 from joscollin/wip-cephfs-top-version-revert

cephfs-top: revert add version in header

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #48713 from SUSE/wip-fix-CVE-2022-3650
Dan Mick [Tue, 8 Nov 2022 20:19:28 +0000 (12:19 -0800)]
Merge pull request #48713 from SUSE/wip-fix-CVE-2022-3650

ceph-crash: drop privleges to run as "ceph" user, rather than root (CVE-2022-3650)

2 years agoMerge pull request #48792 from zdover23/wip-doc-2022-11-08-glossary-ceph-cluster-map
zdover23 [Tue, 8 Nov 2022 16:27:34 +0000 (02:27 +1000)]
Merge pull request #48792 from zdover23/wip-doc-2022-11-08-glossary-ceph-cluster-map

doc/glossary: update "Cluster Map"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #48787 from zdover23/wip-doc-2022-11-08-architecture-RADOS-pdf...
zdover23 [Tue, 8 Nov 2022 15:21:09 +0000 (01:21 +1000)]
Merge pull request #48787 from zdover23/wip-doc-2022-11-08-architecture-RADOS-pdf-URL-correction

doc/architecture: correct PDF link

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoRevert "doc: update cephfs-top.png" 48793/head
Jos Collin [Tue, 8 Nov 2022 14:30:55 +0000 (20:00 +0530)]
Revert "doc: update cephfs-top.png"

This reverts commit 2233b68fe0efa3666f90296fd5df249a3f56bbe5.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2 years agoRevert "cephfs-top: add version in header"
Jos Collin [Tue, 8 Nov 2022 14:30:30 +0000 (20:00 +0530)]
Revert "cephfs-top: add version in header"

This reverts commit 7d2deda2b212a4b5c1b81737321fb4ac2ef10347.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2 years agodoc/glossary: update "Cluster Map" 48792/head
Zac Dover [Tue, 8 Nov 2022 13:11:15 +0000 (23:11 +1000)]
doc/glossary: update "Cluster Map"

Improve "Cluster Map" in the glossary.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48769 from zdover23/wip-doc-2022-11-08-glossary-OSD
zdover23 [Tue, 8 Nov 2022 12:34:41 +0000 (22:34 +1000)]
Merge pull request #48769 from zdover23/wip-doc-2022-11-08-glossary-OSD

doc/glossary: disambiguate "OSD"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/architecture: correct PDF link 48787/head
Zac Dover [Tue, 8 Nov 2022 08:24:29 +0000 (18:24 +1000)]
doc/architecture: correct PDF link

Correct PDF link from ceph.com website (old) to ceph.io website
(current).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48137 from nSedrickm/color-contrast-accessibility-update
Nizamudeen A [Tue, 8 Nov 2022 04:51:03 +0000 (10:21 +0530)]
Merge pull request #48137 from nSedrickm/color-contrast-accessibility-update

mgr/dashboard: improve level AA color contrast accessibility for dashboard pages and components

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #48776 from zdover23/wip-doc-2022-11-08-rados-config-storage-devic...
zdover23 [Tue, 8 Nov 2022 03:05:56 +0000 (13:05 +1000)]
Merge pull request #48776 from zdover23/wip-doc-2022-11-08-rados-config-storage-devices-backend-correction

doc/rados: s/backend/back end/

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #48775 from zdover23/wip-doc-2022-11-08-glossary-OSD-link
zdover23 [Tue, 8 Nov 2022 02:58:08 +0000 (12:58 +1000)]
Merge pull request #48775 from zdover23/wip-doc-2022-11-08-glossary-OSD-link

doc/glossary: link to OSD material

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #48774 from zdover23/wip-doc-2022-11-08-glossary-BlueStore
zdover23 [Tue, 8 Nov 2022 02:55:33 +0000 (12:55 +1000)]
Merge pull request #48774 from zdover23/wip-doc-2022-11-08-glossary-BlueStore

doc/glossary: add "BlueStore"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rados: s/backend/back end/ 48776/head
Zac Dover [Tue, 8 Nov 2022 02:35:57 +0000 (12:35 +1000)]
doc/rados: s/backend/back end/

s/backend/back end/ in storage-devices.rst.
(IBM Style Guide, 305).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agodoc/glossary: link to OSD material 48775/head
Zac Dover [Tue, 8 Nov 2022 02:33:18 +0000 (12:33 +1000)]
doc/glossary: link to OSD material

Link to the OSD material in RADOS Configuration
"Storage Devices".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agodoc/glossary: add "BlueStore" 48774/head
Zac Dover [Tue, 8 Nov 2022 02:25:35 +0000 (12:25 +1000)]
doc/glossary: add "BlueStore"

Define "BlueStore" in the glossary and link to the BlueStore
section in the RADOS Configuration "Storage Devices" chapter.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48768 from zdover23/wip-doc-2022-11-07-glossary-ceph-osd
zdover23 [Mon, 7 Nov 2022 23:32:58 +0000 (09:32 +1000)]
Merge pull request #48768 from zdover23/wip-doc-2022-11-07-glossary-ceph-osd

doc/glossary: define "Ceph OSD"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/glossary: disambiguate "OSD" 48769/head
Zac Dover [Mon, 7 Nov 2022 23:22:07 +0000 (09:22 +1000)]
doc/glossary: disambiguate "OSD"

Distinguish "object storage device" from "object storage daemon".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agodoc/glossary: define "Ceph OSD" 48768/head
Zac Dover [Mon, 7 Nov 2022 22:58:35 +0000 (08:58 +1000)]
doc/glossary: define "Ceph OSD"

Define "Ceph OSD", using Sage's own description.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48022 from rhcs-dashboard/paginate-services
Pere Diaz Bou [Mon, 7 Nov 2022 17:12:06 +0000 (18:12 +0100)]
Merge pull request #48022 from rhcs-dashboard/paginate-services

mgr/dashboard: paginate services

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #48763 from zdover23/wip-doc-2022-11-07-glossary-ceph-manager
zdover23 [Mon, 7 Nov 2022 14:19:43 +0000 (00:19 +1000)]
Merge pull request #48763 from zdover23/wip-doc-2022-11-07-glossary-ceph-manager

doc/glossary.rst: define "Ceph Manager"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary.rst: define "Ceph Manager" 48763/head
Zac Dover [Mon, 7 Nov 2022 13:55:53 +0000 (23:55 +1000)]
doc/glossary.rst: define "Ceph Manager"

Add a definition for Ceph Manager (ceph-mgr).

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agocrimson/os/seastore: rename reclaim_gen_t to rewrite_gen_t 48762/head
Yingxin Cheng [Mon, 7 Nov 2022 08:30:04 +0000 (16:30 +0800)]
crimson/os/seastore: rename reclaim_gen_t to rewrite_gen_t

Generation is counting rewrites, not reclaims.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/os/seastore: define the usage of generation
Yingxin Cheng [Mon, 7 Nov 2022 08:42:58 +0000 (16:42 +0800)]
crimson/os/seastore: define the usage of generation

Unify the definition of the reclaim generation, cleanup and explain its
intentions and usages. Please refer to the comments in seastore_types.h.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoceph-dokan: Exposed --win-vol-serial CLI option for ceph-dokan 48735/head
Stefan Chivu [Wed, 2 Nov 2022 12:32:40 +0000 (14:32 +0200)]
ceph-dokan: Exposed --win-vol-serial CLI option for ceph-dokan

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agotest: Added ceph-dokan tests
Stefan Chivu [Thu, 27 Oct 2022 13:04:27 +0000 (13:04 +0000)]
test: Added ceph-dokan tests

Added tests for the following ceph-dokan functionalities:

- mounting a CephFS volume
- creating files & folders
- r/w from files
- find files
- move files
- get file type
- get/set file timestamps
- set file eof/allocation size
- get volume information
- get volume space information
- file create dispositions
- file delete disposition

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agoMerge pull request #48616 from rhcs-dashboard/mirror-promote-demote-bug
Nizamudeen A [Mon, 7 Nov 2022 06:24:44 +0000 (11:54 +0530)]
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>
2 years agoMerge pull request #48538 from Syphdias/add-bonding-alert
Nizamudeen A [Mon, 7 Nov 2022 06:17:43 +0000 (11:47 +0530)]
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>
2 years agoMerge pull request #48693 from ljx023/seastore-device-size-detect
Yingxin [Mon, 7 Nov 2022 01:55:08 +0000 (09:55 +0800)]
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>
2 years agoMerge pull request #48757 from zdover23/wip-doc-2022-11-07-glossary-OSD
zdover23 [Sun, 6 Nov 2022 18:29:47 +0000 (04:29 +1000)]
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>
2 years agodoc/glossary: define "OSD" 48757/head
Zac Dover [Sun, 6 Nov 2022 17:45:24 +0000 (03:45 +1000)]
doc/glossary: define "OSD"

Define "OSD" as "Object Storage Device", distinct from
"object storage daemon".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agomgr/dashboard: improve level AA color contrast accessibility for dashboard pages... 48137/head
nsedrickm [Fri, 16 Sep 2022 12:33:28 +0000 (13:33 +0100)]
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>
2 years agoMerge pull request #48753 from zdover23/wip-doc-2022-11-06-glossary-remove-front...
zdover23 [Sun, 6 Nov 2022 08:29:51 +0000 (18:29 +1000)]
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>
2 years agodoc/glossary.rst: remove old front matter 48753/head
Zac Dover [Sun, 6 Nov 2022 07:41:20 +0000 (17:41 +1000)]
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>
2 years agoMerge pull request #48750 from zdover23/wip-doc-2022-11-06-glossary-various
zdover23 [Sat, 5 Nov 2022 17:12:07 +0000 (03:12 +1000)]
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>
2 years agodoc/glossary: improve wording 48750/head
Zac Dover [Sat, 5 Nov 2022 16:59:23 +0000 (02:59 +1000)]
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>
2 years agoMerge pull request #48747 from zdover23/wip-doc-2022-11-05-glossary-dashboard
zdover23 [Sat, 5 Nov 2022 16:49:39 +0000 (02:49 +1000)]
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>
2 years agodoc/glossary.rst: add "Ceph Dashboard" term 48747/head
Zac Dover [Sat, 5 Nov 2022 16:22:25 +0000 (02:22 +1000)]
doc/glossary.rst: add "Ceph Dashboard" term

Add a definition for "Ceph Dashboard".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48744 from zdover23/wip-doc-2022-11-05-glossary-rbd
zdover23 [Sat, 5 Nov 2022 05:59:22 +0000 (15:59 +1000)]
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>
2 years agodoc/glosary.rst: add "Ceph Block Device" term 48744/head
Zac Dover [Sat, 5 Nov 2022 05:34:20 +0000 (15:34 +1000)]
doc/glosary.rst: add "Ceph Block Device" term

Add a definition for "Ceph Block Device".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48666 from joscollin/wip-cephfs-top-version
Jos Collin [Sat, 5 Nov 2022 02:29:28 +0000 (07:59 +0530)]
Merge pull request #48666 from joscollin/wip-cephfs-top-version

cephfs-top: add version in header

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #48291 from ljflores/wip-upgrade-telemetry
Laura Flores [Sat, 5 Nov 2022 01:00:30 +0000 (20:00 -0500)]
Merge pull request #48291 from ljflores/wip-upgrade-telemetry

2 years agodoc: update cephfs-top.png 48666/head
Jos Collin [Fri, 4 Nov 2022 04:41:19 +0000 (10:11 +0530)]
doc: update cephfs-top.png

Signed-off-by: Jos Collin <jcollin@redhat.com>
2 years agocephfs-top: add version in header
Jos Collin [Thu, 27 Oct 2022 06:42:41 +0000 (12:12 +0530)]
cephfs-top: add version in header

Signed-off-by: Jos Collin <jcollin@redhat.com>
2 years agoMerge pull request #48739 from zdover23/wip-doc-2022-11-05-dev-guide-lone-sentence
zdover23 [Fri, 4 Nov 2022 17:25:54 +0000 (03:25 +1000)]
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>
2 years agodoc/dev: improve lone sentence 48739/head
Zac Dover [Fri, 4 Nov 2022 17:11:04 +0000 (03:11 +1000)]
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>
2 years agoMerge pull request #48736 from zdover23/wip-doc-2022-11-05-cephadm-host-management...
zdover23 [Fri, 4 Nov 2022 16:55:32 +0000 (02:55 +1000)]
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>
2 years agodoc/cephadm: improve lone sentence 48736/head
Zac Dover [Fri, 4 Nov 2022 16:38:13 +0000 (02:38 +1000)]
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>
2 years agoMerge pull request #48716 from tchaikov/crimson-cpuset
Kefu Chai [Fri, 4 Nov 2022 06:31:49 +0000 (14:31 +0800)]
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>
2 years agoMerge pull request #48111 from neesingh-rh/feature_55121
Jos Collin [Fri, 4 Nov 2022 03:24:10 +0000 (08:54 +0530)]
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>
2 years agoMerge pull request #48722 from zdover23/wip-doc-2022-11-04-cephadm-index-list-alphabe...
zdover23 [Thu, 3 Nov 2022 14:33:02 +0000 (00:33 +1000)]
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>
2 years agoMerge pull request #48721 from zdover23/wip-doc-2022-11-04-cephadm-host-management...
zdover23 [Thu, 3 Nov 2022 14:27:57 +0000 (00:27 +1000)]
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>
2 years agodoc/cephadm: alphabetize external tools list 48722/head
Zac Dover [Thu, 3 Nov 2022 14:16:34 +0000 (00:16 +1000)]
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>
2 years agodoc/cephadm: arrange "listing hosts" section 48721/head
Zac Dover [Thu, 3 Nov 2022 14:12:25 +0000 (00:12 +1000)]
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>
2 years agodoc: addition of sort and limit features in doc 48111/head
Neeraj Pratap Singh [Thu, 15 Sep 2022 18:06:35 +0000 (23:36 +0530)]
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>
2 years agocephfs-top: addition of sort and limit feature
Neeraj Pratap Singh [Tue, 26 Jul 2022 19:35:37 +0000 (01:05 +0530)]
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>
2 years agoMerge pull request #48661 from thesamesam/gcc-13
Ilya Dryomov [Thu, 3 Nov 2022 10:57:41 +0000 (11:57 +0100)]
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>
2 years agomgr/dashboard: bug fixes for rbd mirroring edit and promotion/demotion 48616/head
Pedro Gonzalez Gomez [Tue, 25 Oct 2022 13:43:42 +0000 (15:43 +0200)]
mgr/dashboard: bug fixes for rbd mirroring edit and promotion/demotion

Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 years agocrimson/os/alienstore: use boost::counting_iterator for setting cpuset 48716/head
Kefu Chai [Thu, 3 Nov 2022 06:27:11 +0000 (14:27 +0800)]
crimson/os/alienstore: use boost::counting_iterator for setting cpuset

less repeatings this way.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 years agocrimson/os/alienstore: parse crimson_alien_thread_cpu_cores as a cpuset(7)
Kefu Chai [Thu, 3 Nov 2022 06:04:30 +0000 (14:04 +0800)]
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>
2 years agoMerge pull request #48712 from zdover23/wip-doc-2022-11-03-cephadm-compatibility...
zdover23 [Thu, 3 Nov 2022 05:38:31 +0000 (15:38 +1000)]
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>
2 years agodoc/cephadm: fix grammar in compatibility.rst 48712/head
Zac Dover [Thu, 3 Nov 2022 05:13:49 +0000 (15:13 +1000)]
doc/cephadm: fix grammar in compatibility.rst

Fix grammar in doc/cephadm/compatibility.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoceph-crash: drop privleges to run as "ceph" user, rather than root 48713/head
Tim Serong [Wed, 2 Nov 2022 03:27:47 +0000 (14:27 +1100)]
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>
2 years agoceph-crash: fix stderr handling
Tim Serong [Wed, 2 Nov 2022 03:23:20 +0000 (14:23 +1100)]
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: a77b47eeeb5770eeefcf4619ab2105ee7a6a003e
Signed-off-by: Tim Serong <tserong@suse.com>
2 years agoceph-mixin: Add Prometheus Alert for Degraded Bond 48538/head
Christian Kugler [Sun, 16 Oct 2022 17:21:01 +0000 (19:21 +0200)]
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>
2 years agocrimson/os/seastore/segment_manager/block: get block device size 48693/head
Jianxin Li [Mon, 31 Oct 2022 08:03:01 +0000 (08:03 +0000)]
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>
2 years agoMerge pull request #48699 from zdover23/wip-doc-2022-11-02-dev-osd-internals-ec-gloss...
zdover23 [Wed, 2 Nov 2022 05:15:02 +0000 (15:15 +1000)]
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>
2 years agodoc/dev: refine erasure_coding.rst 48699/head
Zac Dover [Wed, 2 Nov 2022 03:45:48 +0000 (13:45 +1000)]
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>
2 years agomgr/rook:NFSRados constructor expects type of rados as a parameter instead of MgrModu... 48694/head
Ben Gao [Tue, 1 Nov 2022 10:20:01 +0000 (18:20 +0800)]
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>
2 years agoMerge pull request #48687 from StevenWash/bugfix/fix_command_error_blank
Anthony D'Atri [Tue, 1 Nov 2022 13:55:19 +0000 (09:55 -0400)]
Merge pull request #48687 from StevenWash/bugfix/fix_command_error_blank

doc/radosgw: fix command error blank

2 years agodoc/radosgw: fix command error blank 48687/head
stevenhua [Tue, 1 Nov 2022 01:53:02 +0000 (09:53 +0800)]
doc/radosgw: fix command error blank

2 years agoMerge pull request #48684 from zdover23/wip-doc-2022-11-01-dev-osd-internals-ec-gloss...
zdover23 [Tue, 1 Nov 2022 00:57:30 +0000 (10:57 +1000)]
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>
2 years agodoc/dev: alphabetize EC glossary 48684/head
Zac Dover [Tue, 1 Nov 2022 00:47:52 +0000 (10:47 +1000)]
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>
2 years agoMerge pull request #48673 from idryomov/wip-49947
Ilya Dryomov [Mon, 31 Oct 2022 18:33:30 +0000 (19:33 +0100)]
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>
2 years agoMerge pull request #48548 from dparmar18/update_debug_script
Matan [Mon, 31 Oct 2022 12:57:08 +0000 (14:57 +0200)]
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>
2 years agoMerge pull request #48674 from zdover23/doc-2022-10-31-dev-osd-internals-ec-glossary
zdover23 [Mon, 31 Oct 2022 03:43:46 +0000 (13:43 +1000)]
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>
2 years agodoc/dev: improve EC glossary 48674/head
Zac Dover [Mon, 31 Oct 2022 03:17:45 +0000 (13:17 +1000)]
doc/dev: improve EC glossary

Improve the clarity and syntax of the text in
doc/dev/osd_internals/erasure_coding.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agodoc: note architecture availability for PMEM mode of PWL cache 48673/head
Ilya Dryomov [Sun, 30 Oct 2022 17:06:57 +0000 (18:06 +0100)]
doc: note architecture availability for PMEM mode of PWL cache

Fixes: https://tracker.ceph.com/issues/49947
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #48667 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare...
zdover23 [Sun, 30 Oct 2022 06:07:38 +0000 (16:07 +1000)]
Merge pull request #48667 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare-colemitchell-notes

doc/ceph-volume: refine Filestore docs

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/ceph-volume: refine Filestore docs 48667/head
Zac Dover [Sun, 30 Oct 2022 05:27:24 +0000 (15:27 +1000)]
doc/ceph-volume: refine Filestore docs

Add Cole Mitchell's improvements to the filestore section.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #48665 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare...
zdover23 [Sun, 30 Oct 2022 00:49:31 +0000 (10:49 +1000)]
Merge pull request #48665 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare-datri-notes

doc/ceph-volume: improve prepare.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>