]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomgr/dashboard: add cypress e2e accessibility tests for dashboard
nsedrickm [Sun, 21 Aug 2022 17:13:55 +0000 (18:13 +0100)]
mgr/dashboard: add cypress e2e accessibility tests for dashboard

* Add cypress e2e accessibility tests
* Log accessibility violations to console for quick debugging
* Disable retries to avoid duplicate logs

Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit d1d27931049a7a771c5c0e12951c49f3dfa689ce)

2 years agomgr/dashboard: Improve accessibility for dashboard health page
nsedrickm [Fri, 17 Jun 2022 01:42:31 +0000 (02:42 +0100)]
mgr/dashboard: Improve accessibility for dashboard health page

* Add new color variables to meet WCAG level AA color contrast for info cards and cluster health label
* Increase font size of cluster health label for better legibility with updated color
* Apply darker warning color for logs summary description and increase their font size and font-weight
* Add accessible names for info group icons
* Replace health status labels HEALTH_OK, HEALTH_WARN and HEALTH_ERR with OK, WARNING and ERROR

Fixes: https://tracker.ceph.com/issues/55867
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 0bd10c0e122e463d9621a26f4c3a73deea2a9c40)

2 years agomgr/dashboard: add cypress e2e accessibility tests for navigation
nsedrickm [Sun, 7 Aug 2022 13:25:11 +0000 (14:25 +0100)]
mgr/dashboard: add cypress e2e accessibility tests for navigation

* Add cypress e2e accessibility tests
* Log accessibility violations to console for quick debugging
* Disable retries to avoid duplicate logs

Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 05c1b776c29795af6d015dd14aae2aa1f5d1b912)

 Conflicts:
src/pybind/mgr/dashboard/frontend/cypress/support/commands.ts
  - Keep only the accessibility change there and remove the ceph2Login

2 years agomgr/dashboard: Improve accessibility for navigation components
nsedrickm [Mon, 20 Jun 2022 17:32:27 +0000 (18:32 +0100)]
mgr/dashboard: Improve accessibility for navigation components

* Fix all dropdown accessibility issues by setting their roles as buttons
* Increase navlink font-size to 16px
* Add new primary color variable $primary-wcag-aa-large-text: #25828e  to meet WCAG level AA color contrast ratio for active navlink backgrounds

Fixes: https://tracker.ceph.com/issues/56021
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit d84c82787985ef919030603fdd1ec61c114dbdbc)

2 years agomgr/dashboard: remove duplicate ids from table column filters
nsedrickm [Mon, 29 Aug 2022 18:35:29 +0000 (19:35 +0100)]
mgr/dashboard: remove duplicate ids from table column filters

Generate random ids for column filters to avoid id conflics on pages with multiple tables sharing the same column filters

Signed-off-by: nsedrickm <nsedrick101@gmail.com>
Fixes: https://tracker.ceph.com/issues/55869
(cherry picked from commit 78ec4addee07371cd8c86a91ec83dfe7324bd752)

2 years agomgr/dashboard: enable tslint a11y rules
nsedrickm [Fri, 22 Jul 2022 09:05:27 +0000 (10:05 +0100)]
mgr/dashboard: enable tslint a11y rules

enable tslint accessibility rules

Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit f1d399173522451e408ccd212452eccc75e8f612)

2 years agomgr/dashboard: Improve level A accessibility for grafana component
nsedrickm [Mon, 11 Jul 2022 20:37:45 +0000 (21:37 +0100)]
mgr/dashboard: Improve level A accessibility for grafana component

*Add descriptive iframe titles for embedded grafana panels

Fixes: https://tracker.ceph.com/issues/55890
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit f4484373961a3dde4b914ae71551719001c5e5ee)

2 years agomgr/dashboard: Improve level A accessibility for progress bars
nsedrickm [Sat, 23 Jul 2022 18:38:01 +0000 (19:38 +0100)]
mgr/dashboard: Improve level A accessibility for progress bars

Add titles for usage bars so that they can be picked up by screenreaders

Fixes: https://tracker.ceph.com/issues/56008
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 25b9d010b1528ff1b277b028ed76a7cca3ac507f)

2 years agomgr/dashboard: Improve level A accessibility for pagination component
nsedrickm [Wed, 3 Aug 2022 11:14:27 +0000 (12:14 +0100)]
mgr/dashboard: Improve level A accessibility for pagination component

Add custom pagination component based on patternfly design

Fixes: https://tracker.ceph.com/issues/55876
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 363352163dd13c2ebe2a03865eda6cf5319d2536)

src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/crud-table/crud-table.component.spec.ts

  - Deleted the CrudTable component since its not backported yet
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts
  - Deleted the import of crud-table

2 years agomgr/dashboard: Improve level A accessibility for datatable component
nsedrickm [Mon, 4 Jul 2022 15:14:17 +0000 (16:14 +0100)]
mgr/dashboard: Improve level A accessibility for datatable component

* Add accessible names for table action buttons, dropdowns and table input elements
* Update accent color to primary color
* Add custom row selection checkbox

Fixes: https://tracker.ceph.com/issues/56022
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 020460cdec30adc7d4e12347db55f91d26d791bf)

2 years agomgr/dashboard: Improve level A accessibility for buttons
nsedrickm [Tue, 5 Jul 2022 15:53:21 +0000 (16:53 +0100)]
mgr/dashboard: Improve level A accessibility for buttons

Add titles and aria-labels for icon only buttons so that they can be detected by screen readers

Fixes: https://tracker.ceph.com/issues/56018
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 5458e1a020fb5d0fe3ae77155c79cd53783a1c8a)

2 years agomgr/dashboard: Add accessibility e2e tests for login page
nsedrickm [Sun, 3 Jul 2022 20:25:44 +0000 (21:25 +0100)]
mgr/dashboard: Add accessibility e2e tests for login page

This commit adds e2e accessibility checks for the login page using cypress-axe and axe-core to help access the level of compliance to
 WCAG2.1 accessibility standards

Fixes: https://tracker.ceph.com/issues/55820
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 7a4e8a428ac5ca98c8826f3c41a271205b2f11e6)

2 years agomgr/dashboard: improve accessibility of login page
nsedrickm [Thu, 2 Jun 2022 18:27:27 +0000 (19:27 +0100)]
mgr/dashboard: improve accessibility of login page

This commit improves the accessibility of the login page we:
* Made form labels more legible by changing their color to lighter gray
* Added accessible names and roles for password toggle button and language select dropdown

Fixes: https://tracker.ceph.com/issues/55820
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit 3cbca96def09da4b1c1ab0902c2f8de8893bdd21)

2 years agoMerge pull request #49724 from aaSharma14/wip-58424-quincy
Aashish Sharma [Thu, 12 Jan 2023 06:39:05 +0000 (12:09 +0530)]
Merge pull request #49724 from aaSharma14/wip-58424-quincy

quincy: mgr/dashboard: rgw server side encryption config values set to wrong daemon

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agomgr/dashboard: rgw server side encryption daemon name fix 49724/head
Aashish Sharma [Wed, 11 Jan 2023 10:59:35 +0000 (16:29 +0530)]
mgr/dashboard: rgw server side encryption daemon name fix

The config values for the server side encryption currently are wrongly set to the mon daemon by default. This PR intends to fix this issue

Fixes: https://tracker.ceph.com/issues/58419
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit f1727f028d5684b57616650a9cd6c9d2ecb89294)

2 years agoMerge pull request #49717 from zdover23/wip-doc-2023-01-11-backport-49715-to-quincy
Anthony D'Atri [Wed, 11 Jan 2023 19:32:07 +0000 (14:32 -0500)]
Merge pull request #49717 from zdover23/wip-doc-2023-01-11-backport-49715-to-quincy

quincy: doc/cephadm: s/osd/OSD/ where appropriate

2 years agodoc/cephadm: s/osd/OSD/ where appropriate 49717/head
Zac Dover [Wed, 11 Jan 2023 15:12:24 +0000 (01:12 +1000)]
doc/cephadm: s/osd/OSD/ where appropriate

Capitalize the initialization "OSD" where it occurs in natural language
in cephadm/host-management.rst. This PR answers a request made by
Anthony D'Atri and seconded by Cole Mitchell in https://github.com/ceph/ceph/pull/49699#discussion_r1066171002.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 559fea8b427ba60b49ebfe16d67fa21168e3e1bc)

2 years agoMerge pull request #49697 from idryomov/wip-58398-quincy
Ilya Dryomov [Wed, 11 Jan 2023 12:10:15 +0000 (13:10 +0100)]
Merge pull request #49697 from idryomov/wip-58398-quincy

quincy: doc/man/ceph-rbdnamer: remove obsolete udev rule

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoMerge pull request #49706 from zdover23/wip-doc-2023-01-11-backport-49699-to-quincy
colemitchell [Tue, 10 Jan 2023 21:08:05 +0000 (16:08 -0500)]
Merge pull request #49706 from zdover23/wip-doc-2023-01-11-backport-49699-to-quincy

quincy: doc/cephadm: refine "Removing Hosts"

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49704 from zdover23/wip-doc-2023-01-11-backport-49703-to-quincy
colemitchell [Tue, 10 Jan 2023 20:14:37 +0000 (15:14 -0500)]
Merge pull request #49704 from zdover23/wip-doc-2023-01-11-backport-49703-to-quincy

quincy: doc/rados: move colon

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/cephadm: refine "Removing Hosts" 49706/head
Zac Dover [Tue, 10 Jan 2023 18:29:02 +0000 (04:29 +1000)]
doc/cephadm: refine "Removing Hosts"

An intended edit to remove a redundant indefinite article became a
longer (but still brief) full editorial pass.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 2e1fd6308726ecfdfe39c51c6e8fc99e922a3f84)

2 years agodoc/rados: move colon 49704/head
Zac Dover [Tue, 10 Jan 2023 19:08:35 +0000 (05:08 +1000)]
doc/rados: move colon

Move colon in add-or-rm-osds.rst so that the sentence reads properly.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit b1a53d7621241272f7f9f2f99dfd912b6117215b)

2 years agoMerge pull request #49701 from zdover23/wip-doc-2023-01-11-backport-49700-to-quincy
colemitchell [Tue, 10 Jan 2023 19:20:15 +0000 (14:20 -0500)]
Merge pull request #49701 from zdover23/wip-doc-2023-01-11-backport-49700-to-quincy

quincy: doc/css: add top-bar padding for h3 html element

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/css: add top-bar padding for h3 html element 49701/head
Zac Dover [Tue, 10 Jan 2023 18:48:32 +0000 (04:48 +1000)]
doc/css: add top-bar padding for h3 html element

Add "scroll-margin-top: 4em;" property to h3 html element.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit c28cb533909a9ac0010e160e86d2a8dc23ea9675)

2 years agoMerge pull request #49693 from zdover23/wip-doc-2023-01-11-backport-49692-to-quincy
Anthony D'Atri [Tue, 10 Jan 2023 17:51:01 +0000 (12:51 -0500)]
Merge pull request #49693 from zdover23/wip-doc-2023-01-11-backport-49692-to-quincy

quincy: doc/css: add "span" padding to custom.css

2 years agodoc/man/ceph-rbdnamer: remove obsolete udev rule 49697/head
Ilya Dryomov [Tue, 10 Jan 2023 12:40:20 +0000 (13:40 +0100)]
doc/man/ceph-rbdnamer: remove obsolete udev rule

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

2 years agodoc/css: add "span" padding to custom.css 49693/head
Zac Dover [Tue, 10 Jan 2023 15:55:55 +0000 (01:55 +1000)]
doc/css: add "span" padding to custom.css

Add "scroll-top-bar: 2em;" for the "span" html element in custom.css so
that the top bar doesn't get in the way of headings bounded by the "span
element".

See also https://github.com/ceph/ceph/pull/49644.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit dd9555b0ae0507c996588e82a62b0a674530a16a)

2 years agoMerge pull request #49680 from zdover23/wip-doc-2023-01-10-backport-49677-2nd-attempt...
colemitchell [Tue, 10 Jan 2023 01:21:26 +0000 (20:21 -0500)]
Merge pull request #49680 from zdover23/wip-doc-2023-01-10-backport-49677-2nd-attempt-to-quincy

quincy: doc/rados: link to cephadm replacing osd section

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #49683 from zdover23/wip-doc-2023-01-10-backport-49663-to-quincy
colemitchell [Tue, 10 Jan 2023 01:07:06 +0000 (20:07 -0500)]
Merge pull request #49683 from zdover23/wip-doc-2023-01-10-backport-49663-to-quincy

quincy: doc: fix a typo

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc: fix a typo 49683/head
Brad Fitzpatrick [Sat, 7 Jan 2023 03:54:45 +0000 (19:54 -0800)]
doc: fix a typo

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
(cherry picked from commit c670906b49de87514e3b3cce28519c0eba7fad26)

2 years agodoc/rados: link to cephadm replacing osd section 49680/head
Zac Dover [Mon, 9 Jan 2023 18:09:20 +0000 (04:09 +1000)]
doc/rados: link to cephadm replacing osd section

Direct readers to the "Replacing an OSD" section in the cephadm
documentation, for cases in which the instructions in "Replacing an OSD"
in the RADOS documentation don't work.

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 7b8f75ebd7cd29faf2eec2fba1fefa17a390b92d)

2 years agoMerge pull request #49646 from adk3798/quincy-maintenance-syntax
Adam King [Mon, 9 Jan 2023 12:41:15 +0000 (07:41 -0500)]
Merge pull request #49646 from adk3798/quincy-maintenance-syntax

quincy: doc/dev/cephadm: fix host maintenance enter/exit syntax -

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49667 from zdover23/wip-doc-2023-01-09-backport-49665-to-quincy
colemitchell [Sun, 8 Jan 2023 22:30:29 +0000 (17:30 -0500)]
Merge pull request #49667 from zdover23/wip-doc-2023-01-09-backport-49665-to-quincy

quincy: doc/glossary: Clean up "Ceph Object Storage"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/glossary: Clean up "Ceph Object Storage" 49667/head
Zac Dover [Sun, 8 Jan 2023 08:04:43 +0000 (18:04 +1000)]
doc/glossary: Clean up "Ceph Object Storage"

Remove redundant material under the "Ceph Object Storage" headword and
add a "See 'Ceph Object Store'" link. A future PR will provide a couple
of sentences that explain how object storage is what's really supporting
both CephFS and RBD.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 6bede3505f2967155644b0edfe9db1a8eb82a93c)

2 years agoMerge pull request #49661 from zdover23/wip-doc-2023-01-07-backport-49658-to-quincy
zdover23 [Fri, 6 Jan 2023 19:29:23 +0000 (05:29 +1000)]
Merge pull request #49661 from zdover23/wip-doc-2023-01-07-backport-49658-to-quincy

quincy: doc/css: Add scroll-margin-top to h2 html element

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49659 from zdover23/wip-doc-2023-01-07-backport-49653-to-quincy
zdover23 [Fri, 6 Jan 2023 19:29:04 +0000 (05:29 +1000)]
Merge pull request #49659 from zdover23/wip-doc-2023-01-07-backport-49653-to-quincy

quincy: doc/man: define --num-rep, --min-rep and --max-rep

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/css: Add scroll-margin-top to h2 html element 49661/head
Zac Dover [Fri, 6 Jan 2023 16:24:39 +0000 (02:24 +1000)]
doc/css: Add scroll-margin-top to h2 html element

Add "scroll-margin-top: 4em;" to the h2 html element's definition in
custom.css. This moves the text under all h2 html elements out of the
way of the sticky-header-style top bar, which previously obscured the
text.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit af048ca911fcd84e6a73d32999c772f64e95d67f)

2 years agodoc/man: define --num-rep, --min-rep and --max-rep 49659/head
Zac Dover [Fri, 6 Jan 2023 12:51:47 +0000 (22:51 +1000)]
doc/man: define --num-rep, --min-rep and --max-rep

Explain the "--num-rep", "--min-rep", and "--max-rep" options, which are
required when running "crushtool" commands with the "--show-mappings"
flag. Originally reported by Brad Fitzpatrick.

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 10fa01d075b09726e3f07d2cae83ced4e418deae)

2 years agoMerge pull request #49644 from zdover23/wip-doc-2023-01-06-backport-49643-to-quincy
zdover23 [Fri, 6 Jan 2023 16:13:33 +0000 (02:13 +1000)]
Merge pull request #49644 from zdover23/wip-doc-2023-01-06-backport-49643-to-quincy

quincy: doc/_static: add scroll-margin-top to custom.css

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/dev/cephadm: fix host maintenance enter/exit syntax - 49646/head
Ranjini Mandyam Narasiodeyar [Tue, 27 Dec 2022 05:08:26 +0000 (10:38 +0530)]
doc/dev/cephadm: fix host maintenance enter/exit syntax -

Signed-off-by: Ranjini Mandyam Narasiodeyar <rmandyam@rmandyam.remote.csb>
(cherry picked from commit ffea636176162c5db0a2f70e1bec9daf56ac8cfc)

2 years agodoc/_static: add scroll-margin-top to custom.css 49644/head
Zac Dover [Thu, 5 Jan 2023 18:19:12 +0000 (04:19 +1000)]
doc/_static: add scroll-margin-top to custom.css

Add 4em of padding to the class "section", so that linked-to
destinations are not obscured by the top bar.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 5738271498c1d4581e44b077580f1131950d1ba3)

2 years agoMerge pull request #49639 from zdover23/wip-doc-2023-01-05-backport-49637-to-quincy
zdover23 [Thu, 5 Jan 2023 15:14:14 +0000 (01:14 +1000)]
Merge pull request #49639 from zdover23/wip-doc-2023-01-05-backport-49637-to-quincy

quincy: doc/css: add scroll-margin-top to dt elements

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/css: add scroll-margin-top to dt elements 49639/head
Zac Dover [Thu, 5 Jan 2023 12:25:43 +0000 (22:25 +1000)]
doc/css: add scroll-margin-top to dt elements

add "scroll-margin-top: em3;" to custom.css so that the header bar
doesn't obscure the text of headwords in glossary.rst. Note that this
applies only to elements in the documentation that are rendered into
HTML with the dt (which stands for "description term" or "description
list") tag. Other modifications will be necessary in order to ensure
that the anchor points of non-dt elements are not obscured by the header
bar.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 1865de86622592555571c1539f3c013c7936d53e)

2 years agoMerge pull request #49621 from zdover23/wip-doc-2023-01-04-backport-49620-to-quincy
zdover23 [Tue, 3 Jan 2023 17:10:08 +0000 (03:10 +1000)]
Merge pull request #49621 from zdover23/wip-doc-2023-01-04-backport-49620-to-quincy

quincy: doc: fix a couple grammatical things

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc: fix a couple grammatical things 49621/head
Brad Fitzpatrick [Tue, 3 Jan 2023 16:36:19 +0000 (08:36 -0800)]
doc: fix a couple grammatical things

Signed-off-by: Brad Fitzpatrick <brad@danga.com>
(cherry picked from commit b9b6011c11450e292e4d233a444d776cca8fd86e)

2 years agoMerge pull request #49615 from zdover23/wip-doc-2022-01-03-backport-49613-to-quincy
zdover23 [Tue, 3 Jan 2023 08:39:36 +0000 (18:39 +1000)]
Merge pull request #49615 from zdover23/wip-doc-2022-01-03-backport-49613-to-quincy

quincy: doc/start: add Anthony D'Atri's suggestions

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/start: add Anthony D'Atri's suggestions 49615/head
Zac Dover [Mon, 2 Jan 2023 13:00:55 +0000 (23:00 +1000)]
doc/start: add Anthony D'Atri's suggestions

Add the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/49609.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 6141c5f0618432b5dc23d53b5920cab48aa5db7e)

2 years agoMerge pull request #49610 from zdover23/wip-doc-2023-01-02-backport-49609-to-quincy
colemitchell [Mon, 2 Jan 2023 06:07:31 +0000 (01:07 -0500)]
Merge pull request #49610 from zdover23/wip-doc-2023-01-02-backport-49609-to-quincy

quincy: doc/start: refine "Quirks of RST"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/start: refine "Quirks of RST" 49610/head
Zac Dover [Mon, 2 Jan 2023 04:23:22 +0000 (14:23 +1000)]
doc/start: refine "Quirks of RST"

Refine the language that was added yesterday, language that explains how
certain aspects of RST work.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit cdc7b6035414ea46b1e583d21a3a821f041c5417)

2 years agoMerge pull request #49608 from zdover23/wip-doc-2023-01-01-backport-49606-to-quincy
zdover23 [Sun, 1 Jan 2023 13:00:43 +0000 (23:00 +1000)]
Merge pull request #49608 from zdover23/wip-doc-2023-01-01-backport-49606-to-quincy

quincy: doc/start: add link-related metadocumentation

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/start: add link-related metadocumentation 49608/head
Zac Dover [Sun, 1 Jan 2023 12:06:54 +0000 (22:06 +1000)]
doc/start: add link-related metadocumentation

Add two kinds of link-related metadocumentation (documentation about how
to write documentation) to the "Documenting Ceph" section of the "Intro
to Ceph" document: 1. metadocumentation about external links, and 2.
metadocumentation about internal links.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 7517404f72819907700036cd1a287174bad38f10)

2 years agoMerge pull request #49603 from zdover23/wip-doc-2022-12-31-backport-49602-to-quincy
colemitchell [Sat, 31 Dec 2022 05:20:39 +0000 (00:20 -0500)]
Merge pull request #49603 from zdover23/wip-doc-2022-12-31-backport-49602-to-quincy

quincy: doc/glossary: capitalize "DAS" correctly

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/glossary: capitalize "DAS" correctly 49603/head
Zac Dover [Sat, 31 Dec 2022 04:22:26 +0000 (14:22 +1000)]
doc/glossary: capitalize "DAS" correctly

Correctly capitalize "Direct-Attached Storage" in the glossary. (And
test the "Quincy" branch, which seems lately not to have picked up any
docs backports.)

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 7c70a66414325edf44db6183fd35a007d3e44fd9)

2 years agoMerge pull request #49600 from zdover23/wip-doc-2022-12-30-backport-49599-to-quincy
colemitchell [Fri, 30 Dec 2022 03:32:52 +0000 (22:32 -0500)]
Merge pull request #49600 from zdover23/wip-doc-2022-12-30-backport-49599-to-quincy

quincy: doc/glossary: collate "releases" entries

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/glossary: collate "releases" entries 49600/head
Zac Dover [Fri, 30 Dec 2022 01:32:31 +0000 (11:32 +1000)]
doc/glossary: collate "releases" entries

Collect the "Releases"-related entries together under the "Releases"
headword, in order to give readers a sense at a glance of how the
different kinds of releases relate to one another.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 39377f7db114b344727249792de2f5d98b72c1d7)

2 years agoMerge pull request #49595 from zdover23/wip-doc-2022-12-30-backport-49593-to-quincy
zdover23 [Fri, 30 Dec 2022 00:20:44 +0000 (10:20 +1000)]
Merge pull request #49595 from zdover23/wip-doc-2022-12-30-backport-49593-to-quincy

quincy: doc/glossary: s/an/each/ where it's needed

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49597 from zdover23/wip-doc-2022-12-30-backport-49488-to-quincy
zdover23 [Fri, 30 Dec 2022 00:15:38 +0000 (10:15 +1000)]
Merge pull request #49597 from zdover23/wip-doc-2022-12-30-backport-49488-to-quincy

quincy: doc/rbd: refine rbd-exclusive-locks.rst

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agodoc/rbd: refine rbd-exclusive-locks.rst 49597/head
Zac Dover [Sat, 17 Dec 2022 23:12:01 +0000 (09:12 +1000)]
doc/rbd: refine rbd-exclusive-locks.rst

Refine grammar (mostly semantics) in rbd-exclusive-locks.rst.

Co-authored-by: Ilya Dryomov <idryomov@redhat.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 62b00127513c60a1a99b149ab4878ee11763f4fd)

2 years agodoc/glossary: s/an/each/ where it's needed 49595/head
Zac Dover [Thu, 29 Dec 2022 04:42:25 +0000 (14:42 +1000)]
doc/glossary: s/an/each/ where it's needed

s/an/each/ in accordance with the suggestion made by Anthony D'Atri
here: https://github.com/ceph/ceph/pull/49590/files#r1058390357

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 40a9f1594cf6a5d3660b53981c5c398c9b294758)

2 years agoMerge pull request #49589 from zdover23/wip-doc-2022-12-28-backport-49584-to-quincy
zdover23 [Thu, 29 Dec 2022 04:14:23 +0000 (14:14 +1000)]
Merge pull request #49589 from zdover23/wip-doc-2022-12-28-backport-49584-to-quincy

quincy: doc/glossary: clean OSD id-related entries

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #49591 from zdover23/wip-doc-2022-12-28-backport-49587-to-quincy
zdover23 [Wed, 28 Dec 2022 13:44:27 +0000 (23:44 +1000)]
Merge pull request #49591 from zdover23/wip-doc-2022-12-28-backport-49587-to-quincy

quincy: doc/rbd: s/wuold/would/ in rados-rbd-cmds.rst

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agodoc/rbd: s/wuold/would/ in rados-rbd-cmds.rst 49591/head
Zac Dover [Tue, 27 Dec 2022 12:28:49 +0000 (22:28 +1000)]
doc/rbd: s/wuold/would/ in rados-rbd-cmds.rst

s/wuold/would/ in rados-rbd-cmds.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 39c18021d6cc998b44050de9d67b22d3a4fae893)

2 years agodoc/glossary: clean OSD id-related entries 49589/head
Zac Dover [Tue, 27 Dec 2022 05:28:31 +0000 (15:28 +1000)]
doc/glossary: clean OSD id-related entries

Tidy up the sentences under the headwords "OSD fsid", "OSD id", and "OSD
uuid".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit e16fe735305e1d61b1635455175dd41557e13819)

2 years agoMerge pull request #49574 from zdover23/wip-doc-2022-12-26-backport-49573-to-quincy
zdover23 [Mon, 26 Dec 2022 06:42:43 +0000 (16:42 +1000)]
Merge pull request #49574 from zdover23/wip-doc-2022-12-26-backport-49573-to-quincy

quincy: doc/glossary: disambiguate clauses

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/glossary: disambiguate clauses 49574/head
Zac Dover [Mon, 26 Dec 2022 06:05:32 +0000 (16:05 +1000)]
doc/glossary: disambiguate clauses

Disambiguate various clauses, most of which contain forms of the verb
"to require".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 643f430a0f82b4018b0076883a249e4556bc956a)

2 years agoMerge pull request #49570 from zdover23/wip-doc-2022-12-26-backport-49569-to-quincy
zdover23 [Mon, 26 Dec 2022 06:00:01 +0000 (16:00 +1000)]
Merge pull request #49570 from zdover23/wip-doc-2022-12-26-backport-49569-to-quincy

quincy: doc/start: update documenting-ceph.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/start: update documenting-ceph.rst 49570/head
Zac Dover [Sun, 25 Dec 2022 21:11:30 +0000 (07:11 +1000)]
doc/start: update documenting-ceph.rst

Add an article to documenting-ceph.rst in order to troubleshoot a
backporting problem.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 1a7a5bc1f2a5c1bd39628e52d86c5ac546a6585e)

2 years agoMerge pull request #49565 from zdover23/wip-doc-2022-12-25-backport-49564-to-quincy 49565/head
colemitchell [Sun, 25 Dec 2022 03:03:28 +0000 (22:03 -0500)]
Merge pull request #49565 from zdover23/wip-doc-2022-12-25-backport-49564-to-quincy

quincy: doc/start: improve documenting-ceph.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/start: improve documenting-ceph.rst
Zac Dover [Sun, 25 Dec 2022 02:08:25 +0000 (12:08 +1000)]
doc/start: improve documenting-ceph.rst

Improve the grammar and the pragmatics of the "TOC and Hyperlinks"
section of start/documenting-ceph.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 21bca67daa36847412113a94a2b96c864a35e9ec)

2 years agoMerge pull request #49561 from zdover23/wip-doc-2022-12-24-backport-49558-to-quincy
colemitchell [Sat, 24 Dec 2022 07:07:53 +0000 (02:07 -0500)]
Merge pull request #49561 from zdover23/wip-doc-2022-12-24-backport-49558-to-quincy

quincy: doc/rados: remove prompt from php.ini line

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rados: remove prompt from php.ini line 49561/head
Zac Dover [Sat, 24 Dec 2022 06:11:20 +0000 (16:11 +1000)]
doc/rados: remove prompt from php.ini line

Remove an unselectable prompt from the beginning of a line meant to be
included in the "php.ini" file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit dbe2762ea30d7cf721bf1aa04bb0ac57e5326eac)

2 years agoMerge pull request #49559 from zdover23/wip-doc-2022-12-24-backport-49557-to-quincy
zdover23 [Sat, 24 Dec 2022 06:41:21 +0000 (16:41 +1000)]
Merge pull request #49559 from zdover23/wip-doc-2022-12-24-backport-49557-to-quincy

quincy: doc/rados: correct typo in python.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rados: correct typo in python.rst 49559/head
Zac Dover [Sat, 24 Dec 2022 05:51:10 +0000 (15:51 +1000)]
doc/rados: correct typo in python.rst

s/you Ceph configuration file/your Ceph configuration file/

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 306b8f7e28fa4313c878cebeece7795b660672dc)

2 years agoMerge pull request #49544 from idryomov/wip-rbd-qemu-xfstests-patchup-quincy
Ilya Dryomov [Fri, 23 Dec 2022 11:52:34 +0000 (12:52 +0100)]
Merge pull request #49544 from idryomov/wip-rbd-qemu-xfstests-patchup-quincy

quincy: qa: switch back to git protocol for qemu-xfstests

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2 years agoqa: switch to curl for qemu-xfstests 49544/head
Ilya Dryomov [Thu, 22 Dec 2022 15:32:44 +0000 (16:32 +0100)]
qa: switch to curl for qemu-xfstests

This is a follow-up for commit 631899ffeb84 ("qa: switch back to git
protocol for qemu-xfstests"), needed for the same "ancient execution
environment" reason.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 270bf4bd6c5c770c8de6f7cd07528c11edaf1516)

2 years agoMerge pull request #49551 from zdover23/wip-doc-2022-12-23-backport-49550-to-quincy
colemitchell [Fri, 23 Dec 2022 01:05:26 +0000 (20:05 -0500)]
Merge pull request #49551 from zdover23/wip-doc-2022-12-23-backport-49550-to-quincy

quincy: doc/rados: add prompts to librados-intro.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rados: add prompts to librados-intro.rst 49551/head
Zac Dover [Fri, 23 Dec 2022 00:47:27 +0000 (10:47 +1000)]
doc/rados: add prompts to librados-intro.rst

Add unselectable prompts to doc/rados/api/librados-intro.rst.

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit a3ec661721bbf98abfdd9c3a8ef9cadde42aeca7)

2 years agoMerge pull request #49311 from kamoltat/wip-ksirivad-backport-quincy-bz-2121452
Kamoltat Sirivadhna [Thu, 22 Dec 2022 16:02:01 +0000 (11:02 -0500)]
Merge pull request #49311 from kamoltat/wip-ksirivad-backport-quincy-bz-2121452

quincy: mon/Elector: Change how we handle removed_ranks and notify_rank_removed()
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2 years agoqa: switch back to git protocol for qemu-xfstests
Ilya Dryomov [Mon, 19 Dec 2022 17:54:08 +0000 (18:54 +0100)]
qa: switch back to git protocol for qemu-xfstests

As noted in commit 89177d65988c ("qa: switch to https protocol for
repos' server"), git.ceph.com mirror doesn't make git:// available
anymore.  However, run_xfstests-obsolete.sh has "obsolete" in its
name for a reason -- due to an ancient execution environment, git://
is the only viable option:

  $ git clone https://git.ceph.com/xfstests-dev.git
  Cloning into 'xfstests-dev'...
  error: gnutls_handshake() failed: A TLS fatal alert has been received. while accessing https://git.ceph.com/xfstests-dev.git/info/refs
  fatal: HTTP request failed

Ditch git.ceph.com mirror for now.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 631899ffeb84686e5d6b9a271ec72b92a85417ea)

Conflicts:
qa/run_xfstests-obsolete.sh [ commit 89177d65988c ("qa: switch
  to https protocol for repos' server") not in quincy ]

2 years agoMerge pull request #49508 from Matan-B/wip-matanb-quincy-tox-fixes
Matan [Thu, 22 Dec 2022 08:35:48 +0000 (10:35 +0200)]
Merge pull request #49508 from Matan-B/wip-matanb-quincy-tox-fixes

quincy: pybind/mgr: tox and test fixes

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2 years agoMerge pull request #49535 from zdover23/wip-doc-2022-12-22-backport-49529-to-quincy
Anthony D'Atri [Wed, 21 Dec 2022 22:14:11 +0000 (17:14 -0500)]
Merge pull request #49535 from zdover23/wip-doc-2022-12-22-backport-49529-to-quincy

quincy: doc/rados: add prompts to bluestore-config-ref.rst

2 years agodoc/rados: add prompts to bluestore-config-ref.rst 49535/head
Zac Dover [Wed, 21 Dec 2022 07:41:04 +0000 (17:41 +1000)]
doc/rados: add prompts to bluestore-config-ref.rst

Add unselectable prompts to
doc/rados/configuration/bluestore-config-ref.rst.

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 88087f7f663d85f343c8440e1942994a6679f571)

2 years agomon/Monitor.cc: notify_new_monmap() skips removal of non-exist rank 49311/head
Kamoltat [Wed, 14 Dec 2022 19:54:00 +0000 (19:54 +0000)]
mon/Monitor.cc: notify_new_monmap() skips removal of non-exist rank

Problem:
In RHCS the user can choose to manually remove a monitor rank
before shutting the monitor down. Causing inconsistency in monmap.
for example we remove mon.a from the monmap, there is a short period
where mon.a is still operational and will try to remove itself from
monmap but we will run into an assertion in
ConnectionTracker::notify_ranks_removed().

Solution:
In Monitor::notify_new_monmap() we prevent the func
from going into removing our own rank, or
ranks that doesn't exists in monmap.

FYI: this is an RHCS problem only, in ODF,
we never remove a monitor from monmap
before shutting it down.

Fixes: https://tracker.ceph.com/issues/58049
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 924e7ec92bbaa6efd0ef816c1cb101ff7972616c)

2 years agoqa/standalone/mon: remove --mon-inital-members setting
Kamoltat [Wed, 30 Nov 2022 22:51:02 +0000 (22:51 +0000)]
qa/standalone/mon: remove --mon-inital-members setting

Problem:

--mon-initial-members does nothing but causes monmap
to populate ``removed_ranks`` because the way we start
monitors in standalone tests uses ``run_mon $dir $id ..``
on each mon. Regardless of --mon-initial-members=a,b,c, if
we set --mon-host=$MONA,$MONB,$MONC (which we do every single tests),
everytime we run a monitor (e.g.,run mon.b) it will pre-build
our monmap with

```
noname-a=mon.noname-a addrs v2:127.0.0.1:7127/0,
b=mon.b addrs v2:127.0.0.1:7128/0,
noname-c=mon.noname-c addrs v2:127.0.0.1:7129/0,
```

Now, with --mon-initial-members=a,b,c we are letting
monmap know that we should have initial members name:
a,b,c, which we only have `b` as a match. So what
``MonMap::set_initial_members`` do is that it will
remove noname-a and noname-c which will
populate `removed_ranks`.

Solution:

remove all instances of --mon-initial-members
in the standalone test as it has no impact on
the nature of the tests themselves.

Fixes: https://tracker.ceph.com/issues/58132
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit e1c095dcf0a019bff01d2d8c819e5f95604c8da5)

2 years agomon: clear connection score during update & add sanity check live/dead connection...
Kamoltat [Fri, 11 Nov 2022 22:56:46 +0000 (22:56 +0000)]
mon: clear connection score during update & add sanity check live/dead connection report

When upgrading the monitors (include booting up),
we check if `peer_tracker` is dirty or not. If
so, we clear it. Added some functions in `Elector` and
`ConnectionTracker` class to
check for clean `peer_tracker`.

Moreover, there could be some cases where due
to startup weirdness or abnormal circumstances,
we might get a report from our own rank. Therefore,
it doesn't hurt to add a sanity check in
`ConnectionTracker::report_live_connection` and
`ConnectionTracker::report_dead_connection`.

Fixes: https://tracker.ceph.com/issues/58049
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 25ce77c7984587f457eba9bd06e416ef06f4e1c7)

2 years agomon/Elector & ConnectionTracker: reset peer_tracker.rank
Kamoltat [Fri, 4 Nov 2022 02:02:49 +0000 (02:02 +0000)]
mon/Elector & ConnectionTracker: reset peer_tracker.rank

In `notify_clear_peer_state()` we another
mechanism in reseting our `peer_tracker.rank`
to match our own monitor.rank.

This is added so there is a way for us
to recover from a scenrio where `peer_tracker.rank`
is messed up from adjusting the ranks or removing
ranks.

`notifiy_clear_peer_state()` can be triggered
by using the command:

`ceph connection scores reset`

Also in `clear_peer_reports`, besides
reassigning my_reports to an empty object,
we also have to make `my_reports` = `rank`
from `peer_tracker`, such that we don't get
-1 as a rank in my_reports.

Fixes: https://tracker.ceph.com/issues/58049
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 55cf717a3070d10b6b02af33a66d6ad0acbba0f6)

2 years agomon: change how we handle removed_ranks
Kamoltat [Wed, 2 Nov 2022 01:59:52 +0000 (01:59 +0000)]
mon: change how we handle removed_ranks

when a new monitor joins, there is a chance that
it will recive a monmap that recently removed
a monitor and ``removed_rank`` will have some
content in it. A new monitor that joins
should never remove rank in peer_tracker but
rather call ``notify_clear_peer_state()``
to reset the `peer_report`.

In the case when it is a monitor that
has joined quorum before and is only 1
epoch behind the newest monmap provided
by the probe_replied monitor. We can
actually remove and adjust ranks in `peer_report`
since we are sure that if there is any content in
removed_ranks, then it has to be because in the
next epoch we are removing a rank, since every
update of an epoch we always clear the removed_ranks.

There is no point in keeping the content
of ``removed_ranks`` after monmap gets updated
to the epoch.

Therefore, clear ``removed_ranks`` every update.

When there is discontinuity between
monmaps for more 1 epoch or the new monitor never joined quorum before,
we always reset `peer_tracker`.

Moreover, beneficial for monitor log to also log
which rank has been removed at the current time
of the monmap. So add removed_ranks to `print_summary`
and `dump` in MonMap.cc.

Fixes: https://tracker.ceph.com/issues/58049
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 04402576fecf1cb97f515b5dc42261a77837e400)

Conflicts:
src/mon/Monitor.cc - trivial fix

2 years agomon/ConnectionTracker.cc: Improve notify_rank_removed()
Kamoltat [Wed, 2 Nov 2022 01:46:14 +0000 (01:46 +0000)]
mon/ConnectionTracker.cc: Improve notify_rank_removed()

PROBLEM:

In `ConnectionTracker::receive_peer_report`
we loop through ranks which is bad when
there is `notify_rank_removed` before this and
the ranks are not adjusted yet. When we rely
on the rank in certain scenarios, we end up
with extra peer_report copy which we don't
want.

SOLUTION:

In `ConnectionTracker::receive_peer_report`
instead of passing `report.rank` in the function
`ConnectionTracker::reports`, we pass `i.first`
instead so that trim old ranks properly.

We also added a assert in notify_rank_removed(),
comparing expected rank provided by the monmap
against the rank that we adjust ourself to as
a sanity check.

We edited test/mon/test_election.cc
to reflect the changes made in notify_rank_removed().

Fixes: https://tracker.ceph.com/issues/58049
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 7c52ccec76bc7e7f9678cc9d78d106e17f9ad8f7)

Conflicts:
src/mon/Elector.cc - trivial fix
src/mon/Elector.h - trivial fix

2 years agomon: Init Loggings for ConnectionTracker.cc & Added more loggings to ElectionLogic...
Kamoltat [Thu, 13 Oct 2022 13:24:14 +0000 (13:24 +0000)]
mon: Init Loggings for ConnectionTracker.cc & Added more loggings to ElectionLogic & Elector

Problem:

Currently there are not ConnectionTracker logs,
therefore it is really hard to debug

Solution:

Enable loggings for most functions in ConnectionTracker.cc
Most of the logs are in debug_mon = 30.

Also Added some logs in Elector and ElectionLogic
so that debugging will be easier in the future.

Fixes: https://tracker.ceph.com/issues/58049
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 58f2bd47623b2ac08ae3bdb9931e68128978a88e)

2 years agoMerge pull request #49433 from kamoltat/wip-ksirivad-backport-quincy-49259
Kamoltat Sirivadhna [Wed, 21 Dec 2022 21:43:46 +0000 (16:43 -0500)]
Merge pull request #49433 from kamoltat/wip-ksirivad-backport-quincy-49259

quincy: mon/Elector.cc: Compress peer >= rank_size sanity check into send_peer_ping
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2 years agoMerge pull request #49515 from zdover23/wip-doc-2022-12-20-backport-49513-to-quincy
colemitchell [Wed, 21 Dec 2022 07:04:53 +0000 (02:04 -0500)]
Merge pull request #49515 from zdover23/wip-doc-2022-12-20-backport-49513-to-quincy

quincy: doc/rados: add prompts to auth-config-ref.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agoMerge pull request #49518 from rhcs-dashboard/wip-58317-quincy
Pedro Gonzalez Gomez [Tue, 20 Dec 2022 12:59:29 +0000 (13:59 +0100)]
Merge pull request #49518 from rhcs-dashboard/wip-58317-quincy

quincy: mgr/dashboard: display real health in rbd mirroring pools

Reviewed-by: Pegonzal <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #49519 from rhcs-dashboard/wip-58318-quincy
Pedro Gonzalez Gomez [Tue, 20 Dec 2022 12:58:40 +0000 (13:58 +0100)]
Merge pull request #49519 from rhcs-dashboard/wip-58318-quincy

quincy: mgr/prometheus: expose daemon health metrics

Reviewed-by: Pegonzal <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 years agomgr/prometheus: expose daemon health metrics 49519/head
Pere Diaz Bou [Fri, 11 Nov 2022 09:43:01 +0000 (10:43 +0100)]
mgr/prometheus: expose daemon health metrics

Until now daemon health metrics were stored without being used. One of
the most helpful metrics there is SLOW_OPS with respect to OSDs and MONs
which this commit tries to expose to bring fine grained metrics to find
troublesome OSDs instead of having a lone healthcheck of slow ops in the
whole cluster.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit 5a2b7c25b68f2c955356640041e4c7ed72416d4e)

2 years agomgr/dashboard: display real health in rbd mirroring pools 49518/head
Pere Diaz Bou [Tue, 26 Jul 2022 09:56:57 +0000 (11:56 +0200)]
mgr/dashboard: display real health in rbd mirroring pools

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit 273286d1a661eda0020bffb2c2a384b4e8dcd36c)

2 years agoMerge pull request #49501 from aaSharma14/wip-58309-quincy
Aashish Sharma [Tue, 20 Dec 2022 10:44:09 +0000 (16:14 +0530)]
Merge pull request #49501 from aaSharma14/wip-58309-quincy

quincy: mgr/dashboard: Add metric relative to osd blocklist

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 years agoMerge pull request #49499 from aaSharma14/wip-58307-quincy
Aashish Sharma [Tue, 20 Dec 2022 08:10:02 +0000 (13:40 +0530)]
Merge pull request #49499 from aaSharma14/wip-58307-quincy

quincy:mgr/dashboard: rbd-mirror improvements

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 years agodoc/rados: add prompts to auth-config-ref.rst 49515/head
Zac Dover [Mon, 19 Dec 2022 18:00:59 +0000 (04:00 +1000)]
doc/rados: add prompts to auth-config-ref.rst

Add unselectable prompts to doc/rados/configuration/auth-config-ref.rst.

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 208bc2323bb311d9e2419182fb469498ca7739a4)

2 years agoMerge pull request #49511 from zdover23/wip-doc-2022-12-20-backport-49510-to-quincy
colemitchell [Mon, 19 Dec 2022 17:57:46 +0000 (12:57 -0500)]
Merge pull request #49511 from zdover23/wip-doc-2022-12-20-backport-49510-to-quincy

quincy: doc/rados: add prompts to msgr2.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rados: add prompts to msgr2.rst 49511/head
Zac Dover [Mon, 19 Dec 2022 17:41:22 +0000 (03:41 +1000)]
doc/rados: add prompts to msgr2.rst

Add unselectable prompts to doc/rados/configuration/msgr2.rst.

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 239e7c0e6891c774d93dc9cc65f33a2750b0f8d0)