]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
Zac Dover [Wed, 12 Oct 2022 08:27:42 +0000 (18:27 +1000)]
doc/install: improve updating submodules procedure
This commit beefs up the "Updating Submodules" procedure,
which (prior to this commit) was quite brief.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
9382a90342f96cabab4b7caf816d9381f77e7f46 )
Nizamudeen A [Wed, 12 Oct 2022 05:07:46 +0000 (10:37 +0530)]
Merge pull request #48219 from s0nea/wip-57661-quincy
quincy: mgr/dashboard: add option to resolve ip addr
Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Tue, 11 Oct 2022 19:33:34 +0000 (01:03 +0530)]
Merge pull request #48340 from rhcs-dashboard/fix-fedora-url-quincy
quincy: mgr/dashboard: Fix broken Fedora image URL
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: zmc <NOT@FOUND>
zdover23 [Tue, 11 Oct 2022 18:09:38 +0000 (04:09 +1000)]
Merge pull request #48447 from zdover23/wip-doc-2022-10-12-backport-48446-to-quincy
quincy: doc/glossary: add "ceph monitor" entry
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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 )
Nizamudeen A [Tue, 11 Oct 2022 16:18:35 +0000 (21:48 +0530)]
Merge pull request #48433 from rhcs-dashboard/wip-57831-quincy
quincy: mgr/dashboard: fix weird data in osd details
Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
zdover23 [Tue, 11 Oct 2022 16:13:08 +0000 (02:13 +1000)]
Merge pull request #48430 from zdover23/wip-doc-2022-10-11-backport-48429-to-quincy
quincy: doc/security: improve grammar in CVE-2022-0670.rst
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Nizamudeen A [Tue, 11 Oct 2022 11:08:26 +0000 (16:38 +0530)]
Merge pull request #48438 from rhcs-dashboard/wip-57838-quincy
quincy: mgr/prometheus: change pg_repaired_objects name to pool_repaired_objects
Reviewed-by: Nizamudeen A <nia@redhat.com>
Pedro Gonzalez Gomez [Tue, 5 Jul 2022 09:40:01 +0000 (11:40 +0200)]
mgr/dashboard: auto-coloring-badges-component
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
(cherry picked from commit
29f510a522b2694903d095ac0ec45ee23c474121 )
Nizamudeen A [Tue, 11 Oct 2022 10:30:45 +0000 (16:00 +0530)]
Merge pull request #48434 from rhcs-dashboard/pyfake-fix-quincy
quincy: cephadm: run tests as root
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Pere Diaz Bou [Mon, 10 Oct 2022 10:08:34 +0000 (12:08 +0200)]
mgr/prometheus: change pg_repaired_objects name to pool_repaired_objects
Fixes: https://tracker.ceph.com/issues/57806
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit
114727fd341ab90328ac3a829807bbc39820f901 )
Kefu Chai [Mon, 10 Oct 2022 15:19:27 +0000 (23:19 +0800)]
cephadm: pin pyfakefs to 5.0
so the test is more repeatable.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit
52f5c2fed057efa25e1cbea2a2bb4295f77831e4 )
Kefu Chai [Mon, 10 Oct 2022 14:43:23 +0000 (22:43 +0800)]
cephadm: fix the indent
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit
38dc57ac9a88dafbe73038ea757dfa778c6191a7 )
Conflicts:
src/cephadm/tests/fixtures.py
- Replace _cephadm with cd
Kefu Chai [Mon, 10 Oct 2022 13:57:57 +0000 (21:57 +0800)]
cephadm: run tests as root
as we will be create/access directories which are only accessible by
root with pyfakefs, and pyfake respects the uid of current effective
user, so if we run the test using non-root user, these tests would fail
after the fix for https://github.com/pytest-dev/pyfakefs/issues/489
is addressed in the pyfakefs we are using.
in this change, we will run the test on behalf of root, so we can
create and access the directories as we did before.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit
ed19416067a7ef3b69310d22bf4e3b573e3011f0 )
Conflicts:
src/cephadm/tests/fixtures.py
- Replace _cephadm with cd
Nizamudeen A [Mon, 10 Oct 2022 05:41:18 +0000 (11:11 +0530)]
mgr/dashboard: fix weird data in osd details
The devices section in the OSD Details and Host Details shows more than
one daemon and device path in the column when you view the details of a
single osd details/host details. This is because more than one osd
is created on a device with same `deviceid`. I am not sure if this will
happen in the real environment but its mostly reproducible in
environments with QEMU emulated devices.
Fixes: https://tracker.ceph.com/issues/57803
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
2e2ecde82f58f26e1f83e329b254ef97fa989506 )
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:38:02 +0000 (10:08 +0530)]
Merge pull request #48141 from rhcs-dashboard/wip-57581-quincy
quincy: mgr/dashboard: fix Expected to find element: `cd-modal .badge but never found it
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
zdover23 [Tue, 11 Oct 2022 03:54:05 +0000 (13:54 +1000)]
Merge pull request #48424 from zdover23/wip-doc-2022-10-11-backport-48423-to-quincy
quincy: doc/releases: improve grammar in pacific.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
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.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
560d7590fdf66ef3827203bc7c5725f167a1a7b2 )
zdover23 [Sun, 9 Oct 2022 07:41:56 +0000 (17:41 +1000)]
Merge pull request #48402 from zdover23/wip-doc-2022-10-09-backport-48401-to-quincy
quincy: 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 )
Yuri Weinstein [Thu, 6 Oct 2022 17:11:49 +0000 (10:11 -0700)]
Merge pull request #48164 from kotreshhr/wip-57554-quincy
quincy: qa: ignore disk quota exceeded failure in test
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 17:08:35 +0000 (10:08 -0700)]
Merge pull request #48113 from NitzanMordhai/wip-57545-quincy
quincy: pybind/rados: notify callback reconnect
Reviewed-by: Laura Flores <lflores@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 17:05:40 +0000 (10:05 -0700)]
Merge pull request #48039 from NitzanMordhai/wip-57496-quincy
quincy: osd: remove invalid put on message
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 17:03:54 +0000 (10:03 -0700)]
Merge pull request #47983 from sseshasa/wip-57443-quincy
quincy: osd: Implement Context based completion for mon cmd to set a config option
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 17:03:07 +0000 (10:03 -0700)]
Merge pull request #47933 from rzarzynski/wip-57346-quincy
quincy: common/ceph_context: leak some memory fail to show in valgrind
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 17:01:25 +0000 (10:01 -0700)]
Merge pull request #47928 from rzarzynski/wip-56602-quincy
quincy: Monitor: forward report command to leader
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 17:00:38 +0000 (10:00 -0700)]
Merge pull request #47926 from rzarzynski/wip-55282-quincy
quincy: osd: add scrub duration for scrubs after recovery
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 16:58:22 +0000 (09:58 -0700)]
Merge pull request #47890 from lxbsz/wip-57240
quincy: mds/client: fail the request if the peer MDS doesn't support getvxattr op
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Thu, 6 Oct 2022 16:56:16 +0000 (09:56 -0700)]
Merge pull request #47820 from neesingh-rh/wip-57278-quincy
quincy: cephfs-top, mgr/stats: multiple file system support with UI
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
zdover23 [Thu, 6 Oct 2022 06:00:18 +0000 (16:00 +1000)]
Merge pull request #48380 from zdover23/wip-doc-2022-10-06-backport-48379-to-quincy
quincy: doc/install: clone-source.rst s/master/main
Reviewed-by: Cole Michell <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:15:43 +0000 (21:15 +1000)]
Merge pull request #48370 from zdover23/wip-doc-2022-10-05-backport-44564-to-quincy
quincy: 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:25:54 +0000 (17:25 +1000)]
Merge pull request #48365 from zdover23/wip-doc-2022-10-05-backport-48362-to-quincy
quincy: 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:53:01 +0000 (11:53 +1000)]
Merge pull request #48343 from kotreshhr/wip-57747-quincy
quincy: doc: Fix disaster recovery doc
Reviewed-by: Zac Dover <zac.dover@gmail.com>
zdover23 [Wed, 5 Oct 2022 01:39:18 +0000 (11:39 +1000)]
Merge pull request #48363 from zdover23/wip-doc-2022-10-05-backport-48085-to-quincy
quincy: 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 )
zdover23 [Tue, 4 Oct 2022 14:27:13 +0000 (00:27 +1000)]
Merge pull request #48357 from zdover23/wip-doc-2022-10-04-backport-48346-to-quincy-3
quincy: 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 )
Kotresh HR [Thu, 29 Sep 2022 05:11:15 +0000 (10:41 +0530)]
doc: Fix disaster recovery doc
Fixes: https://tracker.ceph.com/issues/57734
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit
b6898efcb7268ff90a840f2f46532828c7dd5231 )
Zack Cerza [Thu, 29 Sep 2022 19:44:46 +0000 (13:44 -0600)]
mgr/dashboard: Fix broken Fedora image URL
This mirror apparently stopped working, breaking jobs that use this
script.
Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit
3f32ab0fb3a54174a8a57681243cd944056c6ffb )
Signed-off-by: Nizamudeen A <nia@redhat.com>
Conflicts:
src/pybind/mgr/dashboard/ci/cephadm/start-cluster.sh
- Change the url to point to fedora 34 image
zdover23 [Mon, 3 Oct 2022 03:58:02 +0000 (13:58 +1000)]
Merge pull request #48338 from zdover23/wip-doc-2022-10-02-backport-48333-to-quincy
quincy: 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:06 +0000 (09:42 +1000)]
Merge pull request #48334 from zdover23/wip-doc-2022-10-02-backport-48332-to-quincy
quincy: 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:02:03 +0000 (17:02 +1000)]
Merge pull request #48323 from zdover23/wip-doc-2022-10-01-backport-48322-to-quincy
quincy: 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:35:16 +0000 (20:05 +0530)]
Merge pull request #48271 from rhcs-dashboard/wip-57680-quincy
quincy: mgr/dashboard: Add text to empty life expectancy column
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: torchiaf <NOT@FOUND>
Zack Cerza [Thu, 29 Sep 2022 19:07:28 +0000 (13:07 -0600)]
Merge pull request #48297 from zmc/python36-prettytable-quincy
Zack Cerza [Tue, 20 Sep 2022 23:25:28 +0000 (17:25 -0600)]
mgr: Fix prettytable pinning to restore python3.6
prettytable 3.3.0 requires python3.7; we still support 3.6, so change
the pinning to simply keep us under 3.4.0
Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit
c6a89cc97777bd63123420cd020033534961bfde )
Yuri Weinstein [Wed, 28 Sep 2022 22:34:25 +0000 (15:34 -0700)]
Merge pull request #48283 from ljflores/wip-57700-fix-quincy
quincy: mgr/telemetry: handle daemons with complex ids
Laura Flores [Wed, 28 Sep 2022 17:43:40 +0000 (17:43 +0000)]
mgr/telemetry: handle daemons with complex ids
Treating daemons as `<daemon_type>.x` caused a crash
in the Telemetry module since the current method does not cover a case
where a daemon id is more complex, i.e. `<daemon_type>.x.y`.
When we parse the daemon type and daemon id, we should
split it into a maximum of two pieces rather than splitting
it by every `.` character. Specifying `1` in the Python
.split() function will limit the split to a maximum of two items.
Fixes: https://tracker.ceph.com/issues/57700
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit
97833a6a81fed7f868e1d544816cfbdf254fdb43 )
Adam King [Tue, 27 Sep 2022 17:18:42 +0000 (13:18 -0400)]
Merge pull request #48055 from adk3798/quincy-staggered-version-pacific
quincy: 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:17:44 +0000 (13:17 -0400)]
Merge pull request #48094 from adk3798/quincy-tp-add-rm-settings-docs
quincy: doc/cephadm: fix tuned-profile add/rm-setting syntax example
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Adam King [Tue, 27 Sep 2022 17:16:56 +0000 (13:16 -0400)]
Merge pull request #48068 from adk3798/quincy-docs-eca-mounts
quincy: doc/cephadm: document recommended syntax for mounting files with ECA
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Pere Diaz Bou [Tue, 27 Sep 2022 10:25:05 +0000 (12:25 +0200)]
Merge pull request #48204 from rhcs-dashboard/wip-57625-quincy
quincy: mgr/prometheus: expose repaired pgs metrics
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 )
zdover23 [Sun, 25 Sep 2022 20:38:55 +0000 (06:38 +1000)]
Merge pull request #48237 from zdover23/wip-doc-2022-09-12-backport-48235-to-quincy
quincy: 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>
Avan [Sat, 24 Sep 2022 13:42:33 +0000 (19:12 +0530)]
Merge pull request #48225 from rhcs-dashboard/wip-57669-quincy
quincy: exporter: don't skip loop if pid path is empty
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Avan Thakkar [Mon, 19 Sep 2022 10:30:20 +0000 (16:00 +0530)]
exporter: don't skip loop if pid path is empty
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Fixes issue when pid file config comes empty from config dump which prevents to add metrics. Also get process metrics only if
pid_path isn't empty.
(cherry picked from commit
c817d7d2db4387538f2cb2b1fab3c50276044910 )
Tatjana Dehler [Mon, 25 Jul 2022 16:04:58 +0000 (18:04 +0200)]
mgr/dashboard: add option to resolve ip addr
Add the option `redirect_resolve_ip_addr` to the dashboard module.
If the option is set to `True`, try to resolve the IP address before
redirecting from the passive to the active mgr instance.
If the option is set to `False`, follow the already known behavior.
Fixes: https://tracker.ceph.com/issues/56699
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit
2e15f0f0d2df55bf0c4bc1673a3b7a4b3862d7e2 )
Pedro Gonzalez Gomez [Fri, 23 Sep 2022 06:41:01 +0000 (08:41 +0200)]
Merge pull request #48115 from rhcs-dashboard/wip-57514-quincy
quincy: mgr/dashboard: osd form preselect db/wal device filters
Reviewed-by: Pegonzal <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Nizamudeen A [Fri, 23 Sep 2022 05:31:14 +0000 (11:01 +0530)]
Merge pull request #48065 from aaSharma14/wip-57512-quincy
quincy: mgr/dashboard: Add a Silence button shortcut to alert notifications
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Nizamudeen A [Fri, 23 Sep 2022 05:28:37 +0000 (10:58 +0530)]
Merge pull request #48177 from torchiaf/wip-57583-quincy
quincy: mgr/dashboard: Add details to the modal which displays the `safe-to-d…
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Avan [Thu, 22 Sep 2022 17:41:36 +0000 (23:11 +0530)]
Merge pull request #48206 from rhcs-dashboard/wip-57633-quincy
quincy: exporter: avoid stoi for empty pid_str
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Adam King [Thu, 22 Sep 2022 13:56:20 +0000 (09:56 -0400)]
Merge pull request #48199 from adk3798/wip-57601-quincy
quincy: mgr/rook: fix error when trying to get the list of nfs services
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
Guillaume Abrioux [Thu, 22 Sep 2022 13:55:04 +0000 (15:55 +0200)]
Merge pull request #48201 from guits/bkp-48200-quincy
quincy: ceph-volume: fix regression in activate
Avan Thakkar [Tue, 20 Sep 2022 20:30:31 +0000 (02:00 +0530)]
exporter: avoid stoi for empty pid_str
Fixes: https://tracker.ceph.com/issues/57619
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit
cff3cf1d31342be759cdd848cd074a247b56b238 )
Pedro Gonzalez Gomez [Thu, 22 Sep 2022 12:01:59 +0000 (14:01 +0200)]
Merge pull request #48188 from rhcs-dashboard/wip-57223-quincy
quincy: 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 )
Nizamudeen A [Fri, 16 Sep 2022 07:20:26 +0000 (12:50 +0530)]
mgr/dashboard: use service call instead of form component
For creating the silence from the notification sidebar, instead of using
the silence form which will require initializing the whole component on
the landing page, we can just call the prometheus service and pass on
the required data to the service call. This will fix showing the
`Prometheus not configured` error everytime we visit the landing page when
the prometheus is not configured
Fixes: https://tracker.ceph.com/issues/57576
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
d30d92298a0122ae04855fe290843046cb106a81 )
Guillaume Abrioux [Wed, 21 Sep 2022 20:25:04 +0000 (22:25 +0200)]
ceph-volume: fix regression in activate
bea9f4b643c introduced a regression that makes the activate process
take a very long time to complete.
`_get_bluestore_info()` which calls `ceph-bluestore-tool` binary via
subprocess is called in an exponential way while this is not needed.
Fixes: https://tracker.ceph.com/issues/57627
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
8d7423c3e75afbe111c91e699ef3cb1c0beee61b )
Juan Miguel Olmo Martínez [Wed, 18 May 2022 16:18:16 +0000 (18:18 +0200)]
mgr/rook: fix error when trying to get the list of nfs services
Resolves: https://tracker.ceph.com/issues/55605
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit
1532de124a99ab0e0820850e1c2739689ccb09f0 )
Guillaume Abrioux [Wed, 21 Sep 2022 05:55:26 +0000 (07:55 +0200)]
Merge pull request #48122 from guits/wip-57565-quincy
quincy: ceph-volume/tests: fix lvm centos8-filestore-create job
zdover23 [Tue, 20 Sep 2022 20:54:55 +0000 (06:54 +1000)]
Merge pull request #48159 from zdover23/wip-doc-2022-09-18-backport-48157-to-quincy
quincy: doc/rados: update prompts in network-config-ref
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.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 )
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 )
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 )
Nizamudeen A [Mon, 19 Sep 2022 05:46:42 +0000 (11:16 +0530)]
Merge pull request #48046 from rhcs-dashboard/wip-57492-quincy
quincy: mgr/dashboard: fix openapi-check
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
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 )
Adam King [Fri, 16 Sep 2022 17:11:28 +0000 (13:11 -0400)]
Merge pull request #47943 from adk3798/wip-57428-quincy
quincy: mgr/cephadm: allow setting prometheus retention time
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
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 )
Adam King [Fri, 16 Sep 2022 15:17:19 +0000 (11:17 -0400)]
Merge pull request #48080 from adk3798/wip-57504-quincy
quincy: qa/tasks/kubeadm: set up tigera resources via kubectl create
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 16 Sep 2022 14:59:59 +0000 (10:59 -0400)]
Merge pull request #47979 from adk3798/quincy-obf-fixes
quincy: pybind/mgr: object_format.py decorator updates & docs
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Redouane Kachach [Wed, 7 Sep 2022 12:51:10 +0000 (14:51 +0200)]
mgr/cephadm: Adding --storage.tsdb.retention.size prometheus option
fixes: https://tracker.ceph.com/issues/57422
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit
4da92c59597dcbf0bba4be50db73233e34108ca9 )
Conflicts:
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/tests/test_services.py
Adam King [Mon, 22 Aug 2022 17:47:53 +0000 (13:47 -0400)]
doc/cephadm: documentation for setting prometheus retention time
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
11fc0ef194dc347de075cde1274933ec83164404 )
Adam King [Mon, 22 Aug 2022 15:14:12 +0000 (11:14 -0400)]
mgr/cephadm: allow setting prometheus retention time
When we deploy Prometheus server, we don't provide any
ability to define the tsdb retention time - so it defaults to 15d.
This change adds a field that can be passed in a prometheus service
spec that will be passed as an arg to the --storage.tsdb.retention.time
parameter for the prometheus daemon.
Fixes: https://tracker.ceph.com/issues/54308
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit
91dd03fd648d25773a83fdad311b62b781619fc4 )
Conflicts:
src/pybind/mgr/cephadm/services/monitoring.py
src/pybind/mgr/cephadm/tests/test_services.py
Adam King [Fri, 16 Sep 2022 14:47:04 +0000 (10:47 -0400)]
Merge pull request #48075 from adk3798/wip-57526-quincy
quincy: mgr/cephadm: make setting --cgroups=split configurable
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 16 Sep 2022 14:46:33 +0000 (10:46 -0400)]
Merge pull request #48076 from adk3798/wip-57527-quincy
quincy: mgr/cephadm: reconfig iscsi daemons if trusted_ip_list changes
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Adam King [Fri, 16 Sep 2022 14:45:17 +0000 (10:45 -0400)]
Merge pull request #48077 from adk3798/wip-57525-quincy
quincy: mgr/cephadm: fix tuned profiles getting removed if name has dashes
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Fri, 16 Sep 2022 14:44:31 +0000 (10:44 -0400)]
Merge pull request #48078 from adk3798/wip-57524-quincy
quincy: mgr/cephadm: validating tuned profile specification
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Fri, 16 Sep 2022 14:43:52 +0000 (10:43 -0400)]
Merge pull request #48079 from adk3798/wip-57521-quincy
quincy: mgr/cephadm: don't use "sudo" in commands if user is root
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Guillaume Abrioux [Fri, 16 Sep 2022 14:19:31 +0000 (16:19 +0200)]
Merge pull request #47989 from guits/wip-57380-quincy
quincy: ceph-volume: add a retry in util.disk.remove_partition
Guillaume Abrioux [Thu, 15 Sep 2022 09:07:33 +0000 (11:07 +0200)]
ceph-volume/tests: fix lvm centos8-filestore-create job
/dev/vdc1 can't be zapped if it still holds an lv mapper.
let's use --destroy in the lvm zap command in order to remove
the held lv mapper before zapping the partition and recreate the partition after.
Fixes: https://tracker.ceph.com/issues/57553
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
890e1687d0180f02637c0853ef14aeaf32941a8f )
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Nizamudeen A [Fri, 16 Sep 2022 08:00:11 +0000 (13:30 +0530)]
Merge pull request #48034 from s0nea/wip-57488-quincy
quincy: monitoring/ceph-mixin: add RGW host to label info
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Yuri Weinstein [Thu, 15 Sep 2022 14:19:27 +0000 (07:19 -0700)]
Merge pull request #48104 from ljflores/wip-quincy-revert-pr-47901
quincy: Revert PR 47901
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Nizamudeen A [Fri, 12 Aug 2022 15:34:23 +0000 (21:04 +0530)]
mgr/dashboard: osd form preselect db/wal device filters
If the hostname is selected for the primary devices, then we can
preselect the hostname filter for the db/wal devices because osds will
be deployed only on the hostname of the primary device. If preselected
it'll be clear that only this devices will be used to deploy.
Addition to this, usually ssd devices are used for db/wal devices. So I
am preselecting these too in the filters.
Fixes: https://tracker.ceph.com/issues/57118
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit
5f8eff3beff7b8aa0066811dedf0024b76001a6e )