]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agoMerge pull request #52037 from zdover23/wip-doc-2023-06-14-backport-52009-to-reef
zdover23 [Tue, 13 Jun 2023 17:31:24 +0000 (03:31 +1000)]
Merge pull request #52037 from zdover23/wip-doc-2023-06-14-backport-52009-to-reef

reef: doc/rados: add math markup to placement-groups.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #52030 from zdover23/wip-doc-2023-06-13-backport-52018-to-reef
zdover23 [Tue, 13 Jun 2023 17:30:54 +0000 (03:30 +1000)]
Merge pull request #52030 from zdover23/wip-doc-2023-06-13-backport-52018-to-reef

reef: doc/rados: edit crush-map.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #52034 from zdover23/wip-doc-2023-06-14-backport-52028-to-reef
Anthony D'Atri [Tue, 13 Jun 2023 15:21:54 +0000 (11:21 -0400)]
Merge pull request #52034 from zdover23/wip-doc-2023-06-14-backport-52028-to-reef

reef: doc/dev: fix "deploying dev cluster" link

2 years agodoc/rados: add math markup to placement-groups.rst 52037/head
Zac Dover [Mon, 12 Jun 2023 11:32:14 +0000 (21:32 +1000)]
doc/rados: add math markup to placement-groups.rst

Add some math markup to some of the mathematical expressions in
doc/rados/operations/placement-groups.rst.

This change has advantages as well as disadvantages. On the one hand,
the mathematical expressions look nicer and are easier to read.  On the
other hand, the rendered mathematical expressions are not searchable as
a part of the text, which makes CTRL+F searches useless in finding them.

This PR is offered as an RFC on the matter of whether mathematical
expressions should be rendered with the :math: extension.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b953dbca56bc8c987ad0288a4e2ac50212c3ad81)

2 years agodoc/dev: fix "deploying dev cluster" link 52034/head
Zac Dover [Tue, 13 Jun 2023 11:51:26 +0000 (21:51 +1000)]
doc/dev: fix "deploying dev cluster" link

Fix a link to "Deploying a Development Cluster" that had been broken
since the transition from master to main.

This is the first part of an initiative to improve the vstart
documentation.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit e83949e7edaabe865d77e68be6ea2e41864cc6f4)

2 years agodoc/rados: edit crush-map.rst (1 of x) 52030/head
Zac Dover [Mon, 12 Jun 2023 20:02:59 +0000 (06:02 +1000)]
doc/rados: edit crush-map.rst (1 of x)

Edit doc/rados/operations/crush-map.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 2e168ed68807cffe6a5199c4be70f519a9f35404)

2 years agoMerge pull request #52001 from zdover23/wip-doc-2023-06-12-backport-51994-to-reef
Anthony D'Atri [Sun, 11 Jun 2023 22:04:49 +0000 (18:04 -0400)]
Merge pull request #52001 from zdover23/wip-doc-2023-06-12-backport-51994-to-reef

reef: doc/rados: edit placement-groups.rst (3 of x)

2 years agodoc/rados: edit placement-groups.rst (3 of x) 52001/head
Zac Dover [Sat, 10 Jun 2023 23:00:38 +0000 (09:00 +1000)]
doc/rados: edit placement-groups.rst (3 of x)

Edit doc/rados/operations/placement-groups.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 25224acac004e9e153018dbff708190df165f5ba)

2 years agoMerge pull request #51998 from zdover23/wip-doc-2023-06-11-backport-51992-to-reef
Anthony D'Atri [Sun, 11 Jun 2023 13:56:02 +0000 (09:56 -0400)]
Merge pull request #51998 from zdover23/wip-doc-2023-06-11-backport-51992-to-reef

reef: doc/rados: edit change-mon-elections

2 years agodoc/rados: edit change-mon-elections 51998/head
Zac Dover [Sat, 10 Jun 2023 02:08:41 +0000 (12:08 +1000)]
doc/rados: edit change-mon-elections

Edit doc/rados/operations/change-mon-elections.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit dc93181f04f772b53f0c86a34ef43a14bfba6ef8)

2 years agoMerge pull request #51996 from zdover23/wip-doc-2023-06-11-backport-51991-to-reef
Anthony D'Atri [Sun, 11 Jun 2023 00:57:55 +0000 (20:57 -0400)]
Merge pull request #51996 from zdover23/wip-doc-2023-06-11-backport-51991-to-reef

reef: doc/rados: edit placement-groups.rst (2 of x)

2 years agodoc/rados: edit placement-groups.rst (2 of x) 51996/head
Zac Dover [Sat, 10 Jun 2023 01:44:33 +0000 (11:44 +1000)]
doc/rados: edit placement-groups.rst (2 of x)

Edit doc/rados/operations/placement-groups.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 8bdd27165cbc5249547f7cf776faa37d690b8e5c)

2 years agoMerge pull request #51984 from zdover23/wip-doc-2023-06-09-backport-51975-to-reef
Anthony D'Atri [Fri, 9 Jun 2023 13:50:59 +0000 (09:50 -0400)]
Merge pull request #51984 from zdover23/wip-doc-2023-06-09-backport-51975-to-reef

reef: doc/rados: edit placement-groups.rst (1 of x)

2 years agodoc/rados: edit placement-groups.rst (1 of x) 51984/head
Zac Dover [Thu, 8 Jun 2023 18:53:34 +0000 (04:53 +1000)]
doc/rados: edit placement-groups.rst (1 of x)

Edit doc/rados/operations/placement-groups.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d6e1116d0dfeea54a1aba717dcc6643c2263209c)

2 years agoMerge pull request #51862 from yuvalif/wip-61520-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:06:54 +0000 (12:06 -0400)]
Merge pull request #51862 from yuvalif/wip-61520-reef

reef: test/rgw/notifications: fix kafka consumer shutdown issue

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #51878 from idryomov/wip-61382-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:06:23 +0000 (12:06 -0400)]
Merge pull request #51878 from idryomov/wip-61382-reef

reef: osd/OSDCap: allow rbd.metadata_list method under rbd-read-only profile

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #51855 from petrutlucian94/wip-61526-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:05:42 +0000 (12:05 -0400)]
Merge pull request #51855 from petrutlucian94/wip-61526-reef

reef: librbd: avoid decrementing iterator before first element

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #51599 from alimaredia/wip-61173-reef
Yuri Weinstein [Thu, 8 Jun 2023 16:04:57 +0000 (12:04 -0400)]
Merge pull request #51599 from alimaredia/wip-61173-reef

reef: rgw/swift: check position of first slash in slo manifest files

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoMerge pull request #51970 from zdover23/wip-doc-2023-06-08-backport-51958-to-reef
zdover23 [Thu, 8 Jun 2023 14:06:23 +0000 (00:06 +1000)]
Merge pull request #51970 from zdover23/wip-doc-2023-06-08-backport-51958-to-reef

reef: doc/rados: edit pools.rst (4 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit pools.rst (4 of x) 51970/head
Zac Dover [Wed, 7 Jun 2023 10:32:03 +0000 (20:32 +1000)]
doc/rados: edit pools.rst (4 of x)

Edit doc/operations/rados/pools.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 92cf93b1fe185ec8b4c77cf2dcd0b21b25931d5d)

2 years agoMerge pull request #51815 from rhcs-dashboard/wip-61491-reef
Nizamudeen A [Wed, 7 Jun 2023 16:43:57 +0000 (22:13 +0530)]
Merge pull request #51815 from rhcs-dashboard/wip-61491-reef

reef: mgr/dashboard: fix the rgw roles page

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #51802 from NitzanMordhai/wip-61447-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:12:33 +0000 (11:12 -0400)]
Merge pull request #51802 from NitzanMordhai/wip-61447-reef

reef: test: correct osd pool default size

Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
2 years agoMerge pull request #51776 from k0ste/wip-61467-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:11:48 +0000 (11:11 -0400)]
Merge pull request #51776 from k0ste/wip-61467-reef

reef: os/bluestore: Add bluefs write op count metrics.

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #51775 from ifed01/wip-ifed-fix-bluefs-prealloc-ree
Yuri Weinstein [Wed, 7 Jun 2023 15:11:06 +0000 (11:11 -0400)]
Merge pull request #51775 from ifed01/wip-ifed-fix-bluefs-prealloc-ree

reef: os/bluestore: proper override rocksdb::WritableFile::Allocate

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #51841 from idryomov/wip-61495-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:08:53 +0000 (11:08 -0400)]
Merge pull request #51841 from idryomov/wip-61495-reef

reef: Revert "test: adjust rbd test case guards to handle new defaults"

Reviewed-by: Mykola Golub <mgolub@suse.com>
2 years agoMerge pull request #51833 from dang/wip-61509-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:08:07 +0000 (11:08 -0400)]
Merge pull request #51833 from dang/wip-61509-reef

reef: RGW - Use correct multipart upload time

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51796 from yuvalif/wip-61479-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:07:36 +0000 (11:07 -0400)]
Merge pull request #51796 from yuvalif/wip-61479-reef

reef: rgw/kafka: remove potential race condition between creation and deletion of endpoint

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #51411 from ifed01/wip-ifed-fix-fit-to-fast-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:06:41 +0000 (11:06 -0400)]
Merge pull request #51411 from ifed01/wip-ifed-fix-fit-to-fast-reef

reef: os/bluestore: allow 'fit_to_fast' selector for single-volume osd

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50937 from ifed01/wip-ifed-fix-prefixed-kv-iterator-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:06:07 +0000 (11:06 -0400)]
Merge pull request #50937 from ifed01/wip-ifed-fix-prefixed-kv-iterator-reef

reef: kv/RocksDBStore: don't use real wholespace iterator for prefixed access

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #50929 from ifed01/wip-ifed-bound-rm-range-keys-ree
Yuri Weinstein [Wed, 7 Jun 2023 15:05:20 +0000 (11:05 -0400)]
Merge pull request #50929 from ifed01/wip-ifed-bound-rm-range-keys-ree

reef: kv/RocksDBStore: cumulative backport for rm_range_keys and around

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2 years agoMerge pull request #51900 from rzarzynski/wip-61581-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:02:15 +0000 (11:02 -0400)]
Merge pull request #51900 from rzarzynski/wip-61581-reef

reef: common/options: Update RocksDB CF Tuning

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51893 from rzarzynski/wip-61579-reef
Yuri Weinstein [Wed, 7 Jun 2023 15:01:05 +0000 (11:01 -0400)]
Merge pull request #51893 from rzarzynski/wip-61579-reef

reef: mon: fix timestamp formatting in cluster log

Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51956 from zdover23/wip-doc-2023-06-07-backport-51930-to-reef
Anthony D'Atri [Wed, 7 Jun 2023 13:49:22 +0000 (09:49 -0400)]
Merge pull request #51956 from zdover23/wip-doc-2023-06-07-backport-51930-to-reef

reef: doc/rados: edit pools.rst (3 of x)

2 years agoMerge pull request #51939 from zdover23/wip-doc-2023-06-06-backport-51914-to-reef
zdover23 [Wed, 7 Jun 2023 11:09:29 +0000 (21:09 +1000)]
Merge pull request #51939 from zdover23/wip-doc-2023-06-06-backport-51914-to-reef

reef: doc/rados: edit pools.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rados: edit pools.rst (3 of x) 51956/head
Zac Dover [Tue, 6 Jun 2023 03:38:08 +0000 (13:38 +1000)]
doc/rados: edit pools.rst (3 of x)

Edit doc/operations/rados/pools.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 09eff30f5f8fa754feaaadad559f260eae599a35)

2 years agoMerge pull request #51937 from zdover23/wip-doc-2023-06-06-backport-51932-to-reef
Anthony D'Atri [Tue, 6 Jun 2023 12:42:46 +0000 (08:42 -0400)]
Merge pull request #51937 from zdover23/wip-doc-2023-06-06-backport-51932-to-reef

reef: doc/rados/operations: fix typo in balancer.rst

2 years agodoc/rados: edit pools.rst (2 of x) 51939/head
Zac Dover [Mon, 5 Jun 2023 02:13:28 +0000 (12:13 +1000)]
doc/rados: edit pools.rst (2 of x)

Edit doc/operations/rados/pools.rst.

There remains confusion in this part of the document regarding pg_num
and pgp_num. pg_num and pgp_num are not explained with sufficient
clarity. A future commit will clear up this confusion. There is also
some potential confusion between on the one hand the strings "pg-num"
and "pgp-num" and on the other hand "pg_num" and "pgp_num". The strings
with the hyphens are used in dummy commands, and the strings with the
underscores are used as key names. I think it possible that this could
confuse a reader, but I am open to discussion on the matter.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit fe9a4d2567dbf0ebfc633ed2a0ceb7d86c70f525)

2 years agodoc/rados/operations: fix typo in balancer.rst 51937/head
Pierre Riteau [Tue, 6 Jun 2023 06:31:07 +0000 (08:31 +0200)]
doc/rados/operations: fix typo in balancer.rst

Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
(cherry picked from commit e4083b3a68faa8549c37afacf88a2184e5a84891)

2 years agoMerge pull request #51822 from rosinL/wip-51352-reef
Samuel Just [Tue, 6 Jun 2023 03:37:46 +0000 (20:37 -0700)]
Merge pull request #51822 from rosinL/wip-51352-reef

reef: crimson/osd: add crush_location_hook feature to crimson

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 years agoMerge pull request #51919 from zdover23/wip-doc-2023-06-05-backport-51915-to-reef
Anthony D'Atri [Mon, 5 Jun 2023 12:03:07 +0000 (08:03 -0400)]
Merge pull request #51919 from zdover23/wip-doc-2023-06-05-backport-51915-to-reef

reef: doc/rados: pools.rst: "decreaesed"

2 years agodoc/rados: pools.rst: "decreaesed" 51919/head
Zac Dover [Mon, 5 Jun 2023 03:26:20 +0000 (13:26 +1000)]
doc/rados: pools.rst: "decreaesed"

s/decreased/decreased/

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a003231817d4f0909b1bf4f214840e2ed520bfdf)

2 years agoMerge pull request #51813 from rhcs-dashboard/wip-59651-reef
Avan [Mon, 5 Jun 2023 07:02:37 +0000 (12:32 +0530)]
Merge pull request #51813 from rhcs-dashboard/wip-59651-reef

reef: exporter: promethize counter names

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #51912 from zdover23/wip-doc-2023-06-05-backport-51908-to-reef
Anthony D'Atri [Mon, 5 Jun 2023 01:05:32 +0000 (21:05 -0400)]
Merge pull request #51912 from zdover23/wip-doc-2023-06-05-backport-51908-to-reef

reef: doc/rados: edit pools.rst (1 of x)

2 years agodoc/rados: edit pools.rst (1 of x) 51912/head
Zac Dover [Sun, 4 Jun 2023 05:23:39 +0000 (15:23 +1000)]
doc/rados: edit pools.rst (1 of x)

Edit doc/rados/operations/pools.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ebaebffa0309381b69fdc1cd054b6636e5b2aad6)

2 years agoMerge pull request #51904 from zdover23/wip-doc-2023-06-04-backport-51895-to-reef
Anthony D'Atri [Sun, 4 Jun 2023 01:01:18 +0000 (21:01 -0400)]
Merge pull request #51904 from zdover23/wip-doc-2023-06-04-backport-51895-to-reef

reef: doc/rados: edit troubleshooting-mon.rst (1 of x)

2 years agoMerge pull request #51906 from zdover23/wip-doc-2023-06-04-backport-51901-to-reef
Anthony D'Atri [Sun, 4 Jun 2023 00:59:17 +0000 (20:59 -0400)]
Merge pull request #51906 from zdover23/wip-doc-2023-06-04-backport-51901-to-reef

reef: doc/rados: edit log-and-debug.rst (2 of x)

2 years agodoc/rados: edit log-and-debug.rst (2 of x) 51906/head
Zac Dover [Sat, 3 Jun 2023 01:49:05 +0000 (11:49 +1000)]
doc/rados: edit log-and-debug.rst (2 of x)

Edit roughly the second half of
doc/rados/troubleshooting/log-and-debug.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit dc64bcd9d9956de2fb08216b3c7441955fcd416c)

2 years agodoc/rados: edit troubleshooting-mon.rst (1 of x) 51904/head
Zac Dover [Sat, 3 Jun 2023 04:03:37 +0000 (14:03 +1000)]
doc/rados: edit troubleshooting-mon.rst (1 of x)

Edit the first 150 lines of
doc/rados/troubleshooting/troubleshooting-mon.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 0f0896d30ad677aca9e7a396f78d1e48ad64a90a)

2 years agoMerge pull request #51897 from zdover23/wip-doc-2023-06-04-backport-51896-to-reef
Anthony D'Atri [Sat, 3 Jun 2023 22:31:57 +0000 (18:31 -0400)]
Merge pull request #51897 from zdover23/wip-doc-2023-06-04-backport-51896-to-reef

reef: doc/rados: fix typos in pg-repair.rst

2 years agoMerge pull request #51902 from zdover23/wip-doc-2023-06-04-backport-51885-to-reef
Anthony D'Atri [Sat, 3 Jun 2023 22:26:54 +0000 (18:26 -0400)]
Merge pull request #51902 from zdover23/wip-doc-2023-06-04-backport-51885-to-reef

reef: doc/rados: edit log-and-debug.rst (1 of x)

2 years agodoc/rados: edit log-and-debug.rst (1 of x) 51902/head
Zac Dover [Fri, 2 Jun 2023 05:43:36 +0000 (15:43 +1000)]
doc/rados: edit log-and-debug.rst (1 of x)

Edit roughly the first half of
doc/rados/troubleshooting/log-and-debug.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 0d74e6a0ddaa9131e8e0570d14b530dadf2db485)

2 years agocommon/options: Update RocksDB CF Tuning 51900/head
Mark Nelson [Tue, 30 May 2023 00:20:14 +0000 (00:20 +0000)]
common/options: Update RocksDB CF Tuning

Signed-off-by: Mark Nelson <mark.nelson@clyso.com>
(cherry picked from commit ea92ee7b930b2128093dd24113d0dd8e3d07f438)

2 years agodoc/rados: fix typos in pg-repair.rst 51897/head
Zac Dover [Sat, 3 Jun 2023 05:17:57 +0000 (15:17 +1000)]
doc/rados: fix typos in pg-repair.rst

Fix one RST formatting error and one mistakenly-left-in plural noun in
doc/rados/operations/pg-repair.rst.

https://tracker.ceph.com/issues/58485

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit fbee2fbba470dc66fa9bad8d988f6d5342d012ad)

2 years agoMerge pull request #51886 from zdover23/wip-doc-2023-06-02-backport-51872-to-reef
zdover23 [Sat, 3 Jun 2023 01:30:35 +0000 (11:30 +1000)]
Merge pull request #51886 from zdover23/wip-doc-2023-06-02-backport-51872-to-reef

reef: doc: update the cephadm download instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agomon: fix timestamp formatting in cluster log 51893/head
Radoslaw Zarzynski [Fri, 2 Jun 2023 14:39:27 +0000 (14:39 +0000)]
mon: fix timestamp formatting in cluster log

Fixes: https://tracker.ceph.com/issues/61547
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 2c3691d197b4fa555643bb36d82870b5edc4767e)

2 years agoMerge pull request #51839 from idryomov/wip-61368-reef
Yuri Weinstein [Fri, 2 Jun 2023 16:38:53 +0000 (12:38 -0400)]
Merge pull request #51839 from idryomov/wip-61368-reef

reef: tools/ceph-dencoder: Fix incorrect type define for trash_watcher

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agodoc: update the cephadm download instructions 51886/head
John Mulligan [Mon, 19 Sep 2022 17:46:48 +0000 (13:46 -0400)]
doc: update the cephadm download instructions

Starting with reef, cephadm is a compiled (zipapp) python application.
The cephadm script has been renamed and thus the old curl-based
download instructions will no loner work. While cephadm still has
no dependencies outside the Python stdlib, this will be changed in
future versions so it is no longer appropriate to just download the
source file of cephadm and run it either.

This change updates the `Install cephadm` section of the doc to explain
how to acquire a "compiled" version of cephadm as well as:
* moving and tweaking the note that the two installation methods are
  distinct
* adding a new note linking to instructions on building cephadm
* moving the distribution-specific installations before the curl-based
  installation to subtly hint that we prefer you to get it using
  packages if you can
* Noting cephadm's minimal required python verision and how to run it
  with a particular python version.

Note from Zac Dover, June 1, 2023: Note: This commit is a cherry-pick of
d11cf0e, which was introduced by John Mulligan in #48180. This is one of
three commits introduced in that PR, and this cherry-pick cleans up
omissions I (Zac Dover) inadvertently introduced while attempting to
rectify the merge conflicts in #51843. This should be the final
main-branch-targeting commit that cleans up PR#51483.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d11cf0e82aab8d4cef9d423e5d463a373eaf383a)
(cherry picked from commit 7c6a2cad96405616719b85c740aabd98558c93ac)

2 years agoMerge pull request #51874 from zdover23/wip-doc-2023-06-02-backport-51859-to-reef
zdover23 [Fri, 2 Jun 2023 06:03:42 +0000 (14:03 +0800)]
Merge pull request #51874 from zdover23/wip-doc-2023-06-02-backport-51859-to-reef

reef: doc: add instructions for compiling cephadm

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoosd/OSDCap: allow rbd.metadata_list method under rbd-read-only profile 51878/head
Ilya Dryomov [Sat, 27 May 2023 10:28:40 +0000 (12:28 +0200)]
osd/OSDCap: allow rbd.metadata_list method under rbd-read-only profile

This was missed in commit acc447d5de7b ("osd/OSDCap: rbd profile
permits use of rbd.metadata_list cls method") which adjusted only
"profile rbd" OSD cap.  Listing image metadata is an essential part
of opening the image and "profile rbd-read-only" OSD cap must allow
it too.

While at it, constrain the existing grant for rbd profile from "any
object in the pool" to just "rbd_info object in the global namespace of
the pool" as this is where pool-level image metadata actually lives.

Fixes: https://tracker.ceph.com/issues/61382
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit b580cdad8d42b4e54fd9e4ef9def13d091f719e9)

2 years agodoc: add instructions for compiling cephadm 51874/head
John Mulligan [Mon, 22 May 2023 18:20:19 +0000 (14:20 -0400)]
doc: add instructions for compiling cephadm

Now that cephadm is based on zipapp, add a short section to the
developer docs explaining how to build cephadm yourself.

Note: This commit is a cherry-pick of
9ad38033cc5c7f177cb8fe3bae696682687e0346, which was introduced by John
Mulligan in #48180. This is one of three commits introduced in that PR,
and this cherry-pick cleans up omissions I (Zac Dover) inadvertently
introduced while attempting to rectify the merge conflicts in #51843. I
expect that one more cherry-picked commit (specifically,
d11cf0e82aab8d4cef9d423e5d463a373eaf383a, which cannot be merged easily
until d7921e88d69b4bc355da9c0327cc33e59e7d7abb has been merged into
main, for reasons that are too
Rick-and-Morty-there-should-never-be-more-than-one-dot to go into here)
will follow this one.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 9ad38033cc5c7f177cb8fe3bae696682687e0346)
(cherry picked from commit 421147f97c8a21272a52b5f13340c1019b0165c5)

2 years agoMerge pull request #51870 from zdover23/wip-doc-2023-06-01-backport-51857-to-reef
zdover23 [Thu, 1 Jun 2023 13:49:14 +0000 (21:49 +0800)]
Merge pull request #51870 from zdover23/wip-doc-2023-06-01-backport-51857-to-reef

reef: doc: make instructions to get an updated cephadm common

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: make instructions to get an updated cephadm common 51870/head
John Mulligan [Wed, 24 May 2023 17:42:26 +0000 (13:42 -0400)]
doc: make instructions to get an updated cephadm common

As discussed in person and over the ceph orch weekly, we want all users
to use a recent supported version of cephadm. Previously, the
instructions only had those downloading cephadm with curl using the
"add-repo" and "install" commands to get a up-to-date cephadm build.
According to ADK we've seen cases of users get "old" distro packages
in the past. Change the instructions so that the "update cephadm" steps
are common after acquiring a "bootstrap copy" of cephadm.

Note: This commit is a cherry-pick of
d7921e88d69b4bc355da9c0327cc33e59e7d7abb, which was introduced by John
Mulligan in https://github.com/ceph/ceph/pull/48180. This is one of
three commits introduced in that PR, and this cherry-pick cleans up
omissions I (Zac Dover) inadvertently introduced while attempting to
rectify the merge conflicts in https://github.com/ceph/ceph/pull/51843.
I expect that two more cherry-picked commits will follow this one.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d7921e88d69b4bc355da9c0327cc33e59e7d7abb)
(cherry picked from commit d9e8a1de0ba55f6ac923752779127f5d29d10d9d)

2 years agoMerge pull request #51865 from rhcs-dashboard/wip-61554-reef
Nizamudeen A [Thu, 1 Jun 2023 09:02:32 +0000 (14:32 +0530)]
Merge pull request #51865 from rhcs-dashboard/wip-61554-reef

reef: mgr/dashboard: fix test_dashboard_e2e.sh failure

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agomgr/dashboard: fix test_dashboard_e2e.sh failure 51865/head
Nizamudeen A [Wed, 31 May 2023 05:39:25 +0000 (11:09 +0530)]
mgr/dashboard: fix test_dashboard_e2e.sh failure

The qa e2e is failing because the script is not adapted with cypress 10.

Fixes: https://tracker.ceph.com/issues/61519
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 7c5d92ad489637473d60e83fe064e2a2474fd192)

2 years agotest/rgw/notifications: fix kafka consumer shutdown issue 51862/head
Yuval Lifshitz [Mon, 29 May 2023 11:54:00 +0000 (11:54 +0000)]
test/rgw/notifications: fix kafka consumer shutdown issue

Fixes: https://tracker.ceph.com/issues/61477
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit b00f92da9a6cf848705c0508c0166c12913731e1)

2 years agolibrbd: avoid decrementing iterator before first element 51855/head
Lucian Petrut [Thu, 27 Apr 2023 12:44:51 +0000 (12:44 +0000)]
librbd: avoid decrementing iterator before first element

While trying to merge delayed requests, SimpleSchedulerObjectDispatch
can end up iterating before the first element.

With llvm, this leads to a crash:
https://paste.opendev.org/raw/bxnQqqDtIrkOfVvRfkZ6/

This change adds a check, ensuring that we won't decrement the iterator
before the first map element.

Fixes: https://tracker.ceph.com/issues/61503
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit ca65e85575f7b35ce679309e92e0c9bee8d6b96a)

2 years agoMerge pull request #51846 from zdover23/wip-doc-2023-05-31-backport-51843-to-reef
zdover23 [Wed, 31 May 2023 13:20:18 +0000 (21:20 +0800)]
Merge pull request #51846 from zdover23/wip-doc-2023-05-31-backport-51843-to-reef

reef: doc: update the cephadm download instructions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: update the cephadm download instructions 51846/head
John Mulligan [Mon, 19 Sep 2022 17:46:48 +0000 (13:46 -0400)]
doc: update the cephadm download instructions

Starting with reef, cephadm is a compiled (zipapp) python application.
The cephadm script has been renamed and thus the old curl-based
download instructions will no longer work. While cephadm still has
no dependencies outside the Python stdlib, this will be changed in
future versions so it is no longer appropriate to just download the
source file of cephadm and run it either.

This change updates the `Install cephadm` section of the doc to explain
how to acquire a "compiled" version of cephadm as well as:
* moving and tweaking the note that the two installation methods are
  distinct
* adding a new note linking to instructions on building cephadm
* moving the distribution-specific installations before the curl-based
  installation to subtly hint that we prefer you to get it using
  packages if you can
* Noting cephadm's minimal required python verision and how to run it
  with a particular python version.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d11cf0e82aab8d4cef9d423e5d463a373eaf383a)

doc: make instructions to get an updated cephadm common

As discussed in person and over the ceph orch weekly, we want all users
to use a recent supported version of cephadm. Previously, the
instructions only had those downloading cephadm with curl using the
"add-repo" and "install" commands to get a up-to-date cephadm build.
According to ADK we've seen cases of users get "old" distro packages
in the past. Change the instructions so that the "update cephadm" steps
are common after acquiring a "bootstrap copy" of cephadm.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit d7921e88d69b4bc355da9c0327cc33e59e7d7abb)
(cherry picked from commit 8a835f1a91cfc07e39f68cf3b1b56251e6e85941)

2 years agoMerge pull request #51788 from pdvian/wip-61474-reef
Yuri Weinstein [Tue, 30 May 2023 19:22:21 +0000 (15:22 -0400)]
Merge pull request #51788 from pdvian/wip-61474-reef

reef: mon: Fix ceph versions command

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51840 from cbodley/wip-doc-reef-rgw-reshard-feature
Casey Bodley [Tue, 30 May 2023 18:29:00 +0000 (14:29 -0400)]
Merge pull request #51840 from cbodley/wip-doc-reef-rgw-reshard-feature

reef: doc/rgw: fix multisite resharding feature to say Reef instead of Quincy

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2 years agoRevert "test: adjust rbd test case guards to handle new defaults" 51841/head
Ilya Dryomov [Mon, 29 May 2023 15:40:05 +0000 (17:40 +0200)]
Revert "test: adjust rbd test case guards to handle new defaults"

This reverts commit feb2fc02404775bc262677a2d0434faec0348c53 which
appears to have caused us to lose old format coverage in the Python
bindings tests (rbd_python_api_tests_old_format.yaml).

Unset RBD_FEATURES enviroment variable means "old format".  This
shouldn't be mucked with in any way, see require_new_format() and
create_image() methods in particular.

Fixes: https://tracker.ceph.com/issues/61495
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 9fe05da41370091fada8b76820c229e3916fd09f)

2 years agodoc/rgw: fix multisite resharding feature to say Reef instead of Quincy 51840/head
Casey Bodley [Tue, 30 May 2023 15:30:05 +0000 (11:30 -0400)]
doc/rgw: fix multisite resharding feature to say Reef instead of Quincy

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit bdf903f7ffbe91560752b1853f011b3e8889355c)

2 years agotools/ceph-dencoder: Fix incorrect type define for trash_watcher 51839/head
Chen Yuanrun [Thu, 25 May 2023 08:28:10 +0000 (08:28 +0000)]
tools/ceph-dencoder: Fix incorrect type define for trash_watcher

Signed-off-by: Chen Yuanrun <chen-yuanrun@foxmail.com>
Fixes: https://tracker.ceph.com/issues/61368
(cherry picked from commit e10bcb6905b7e4da4b3a04307d3a2b546da6d5b1)

2 years agoMerge pull request #51824 from zdover23/wip-doc-2023-05-30-backport-51798-to-reef
Anthony D'Atri [Tue, 30 May 2023 14:32:58 +0000 (10:32 -0400)]
Merge pull request #51824 from zdover23/wip-doc-2023-05-30-backport-51798-to-reef

reef: doc/rados: edit balancer.rst

2 years agoRGW - Use correct multipart upload mtime 51833/head
Daniel Gryniewicz [Thu, 25 May 2023 18:09:54 +0000 (14:09 -0400)]
RGW - Use correct multipart upload mtime

During multipart listing, the mtime of the uploads were not being
loaded, resulting in the current time being returned.  Fix this by
setting the correct mtime.

Fixes: https://tracker.ceph.com/issues/61251
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
(cherry picked from commit 45d4352ad2bf020ab75d8047809ea5e11cbe1c8d)

2 years agodoc/rados: edit balancer.rst 51824/head
Zac Dover [Mon, 29 May 2023 01:18:00 +0000 (09:18 +0800)]
doc/rados: edit balancer.rst

Edit doc/rados/operations/balancer.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d3660aa20d737729dac708264ceed37560362f91)

2 years agocrush/CrushLocation: remove unused header file 51822/head
luo rixin [Thu, 4 May 2023 12:12:04 +0000 (20:12 +0800)]
crush/CrushLocation: remove unused header file

Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit 012764717c72ade3eefbd478ccecfce7673b79a3)

2 years agocrush/CrushLocation.cc: specialize namespace TOPNSPC to ceph
luo rixin [Wed, 10 May 2023 11:33:59 +0000 (19:33 +0800)]
crush/CrushLocation.cc: specialize namespace TOPNSPC to ceph

remove namespace crimson::crush to a separate file, and remain
namespace ceph::crush here.

Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit a25ec553e5d9b2c5fe9ef4d05b8dad4d5096da59)

2 years agocrimson/crush/CrushLocation: add crimson::cruch::CrushLocation
luo rixin [Wed, 10 May 2023 11:45:15 +0000 (19:45 +0800)]
crimson/crush/CrushLocation: add crimson::cruch::CrushLocation

Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit 7b7adb0dc6d6934286095ecbd69103250525ec6a)

2 years agocrimson/osd: add crush_location_hook feature to crimson
luo rixin [Wed, 26 Apr 2023 09:07:55 +0000 (17:07 +0800)]
crimson/osd: add crush_location_hook feature to crimson

Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit 34671cc66dda67a7349cb2ca86f049d7a5969fd1)

2 years agomgr/dashboard: add more e2e for cephx users 51815/head
Nizamudeen A [Wed, 24 May 2023 16:45:59 +0000 (22:15 +0530)]
mgr/dashboard: add more e2e for cephx users

Fixes: https://tracker.ceph.com/issues/61421
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 6bac361b54eb6233b04dfb34c62086a9d3df3c43)

2 years agomgr/dashboard: fix the rgw roles page
Nizamudeen A [Wed, 24 May 2023 16:44:24 +0000 (22:14 +0530)]
mgr/dashboard: fix the rgw roles page

Fixes: https://tracker.ceph.com/issues/61421
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit b27e15902cc8262a496a4c9c10c607c09b14a527)

 Conflicts:
src/pybind/mgr/dashboard/controllers/rgw.py
 - Remove `CreatePermission` import because its not yet there in reef
src/pybind/mgr/dashboard/openapi.yaml
 - generate a new spec

2 years agoMerge pull request #51767 from rhcs-dashboard/wip-61322-reef
Nizamudeen A [Mon, 29 May 2023 13:54:47 +0000 (19:24 +0530)]
Merge pull request #51767 from rhcs-dashboard/wip-61322-reef

reef: mgr/dashboard: batch backport hackathon prs

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoexporter: promethize counter names 51813/head
Pere Diaz Bou [Thu, 13 Apr 2023 16:55:04 +0000 (18:55 +0200)]
exporter: promethize counter names

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
Fixes: https://tracker.ceph.com/issues/59475
(cherry picked from commit 7087e76a036e35a733b185e987f0c9adc8f52007)

2 years agoMerge pull request #50748 from rhcs-dashboard/wip-59215-reef
Avan [Mon, 29 May 2023 12:24:21 +0000 (17:54 +0530)]
Merge pull request #50748 from rhcs-dashboard/wip-59215-reef

reef: exporter: user only counter dump/schema commands for extacting counters

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agotest: correct osd pool default size 51802/head
Nitzan Mordechai [Wed, 17 May 2023 05:47:09 +0000 (05:47 +0000)]
test: correct osd pool default size
Using the default pool size of 2 with random eio thrashing can cause
some of the object to mark as lost.
fixing typo from 'osd default pool size: 3' to 'osd pool default size: 3'
so we will have pool size 3 correctly.

Fixes: https://tracker.ceph.com/issues/49888
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit c9d98ec31020cc455ba9e40e1c817c8207019ecf)

2 years agorgw/notification/kafka: simplify kafka connection memory management 51796/head
Yuval Lifshitz [Mon, 22 May 2023 09:38:14 +0000 (09:38 +0000)]
rgw/notification/kafka: simplify kafka connection memory management

use a bare pointer and a unique_ptr instead of a shared pointer (boost::intrusive_ptr).
and use the broker name as the handle exposed outside of the kafka module.

Fixes: https://tracker.ceph.com/issues/61328
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit fbd287602742ecbe6a0d383ce9db1b6a65c348cb)

 Conflicts:
src/rgw/rgw_kafka.cc

2 years agorgw/kafka: remove potential race condition between creation and deletion of endpoint
Yuval Lifshitz [Thu, 18 May 2023 18:02:29 +0000 (18:02 +0000)]
rgw/kafka: remove potential race condition between creation and deletion of endpoint

Fixes: https://tracker.ceph.com/issues/61254
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit bc013baccaef4a797e6b9b4bc90c93dc94dad49e)

Conflicts:
src/rgw/rgw_kafka.cc

2 years agoMerge pull request #51792 from zdover23/wip-doc-2023-05-28-backport-51587-to-reef
Anthony D'Atri [Sat, 27 May 2023 23:54:38 +0000 (19:54 -0400)]
Merge pull request #51792 from zdover23/wip-doc-2023-05-28-backport-51587-to-reef

reef: doc/rados: edit bluestore-config-ref.rst (2 of x)

2 years agodoc/rados: edit bluestore-config-ref.rst (2 of x) 51792/head
Zac Dover [Fri, 26 May 2023 18:44:18 +0000 (04:44 +1000)]
doc/rados: edit bluestore-config-ref.rst (2 of x)

Edit the second part of doc/rados/configuration/bluestore-config-ref.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthoy D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 1ceeab30ebde767aaf675fe46e79b9b7d28b881a)

2 years agoMerge pull request #51760 from ljflores/wip-reef-backport-pr-51270
yaarith [Fri, 26 May 2023 22:46:21 +0000 (18:46 -0400)]
Merge pull request #51760 from ljflores/wip-reef-backport-pr-51270

reef: mgr/telemetry: compile all channels and collections in selftest

Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
2 years agoMerge pull request #51789 from zdover23/wip-doc-2023-05-27-backport-51771-to-reef
Anthony D'Atri [Fri, 26 May 2023 22:39:42 +0000 (18:39 -0400)]
Merge pull request #51789 from zdover23/wip-doc-2023-05-27-backport-51771-to-reef

reef: doc/rados: edit bluestore-config-ref.rst (1 of x)

2 years agodoc/rados: edit bluestore-config-ref.rst (1 of x) 51789/head
Zac Dover [Fri, 26 May 2023 08:59:36 +0000 (18:59 +1000)]
doc/rados: edit bluestore-config-ref.rst (1 of x)

Edit the first part of doc/rados/configuration/bluestore-config-ref.rst.

https://tracker.ceph.com/issues/58485

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 3879e4ad417dddef1247521c199925a679d490ac)

2 years agomon: Fix ceph versions command 51788/head
Prashant D [Thu, 25 May 2023 22:09:02 +0000 (18:09 -0400)]
mon: Fix ceph versions command

The commit-id d3cca1d has introduced a bug where mgr/osd/mds
version information goes missing during the cluster upgrade.
Collect version information before checking the emptiness
of the map.

Fixes: https://tracker.ceph.com/issues/61453
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 3fbebe315f25a4d1ce8cb460710ba6da23dc40f4)

2 years agoMerge pull request #51764 from cbodley/wip-61454
Casey Bodley [Fri, 26 May 2023 17:34:12 +0000 (13:34 -0400)]
Merge pull request #51764 from cbodley/wip-61454

reef: rgw/rados: remove sal handles from RGWRados::Object ops

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agomgr/dashboard: ignore Details card in applitools vrt 51767/head
Nizamudeen A [Thu, 20 Apr 2023 07:35:46 +0000 (13:05 +0530)]
mgr/dashboard: ignore Details card in applitools vrt

because the details card includes the FSID and Ceph Version which can
change on different clusters.

also don't run the 800x600 resolution because for new dashboard it looks
really weird.

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit f31053b5fa149082d656b4c7e403183bc0124003)

2 years agoos/bluestore/bluefs: Add write op count metrics. 51776/head
Joshua Baergen [Thu, 16 Feb 2023 16:51:56 +0000 (09:51 -0700)]
os/bluestore/bluefs: Add write op count metrics.

There were already several metrics counting bytes written to the various
regions of bluefs but nothing counting ops.

Also add a sum of bytes written to match the read and new write count
metrics.

This provides more insight behind the cause of
https://tracker.ceph.com/issues/58530.

Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
(cherry picked from commit b4ad3840c513a15a5828418b5a733ed959390845)

2 years agoos/bluestore: proper override rocksdb::WritableFile::Allocate 51775/head
Igor Fedotov [Wed, 1 Mar 2023 13:04:23 +0000 (16:04 +0300)]
os/bluestore: proper override rocksdb::WritableFile::Allocate

Failing to do that makes BlueFS file frgmentation higher.

Fixes: https://tracker.ceph.com/issues/58966
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 2d8b9e9ed58bca4917b90ea5eaa43264a89dff75)

2 years agomgr/dashboard: remove deprecated preserveOnce
Nizamudeen A [Thu, 25 May 2023 08:13:12 +0000 (13:43 +0530)]
mgr/dashboard: remove deprecated preserveOnce

cypress is deprecating preserveOnce and instead favoring using
cy.session(). session is already introduced as part of the upgrade to
cypress 10. So removing the preserveOnce here

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 54e8e8b96baf02d7924aa8d5497763af7ef14ba7)

2 years agomgr/dashboard: fix the hosts e2e failure
Nizamudeen A [Wed, 24 May 2023 15:05:51 +0000 (20:35 +0530)]
mgr/dashboard: fix the hosts e2e failure

Fixes: https://tracker.ceph.com/issues/61354
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 3279afa920a1b732c9c85c242670d6b5e72780b5)