]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
Zac Dover [Tue, 11 Oct 2022 16:49:13 +0000 (02:49 +1000)]
doc/glossary: add "ceph monitor" entry
This commit adds information to the "ceph monitor" entry in
glossary.rst.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
8f4ad5dc9d171c805f061b937ad1110b53255fa6 )
zdover23 [Tue, 11 Oct 2022 16:12:41 +0000 (02:12 +1000)]
Merge pull request #48431 from zdover23/wip-doc-2022-10-11-backport-48429-to-pacific
pacific: doc/security: improve grammar in CVE-2022-0670.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Tue, 11 Oct 2022 04:36:10 +0000 (14:36 +1000)]
doc/security: improve grammar in CVE-2022-0670.rst
This commit accepts the suggestions made by Cole Mitchell in
https://github.com/ceph/ceph/pull/48404.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
52971eb9ac65a25e1bb79e7587de5a51900261d3 )
Nizamudeen A [Tue, 11 Oct 2022 04:39:46 +0000 (10:09 +0530)]
Merge pull request #47960 from rhcs-dashboard/wip-57435-pacific
pacific: mgr/dashboard: fix nfs exports form issues with squash field
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
zdover23 [Mon, 10 Oct 2022 17:37:00 +0000 (03:37 +1000)]
Merge pull request #48426 from zdover23/wip-doc-2022-10-11-backport-48423-to-pacific
pacific: doc/releases: improve grammar in pacific.rst
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Mon, 10 Oct 2022 14:15:11 +0000 (00:15 +1000)]
doc/releases: improve grammar in pacific.rst
This commit accepts the grammar suggestions that were made by Cole
Mitchell in https://github.com/ceph/ceph/pull/48404.
(cherry picked from commit
560d7590fdf66ef3827203bc7c5725f167a1a7b2 )
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Nizamudeen A [Mon, 10 Oct 2022 10:34:19 +0000 (16:04 +0530)]
Merge pull request #48205 from rhcs-dashboard/wip-57624-pacific
pacific: mgr/prometheus: expose num objects repaired in pool
Reviewed-by: Nizamudeen A <nia@redhat.com>
zdover23 [Sun, 9 Oct 2022 15:39:26 +0000 (01:39 +1000)]
Merge pull request #48404 from zdover23/wip-doc-2022-10-10-pacific-releases-cleanup
pacific: doc/releases: update pacific release notes
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Sun, 9 Oct 2022 14:56:37 +0000 (00:56 +1000)]
doc/releases: update pacific release notes
This commit updates the Pacific release notes, which were
not present until now.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
zdover23 [Sun, 9 Oct 2022 07:53:10 +0000 (17:53 +1000)]
Merge pull request #48403 from zdover23/wip-doc-2022-10-09-backport-48401-to-pacific
pacific: doc/various: update link to CRUSH pdf
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Sun, 9 Oct 2022 07:09:30 +0000 (17:09 +1000)]
doc/various: update link to CRUSH pdf
This commit updates link to the research paper that announces and
explains the CRUSH algorithm. This link was broken in the migration from
the old Ceph website to ceph.io.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
6877b592a289cb473f16daa79d5112f5b2d8006c )
zdover23 [Fri, 7 Oct 2022 05:34:38 +0000 (15:34 +1000)]
Merge pull request #48392 from zdover23/wip-doc-2022-10-02-backport-44433-to-pacific
pacific: docs/start: fixes typo and empty headline in hardware recommendation …
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Sebastian Schmid [Sat, 1 Jan 2022 16:33:10 +0000 (17:33 +0100)]
docs/start: fixes typo and empty headline in hardware recommendation docs
fixes typo and empty headline in hardware recommendation docs
Signed-off-by: Sebastian Schmid <mail@sebastian-schmid.de>
(cherry picked from commit
48421403119c87d4bfc62c76de7c5598ccabb0a2 )
Yuri Weinstein [Thu, 6 Oct 2022 17:09:38 +0000 (10:09 -0700)]
Merge pull request #48031 from idryomov/wip-50378-pacific
pacific: test: bump DecayCounter.steady acceptable error
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 16:51:31 +0000 (09:51 -0700)]
Merge pull request #48165 from kotreshhr/wip-57555-pacific
pacific: qa: ignore disk quota exceeded failure in test
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 16:50:35 +0000 (09:50 -0700)]
Merge pull request #48142 from rhcs-dashboard/wip-57582-pacific
pacific: mgr/dashboard: fix Expected to find element: `cd-modal .badge but never found it
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Francesco Torchia <francesco.torchia@suse.com>
Yuri Weinstein [Thu, 6 Oct 2022 16:47:31 +0000 (09:47 -0700)]
Merge pull request #48112 from NitzanMordhai/wip-57544-pacific
pacific: pybind/rados: notify callback reconnect
Reviewed-by: Laura Flores <lflores@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 16:44:35 +0000 (09:44 -0700)]
Merge pull request #47112 from nmshelke/wip-56468-pacific
pacific: mgr/volumes: A few dependent mgr volumes PRs
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR khiremat@redhat.com
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Nizamudeen A [Thu, 6 Oct 2022 05:51:07 +0000 (11:21 +0530)]
Merge pull request #47721 from rhcs-dashboard/wip-55468-pacific
pacific: mgr/dashboard: grafana frontend e2e testing and update cypress
Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
zdover23 [Thu, 6 Oct 2022 05:17:28 +0000 (15:17 +1000)]
Merge pull request #48381 from zdover23/wip-doc-2022-10-06-backport-48379-to-pacific
pacific: doc/install: clone-source.rst s/master/main
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Thu, 6 Oct 2022 04:30:07 +0000 (14:30 +1000)]
doc/install: clone-source.rst s/master/main
s/master/main in doc/install/clone-source.rst.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
5c17509b0a3402ca4a3ee574ed7e73949d51c72a )
zdover23 [Wed, 5 Oct 2022 11:16:01 +0000 (21:16 +1000)]
Merge pull request #48371 from zdover23/wip-doc-2022-10-05-backport-44564-to-pacific
pacific: doc/mgr: name data source in "Man Install & Config"
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 12 Jan 2022 22:46:20 +0000 (08:46 +1000)]
doc/mgr: name data source in "Man Install & Config"
This PR specifies that the data source must be set to
be "Dashboard1" when you configure Grafana and Prometheus
manually.
This is a fixup of another PR which was created by Dr
Jake Grimmett. This is that PR:
Credit goes to Dr Jake Grimmett of Cambridge.
https://github.com/ceph/ceph/pull/44150/
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
987713da331e941c05d114f1e167c21d1e7896eb )
zdover23 [Wed, 5 Oct 2022 07:26:11 +0000 (17:26 +1000)]
Merge pull request #48366 from zdover23/wip-doc-2022-10-05-backport-48362-to-pacific
pacific: doc/rados: refine English in crush-map-edits.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Wed, 14 Sep 2022 05:19:44 +0000 (15:19 +1000)]
doc/rados: refine English in crush-map-edits.rst
This commit makes several refinements to the English in
rados/operations/crush-map-edits.rst, which refinements were suggested
by Cole Mitchell and Anthony D'Atri in the discussion of PR#48085.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
a70b720032876386d7fbebfb649849fa34e9da5f )
zdover23 [Wed, 5 Oct 2022 01:47:39 +0000 (11:47 +1000)]
Merge pull request #48364 from zdover23/wip-doc-2022-10-05-backport-48085-to-pacific
pacific: doc/rados: update prompts in crush-map-edits.rst
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Wed, 14 Sep 2022 05:19:44 +0000 (15:19 +1000)]
doc/rados: update prompts in crush-map-edits.rst
This PR updates the prompts in crush-map-edits.rst
to make them unselectable.
There remains no good known way to render parts of
a file if the first line of that file begins with a
hash (#). Sphinx italicizes such a first line, which
is not what I want. Two examples of this are present
in the file crush-maps-rst under the section called
"CRUSH Map Bucket Types". I set this down here for
my own records, in case it is helpful in finding a
way to make these sections render as I would prefer.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
7484b7c10a3f762e6649fb304fd0f7a5da5e418f )
Pere Diaz Bou [Tue, 4 Oct 2022 17:36:34 +0000 (19:36 +0200)]
Merge pull request #48048 from aaSharma14/wip-57498-pacific
pacific: mgr/dashboard: fix snapshot creation with duplicate name
zdover23 [Tue, 4 Oct 2022 14:27:54 +0000 (00:27 +1000)]
Merge pull request #48358 from zdover23/wip-doc-2022-10-04-backport-48346-to-pacific-3
pacific: doc/glossary.rst: remove duplicates
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Mon, 3 Oct 2022 12:51:35 +0000 (22:51 +1000)]
doc/glossary.rst: remove duplicates
This commit removes similar but distinct entries for the following:
* CephFS
* Ceph Client
Removal of a glossary term that is referred to in the body of the
documentation suite requires the alteration of the text string
that refers to the glossary term. Alterations of this kind have
been made to doc/architecture.rst and doc/rados/api/index.rst.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
0692b223540143cdb4a60b54595a7069284b5481 )
zdover23 [Mon, 3 Oct 2022 03:58:12 +0000 (13:58 +1000)]
Merge pull request #48339 from zdover23/wip-doc-2022-10-02-backport-48333-to-pacific
pacific: doc/glossary.rst: alphabetize glossary terms
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sun, 2 Oct 2022 10:48:36 +0000 (20:48 +1000)]
doc/glossary.rst: alphabetize glossary terms
This commit (finally) alphabetizes the terms in the glossary.
This is not a grammar-correcting or usage-correcting commit.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
zdover23 [Sun, 2 Oct 2022 23:42:17 +0000 (09:42 +1000)]
Merge pull request #48335 from zdover23/wip-doc-2022-10-02-backport-48332-to-pacific
pacific: doc/rados: fix prompts in erasure-code.rst
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Sun, 2 Oct 2022 04:55:46 +0000 (14:55 +1000)]
doc/rados: fix prompts in erasure-code.rst
This commit adds unselectable prompts to doc/rados/
erasure-code.rst.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
zdover23 [Sat, 1 Oct 2022 07:01:40 +0000 (17:01 +1000)]
Merge pull request #48324 from zdover23/wip-doc-2022-10-01-backport-48322-to-pacific
pacific: doc/rados: rewrite EC intro
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Thu, 1 Sep 2022 19:08:00 +0000 (05:08 +1000)]
doc/rados: rewrite EC intro
This PR rewrites the front matter in the "Erasure Code"
section of the RADOS documentation. Previously, the information
in this section was syntactically confused. I have also fleshed
out the distinction between erasure coding and replication.
Co-Author: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Nizamudeen A [Fri, 30 Sep 2022 14:36:01 +0000 (20:06 +0530)]
Merge pull request #48276 from torchiaf/wip-57681-pacific
pacific: mgr/dashboard: Add text to empty life expectancy column
Prashant [Thu, 29 Sep 2022 13:01:09 +0000 (23:01 +1000)]
Merge pull request #48106 from pdvian/wip-57313-pacific
pacific: osd, mds: fix the "heap" admin cmd printing always to error stream
Francesco Torchia [Tue, 30 Aug 2022 14:46:03 +0000 (16:46 +0200)]
mgr/dashboard: Add text to empty life expectancy column
- Add life_expectancy_enabled field to /api/osd/{svc_id}/devices
- Add new value 'n/a' for 'Life Expectancy' column
Fixes: https://tracker.ceph.com/issues/43116
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
(cherry picked from commit
811bba7e083919cf3b21ed01ac29a107b5bd006d )
Adam King [Tue, 27 Sep 2022 17:18:16 +0000 (13:18 -0400)]
Merge pull request #48056 from adk3798/pacific-staggered-version-pacific
pacific: doc/cephadm: correct version staggered upgrade got in pacific
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Adam King [Tue, 27 Sep 2022 17:16:06 +0000 (13:16 -0400)]
Merge pull request #48069 from adk3798/pacific-docs-eca-mounts
pacific: doc/cephadm: document recommended syntax for mounting files with ECA
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Yuri Weinstein [Tue, 27 Sep 2022 14:13:59 +0000 (07:13 -0700)]
Merge pull request #48109 from lxbsz/wip-57393
pacific: client: abort the client if we couldn't invalidate dentry caches
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Arthur Outhenin-Chalandre [Tue, 27 Sep 2022 14:13:24 +0000 (16:13 +0200)]
Merge pull request #47868 from MrFreezeex/pacific-ceph-mixin-backports
Pacific ceph mixin backports
Yuri Weinstein [Tue, 27 Sep 2022 14:12:59 +0000 (07:12 -0700)]
Merge pull request #48108 from lxbsz/wip-57395
pacific: client: stop the remount_finisher thread in the Client::unmount()
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Tue, 27 Sep 2022 14:12:24 +0000 (07:12 -0700)]
Merge pull request #47998 from neesingh-rh/wip-57282-pacific
pacific: cephfs-top: adding filesystem menu option
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Radoslaw Zarzynski [Mon, 26 Sep 2022 10:22:50 +0000 (12:22 +0200)]
Merge pull request #48020 from rzarzynski/wip-doc-dups-trimming-relnotes-pacific
pacific: PendingReleaseNotes: document online and offline trimming of PG Log's…
Reviewed-by: Neha Ojha <nojha@redhat.com>
zdover23 [Sun, 25 Sep 2022 20:38:48 +0000 (06:38 +1000)]
Merge pull request #48236 from zdover23/wip-doc-2022-09-12-backport-48235-to-pacific
pacific: doc/dev: improve presentation of note (git remote)
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sun, 25 Sep 2022 03:41:35 +0000 (13:41 +1000)]
doc/dev: improve presentation of note (git remote)
This commit corrects the formatting of a note that previously
did not make console output and commands as clear as this commit
makes them.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Nizamudeen A [Fri, 23 Sep 2022 05:30:19 +0000 (11:00 +0530)]
Merge pull request #48176 from torchiaf/wip-57584-pacific
pacific: mgr/dashboard: Add details to the modal which displays the `safe-to-d…
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Radoslaw Zarzynski [Tue, 23 Aug 2022 19:50:48 +0000 (19:50 +0000)]
PendingReleaseNotes: document online and offline trimming of PG Log's dups
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit
dbfb50453c2f7fe5b0a06d846dd38693cceb63fe )
Conflicts:
PendingReleaseNotes
- Moved the note under the new ">=16.2.11" section
Yuri Weinstein [Thu, 22 Sep 2022 20:30:14 +0000 (13:30 -0700)]
Merge pull request #47764 from rzarzynski/wip-get_or_fail-debug-louder-pacific
pacific: msg: Log at higher level when Throttle::get_or_fail() fails
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
Pedro Gonzalez Gomez [Thu, 22 Sep 2022 12:00:03 +0000 (14:00 +0200)]
Merge pull request #48189 from rhcs-dashboard/wip-57224-pacific
pacific: mgr/dashboard: fix rgw connect when using ssl
Reviewed-by: Pegonzal <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Pere Diaz Bou [Mon, 8 Aug 2022 10:51:16 +0000 (12:51 +0200)]
mgr/prometheus: expose num objects repaired in pool
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit
a84620552a527ad30376de115e76a3d4555ca5e9 )
Conflicts:
src/pybind/mgr/prometheus/module.py
in get_df we had to not accept incoming changes
Yuri Weinstein [Wed, 21 Sep 2022 22:35:31 +0000 (15:35 -0700)]
Merge pull request #47701 from rzarzynski/wip-dup-trimming-test2-pacific
pacific: osd, tools, kv: non-aggressive, on-line trimming of accumulated dups
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Wed, 21 Sep 2022 22:34:39 +0000 (15:34 -0700)]
Merge pull request #47303 from petrutlucian94/wip-56729-pacific
pacific: msg: Fix Windows IPv6 support
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Yuri Weinstein [Wed, 21 Sep 2022 15:35:57 +0000 (08:35 -0700)]
Merge pull request #47939 from idryomov/wip-56703-pacific
pacific: librbd/cache/pwl: narrow the scope of m_lock in write_image_cache_state()
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Guillaume Abrioux [Wed, 21 Sep 2022 04:37:41 +0000 (06:37 +0200)]
Merge pull request #47990 from guits/wip-57381-pacific
pacific: ceph-volume: add a retry in util.disk.remove_partition
zdover23 [Tue, 20 Sep 2022 20:55:14 +0000 (06:55 +1000)]
Merge pull request #48158 from zdover23/wip-doc-2022-09-18-backport-48157-to-pacific
pacific: doc/rados: update prompts in network-config-ref
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Aswin Toni [Tue, 23 Aug 2022 08:30:12 +0000 (10:30 +0200)]
ceph-mixin: fix CephNodeNetworkPacket alerts
Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit
351e1ac63950164ea5f08a6bfc7c14af586bb208 )
Aswin Toni [Thu, 18 Aug 2022 14:21:36 +0000 (16:21 +0200)]
ceph-mixin: fix config inheritance
Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit
35183140f60fe445de8d256fa08639b288b6e768 )
Aswin Toni [Tue, 16 Aug 2022 14:17:21 +0000 (16:17 +0200)]
ceph-mixin: Remove jsonnet building
Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit
2e0e684fc20cbf6c2e48215b431419c8573b3863 )
Kefu Chai [Tue, 16 Aug 2022 02:52:53 +0000 (10:52 +0800)]
cmake: set $PATH for tests using jsonnet tools
otherwise they would not able to find executables installed into
${CMAKE_CURRENT_BINARY_DIR}.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit
4a3afcf27769a512fba7e0194d2e3b6a55e06bca )
Aswin Toni [Tue, 16 Aug 2022 13:38:18 +0000 (15:38 +0200)]
prometheus: add multicluster support to alerts
Signed-off-by: Aswin Toni <aswin.toni@cern.ch>
(cherry picked from commit
5cdc1c62c5de52a1f777f3d83fc85c3fc144db38 )
Anthony D'Atri [Tue, 26 Jul 2022 16:06:27 +0000 (09:06 -0700)]
monitoring/ceph-mixin: clean up prometheus_alerts.yml
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit
9b6597446814ebced6ee6d963af18ce1a915e0bf )
Adam King [Tue, 20 Sep 2022 19:17:58 +0000 (15:17 -0400)]
Merge pull request #48099 from adk3798/wip-57376-pacific
pacific: mgr/dashboard: enable addition of custom Prometheus alerts
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Adam King [Tue, 20 Sep 2022 14:06:37 +0000 (10:06 -0400)]
Merge pull request #48101 from adk3798/wip-57398-pacific
pacific: qa/cephadm: remove fsid dir before bootstrap in test_cephadm.sh
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 20 Sep 2022 14:05:29 +0000 (10:05 -0400)]
Merge pull request #48097 from adk3798/wip-57503-pacific
pacific: qa/tasks/kubeadm: set up tigera resources via kubectl create
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Tue, 20 Sep 2022 13:33:08 +0000 (09:33 -0400)]
Merge pull request #48096 from adk3798/wip-57528-pacific
pacific: mgr/cephadm: reconfig iscsi daemons if trusted_ip_list changes
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Patrick Seidensal [Thu, 25 Aug 2022 12:47:52 +0000 (14:47 +0200)]
mgr/dashboard: enable addition custom Prometheus alerts
Fixes: https://tracker.ceph.com/issues/57294
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
(cherry picked from commit
3551d7f8b36d883a72b85f0bd5568a33ac00e62c )
Conflicts:
doc/cephadm/services/monitoring.rst
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/tests/test_services.py
Adam King [Tue, 20 Sep 2022 13:11:06 +0000 (09:11 -0400)]
Merge pull request #48098 from adk3798/wip-57424-pacific
pacific: cephadm: Fix disk size calculation
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 20 Sep 2022 13:09:30 +0000 (09:09 -0400)]
Merge pull request #48100 from adk3798/wip-57427-pacific
pacific: mgr/cephadm: allow setting prometheus retention time
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Adam King [Tue, 20 Sep 2022 13:07:48 +0000 (09:07 -0400)]
Merge pull request #48102 from adk3798/wip-57379-pacific
pacific: cephadm: return nonzero exit code when applying spec fails in bootstrap
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 20 Sep 2022 13:06:50 +0000 (09:06 -0400)]
Merge pull request #48103 from adk3798/wip-57384-pacific
pacific: mgr/cephadm: Adding logic to store grafana cert/key per node
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Henry Hirsch [Wed, 20 Jul 2022 08:11:00 +0000 (10:11 +0200)]
mgr/dashboard: fix rgw connect when using ssl
connecting with the hostname instead of the ip address when using ssl
Fixes: http://tracker.ceph.com/issues/56970
Signed-off-by: Henry Hirsch <henry.hirsch@1und1.de>
(cherry picked from commit
ca8f77d6a7fa361328a942e3f37c81dd9577d4de )
Pere Diaz Bou [Tue, 20 Sep 2022 08:19:12 +0000 (10:19 +0200)]
Merge pull request #47888 from rhcs-dashboard/wip-57357-pacific
pacific: mgr/dashboard: ensure limit 0 returns 0 images
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Mon, 19 Sep 2022 19:30:10 +0000 (01:00 +0530)]
Merge pull request #47636 from rhcs-dashboard/wip-57143-pacific
pacific: mgr/dashboard: fix _rbd_image_refs caching
Reviewed-by: Nizamudeen A <nia@redhat.com>
Neeraj Pratap Singh [Fri, 6 May 2022 09:53:31 +0000 (15:23 +0530)]
doc/cephfs-top: adding doc for menu options
Fixes: https://tracker.ceph.com/issues/54978
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit
e9d43d783829397bed054047d16ffee9f316f4fc )
Neeraj Pratap Singh [Tue, 31 May 2022 12:55:00 +0000 (18:25 +0530)]
cephfs-top: adding filesystem menu
Cephfs-top now contains two options 'm' for filesystem
selection and 'q' to go back.The home screen displays
the clients belonging to a particular filesystem as a group.
Fixes: https://tracker.ceph.com/issues/54978
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit
527737d8c3aa40eacac460d702c9359fc5545c4d )
Neeraj Pratap Singh [Fri, 6 May 2022 07:46:28 +0000 (13:16 +0530)]
cephfs-top: fixed flake8 errors
Fixes: https://tracker.ceph.com/issues/54978
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit
65b03d658ce033683717786418b621335e9e6587 )
Yuri Weinstein [Mon, 19 Sep 2022 16:24:04 +0000 (09:24 -0700)]
Merge pull request #47978 from neesingh-rh/wip-57439-pacific
pacific: cephfs-top: display average read/write/metadata latency
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Pere Diaz Bou [Mon, 19 Sep 2022 16:14:12 +0000 (18:14 +0200)]
Merge pull request #48045 from rhcs-dashboard/wip-57493-pacific
pacific: mgr/dashboard: fix openapi-check
Reviewed-by: Nizamudeen A <nia@redhat.com>
Yuri Weinstein [Mon, 19 Sep 2022 15:50:38 +0000 (08:50 -0700)]
Merge pull request #47995 from idryomov/wip-52810-pacific
pacific: librbd: retry ENOENT in V2_REFRESH_PARENT as well
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Yuri Weinstein [Mon, 19 Sep 2022 15:48:59 +0000 (08:48 -0700)]
Merge pull request #47866 from neesingh-rh/wip-57274-pacific
pacific: mgr/stats: missing clients in perf stats command output.
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com
Yuri Weinstein [Mon, 19 Sep 2022 15:46:39 +0000 (08:46 -0700)]
Merge pull request #47769 from neesingh-rh/wip-57263-pacific
pacific: mgr/volumes: Add volume info command
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Yuri Weinstein [Mon, 19 Sep 2022 15:45:26 +0000 (08:45 -0700)]
Merge pull request #47647 from joscollin/wip-57155-pacific
pacific: cephfs-top: fix the rsp/wsp display
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Francesco Torchia [Fri, 26 Aug 2022 15:39:43 +0000 (17:39 +0200)]
mgr/dashboard: Add details to the modal which displays the `safe-to-destroy` result
- Add warnings type information in the case of the OSDs are not safe to destroy
- Add info type information in the case of the OSDs are safe to destroy
Fixes: https://tracker.ceph.com/issues/37327
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
(cherry picked from commit
0d6100bbf99ffa8da0e099343ede050f1cca509c )
Nizamudeen A [Mon, 19 Sep 2022 09:15:12 +0000 (14:45 +0530)]
Merge pull request #47386 from s0nea/wip-56990-pacific
pacific: monitoring/ceph-mixin: OSD overview typo fix
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nikhilkumar Shelke [Tue, 9 Aug 2022 12:47:38 +0000 (18:17 +0530)]
qa: ignore disk quota exceeded failure in test
Quota enforcement takes some time. It is documented.
Test should ignore 'Disk Quota Exceeded' failure.
Fixes: https://tracker.ceph.com/issues/56632
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
(cherry picked from commit
41b0cb70e0c1b3d46ed94862b3065ed1d6e80097 )
Zac Dover [Sat, 17 Sep 2022 20:59:47 +0000 (06:59 +1000)]
doc/rados: update prompts in network-config-ref
This PR adds unselectable prompts to network-config-
ref.rst.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
e26c1d8574a27e97cbc2ef5e65d6b679b25cd710 )
Nizamudeen A [Sun, 4 Sep 2022 05:06:40 +0000 (10:36 +0530)]
mgr/dashboard: fix Expected to find element: `cd-modal .badge but never found it
This looks related to https://github.com/ceph/ceph/pull/46323, but i am
not sure why it started failing recently in the teuthology.
The error is fixed by deselecting the row manually, so that it won't
accidentally get deselected when we actually want it to select it.
Fixes: https://tracker.ceph.com/issues/57207
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
dcbf179106273b85361dd6067239c4e826d1f3bb )
Yuri Weinstein [Fri, 16 Sep 2022 11:52:16 +0000 (04:52 -0700)]
Merge pull request #47528 from lxbsz/wip-57083
pacific: qa/import-legacy: install python3 package for nautilus ceph
Reviewed-by: Kotresh HR khiremat@redhat.com
Rishabh Dave [Fri, 6 May 2022 16:06:28 +0000 (21:36 +0530)]
qa/cephfs: omit_sudo must be passed to underlying method...
so that it can have it's intended effect.
Fixes: https://tracker.ceph.com/issues/55572
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
02f0a3f136f85e472f3657a4af2b94e8af33c46b )
Conflicts:
qa/tasks/cephfs/mount.py: timeout change wasn't backported
Kotresh HR [Thu, 7 Jul 2022 08:00:56 +0000 (13:30 +0530)]
qa: Validate cleaning of the stale snapshot metadata
Fixes: https://tracker.ceph.com/issues/55976
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
aece3b9b28fccb6cad77e81fd3e4b84c333f1609 )
Kotresh HR [Tue, 16 Aug 2022 11:41:33 +0000 (17:11 +0530)]
mgr/volumes: Remove stale snapshot user metadata
This patch adds the capability to remove the stale snapshot user
metadata while loading the subvolume if it is present. It can't
be done in 'SubvolumeBase.discover' since v1 and v2 snapshot paths
are different. This is done just after the discover before returning
the specific version object.
Fixes: https://tracker.ceph.com/issues/55976
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
65af2d123a1f1ef9c4b370e908ece588eec19a1f )
Kotresh HR [Wed, 6 Jul 2022 11:59:39 +0000 (17:29 +0530)]
mgr/volumes: Allow forceful snapshot removal on osd full
When the osd is full, if the snapshot has metadata set, it
can't be removed as user metadata can't be removed when osd
is full. This patch provides a way to remove the snapshot
with 'force' option while keeping the corresponding metadata
which gets removed on subvolume discover when it finds space.
Fixes: https://tracker.ceph.com/issues/55976
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
0687f78650dd348619b06e20c299f82f2a0c1bf5 )
Kotresh HR [Wed, 15 Jun 2022 10:35:40 +0000 (16:05 +0530)]
qa: Add subvolume clone and snapshot rm tests when osd is full
Fixes: https://tracker.ceph.com/issues/55976
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
a64f049614454e98920e2abcb685ca61fa49a148 )
Kotresh HR [Tue, 16 Aug 2022 11:38:16 +0000 (17:08 +0530)]
mgr/volumes: Better handle config file on osd full scenario
The 'metadata_mgr.flush()' used to truncate the config file
before flushing the new config data. This could lead to an
empty config file when there is no space to write new config
data. This patch handles this scenario by writing it to
temporary file and rename it to config file. This would
retain the config file without truncating it.
Also, there are bunch of places which wasn't handling
'MetadataMgrException' because of this. Fixed those.
Fixes: https://tracker.ceph.com/issues/55976
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
ec57215d508e6cb5b3a4d84fd6a3a5b0c9b96c71 )
John Mulligan [Tue, 2 Aug 2022 13:45:59 +0000 (09:45 -0400)]
mgr/volumes: drop pre-python 3.2 version checks
Based on other conversations we believe that there is no need to support
python versions lower than Python 3.6 for pacific and later. This means
it is safe to drop the remaining version checks for python
3.2.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
47162e4996a511d399809516a4890d72e6f84a44 )
John Mulligan [Mon, 11 Jul 2022 20:44:00 +0000 (16:44 -0400)]
mgr/volumes: a lock to guard against races reading/writing config
Fixes: https://tracker.ceph.com/issues/55583
Use a python threading lock to avoid race conditions where the
config file is being both read and written to at the same time.
Before this change, the content of the config file being parsed could be
'corrupted' by the MetadataManager racing with itself. Along with the
previous two patches, additional logging was added to the mgr code to
produce the simplified version of the mgr log below:
```
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b'[GLOBAL]\nversion = 2\ntype = clone\npath = /volumes/Park/babydino2/
c9f773af -5221-49c6-846c-
d65c0920ae3f \nstate = pending\n\n[source]\nvolume = cephfs\ngroup = Park\nsubvolume = Jurrasic\nsnapshot = dinodna0\n\n'
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b''
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b'[GLOBAL]\nversion = 2\ntype = clone\npath = /volumes/Park/babydino2/
c9f773af -5221-49c6-846c-
d65c0920ae3f \nstate = pending\n\n[source]\nvolume = cephfs\ngroup = Park\nsubvolume = Jurrasic\nsnapshot = dinodna0\n\n'
[volumes INFO volumes.fs.operations.versions.metadata_manager] wrote 203 bytes to config b'/volumes/Park/babydino2/.meta'
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b'a0\n\n'
[volumes INFO volumes.fs.operations.versions.metadata_manager] READ: b''
[volumes ERROR volumes.module] Failed _cmd_fs_clone_cancel(clone_name:babydino2, format:json, group_name:Park, prefix:fs clone cancel, vol_name:cephfs) < "":
Traceback (most recent call last):
...
File "/usr/lib64/python3.6/configparser.py", line 1111, in _read
raise e
configparser.ParsingError: Source contains parsing errors: b'/volumes/Park/babydino2/.meta'
[line 13]: 'a0\n'
```
Looking at the above you can see that the log indicates a write to the
config file (of 203 bytes). This happens before the file has finished
reading and thus instead of getting an empty string indicating EOF, it
gets that last four bytes of the new content of the file. The lock
prevents the MetadataManager from both reading and writing the config
file at the same time.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
2fe83d72d94d1e0939d390554a833cd93b4dd965 )
John Mulligan [Tue, 12 Jul 2022 22:33:07 +0000 (18:33 -0400)]
mgr/volumes: write volume metadata with shim class
Add a class that works a bit like a python file object so that we
can simplify the flush function. Providing a file-like object to
the ConfigParser's write function avoids unnecessary copies to
a StringIO object and makes the code easier to read.
With no more uses of StringIO, the StringIO imports are removed.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit
d06d8a1f5255b5da9106cd70acc0de99f89d2b96 )