]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
21 months agodoc/rados: edit troubleshooting-mon.rst (4 of x) 53890/head
Zac Dover [Mon, 9 Oct 2023 08:55:07 +0000 (18:55 +1000)]
doc/rados: edit troubleshooting-mon.rst (4 of x)

Edit doc/rados/troubleshooting/troubleshooting-mon.rst.

Follows https://github.com/ceph/ceph/pull/53875

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge PR #53873 into main
Venky Shankar [Mon, 9 Oct 2023 12:19:30 +0000 (17:49 +0530)]
Merge PR #53873 into main

* refs/pull/53873/head:
qa: typo fix when checking for perf counter - s/md_thresh_evicted/mdthresh_evicted
qa: lower mds_session_metadata_threshold for tests

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
21 months agoqa: typo fix when checking for perf counter - s/md_thresh_evicted/mdthresh_evicted 53873/head
Venky Shankar [Mon, 9 Oct 2023 04:29:45 +0000 (09:59 +0530)]
qa: typo fix when checking for perf counter - s/md_thresh_evicted/mdthresh_evicted

Signed-off-by: Venky Shankar <vshankar@redhat.com>
21 months agoqa: lower mds_session_metadata_threshold for tests
Venky Shankar [Sat, 7 Oct 2023 15:12:29 +0000 (20:42 +0530)]
qa: lower mds_session_metadata_threshold for tests

... and increase the number of files that are created so as to
hit the threshold with a high probability.

Fixes: http://tracker.ceph.com/issues/62873
Signed-off-by: Venky Shankar <vshankar@redhat.com>
21 months agoMerge pull request #53817 from cloudbehl/active-alert-filter
Nizamudeen A [Mon, 9 Oct 2023 05:11:21 +0000 (10:41 +0530)]
Merge pull request #53817 from cloudbehl/active-alert-filter

mgr/dashboard: Filter active alerts

Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #53874 from zdover23/wip-doc-2023-10-07-rados-troubleshooting...
zdover23 [Sun, 8 Oct 2023 05:10:20 +0000 (16:10 +1100)]
Merge pull request #53874 from zdover23/wip-doc-2023-10-07-rados-troubleshooting-community

doc/rados: edit troubleshooting/community.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agoMerge pull request #53875 from zdover23/wip-doc-2023-10-07-troubleshooting-troublesho...
zdover23 [Sun, 8 Oct 2023 04:50:45 +0000 (15:50 +1100)]
Merge pull request #53875 from zdover23/wip-doc-2023-10-07-troubleshooting-troubleshooting-mon-3-of-x

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

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agodoc/rados: edit troubleshooting/community.rst 53874/head
Zac Dover [Sat, 7 Oct 2023 20:39:23 +0000 (06:39 +1000)]
doc/rados: edit troubleshooting/community.rst

Edit doc/rados/troubleshooting/community.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agodoc/rados: edit troubleshooting-mon.rst (3 of x) 53875/head
Zac Dover [Sat, 7 Oct 2023 21:33:17 +0000 (07:33 +1000)]
doc/rados: edit troubleshooting-mon.rst (3 of x)

Edit doc/rados/troubleshooting/troubleshooting-mon.rst.

Follows https://github.com/ceph/ceph/pull/52827

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #53876 from zdover23/wip-doc-2023-10-08-architecture-rbd-sentence...
Anthony D'Atri [Sun, 8 Oct 2023 00:45:38 +0000 (20:45 -0400)]
Merge pull request #53876 from zdover23/wip-doc-2023-10-08-architecture-rbd-sentence-repair

doc/architecture: repair RBD sentence

21 months agodoc/architecture: repair RBD sentence 53876/head
Zac Dover [Sat, 7 Oct 2023 21:43:43 +0000 (07:43 +1000)]
doc/architecture: repair RBD sentence

Improve an ambiguous sentence in doc/architecture.rst.

The problem presented by the original sentence is that the phrasal verb
"to provide with" is implicated in one of its possible readings.
Interpreted in that way, the sentence seems to express the incorrect
idea that RBD furnishes block devices with snapshotting and cloning, as
though snapshotting and cloning are being delivered to the block
devices. In fact, snapshotting and cloning are just features of RBD, and
are features that are described on this page:
https://docs.ceph.com/en/quincy/rbd/rbd-snapshot/.

Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #53790 from zdover23/wip-doc-2023-10-03-architecture-17-of-x
zdover23 [Sat, 7 Oct 2023 04:51:27 +0000 (15:51 +1100)]
Merge pull request #53790 from zdover23/wip-doc-2023-10-03-architecture-17-of-x

doc/architecture: edit "Peering and Sets"

21 months agodoc/architecture: edit "Peering and Sets" 53790/head
Zac Dover [Tue, 3 Oct 2023 12:11:50 +0000 (22:11 +1000)]
doc/architecture: edit "Peering and Sets"

Edit the English in the section "Peering and Sets" in the file
doc/architecture.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge PR #53855 into main
Patrick Donnelly [Sat, 7 Oct 2023 00:15:23 +0000 (20:15 -0400)]
Merge PR #53855 into main

* refs/pull/53855/head:
script: add option for debug build

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
21 months agoscript: add option for debug build 53855/head
Patrick Donnelly [Fri, 6 Oct 2023 00:11:29 +0000 (20:11 -0400)]
script: add option for debug build

See: https://github.com/ceph/ceph-build/pull/2167

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agoMerge pull request #53417 from jrchyang/fix_mclock_scheduling_slow_main
Yuri Weinstein [Fri, 6 Oct 2023 13:58:11 +0000 (06:58 -0700)]
Merge pull request #53417 from jrchyang/fix_mclock_scheduling_slow_main

osd: fix: slow scheduling when item_cost is large

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
21 months agoMerge pull request #52430 from vedanshbhartia/coverity_datarace
Yuval Lifshitz [Fri, 6 Oct 2023 10:07:31 +0000 (13:07 +0300)]
Merge pull request #52430 from vedanshbhartia/coverity_datarace

rgw: Add coverity annotations for missing mutex locks

reviewed-by: yuvalif, mkogan1

21 months agoMerge pull request #53834 from dparmar18/remove-egg-fragment-from-doc
zdover23 [Thu, 5 Oct 2023 23:21:14 +0000 (10:21 +1100)]
Merge pull request #53834 from dparmar18/remove-egg-fragment-from-doc

doc: remove egg fragment from dev/developer_guide/running-tests-locally

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge pull request #52296 from asm0deuz/bz2153448_ipv6
Adam King [Thu, 5 Oct 2023 15:43:53 +0000 (11:43 -0400)]
Merge pull request #52296 from asm0deuz/bz2153448_ipv6

mgr/cephadm: ceph orch add fails when ipv6 address is surrounded by square brackets.

Reviewed-by: Adam King <adking@redhat.com>
21 months agoMerge pull request #53621 from phlogistonjohn/jjm-cephadm-dtypes-common
Adam King [Thu, 5 Oct 2023 15:41:47 +0000 (11:41 -0400)]
Merge pull request #53621 from phlogistonjohn/jjm-cephadm-dtypes-common

cephadm: introduce Daemon Forms

Reviewed-by: Adam King <adking@redhat.com>
21 months agoMerge PR #53836 into main
Venky Shankar [Thu, 5 Oct 2023 15:28:33 +0000 (20:58 +0530)]
Merge PR #53836 into main

* refs/pull/53836/head:
PendingReleaseNotes: add a note about disallowing delegating inodes
qa: start testing mds_client_delegate_inos_pct config
mds: disable delegating inode ranges to clients

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
21 months agodoc: remove egg fragment from dev/developer_guide/running-tests-locally 53834/head
Dhairya Parmar [Thu, 5 Oct 2023 08:12:31 +0000 (13:42 +0530)]
doc: remove egg fragment from dev/developer_guide/running-tests-locally

DEPRECATION: git+https://github.com/ceph/teuthology#egg=teuthology
[test] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce
this behaviour change. A possible replacement is to use the req @ url syntax,
and remove the egg fragment. Discussion can be found at
https://github.com/pypa/pip/issues/11617

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
21 months agoMerge pull request #53700 from cloudbehl/cephfs-snapshot
Nizamudeen A [Thu, 5 Oct 2023 14:10:32 +0000 (19:40 +0530)]
Merge pull request #53700 from cloudbehl/cephfs-snapshot

mgr/dashboard: Fixed cephfs snapshot listing in directories

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #53782 from sachinpunadikar/vstart-fix
Adam King [Thu, 5 Oct 2023 12:37:56 +0000 (08:37 -0400)]
Merge pull request #53782 from sachinpunadikar/vstart-fix

vstart: exclude default route during cluster setup

Reviewed-by: Adam King <adking@redhat.com>
21 months agomgr/dashboard: Filter active alerts 53817/head
cloudbehl [Wed, 4 Oct 2023 11:05:26 +0000 (16:35 +0530)]
mgr/dashboard: Filter active alerts

- List alerts which are not suppressed

fixes: https://tracker.ceph.com/issues/62990

Signed-off-by: cloudbehl <cloudbehl@gmail.com>
21 months agoMerge pull request #53819 from zdover23/wip-doc-2023-10-04-rados-troubleshooting...
zdover23 [Thu, 5 Oct 2023 11:43:02 +0000 (22:43 +1100)]
Merge pull request #53819 from zdover23/wip-doc-2023-10-04-rados-troubleshooting-index

doc/rados: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agoPendingReleaseNotes: add a note about disallowing delegating inodes 53836/head
Venky Shankar [Thu, 5 Oct 2023 11:24:04 +0000 (16:54 +0530)]
PendingReleaseNotes: add a note about disallowing delegating inodes

Signed-off-by: Venky Shankar <vshankar@redhat.com>
21 months agoqa: start testing mds_client_delegate_inos_pct config
Venky Shankar [Wed, 4 Oct 2023 14:20:12 +0000 (19:50 +0530)]
qa: start testing mds_client_delegate_inos_pct config

Signed-off-by: Venky Shankar <vshankar@redhat.com>
21 months agomds: disable delegating inode ranges to clients
Venky Shankar [Thu, 5 Oct 2023 09:26:32 +0000 (14:56 +0530)]
mds: disable delegating inode ranges to clients

Fixes: http://tracker.ceph.com/issues/63103
Signed-off-by: Venky Shankar <vshankar@redhat.com>
21 months agoMerge pull request #52735 from vedanshbhartia/coverity_minlong
Yuval Lifshitz [Thu, 5 Oct 2023 07:50:21 +0000 (10:50 +0300)]
Merge pull request #52735 from vedanshbhartia/coverity_minlong

rgw: Add coverity annotation for warning about tautological comparison

reviewed-by: thotz, yuvalif

21 months agoMerge pull request #53788 from AliMasarweh/wip-alimasa-topic-stats-help
Ali Masarwa [Thu, 5 Oct 2023 07:46:37 +0000 (10:46 +0300)]
Merge pull request #53788 from AliMasarweh/wip-alimasa-topic-stats-help

RGW: add the missing help print for command 'topic stats'

Reviewed-by: thotz <thottanjiffin@gmail.com>, Daniel Gryniewicz <dang@redhat.com>
21 months agoMerge pull request #53789 from rhcs-dashboard/rgw-overview-fix
Nizamudeen A [Thu, 5 Oct 2023 06:55:11 +0000 (12:25 +0530)]
Merge pull request #53789 from rhcs-dashboard/rgw-overview-fix

mgr/dashboard: fix rgw inventory card and broken shadows

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
21 months agovstart: exclude default route during cluster setup 53782/head
Sachin Punadikar [Tue, 3 Oct 2023 07:46:31 +0000 (03:46 -0400)]
vstart: exclude default route during cluster setup

"ip route list" may list default route, and that needs to be excluded
while doing cluster setup
Typical o/p of ip route list:
$ ip route list
default via 10.8.159.254 dev eno1 proto dhcp src 10.8.152.13 metric 100
10.8.152.0/21 dev eno1 proto kernel scope link src 10.8.152.13 metric 100

Signed-off-by: Sachin Punadikar <sachin.punadikar@ibm.com>
21 months agoMerge pull request #52313 from linuxbox2/wip-fix-disable-dashboard
Nizamudeen A [Thu, 5 Oct 2023 03:42:25 +0000 (09:12 +0530)]
Merge pull request #52313 from linuxbox2/wip-fix-disable-dashboard

dashboard: regression, make install fails w/dashboard disabled

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
21 months agocephadm: convert cephadm agent to a daemon form 53621/head
John Mulligan [Wed, 4 Oct 2023 17:43:47 +0000 (13:43 -0400)]
cephadm: convert cephadm agent to a daemon form

The cephadm agent is a bit special in that it will not be converted
to a ContainerDaemonForm (it is not containerized) but we still want
to have it registered as a DeamonForm so that the deamon_type can be
passed to create and have it resolve correctly.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: convert SNMPGateway to a ContainerDaemonForm
John Mulligan [Sat, 23 Sep 2023 19:28:40 +0000 (15:28 -0400)]
cephadm: convert SNMPGateway to a ContainerDaemonForm

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: convert CustomContainer to a ContainerDaemonForm
John Mulligan [Sat, 23 Sep 2023 19:28:25 +0000 (15:28 -0400)]
cephadm: convert CustomContainer to a ContainerDaemonForm

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: convert NFSGanesha to a ContainerDaemonForm
John Mulligan [Sat, 23 Sep 2023 19:27:46 +0000 (15:27 -0400)]
cephadm: convert NFSGanesha to a ContainerDaemonForm

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: add func to deploy any generic ContainerDaemonForm
John Mulligan [Sat, 23 Sep 2023 19:26:03 +0000 (15:26 -0400)]
cephadm: add func to deploy any generic ContainerDaemonForm

While there are no ContainerDaemonForms implemented yet, add a function
that uses the ContainerDaemonForm methods to construct a deployment
for the container based daemons.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: add ContainerDaemonForm
John Mulligan [Sat, 23 Sep 2023 19:23:42 +0000 (15:23 -0400)]
cephadm: add ContainerDaemonForm

Add a supplemental DaemonForm subclass that helps deploy container
based daemons in a standard fashion. Most of these methods are
optional and should have sensible defaults.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: move DeploymentType to deploy.py
John Mulligan [Sat, 23 Sep 2023 19:22:40 +0000 (15:22 -0400)]
cephadm: move DeploymentType to deploy.py

The DeploymentType is used by a number of other classes and functions
and has no dependencies beyond enum and is safe to move.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: move firewalld related items to firewalld.py
John Mulligan [Fri, 22 Sep 2023 17:34:58 +0000 (13:34 -0400)]
cephadm: move firewalld related items to firewalld.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: remove direct daemon-class deps from firewall
John Mulligan [Fri, 22 Sep 2023 17:26:18 +0000 (13:26 -0400)]
cephadm: remove direct daemon-class deps from firewall

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: move sysctl specific functions to sysctl.py
John Mulligan [Fri, 22 Sep 2023 15:14:34 +0000 (11:14 -0400)]
cephadm: move sysctl specific functions to sysctl.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: remove direct daemon-type deps from sysctl
John Mulligan [Thu, 21 Sep 2023 21:57:43 +0000 (17:57 -0400)]
cephadm: remove direct daemon-type deps from sysctl

Using the appropriate daemon form we can break the direct dependency
that the sysctl setup function has on particular classes and use
a generic interface.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: add test_daemon_form.py
John Mulligan [Thu, 21 Sep 2023 20:21:25 +0000 (16:21 -0400)]
cephadm: add test_daemon_form.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: introduce daemon forms to cephadm.py
John Mulligan [Wed, 20 Sep 2023 14:17:29 +0000 (10:17 -0400)]
cephadm: introduce daemon forms to cephadm.py

Introduce the DeamonForm base class to cephadm.py and make various
daemon-type classes into fully fleged deamon form classes.

Some classes already had a semi-standard `init` classmethod for
instantiation. In these cases the new `create` classmethod is a thin
wrapper over the existing method. In cases where the class was not
already being instantiated a minimal set of methods are added.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: add daemon_form.py: bases and funcs for daemon forms
John Mulligan [Thu, 21 Sep 2023 20:21:00 +0000 (16:21 -0400)]
cephadm: add daemon_form.py: bases and funcs for daemon forms

Create daemon_form.py containing the DaemonForm class and a few
subclasses and utility functions for working with DaemonForms.
In a future commit, DaemonForm will become the base class for
the current assortment of classes named after the daemon or
family of daemon they help manage.

A daemon form, think "form" as in "template" or "mold", assists
in setting up, creating, and managing daemons controlled with
cephadm. Because cephadm supports a variety of services the
DaemonForm is an abstract base class and the module also supports
additional ABCs that may be used by DaemonForms to implement
optional features.

The daemon forms that are expected to be used directly must be
registered using the provided decorator. This is an explicit extra
step so that common bases that inherit from DaemonForm can be
implemented. Plus explicit is better than implicit. :-)
All DeamonForm subclasses are expected to provide a small set
of standard methods so that the types can be chosen, instantiated,
and used a common manner.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agocephadm: add some unit test coverage for deploying nfs, snmp
John Mulligan [Mon, 25 Sep 2023 17:58:35 +0000 (13:58 -0400)]
cephadm: add some unit test coverage for deploying nfs, snmp

Signed-off-by: John Mulligan <jmulligan@redhat.com>
21 months agodoc/rados: edit troubleshooting.rst 53819/head
Zac Dover [Wed, 4 Oct 2023 11:14:13 +0000 (21:14 +1000)]
doc/rados: edit troubleshooting.rst

Edit doc/rads/troubleshooting.rst to remove some language that sounds
quite close to marketing language.

Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agodashboard: regression, make install fails w/dashboard disabled 52313/head
Matt Benjamin [Tue, 4 Jul 2023 20:33:25 +0000 (16:33 -0400)]
dashboard: regression, make install fails w/dashboard disabled

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
21 months agoMerge pull request #53436 from rhcs-dashboard/fix-bootstrap-script
Nizamudeen A [Wed, 4 Oct 2023 13:13:09 +0000 (18:43 +0530)]
Merge pull request #53436 from rhcs-dashboard/fix-bootstrap-script

mgr/dashboard: fix bootstrap script for cephadm installation

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
21 months agoMerge pull request #45069 from ifed01/wip-ifed-alloc-stuff
Igor Fedotov [Wed, 4 Oct 2023 13:03:42 +0000 (16:03 +0300)]
Merge pull request #45069 from ifed01/wip-ifed-alloc-stuff

os/bluestore: fixing some non-critical bugs for HybridAllocator

Reviewed-by: Adam Kupczyk <akupzyk@ibm.com>
21 months agoMerge pull request #53642 from rhcs-dashboard/fix-62964-main
Pedro Gonzalez Gomez [Wed, 4 Oct 2023 11:03:52 +0000 (13:03 +0200)]
Merge pull request #53642 from rhcs-dashboard/fix-62964-main

mgr/dashboard: Fix user/bucket count in rgw overview dashboard

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
21 months agoMerge pull request #53792 from zdover23/wip-doc-2023-10-03-rados-operations-control...
zdover23 [Wed, 4 Oct 2023 10:51:51 +0000 (21:51 +1100)]
Merge pull request #53792 from zdover23/wip-doc-2023-10-03-rados-operations-control-2-of-x

doc/rados: edit ops/control.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agoRGW: add the missing help print for command 'topic stats' 53788/head
Ali Masarwa [Tue, 3 Oct 2023 10:30:15 +0000 (13:30 +0300)]
RGW: add the missing help print for command 'topic stats'

Signed-off-by: Ali Masarwa <ali.saed.masarwa@gmail.com>
21 months agomgr/dashboard: fix bootstrap script for cephadm installation 53436/head
avanthakkar [Wed, 13 Sep 2023 10:49:01 +0000 (16:19 +0530)]
mgr/dashboard: fix bootstrap script for cephadm installation

Fixes: https://tracker.ceph.com/issues/62827
Signed-off-by: avanthakkar <avanjohn@gmail.com>
21 months agoMerge branch 'main' into wip-doc-2023-10-03-rados-operations-control-2-of-x 53792/head
zdover23 [Wed, 4 Oct 2023 09:33:03 +0000 (20:33 +1100)]
Merge branch 'main' into wip-doc-2023-10-03-rados-operations-control-2-of-x

Signed-off-by: zdover23 <zac.dover@proton.me>
21 months agomgr/dashboard: fix rgw inventory card and broken shadows 53789/head
Nizamudeen A [Tue, 3 Oct 2023 12:03:13 +0000 (17:33 +0530)]
mgr/dashboard: fix rgw inventory card and broken shadows

Mess up of the dashboard landing page layout fixes PR

Fixes: http://tracker.ceph.com/issues/62961
Signed-off-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #53791 from zdover23/wip-doc-2023-10-03-rados-operations-control...
zdover23 [Wed, 4 Oct 2023 09:30:23 +0000 (20:30 +1100)]
Merge pull request #53791 from zdover23/wip-doc-2023-10-03-rados-operations-control-1-of-x

doc/rados: edit ops/control.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
21 months agodoc/rados: edit ops/control.rst (2 of x)
Zac Dover [Tue, 3 Oct 2023 12:39:23 +0000 (22:39 +1000)]
doc/rados: edit ops/control.rst (2 of x)

Edit doc/rados/operations/control.rst (2 of x).

Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agodoc/rados: edit ops/control.rst (1 of x) 53791/head
Zac Dover [Tue, 3 Oct 2023 12:22:39 +0000 (22:22 +1000)]
doc/rados: edit ops/control.rst (1 of x)

Edit doc/rados/operations/control.rst (1 of x).

Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
21 months agoMerge PR #53494 into main
Venky Shankar [Wed, 4 Oct 2023 08:18:31 +0000 (13:48 +0530)]
Merge PR #53494 into main

* refs/pull/53494/head:
mds: fix stray CInodes' use-after-free bug when submit ELid entry

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agoMerge pull request #53332 from zhsgao/mds_overload_epochs
Venky Shankar [Wed, 4 Oct 2023 08:16:27 +0000 (13:46 +0530)]
Merge pull request #53332 from zhsgao/mds_overload_epochs

mds: add option mds_bal_overload_epochs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
21 months agoMerge pull request #53746 from rhcs-dashboard/enhance-usage-bar
Pedro Gonzalez Gomez [Wed, 4 Oct 2023 07:37:28 +0000 (09:37 +0200)]
Merge pull request #53746 from rhcs-dashboard/enhance-usage-bar

mgr/dashboard: rbd image hide usage bar when disk usage is not provided

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #53307 from rhcs-dashboard/fix-62721-main
Nizamudeen A [Wed, 4 Oct 2023 05:00:05 +0000 (10:30 +0530)]
Merge pull request #53307 from rhcs-dashboard/fix-62721-main

mgr/dashboard: Rgw Multi-site naming improvements

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #52938 from batrick/mon-loop-refactor
Yuri Weinstein [Tue, 3 Oct 2023 19:58:15 +0000 (12:58 -0700)]
Merge pull request #52938 from batrick/mon-loop-refactor

mon: refactor loop variable names

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
21 months agoMerge pull request #52733 from batrick/i59813
Yuri Weinstein [Tue, 3 Oct 2023 19:57:42 +0000 (12:57 -0700)]
Merge pull request #52733 from batrick/i59813

osd/OSDMonitor: check svc is writeable before changing pending

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
21 months agoMerge pull request #53449 from ljflores/wip-tracker-62833
Laura Flores [Tue, 3 Oct 2023 19:53:21 +0000 (15:53 -0400)]
Merge pull request #53449 from ljflores/wip-tracker-62833

osd: fix read balancer logic to avoid redundant primary assignment

21 months agomgr/dashboard: fixed cephfs snapshot & Quota list 53700/head
cloudbehl [Wed, 27 Sep 2023 14:56:58 +0000 (20:26 +0530)]
mgr/dashboard: fixed cephfs snapshot & Quota list

fixes: https://tracker.ceph.com/issues/63007

Signed-off-by: cloudbehl <cloudbehl@gmail.com>
21 months agoMerge pull request #53671 from rhcs-dashboard/fix-protect-if-layering-enabled
Nizamudeen A [Tue, 3 Oct 2023 12:57:24 +0000 (18:27 +0530)]
Merge pull request #53671 from rhcs-dashboard/fix-protect-if-layering-enabled

mgr/dashboard: enable protect option if layering enabled

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Sunil Angadi <Sunil.Angadi@ibm.com>
21 months agoMerge pull request #53673 from rhcs-dashboard/fix-62984-main
Nizamudeen A [Tue, 3 Oct 2023 12:54:09 +0000 (18:24 +0530)]
Merge pull request #53673 from rhcs-dashboard/fix-62984-main

mgr/dashboard: show a message to restart the rgw daemons after moving from single-site to multi-site

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
21 months agoMerge pull request #53703 from adk3798/cephadm-refactor-ssh
Adam King [Tue, 3 Oct 2023 12:46:30 +0000 (08:46 -0400)]
Merge pull request #53703 from adk3798/cephadm-refactor-ssh

cephadm: start ssh.py in cephadmlib

Reviewed-by: Michael Fritch <mfritch@suse.com>
21 months agoMerge PR #53600 into main
Patrick Donnelly [Tue, 3 Oct 2023 12:30:20 +0000 (12:30 +0000)]
Merge PR #53600 into main

* refs/pull/53600/head:
mds/FSMap: allow upgrades if no up mds

Reviewed-by: Milind Changire <mchangir@redhat.com>
21 months agomgr/dashboard: enable protect option if layering enabled 53671/head
avanthakkar [Tue, 26 Sep 2023 11:04:08 +0000 (16:34 +0530)]
mgr/dashboard: enable protect option if layering enabled

Fixes: https://tracker.ceph.com/issues/63076
Signed-off-by: avanthakkar <avanjohn@gmail.com>
21 months agomgr/dashboard: show a message to restart the rgw daemons after moving from single... 53673/head
Aashish Sharma [Tue, 26 Sep 2023 12:27:39 +0000 (17:57 +0530)]
mgr/dashboard: show a message to restart the rgw daemons after moving from single-site to multi-site

Fixes: https://tracker.ceph.com/issues/62984
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
21 months agoMerge pull request #53522 from rhcs-dashboard/landing-page-layout-fix
Nizamudeen A [Tue, 3 Oct 2023 09:59:45 +0000 (15:29 +0530)]
Merge pull request #53522 from rhcs-dashboard/landing-page-layout-fix

mgr/dashboard: fix the landing page layout issues

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
21 months agomgr/dashboard: rbd image hide usage bar when disk usage is not provided 53746/head
Pedro Gonzalez Gomez [Mon, 2 Oct 2023 08:35:08 +0000 (10:35 +0200)]
mgr/dashboard: rbd image hide usage bar when disk usage is not provided

Fixes: https://tracker.ceph.com/issues/63037
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
21 months agoMerge pull request #53699 from rhcs-dashboard/tls_v1.2_toglle
Nizamudeen A [Tue, 3 Oct 2023 07:52:23 +0000 (13:22 +0530)]
Merge pull request #53699 from rhcs-dashboard/tls_v1.2_toglle

mgr/dashboard: allow tls 1.2 with a config option

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
21 months agoMerge pull request #53697 from rhcs-dashboard/mds-number-validator-fix
Nizamudeen A [Tue, 3 Oct 2023 07:50:39 +0000 (13:20 +0530)]
Merge pull request #53697 from rhcs-dashboard/mds-number-validator-fix

mgr/dashboard: fix cephfs form validator

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
21 months agomgr/dashboard: fix the landing page layout issues 53522/head
Nizamudeen A [Tue, 19 Sep 2023 06:42:36 +0000 (12:12 +0530)]
mgr/dashboard: fix the landing page layout issues

We were following a row-col grid layout for the landing page.
First row includes Details, Status and Capacity
Second row for Inventory and Cluster Utilization

So if one of the item in the first row increases, it pushes the entire
second row downwards.

To fix this, I made a col-row grid.

First col has Details and Inventory in two rows.
Second col has Status and Capacity as a col and Cluster Utilization as a
single row

Fixes: https://tracker.ceph.com/issues/62961
Signed-off-by: Nizamudeen A <nia@redhat.com>
Co-authored-by: cloudbehl <cloudbehl@gmail.com>
21 months agoMerge PR #53754 into main
Patrick Donnelly [Tue, 3 Oct 2023 02:39:09 +0000 (02:39 +0000)]
Merge PR #53754 into main

* refs/pull/53754/head:
osd: correct unsigned/signed compiler wrn

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
21 months agoosd: correct unsigned/signed compiler wrn 53754/head
Patrick Donnelly [Mon, 2 Oct 2023 16:42:28 +0000 (16:42 +0000)]
osd: correct unsigned/signed compiler wrn

    /home/pdonnell/ceph/src/osd/OSD.cc: In member function ‘void OSD::ShardedOpWQ::stop_for_fast_shutdown()’:
    /home/pdonnell/ceph/src/osd/OSD.cc:11143:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
    11143 |   for (int shard_index = 0; shard_index < osd->num_shards; shard_index++) {

Fixes: https://tracker.ceph.com/issues/62851
Fixes: 210dbd4ff19ea66fd2f0109cc15aad53349be52f
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agoMerge pull request #47148 from NitzanMordhai/wip-nitzan-test-cls-lock-expiered-locks...
Casey Bodley [Mon, 2 Oct 2023 19:46:29 +0000 (20:46 +0100)]
Merge pull request #47148 from NitzanMordhai/wip-nitzan-test-cls-lock-expiered-locks-start

test/cls_lock: expired lock before unlock and start check

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #53616 from ronen-fr/wip-rf-cnceq
Casey Bodley [Mon, 2 Oct 2023 19:29:57 +0000 (20:29 +0100)]
Merge pull request #53616 from ronen-fr/wip-rf-cnceq

rgw/test: fix compiler warning

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agomds/FSMap: allow upgrades if no up mds 53600/head
Patrick Donnelly [Fri, 22 Sep 2023 18:05:23 +0000 (14:05 -0400)]
mds/FSMap: allow upgrades if no up mds

This is to support the fail_fs scenario for cephadm where max_mds >= 1
and all MDS are down.

Fixes: https://tracker.ceph.com/issues/62682
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
21 months agocephadm: format black cephadmlib/ssh.py 53703/head
Adam King [Wed, 27 Sep 2023 19:51:14 +0000 (15:51 -0400)]
cephadm: format black cephadmlib/ssh.py

Signed-off-by: Adam King <adking@redhat.com>
21 months agocephadm: start ssh.py in cephadmlib
Adam King [Wed, 27 Sep 2023 19:49:37 +0000 (15:49 -0400)]
cephadm: start ssh.py in cephadmlib

As part of the cephadm refactoring process
to split cephadm into multiple python files,
start "ssh.py" that includes some functions used
for setting up and testing ssh connections,
primarily as part of bootstrap.

Signed-off-by: Adam King <adking@redhat.com>
21 months agoMerge pull request #53735 from idryomov/wip-63010
Ilya Dryomov [Mon, 2 Oct 2023 15:10:19 +0000 (17:10 +0200)]
Merge pull request #53735 from idryomov/wip-63010

qa/suites/krbd: stress test for recovering from watch errors

Reviewed-by: Mykola Golub <mgolub@suse.com>
21 months agoMerge pull request #50350 from BBoozmen/oozmen_rgw_beast_log_bucket_name
Casey Bodley [Mon, 2 Oct 2023 14:39:11 +0000 (15:39 +0100)]
Merge pull request #50350 from BBoozmen/oozmen_rgw_beast_log_bucket_name

rgw/logging: add bucket and object names to the log line for ops-log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #52144 from linuxbox2/wip-nochown-bucket
Casey Bodley [Mon, 2 Oct 2023 14:38:35 +0000 (15:38 +0100)]
Merge pull request #52144 from linuxbox2/wip-nochown-bucket

rgw/file: make setattr(...) a no-op on buckets

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
21 months agoMerge pull request #52960 from cbodley/wip-62411
Casey Bodley [Mon, 2 Oct 2023 14:38:16 +0000 (15:38 +0100)]
Merge pull request #52960 from cbodley/wip-62411

rgw/lc: remove_bucket_config() doesn't update xattrs on bucket delete

Reviewed-by Matt Benjamin <mbenjamin@redhat.com>

21 months agoMerge pull request #53266 from VVoidV/lbr-chunk-upload-buffer-fix
Casey Bodley [Mon, 2 Oct 2023 14:37:46 +0000 (15:37 +0100)]
Merge pull request #53266 from VVoidV/lbr-chunk-upload-buffer-fix

rgw: improve buffer list utilization in the chunkupload scenario

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #53525 from RickyMaRui/fix-SignatureDoesNotMatch
Casey Bodley [Mon, 2 Oct 2023 14:37:25 +0000 (15:37 +0100)]
Merge pull request #53525 from RickyMaRui/fix-SignatureDoesNotMatch

rgw: fix SignatureDoesNotMatch when extra headers start with 'x-amz'

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #53602 from cbodley/wip-62938
Casey Bodley [Mon, 2 Oct 2023 14:37:08 +0000 (15:37 +0100)]
Merge pull request #53602 from cbodley/wip-62938

rgw: s3website doesn't prefetch for web_dir() check

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
21 months agoMerge pull request #53614 from xrmeng8756/master
Casey Bodley [Mon, 2 Oct 2023 14:36:53 +0000 (15:36 +0100)]
Merge pull request #53614 from xrmeng8756/master

rgw: fix rgw rate limiting RGWRateLimitInfo class decode_json max_rea…

Reviewed-by: Jiffin Tony Thottan <jthottan@redhat.com>
21 months agoMerge pull request #53676 from smanjara/data-sync-fairness-crash
Casey Bodley [Mon, 2 Oct 2023 14:36:07 +0000 (15:36 +0100)]
Merge pull request #53676 from smanjara/data-sync-fairness-crash

rgw/multisite: call drain before flushing markers in incremental sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
21 months agoMerge pull request #53680 from cbodley/wip-62989
Casey Bodley [Mon, 2 Oct 2023 14:35:47 +0000 (15:35 +0100)]
Merge pull request #53680 from cbodley/wip-62989

rgw/keystone: EC2Engine uses reject() for ERR_SIGNATURE_NO_MATCH

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
21 months agoMerge pull request #53684 from cbodley/wip-rgw-keystone-yield
Casey Bodley [Mon, 2 Oct 2023 14:35:20 +0000 (15:35 +0100)]
Merge pull request #53684 from cbodley/wip-rgw-keystone-yield

rgw/async: use optional_yield for keystone and kms requests

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
21 months agoMerge pull request #53691 from max-licc/radosgw_start_watcher_crash
Casey Bodley [Mon, 2 Oct 2023 14:34:51 +0000 (15:34 +0100)]
Merge pull request #53691 from max-licc/radosgw_start_watcher_crash

rgw: fix unwatch crash at radosgw startup

Reviewed-by: Adam Emerson <aemerson@redhat.com>