]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 months agocephadm: fix base class behavior on python3.6 55593/head
John Mulligan [Wed, 12 Oct 2022 18:15:59 +0000 (14:15 -0400)]
cephadm: fix base class behavior on python3.6

This fixes the cephadm test files when running tox/pytest on python3.6
(centos/rhel 8).
Long story short, combining classmethod and property on py3.6 behaves
differently from py3.7 and up. Since the classmethod is actually
unnecessary for the base class to behave as it does, we drop that
decorator.

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

16 months agocephadm: fix running test suite on python3.6
John Mulligan [Wed, 12 Oct 2022 18:06:40 +0000 (14:06 -0400)]
cephadm: fix running test suite on python3.6

While a new version of pyfakefs is available, version 5 is not available
for python 3.6. In order to run the test suite on centos 8 we will
continue to work with pyfakefs version 4.

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

16 months agomgr/dashboard: Add # type ignore to fix ci failure
Afreen [Thu, 15 Feb 2024 15:33:36 +0000 (21:03 +0530)]
mgr/dashboard: Add # type ignore to fix ci failure

issue:
=====
The run_tox py is failing :
dashboard/module.py:34: note: In module imported here,
dashboard/__init__.py:60: note: ... from here:
dashboard/services/rgw_client.py: note: In member "_is_system_user" of class "RgwClient":
dashboard/services/rgw_client.py:483: error: Incompatible return value type (got "Literal[0, 1]", expected "bool")
Found 1 error in 1 file (checked 32 source files)
mypy: exit 1 (82.29 seconds) /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr> mypy --config-file=../../mypy.ini -m alerts -m balancer -m cephadm -m crash -m dashboard -m devicehealth -m diskprediction_local -m hello -m influx -m iostat -m localpool -m mds_autoscaler -m mgr_module -m mgr_util -m mirroring -m nfs -m orchestrator -m pg_autoscaler -m progress -m prometheus -m rbd_support -m rgw -m rook -m snap_schedule -m selftest -m stats -m status -m telegraf -m telemetry -m test_orchestrator -m volumes -m zabbix pid=235356
mypy: FAIL ✖ in 3 minutes 11.62 secondstake your time..you can postpone too

Fix:
===
Added "# type ignore" to ignore the type check to _is_system_user's
response

Signed-off-by: Afreen <afreen23.git@gmail.com>
Co-authored-by: Laura Flores <lflores@ibm.com>
Co-authored-by: Afreen <afreen23.git@gmail.com>
17 months agomgr: pin pytest to version 7.4.4
Laura Flores [Mon, 29 Jan 2024 00:58:25 +0000 (00:58 +0000)]
mgr: pin pytest to version 7.4.4

On 2024-01-27, pytest updated to 8.0.0,
which broke run-tox-mgr.

https://docs.pytest.org/en/stable/changelog.html

==================================== ERRORS ====================================
_____________________ ERROR collecting alerts/__init__.py ______________________
alerts/__init__.py:2: in <module>
    from .module import Alerts
alerts/module.py:6: in <module>
    from mgr_module import CLIReadCommand, HandleCommandResult, MgrModule, Option
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'
______________________ ERROR collecting alerts/module.py _______________________
alerts/module.py:6: in <module>
    from mgr_module import CLIReadCommand, HandleCommandResult, MgrModule, Option
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'
____________________ ERROR collecting balancer/__init__.py _____________________
balancer/__init__.py:2: in <module>
    from .module import Module
balancer/module.py:12: in <module>
    from mgr_module import CLIReadCommand, CLICommand, CommandResult, MgrModule, Option, OSDMap, CephReleases
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'
_____________________ ERROR collecting balancer/module.py ______________________
balancer/module.py:12: in <module>
    from mgr_module import CLIReadCommand, CLICommand, CommandResult, MgrModule, Option, OSDMap, CephReleases
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'

Fixes: https://tracker.ceph.com/issues/64200
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 5554e565ca7ca9c9d6bc70e245be63d947722eda)

17 months agomgr/cephadm: add a type annotation to the ganesha conf template context
John Mulligan [Tue, 28 Mar 2023 17:49:21 +0000 (13:49 -0400)]
mgr/cephadm: add a type annotation to the ganesha conf template context

This change makes this file pass mypy checking on mypy 0.981.

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

17 months agomgr/dashboard: add an assertion for type narrowing
John Mulligan [Tue, 28 Mar 2023 21:06:51 +0000 (17:06 -0400)]
mgr/dashboard: add an assertion for type narrowing

This change makes this file pass mypy checking on mypy 0.981.

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

17 months agopybind/mgr: add a type annotation to the extra_args dict
John Mulligan [Tue, 28 Mar 2023 21:07:04 +0000 (17:07 -0400)]
pybind/mgr: add a type annotation to the extra_args dict

This change makes this file pass mypy checking on mypy 0.981.

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

17 months agomgr/dashboard: ignore type checking for exception handling module
John Mulligan [Tue, 28 Mar 2023 21:07:20 +0000 (17:07 -0400)]
mgr/dashboard: ignore type checking for exception handling module

Add a `# type: ignore` comment to the exception handling dashboard
module just like the instance to lines below. This module does not
already import typing, so I'm not going to add it.
This change is needed in order to run mypy 0.981.

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

17 months agomgr/dashboard: ignore type checking on mgr proxy object assignments
John Mulligan [Tue, 28 Mar 2023 21:09:30 +0000 (17:09 -0400)]
mgr/dashboard: ignore type checking on mgr proxy object assignments

Add `# type: ignore` comments to two dashboard functions that attempt
to set manager properties. There appear to be two approaches to fixing
the problem:

1. The _MgrProxy object that the dashboard uses has a __getattr__ method
for pulling value from the underlying mgr object. It does not have a
__setattr__ method. This means the setting values on _MgrProxy do not
propogate down to the original mgr.
mypy detects the fact that the object doesn't have __setattr__ and
complains. One could add a __setattr__ to the proxy type and mypy
is satisfied.

2. We can just suppress the type check with the comment.

Because I have no idea why the _MgrProxy exists or why it's implemented
the way it is, I feel that 2 is simpler. It is easy enough to go back
later and clean up the comments rather than me investing a lot of time
to understand the dashboard's approach just to bump up the version of
mypy.

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

17 months agocephadm: fix type annotation for list containing IP addresses
John Mulligan [Wed, 29 Mar 2023 14:14:33 +0000 (10:14 -0400)]
cephadm: fix type annotation for list containing IP addresses

This change makes this file pass mypy checking on mypy 0.981.

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

17 months agosrc/pybind: fix type annotations for signal handler function
John Mulligan [Wed, 29 Mar 2023 14:15:10 +0000 (10:15 -0400)]
src/pybind: fix type annotations for signal handler function

This change makes this file pass mypy checking on mypy 0.981.

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

17 months agopython-common: fix variable name reuse to make mypy happy
John Mulligan [Thu, 30 Mar 2023 20:48:02 +0000 (16:48 -0400)]
python-common: fix variable name reuse to make mypy happy

The variables high and low were being used as both `str`s and regex
match objects. Rename the vars in the if block to avoid this problem.
This change makes this file pass mypy checking on mypy 0.981.

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

17 months agomypy: update pinned mypy version to 0.981
John Mulligan [Tue, 28 Mar 2023 20:42:41 +0000 (16:42 -0400)]
mypy: update pinned mypy version to 0.981

mypy version 0.981 fixes a bug where on newer python versions mypy
doesn't properly load pyi files with keyword only arguments.
As noted in the src/mypy-constrains.txt mypy version needs to be
manually bumped periodically, and ceph is overdue for an update too.
It's never been updated since the file was added in June 2021.

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

17 months agopython-common: add a dedicated tox env to run mypy
John Mulligan [Thu, 30 Mar 2023 20:49:27 +0000 (16:49 -0400)]
python-common: add a dedicated tox env to run mypy

IMO it's not a good practice to overload a tox rule with multiple
different test tools. It forces the tools to share the same virtualenvs
and makes it impossible to run the tools individually. A separate mypy
env also better matches the other tox.ini files in the ceph tree.
Since the new 'mypy' env is in the default env list it will continue
to get run automatically when no specific envs are selected.

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

17 months agoMerge pull request #55520 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-cepha...
zdover23 [Tue, 13 Feb 2024 00:08:23 +0000 (10:08 +1000)]
Merge pull request #55520 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-cephadm-guidance

quincy: doc/cephadm: add note about ceph-exporter (Quincy)

Reviewed-by: Adam King <adking@redhat.com>
17 months agodoc/cephadm: add note about ceph-exporter (Quincy) 55520/head
Zac Dover [Fri, 9 Feb 2024 16:14:41 +0000 (02:14 +1000)]
doc/cephadm: add note about ceph-exporter (Quincy)

Explain how to deal with the error message "Non-zero exit code 22" when
using cephadm to install a Ceph cluster.

Co-authored-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55526 from zdover23/wip-doc-2024-02-11-quincy-radosgw-52299-revert
zdover23 [Sun, 11 Feb 2024 09:24:08 +0000 (19:24 +1000)]
Merge pull request #55526 from zdover23/wip-doc-2024-02-11-quincy-radosgw-52299-revert

quincy: doc/radosgw: Revert "doc/rgw/lua: add info uploading a ...

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
17 months agodoc/radosgw: Revert "doc/rgw/lua: add info uploading a ... 55526/head
Zac Dover [Sat, 10 Feb 2024 14:43:05 +0000 (00:43 +1000)]
doc/radosgw: Revert "doc/rgw/lua: add info uploading a ...

script in cephadm deployment"

This reverts commit b0c78748c05faed9c6032f490169741ad7fd6cf7.

See https://github.com/ceph/ceph/pull/55524#issuecomment-1937022350.
See https://tracker.ceph.com/issues/64327

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agoMerge pull request #55518 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-removal
zdover23 [Fri, 9 Feb 2024 16:27:51 +0000 (02:27 +1000)]
Merge pull request #55518 from zdover23/wip-doc-2024-02-10-ceph-exporter-quincy-removal

doc/mgr: remove ceph-exporter (Quincy)

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55512 from zdover23/wip-doc-2024-02-09-backport-55465-to-quincy
zdover23 [Fri, 9 Feb 2024 15:39:40 +0000 (01:39 +1000)]
Merge pull request #55512 from zdover23/wip-doc-2024-02-09-backport-55465-to-quincy

quincy: doc: add description of metric fields for cephfs-top

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
17 months agoMerge pull request #55506 from zdover23/wip-doc-2024-02-09-backport-55490-to-quincy
zdover23 [Fri, 9 Feb 2024 15:38:43 +0000 (01:38 +1000)]
Merge pull request #55506 from zdover23/wip-doc-2024-02-09-backport-55490-to-quincy

quincy: doc:start.rst fix typo in hw-recs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/mgr: remove ceph-exporter (Quincy) 55518/head
Zac Dover [Fri, 9 Feb 2024 15:24:17 +0000 (01:24 +1000)]
doc/mgr: remove ceph-exporter (Quincy)

Remove mention of ceph-exporter in the Quincy branch. ceph-exporter was
in one release of Quincy, but was later removed because it was broken.
This PR is made in response to Eugen Block's having brought this matter
to my attention.

Signed-off-by: Zac Dover <zac.dover@proton.me>
17 months agodoc: add description of metric fields for cephfs-top 55512/head
neeraj pratap singh [Tue, 6 Feb 2024 12:12:50 +0000 (17:42 +0530)]
doc: add description of metric fields for cephfs-top

Fixes: https://tracker.ceph.com/issues/63991
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit 956f644f86c0790c17976b98df112747d66837df)

17 months agodoc:start.rst fix typo in hw-recs 55506/head
Eduardo Roldan [Thu, 8 Feb 2024 06:40:21 +0000 (03:40 -0300)]
doc:start.rst fix typo in hw-recs

s/power less/power loss/

Signed-off-by: Eduardo Roldan <trazor@gmail.com>
(cherry picked from commit b80c12d080275e3c221a1e305c345fbc1caa3c8e)

17 months agoMerge pull request #53779 from rhcs-dashboard/wip-63068-quincy
Nizamudeen A [Thu, 8 Feb 2024 15:03:15 +0000 (20:33 +0530)]
Merge pull request #53779 from rhcs-dashboard/wip-63068-quincy

quincy: mgr/dashboard: allow tls 1.2 with a config option

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: hasonhai <NOT@FOUND>
17 months agoMerge pull request #55485 from zdover23/wip-doc-2024-02-08-backport-55475-to-quincy
Anthony D'Atri [Wed, 7 Feb 2024 20:16:04 +0000 (15:16 -0500)]
Merge pull request #55485 from zdover23/wip-doc-2024-02-08-backport-55475-to-quincy

quincy: doc/radosgw: add confval directives

17 months agodoc/radosgw: add confval directives 55485/head
Zac Dover [Wed, 7 Feb 2024 13:18:35 +0000 (23:18 +1000)]
doc/radosgw: add confval directives

Add confval directives to the documentation of "quota cache" options.
This addresses a request made by Antony D'Atri in https://github.com/ceph/ceph/pull/55075/files#r1444006246.

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

17 months agoMerge pull request #55483 from zdover23/wip-doc-2024-02-08-backport-55476-to-quincy
Anthony D'Atri [Wed, 7 Feb 2024 19:02:26 +0000 (14:02 -0500)]
Merge pull request #55483 from zdover23/wip-doc-2024-02-08-backport-55476-to-quincy

quincy: doc/cephadm - edit t11ing.

17 months agodoc/cephadm - edit t11ing. 55483/head
Zac Dover [Wed, 7 Feb 2024 13:32:53 +0000 (23:32 +1000)]
doc/cephadm - edit t11ing.

Edit "Running Repeated Debugging Sessions" in
doc/cephadm/troubleshooting.rst. Improve grammar. Fix a misspelling.

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

17 months agoMerge pull request #55461 from zdover23/wip-doc-2024-02-06-backport-55447-to-quincy
Anthony D'Atri [Tue, 6 Feb 2024 12:52:51 +0000 (07:52 -0500)]
Merge pull request #55461 from zdover23/wip-doc-2024-02-06-backport-55447-to-quincy

quincy: doc/rados: update PG guidance

17 months agodoc/rados: update PG guidance 55461/head
Zac Dover [Sun, 4 Feb 2024 15:36:10 +0000 (01:36 +1000)]
doc/rados: update PG guidance

Update the "Creating a Pool" section of doc/rados/operations/pools.rst
so that the documentation no longer insists that the user change the
values of "osd_pool_default_pg_num" and "osd_pool_default_pgp_num".

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

Tracker: https://tracker.ceph.com/issues/64259

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

17 months agoMerge pull request #55439 from zdover23/wip-doc-2024-02-04-backport-55419-to-quincy
Anthony D'Atri [Sun, 4 Feb 2024 00:09:12 +0000 (19:09 -0500)]
Merge pull request #55439 from zdover23/wip-doc-2024-02-04-backport-55419-to-quincy

quincy: doc/rados: update config for autoscaler

17 months agodoc/rados: update config for autoscaler 55439/head
Zac Dover [Fri, 2 Feb 2024 01:53:45 +0000 (11:53 +1000)]
doc/rados: update config for autoscaler

Update doc/rados/configuration/pool-pg-config-ref.rst to account for the
behavior of autoscaler.

Previously, this file was last meaningfully altered in 2013, prior to
the invention of autoscaler. A recent confusion was brought to my
attention on the Ceph Slack whereby a user attempted to alter the
default values of a Quincy cluster, as suggested in this documentation.
That alteration caused Ceph to throw the error "Error ERANGE: 'pgp_num'
must be greater than 0 and lower or equal than 'pg_num', which in this
case is one" and a related "rgw_init_ioctx ERROR" reading in part
"Numerical result out of range". The user removed the
"osd_pool_default_pgp_num" configuration line from ceph.conf and the
cluster worked as expected. I presume that this is because the removal
of this configuration line allowed autoscaler to work as intended.

Fixes: https://tracker.ceph.com/issues/64259
Co-authored-by: David Orman <ormandj@corenode.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 4dc12092be584da44baca14e31ca33231164235f)

17 months agoMerge pull request #55433 from zdover23/wip-doc-2024-02-03-backport-55403-to-quincy
Anthony D'Atri [Sat, 3 Feb 2024 02:51:10 +0000 (21:51 -0500)]
Merge pull request #55433 from zdover23/wip-doc-2024-02-03-backport-55403-to-quincy

quincy: doc/rgw: fix Attributes index in CreateTopic example

17 months agodoc/rgw: fix Attributes index in CreateTopic example 55433/head
Casey Bodley [Wed, 31 Jan 2024 17:31:02 +0000 (12:31 -0500)]
doc/rgw: fix Attributes index in CreateTopic example

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

17 months agoMerge pull request #55317 from ajarr/wip-64180-quincy
Yuri Weinstein [Thu, 1 Feb 2024 01:04:45 +0000 (17:04 -0800)]
Merge pull request #55317 from ajarr/wip-64180-quincy

quincy: rbd-nbd: fix resize of images mapped using netlink

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
17 months agoMerge pull request #55257 from idryomov/wip-63341-quincy
Yuri Weinstein [Thu, 1 Feb 2024 01:03:51 +0000 (17:03 -0800)]
Merge pull request #55257 from idryomov/wip-63341-quincy

quincy: librbd: improve rbd_diff_iterate2() performance in fast-diff mode

Reviewed-by: Mykola Golub <mgolub@suse.com>
17 months agoMerge pull request #54880 from batrick/wip-63797-quincy
Yuri Weinstein [Thu, 1 Feb 2024 01:02:56 +0000 (17:02 -0800)]
Merge pull request #54880 from batrick/wip-63797-quincy

quincy: pybind/mgr/devicehealth: replace SMART data if exists for same DATETIME

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
17 months agoMerge pull request #55400 from zdover23/wip-doc-2024-01-31-backport-55396-to-quincy
Anthony D'Atri [Wed, 31 Jan 2024 14:54:02 +0000 (09:54 -0500)]
Merge pull request #55400 from zdover23/wip-doc-2024-01-31-backport-55396-to-quincy

quincy: doc/architecture: improve some paragraphs

17 months agodoc/architecture: improve some paragraphs 55400/head
Zac Dover [Tue, 30 Jan 2024 09:51:53 +0000 (19:51 +1000)]
doc/architecture: improve some paragraphs

Improve paragraphs under the heading "The Ceph Storage Cluster". Remove
a sentence that was pleonastic in its context in the paragraph.

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

17 months agoMerge pull request #54706 from k0ste/wip-63313-quincy
Guillaume Abrioux [Wed, 31 Jan 2024 06:32:20 +0000 (07:32 +0100)]
Merge pull request #54706 from k0ste/wip-63313-quincy

quincy: ceph-volume: fix a bug in _check_generic_reject_reasons

17 months agoMerge pull request #54630 from guits/wip-63598-quincy
Guillaume Abrioux [Wed, 31 Jan 2024 06:28:51 +0000 (07:28 +0100)]
Merge pull request #54630 from guits/wip-63598-quincy

quincy: ceph-volume: fixes fallback to stat in is_device and is_partition

17 months agoMerge pull request #55385 from zdover23/wip-doc-2024-01-31-backport-55372-to-quincy
zdover23 [Wed, 31 Jan 2024 01:19:20 +0000 (11:19 +1000)]
Merge pull request #55385 from zdover23/wip-doc-2024-01-31-backport-55372-to-quincy

quincy: doc/architecture.rst - fix typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agodoc/architecture.rst - fix typo 55385/head
Zac Dover [Tue, 30 Jan 2024 12:24:11 +0000 (22:24 +1000)]
doc/architecture.rst - fix typo

s/requies/requires

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

17 months agoMerge pull request #55248 from rhcs-dashboard/wip-63653-quincy
Nizamudeen A [Mon, 29 Jan 2024 04:57:52 +0000 (10:27 +0530)]
Merge pull request #55248 from rhcs-dashboard/wip-63653-quincy

quincy: mgr/dashboard: get rgw port from ssl_endpoint

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
17 months agoMerge pull request #55344 from zdover23/wip-doc-2024-01-29-backport-55341-to-quincy
Anthony D'Atri [Mon, 29 Jan 2024 03:56:29 +0000 (22:56 -0500)]
Merge pull request #55344 from zdover23/wip-doc-2024-01-29-backport-55341-to-quincy

quincy: doc/architecture.rst: improve rados definition

17 months agodoc/architecture.rst: improve rados definition 55344/head
Zac Dover [Sun, 28 Jan 2024 19:33:58 +0000 (05:33 +1000)]
doc/architecture.rst: improve rados definition

Improve the definition of RADOS, and link to information about RADOS.

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

17 months agoMerge pull request #55339 from zdover23/wip-doc-2024-01-28-backport-55333-to-quincy
Anthony D'Atri [Sun, 28 Jan 2024 16:03:47 +0000 (11:03 -0500)]
Merge pull request #55339 from zdover23/wip-doc-2024-01-28-backport-55333-to-quincy

quincy: doc/radosgw: fix verb disagreement - index.html

17 months agodoc/radosgw: fix verb disagreement - index.html 55339/head
Zac Dover [Sat, 27 Jan 2024 08:40:20 +0000 (18:40 +1000)]
doc/radosgw: fix verb disagreement - index.html

Fix a tricky verb disagreement and rewrite a few sentences for what I
hope is greater clarity.

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

17 months agoMerge pull request #55322 from zdover23/wip-doc-2024-01-26-backport-55307-to-quincy
Anthony D'Atri [Fri, 26 Jan 2024 03:44:00 +0000 (22:44 -0500)]
Merge pull request #55322 from zdover23/wip-doc-2024-01-26-backport-55307-to-quincy

quincy: doc/radosgw: edit "Usage" admin.rst

17 months agodoc/radosgw: edit "Usage" admin.rst 55322/head
Zac Dover [Wed, 24 Jan 2024 19:13:00 +0000 (05:13 +1000)]
doc/radosgw: edit "Usage" admin.rst

Edit "Usage" in doc/radosgw/admin.rst.

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

17 months agorbd-nbd: log errors during netlink_resize() using derr 55317/head
Ramana Raja [Tue, 23 Jan 2024 21:07:04 +0000 (16:07 -0500)]
rbd-nbd: log errors during netlink_resize() using derr

When using rbd CLI to map the images to NBD devices via netlink,
any errors that arose during image resizing in netlink_resize()
were not logged. Switching the error logging from using cerr to
derr helps log the errors from netlink_resize().

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 1712b95c784c5ce381fbf4b09e8219ea40bd99a8)

17 months agorbd_nbd: fix resize of images mapped using netlink
Ramana Raja [Mon, 22 Jan 2024 22:06:58 +0000 (17:06 -0500)]
rbd_nbd: fix resize of images mapped using netlink

Include device identifier or cookie in the message sent to the kernel
to resize images mapped to NBD devices using netlink. Otherwise,
netlink_resize() fails and the size of the device isn't updated.

Fixes: https://tracker.ceph.com/issues/64139
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 1eebb7ba7903c6db0ab37a0457b263a1b2b00ff5)

17 months agoMerge pull request #53459 from rhcs-dashboard/wip-62603-quincy
Nizamudeen A [Wed, 24 Jan 2024 05:38:38 +0000 (11:08 +0530)]
Merge pull request #53459 from rhcs-dashboard/wip-62603-quincy

quincy: mgr/dashboard: remove unnecessary failing hosts e2e

Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #53809 from rhcs-dashboard/wip-63090-quincy
Nizamudeen A [Wed, 24 Jan 2024 05:37:52 +0000 (11:07 +0530)]
Merge pull request #53809 from rhcs-dashboard/wip-63090-quincy

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

Reviewed-by: Nizamudeen A <nia@redhat.com>
17 months agoMerge pull request #55283 from zdover23/wip-doc-2024-01-24-backport-55278-to-quincy
zdover23 [Wed, 24 Jan 2024 05:30:05 +0000 (15:30 +1000)]
Merge pull request #55283 from zdover23/wip-doc-2024-01-24-backport-55278-to-quincy

quincy: doc: specify correct fs type for mkfs

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
17 months agoMerge pull request #54411 from mihalicyn/wip-63477-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:35:20 +0000 (08:35 -0800)]
Merge pull request #54411 from mihalicyn/wip-63477-quincy

quincy: MClientRequest: properly handle ceph_mds_request_head_legacy for ext_num_retry, ext_num_fwd, owner_uid, owner_gid

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
17 months agoMerge pull request #54244 from vshankar/wip-63284-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:34:31 +0000 (08:34 -0800)]
Merge pull request #54244 from vshankar/wip-63284-quincy

quincy: client: always refresh mds feature bits on session open

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #53363 from k0ste/wip-57111-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:33:55 +0000 (08:33 -0800)]
Merge pull request #53363 from k0ste/wip-57111-quincy

quincy: mds: replacing bootstrap session only if handle client session message

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #53358 from k0ste/wip-61992-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:33:19 +0000 (08:33 -0800)]
Merge pull request #53358 from k0ste/wip-61992-quincy

quincy: mds/MDSRank: Add set_history_slow_op_size_and_threshold for op_tracker

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #52976 from batrick/wip-62423-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:32:37 +0000 (08:32 -0800)]
Merge pull request #52976 from batrick/wip-62423-quincy

quincy: mds: dump locks when printing mutation ops

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #52820 from rishabh-d-dave/wip-62336-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:31:42 +0000 (08:31 -0800)]
Merge pull request #52820 from rishabh-d-dave/wip-62336-quincy

quincy: mds: use variable g_ceph_context directly in MDSAuthCaps

Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agoMerge pull request #52271 from dparmar18/wip-61840-quincy
Yuri Weinstein [Tue, 23 Jan 2024 16:29:42 +0000 (08:29 -0800)]
Merge pull request #52271 from dparmar18/wip-61840-quincy

quincy: do not evict clients if OSDs are laggy

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
17 months agodoc: specify correct fs type for mkfs 55283/head
Himura Kazuto [Tue, 23 Jan 2024 12:59:10 +0000 (12:59 +0000)]
doc: specify correct fs type for mkfs

The default value is ext2, which is not supported (anymore?).

Signed-off-by: Vladislav Glagolev <vladislav.glagolev@devexpress.com>
(cherry picked from commit 886af37744847246b3e70f54b8577ed4f9815c20)

17 months agoMerge pull request #55272 from zdover23/wip-doc-2024-01-23-backport-55269-to-quincy
Anthony D'Atri [Tue, 23 Jan 2024 14:16:24 +0000 (09:16 -0500)]
Merge pull request #55272 from zdover23/wip-doc-2024-01-23-backport-55269-to-quincy

quincy: doc/radosgw: edit "read/write global rate limit" admin.rst

17 months agodoc/radosgw: edit "read/write global rate limit" admin.rst 55272/head
Zac Dover [Tue, 23 Jan 2024 02:13:10 +0000 (12:13 +1000)]
doc/radosgw: edit "read/write global rate limit" admin.rst

Edit "Reading/Writing Global Rate Limit Configuration" in
doc/radosgw/admin.rst.

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

17 months agoMerge pull request #55243 from zdover23/wip-doc-2024-01-19-backport-55170-to-quincy
zdover23 [Tue, 23 Jan 2024 01:57:31 +0000 (11:57 +1000)]
Merge pull request #55243 from zdover23/wip-doc-2024-01-19-backport-55170-to-quincy

quincy: doc/radosgw: edit admin.rst "set bucket rate limit"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
17 months agoMerge pull request #55264 from zdover23/wip-doc-2024-01-22-backport-54993-to-quincy
Anthony D'Atri [Sun, 21 Jan 2024 21:57:04 +0000 (16:57 -0500)]
Merge pull request #55264 from zdover23/wip-doc-2024-01-22-backport-54993-to-quincy

quincy: doc/rados/operations: document `ceph balancer status detail`

17 months agodoc/rados/operations: document `ceph balancer status detail` 55264/head
Laura Flores [Fri, 22 Dec 2023 22:55:29 +0000 (22:55 +0000)]
doc/rados/operations: document `ceph balancer status detail`

Document change in https://github.com/ceph/ceph/pull/54801

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 159751b68085fbe0fe10a881ff8bedecda11142f)

17 months agoMerge pull request #55261 from zdover23/wip-doc-2024-01-21-backport-55190-to-quincy
Anthony D'Atri [Sun, 21 Jan 2024 15:33:24 +0000 (10:33 -0500)]
Merge pull request #55261 from zdover23/wip-doc-2024-01-21-backport-55190-to-quincy

quincy: doc/radosgw: edit "Enable/Disable Bucket Rate Limit"

17 months agodoc/radosgw: edit "Enable/Disable Bucket Rate Limit" 55261/head
Zac Dover [Tue, 16 Jan 2024 10:37:17 +0000 (20:37 +1000)]
doc/radosgw: edit "Enable/Disable Bucket Rate Limit"

Edit "Enable/Disable Bucket Rate Limit" in doc/radosgw/admin.rst.

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

18 months agoPendingReleaseNotes: add rbd_diff_iterate2 note 55257/head
Ilya Dryomov [Sat, 20 Jan 2024 15:00:46 +0000 (16:00 +0100)]
PendingReleaseNotes: add rbd_diff_iterate2 note

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

Conflicts:
PendingReleaseNotes [ moved to >=17.2.8 section ]

18 months agolibrbd: try to preserve object map for diff-iterate in fast-diff mode
Ilya Dryomov [Sat, 6 Jan 2024 16:08:04 +0000 (17:08 +0100)]
librbd: try to preserve object map for diff-iterate in fast-diff mode

As an optimization, try to ensure that the object map for the end
version is preloaded through the acquisition of exclusive lock and
as a consequence remains around until exclusive lock is released.
If it's not around, DiffRequest would (re)load it on each call.

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

Conflicts:
src/librbd/api/DiffIterate.cc [ ImageArea support not in
  quincy ]

18 months agolibrbd/object_map: potentially use in-memory object map in DiffRequest
Ilya Dryomov [Sat, 6 Jan 2024 16:05:39 +0000 (17:05 +0100)]
librbd/object_map: potentially use in-memory object map in DiffRequest

If the object map for the end version is around (already loaded in
memory, either due to the end version being a snapshot or due to
exclusive lock being held), use it to run diff-iterate against the
beginning of time.  Since it's the only object map needed in that
case, such calls would be satisfied locally.

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

18 months agolibrbd/object_map: decouple object map processing in DiffRequest
Ilya Dryomov [Fri, 5 Jan 2024 12:15:54 +0000 (13:15 +0100)]
librbd/object_map: decouple object map processing in DiffRequest

In preparation for potentially using in-memory object map, decouple
object map processing from loading object maps and place the logic in
prepare_for_object_map() and process_object_map().

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

18 months agocommon/bit_vector: fix iterator vs reference constness confusion
Ilya Dryomov [Fri, 5 Jan 2024 11:23:24 +0000 (12:23 +0100)]
common/bit_vector: fix iterator vs reference constness confusion

T (ConstIterator or Iterator) is confused with const T here:
IteratorImpl dereference operator is wrongly overloaded on const
and returns Reference instead of ConstReference for ConstIterator.
This then fails inside bufferlist bowels because Reference is
incompatible with bufferlist::const_iterator.

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

18 months agolibrbd/object_map: make object map in handle_load_object_map() local
Ilya Dryomov [Thu, 4 Jan 2024 10:44:46 +0000 (11:44 +0100)]
librbd/object_map: make object map in handle_load_object_map() local

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

18 months agolibrbd/object_map: don't resize object map in handle_load_object_map()
Ilya Dryomov [Thu, 4 Jan 2024 10:39:20 +0000 (11:39 +0100)]
librbd/object_map: don't resize object map in handle_load_object_map()

Currently it's done in two cases:

- if the loaded object map is larger than expected based on byte size,
  it's truncated to expected number of objects
- in case of deep-copy, if the loaded object map is smaller than diff
  state, it's expanded to get "track the largest of all versions in the
  set" semantics

Both of these cases can be easily dealt with without modifying the
object map.  Being able to process a const object map is needed for
working on in-memory object map which is external to DiffRequest.

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

18 months agocommon/bit_vector: fix IteratorImpl post-increment operator
Ilya Dryomov [Sat, 6 Jan 2024 11:22:35 +0000 (12:22 +0100)]
common/bit_vector: fix IteratorImpl post-increment operator

It's totally broken: instead of returning the current position and
moving to the next position, it returns the next position and doesn't
move anywhere.  Luckily it hasn't been used until now.

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

18 months agolibrbd: drop DiffIterate::diff_object_map() declaration
Ilya Dryomov [Thu, 28 Dec 2023 09:52:11 +0000 (10:52 +0100)]
librbd: drop DiffIterate::diff_object_map() declaration

This is a leftover from commit 2b3a46801d39 ("librbd: switch
diff-iterate API to use new object-map diff helper").

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

18 months agolibrbd: propagate diff-iterate range to parent in fast-diff mode
Ilya Dryomov [Thu, 28 Dec 2023 09:14:18 +0000 (10:14 +0100)]
librbd: propagate diff-iterate range to parent in fast-diff mode

When getting parent diff, pass the overlap-reduced image extent instead
of the entire 0..overlap range to avoid a similar quadratic slowdown on
cloned images.

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

Conflicts:
src/librbd/api/DiffIterate.cc [ ImageArea support not in
  quincy ]

18 months agolibrbd/object_map: add support for ranged diff-iterate
Ilya Dryomov [Wed, 27 Dec 2023 17:07:05 +0000 (18:07 +0100)]
librbd/object_map: add support for ranged diff-iterate

Currently diff-iterate in fast-diff mode is performed on the entire
image no matter what image extent is passed to the API.  Then, unused
diff just gets discarded as DiffIterate ends up querying only objects
that the passed image extent maps to.  This hasn't been an issue for
internal consumers ("rbd du", "rbd diff", etc) because they work on the
entire image, but turns out to lead to quadratic slowdown in some QEMU
use cases.

0..UINT64_MAX range is carved out for deep-copy which is unranged by
definition.  To get effectively unranged diff-iterate, 0..UINT64_MAX-1
range can be used.

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

18 months agoinclude/intarith: introduce round_down_to()
Ilya Dryomov [Wed, 27 Dec 2023 15:18:50 +0000 (16:18 +0100)]
include/intarith: introduce round_down_to()

Same as with round_up_to(), d isn't required to be a power of two.

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

18 months agotest/librbd: expand TestMockObjectMapDiffRequest edge case coverage
Ilya Dryomov [Sat, 23 Dec 2023 14:19:09 +0000 (15:19 +0100)]
test/librbd: expand TestMockObjectMapDiffRequest edge case coverage

For each covered edge case or error, run through the following
scenarios:

- where the edge case concerns snap_id_start
- where the edge case concerns snap_id_end
- where the edge case concerns intermediate snapshot and
  snap_id_start == 0 (diff against the beginning of time)
- where the edge case concerns intermediate snapshot and
  snap_id_start != 0 (diff from snapshot)

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

18 months agolibrbd/object_map: allow intermediate snaps to be skipped on diff-iterate
Ilya Dryomov [Sat, 23 Dec 2023 13:47:54 +0000 (14:47 +0100)]
librbd/object_map: allow intermediate snaps to be skipped on diff-iterate

In case of diff-iterate against the beginning of time, the result
depends only on the end version.  Loading and processing object maps
or intermediate snapshots is redundant and can be skipped.

This optimization is made possible by commit be507aaed15f ("librbd:
diff-iterate shouldn't ever report "new hole" against a hole") and, to
a lesser extent, the previous commit.

Getting FastDiffInvalid, LoadObjectMapError and ObjectMapTooSmall to
pass required tweaking not just expectations, but also start/end snap
ids and thus also the meaning of these tests.  This is addressed in the
next commit.

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

18 months agolibrbd/object_map: resurrect diff-iterate behavior when image is shrunk
Ilya Dryomov [Fri, 22 Dec 2023 17:50:20 +0000 (18:50 +0100)]
librbd/object_map: resurrect diff-iterate behavior when image is shrunk

The new "track the largest of all versions in the set, diff state is
only ever grown" semantics introduced in commit 330f2a7bb94f ("librbd:
helper state machine for computing diffs between object-maps") don't
make sense for diff-iterate.  It's a waste because DiffIterate won't
query beyond the end version size -- this is baked into the API.

Limit this behavior to deep-copy and resurrect the original behavior
from 2015 for diff-iterate.

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

18 months agolibrbd/object_map: fix diff from snapshot when image is grown
Ilya Dryomov [Fri, 22 Dec 2023 15:10:12 +0000 (16:10 +0100)]
librbd/object_map: fix diff from snapshot when image is grown

Commit 399a45e11332 ("librbd/object_map: rbd diff between two
snapshots lists entire image content") fixed most of the damage caused
by commit b81cd2460de7 ("librbd/object_map: diff state machine should
track object existence"), but the case of a "resize diff" when diffing
from snapshot was missed.  An area that was freshly allocated in image
resize is the same in principle as a freshly created image and objects
marked OBJECT_EXISTS_CLEAN are no exception.  Diff for such objects in
such an area should be set to DIFF_STATE_DATA_UPDATED, however
currently when diffing from snapshot, it's set to DIFF_STATE_DATA.

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

18 months agolibrbd/object_map: drop bogus if in handle_load_object_map()
Ilya Dryomov [Wed, 20 Dec 2023 11:22:17 +0000 (12:22 +0100)]
librbd/object_map: drop bogus if in handle_load_object_map()

It became redundant with commit b81cd2460de7 ("librbd/object_map: diff
state machine should track object existence") -- it != end_it condition
in the loop is sufficient.

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

18 months agotest/librbd: refactor TestMockObjectMapDiffRequest tests
Ilya Dryomov [Thu, 21 Dec 2023 15:50:31 +0000 (16:50 +0100)]
test/librbd: refactor TestMockObjectMapDiffRequest tests

In preparation for multiple similarly configured MockTestImageCtx
objects being used in a single test, centralize their creation and add
a couple of helpers for setting expectations from a callback.

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

18 months agotest/librbd: improve TestMockObjectMapDiffRequest.InvalidStartSnap
Ilya Dryomov [Thu, 21 Dec 2023 17:08:21 +0000 (18:08 +0100)]
test/librbd: improve TestMockObjectMapDiffRequest.InvalidStartSnap

Use a range where only snap_id_start is invalid.

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

18 months agoMerge pull request #55254 from zdover23/wip-doc-2024-01-20-backport-55177-to-quincy
Anthony D'Atri [Sat, 20 Jan 2024 14:54:40 +0000 (09:54 -0500)]
Merge pull request #55254 from zdover23/wip-doc-2024-01-20-backport-55177-to-quincy

quincy: doc/radosgw: edit admin.rst "Get Bucket Rate Limit"

18 months agodoc/radosgw: edit admin.rst "Get Bucket Rate Limit" 55254/head
Zac Dover [Sun, 14 Jan 2024 23:29:23 +0000 (09:29 +1000)]
doc/radosgw: edit admin.rst "Get Bucket Rate Limit"

Edit "Get Bucket Rate Limit" in doc/radosgw/admin.rst.

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

18 months agoMerge pull request #55245 from zdover23/wip-doc-2024-01-19-backport-55168-to-quincy
Anthony D'Atri [Fri, 19 Jan 2024 14:29:00 +0000 (09:29 -0500)]
Merge pull request #55245 from zdover23/wip-doc-2024-01-19-backport-55168-to-quincy

quincy: doc/rados/operations: add EC overhead table to erasure-code.rst

18 months agoMerge pull request #55247 from zdover23/wip-doc-2024-01-19-backport-54915-to-quincy
Anthony D'Atri [Fri, 19 Jan 2024 14:26:23 +0000 (09:26 -0500)]
Merge pull request #55247 from zdover23/wip-doc-2024-01-19-backport-54915-to-quincy

quincy: doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 clie…

18 months agomgr/dashboard: get port from ssl_endpoint 55248/head
Nizamudeen A [Thu, 16 Nov 2023 18:11:18 +0000 (23:41 +0530)]
mgr/dashboard: get port from ssl_endpoint

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

18 months agoMerge pull request #54176 from rhcs-dashboard/wip-63309-quincy
Nizamudeen A [Fri, 19 Jan 2024 09:32:10 +0000 (15:02 +0530)]
Merge pull request #54176 from rhcs-dashboard/wip-63309-quincy

quincy: mgr/dashboard: fix rgw port manipulation error in dashboard

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: jliebl-git <NOT@FOUND>
18 months agoMerge pull request #53385 from rhcs-dashboard/wip-62716-quincy
Nizamudeen A [Fri, 19 Jan 2024 09:27:36 +0000 (14:57 +0530)]
Merge pull request #53385 from rhcs-dashboard/wip-62716-quincy

quincy: mgr/dashboard: remove green tick on old password field

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
18 months agodoc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw`` 55247/head
叶海丰 [Fri, 15 Dec 2023 09:05:38 +0000 (17:05 +0800)]
doc/cephfs/client-auth.rst: correct ``fs authorize cephfs1 /dir1 client.x rw``

(cherry picked from commit 223848a08f58fc20ee4afc008fabbec2d448be68)

18 months agodoc/rados/operations: add EC overhead table to erasure-code.rst 55245/head
Anthony D'Atri [Sat, 13 Jan 2024 17:48:58 +0000 (12:48 -0500)]
doc/rados/operations: add EC overhead table to erasure-code.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 9e1999c13d5cab65e88200aa2bfc5ce385d98679)

18 months agodoc/radosgw: edit admin.rst "set bucket rate limit" 55243/head
Zac Dover [Sun, 14 Jan 2024 10:23:25 +0000 (20:23 +1000)]
doc/radosgw: edit admin.rst "set bucket rate limit"

Edit "Set Bucket Rate Limit" in doc/radosgw/admin.rst.

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