]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Guillaume Abrioux [Thu, 16 Feb 2023 15:58:30 +0000 (16:58 +0100)]
Merge pull request #49868 from guits/wip-58574-quincy
quincy: ceph-volume: fix a bug in lsblk_all()
Yuri Weinstein [Thu, 16 Feb 2023 15:45:11 +0000 (07:45 -0800)]
Merge pull request #49323 from sseshasa/wip-58214-quincy
quincy: osd: Randomize osd bench buffer data before submitting to objectstore
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 15:43:12 +0000 (07:43 -0800)]
Merge pull request #49670 from vshankar/wip-58350
quincy: mds: fix scan_stray_dir not reset next.frag on each run of stray inode
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Nizamudeen A [Thu, 16 Feb 2023 10:57:58 +0000 (16:27 +0530)]
Merge pull request #49504 from rhcs-dashboard/wip-58271-quincy
quincy: mgr/dashboard: add tooltip mirroring pools table
Reviewed-by: Nizamudeen A <nia@redhat.com>
Anthony D'Atri [Thu, 16 Feb 2023 02:12:55 +0000 (21:12 -0500)]
Merge pull request #50139 from zdover23/wip-doc-2023-02-16-backport-50138-to-quincy
quincy: doc/rgw: refine "Realms" section
Zac Dover [Wed, 15 Feb 2023 23:56:53 +0000 (09:56 +1000)]
doc/rgw: refine "Realms" section
Make various syntactical and semantic improvements to "Realms" section.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
5cea2529c442cd0c5ecc25a8f3131548a71f590f )
Anthony D'Atri [Thu, 16 Feb 2023 01:56:59 +0000 (20:56 -0500)]
Merge pull request #50136 from zdover23/wip-doc-2023-02-16-backport-50119-to-quincy
quincy: doc/rgw: s/[Zz]one [Gg]roup/zonegroup/g
Yuri Weinstein [Thu, 16 Feb 2023 00:39:47 +0000 (16:39 -0800)]
Merge pull request #49673 from vshankar/wip-58347
quincy: mds: account for snapshot items when deciding to split or merge a directory
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:38:29 +0000 (16:38 -0800)]
Merge pull request #49672 from vshankar/wip-58345
quincy: mds: md_log_replay thread blocks waiting to be woken up
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:36:40 +0000 (16:36 -0800)]
Merge pull request #49633 from lxbsz/wip-58344
quincy: mds: switch submit_mutex to fair mutex for MDLog
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:34:26 +0000 (16:34 -0800)]
Merge pull request #49539 from ifed01/wip-ifed-fix-xlock-qui
quincy: mds: do not acquire xlock in xlockdone state
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:33:30 +0000 (16:33 -0800)]
Merge pull request #49473 from neesingh-rh/wip-58249-quincy
quincy: mds: avoid ~mdsdir's scrubbing and reporting damage health status
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:32:29 +0000 (16:32 -0800)]
Merge pull request #49471 from lxbsz/wip-58292
quincy: qa: switch to https protocol for repos' server
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:29:27 +0000 (16:29 -0800)]
Merge pull request #49459 from mchangir/wip-57760-quincy
quincy: qa: wait for scrub to finish
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:26:16 +0000 (16:26 -0800)]
Merge pull request #49884 from ifed01/wip-ifed-small-chunk-bluefs-qui
quincy: os/bluestore: enable 4K allocation unit for BlueFS
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:24:58 +0000 (16:24 -0800)]
Merge pull request #49465 from Matan-B/wip-matanb-quincy-revert-pg_num
quincy: Revert "mon/OSDMonitor: Make the pg_num check more accurate"
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:23:22 +0000 (16:23 -0800)]
Merge pull request #49281 from sseshasa/wip-58186-quincy
quincy: osd: Reset mClock's OSD capacity config option for inactive device type
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Thu, 16 Feb 2023 00:22:00 +0000 (16:22 -0800)]
Merge pull request #49232 from Matan-B/wip-58143-quincy
quincy: mon/MonCommands: Support dump_historic_slow_ops
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Zac Dover [Wed, 15 Feb 2023 05:05:43 +0000 (15:05 +1000)]
doc/rgw: s/[Zz]one [Gg]roup/zonegroup/g
Change all instances of "Zone Group" and "Zone group" and "zone group"
to "Zonegroup" or "zonegroup".
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
956c54b7c922adddba8dc56304636f21bb053c0e )
Laura Flores [Wed, 15 Feb 2023 22:54:14 +0000 (16:54 -0600)]
Merge pull request #49881 from ljflores/wip-58586-quincy
quincy: osd: shut down the MgrClient before osd_fast_shutdown
Ilya Dryomov [Wed, 15 Feb 2023 19:12:08 +0000 (20:12 +0100)]
Merge pull request #49197 from idryomov/wip-57902-quincy
quincy: rbd: add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots
Reviewed-by: Mykola Golub <mgolub@suse.com>
Nizamudeen A [Wed, 15 Feb 2023 10:48:36 +0000 (16:18 +0530)]
Merge pull request #47957 from rhcs-dashboard/wip-57432-quincy
quincy: mgr/dashboard: fix "can't read .ssh/known_hosts: No such file or directory
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Anthony D'Atri [Wed, 15 Feb 2023 10:07:01 +0000 (05:07 -0500)]
Merge pull request #50117 from zdover23/wip-doc-2023-02-15-backport-50108-to-quincy
quincy: doc/rgw: refine "Multi-site Config Ref" (1 of x)
Zac Dover [Tue, 14 Feb 2023 11:53:02 +0000 (21:53 +1000)]
doc/rgw: refine "Multi-site Config Ref" (1 of x)
Refine the syntax (and in some cases, the semantics) of the English in
"Multi-site Configuration Reference" in doc/radosgw/multisite.rst. This
is a long section, so more PRs are likely.
https://tracker.ceph.com/issues/58632
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
2d45a4e5e087cfd64d9e3cb5f346d24452a8742f )
Anthony D'Atri [Tue, 14 Feb 2023 20:24:07 +0000 (15:24 -0500)]
Merge pull request #50115 from cityofships/quincy_backport
quincy: doc/ceph-volume: fix cephadm references
Piotr Parczewski [Tue, 14 Feb 2023 08:12:30 +0000 (09:12 +0100)]
doc/ceph-volume: fix cephadm references
Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
(cherry picked from commit
2104d9ffdaaacb5ee0e1a0374baeac77a00bd677 )
Anthony D'Atri [Mon, 13 Feb 2023 14:47:47 +0000 (09:47 -0500)]
Merge pull request #50093 from zdover23/wip-doc-2023-02-13-backport-50086-to-quincy
quincy: doc/rgw: "Migrating Single Site to Multi-Site"
Zac Dover [Mon, 13 Feb 2023 05:35:32 +0000 (15:35 +1000)]
doc/rgw: "Migrating Single Site to Multi-Site"
Refine "Migrating Single-site System to Multi-site" in
doc/radosgw/multisite.rst.
https://tracker.ceph.com/issues/58632
Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Co-authored-by: Anthonh D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
40c82f8ef679ed6c5182765b3bf4d6e61ed2e66d )
zdover23 [Sun, 12 Feb 2023 08:13:50 +0000 (18:13 +1000)]
Merge pull request #50078 from zdover23/wip-doc-2023-02-12-backport-50077-to-quincy
quincy: doc/rgw: refine "Failover and Disaster Recovery"
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sat, 11 Feb 2023 22:04:34 +0000 (08:04 +1000)]
doc/rgw: refine "Failover and Disaster Recovery"
English grammar and syntax pass for "Failover and Disaster Recovery" in
doc/radosgw/multisite.rst.
https://tracker.ceph.com/issues/58632
Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
815359800c6885c5fd7a9dbc27e1c29295d5dbe3 )
Anthony D'Atri [Sat, 11 Feb 2023 01:05:37 +0000 (20:05 -0500)]
Merge pull request #50074 from zdover23/wip-doc-2023-02-11-backport-50066-to-quincy
quincy: doc/rgw: refine "Configuring Secondary Zones"
Zac Dover [Fri, 10 Feb 2023 02:40:01 +0000 (12:40 +1000)]
doc/rgw: refine "Configuring Secondary Zones"
English grammar and syntax pass (and some pragmatics, too, where I had
enough understanding to be helpful that way) for "Configuring Secondary
Zones" in doc/radosgw/multisite.rst.
https://tracker.ceph.com/issues/58632
Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
2c6f0ab5387dca9c4c7b09dfbc8cb3c6be1c6dab )
Aashish Sharma [Fri, 10 Feb 2023 09:33:50 +0000 (15:03 +0530)]
Merge pull request #50043 from aaSharma14/wip-58666-quincy
quincy: mgr/dashboard: Replace vonage-status-panel with native grafana stat panel
Reviewed-by: Nizamudeen A <nia@redhat.com>
Anthony D'Atri [Fri, 10 Feb 2023 06:05:38 +0000 (01:05 -0500)]
Merge pull request #50068 from zdover23/wip-doc-2023-02-10-backport-50063-to-quincy
quincy: doc/cephfs: add note about CephFS extended attributes and getfattr
Zac Dover [Thu, 9 Feb 2023 22:59:00 +0000 (08:59 +1000)]
doc/cephfs: add note about CephFS extended attributes and getfattr
Supersedes https://github.com/ceph/ceph/pull/50060
Add a note on the fact that CephFS extended attributes are not printed
by "getfattr /some/cephfs/dir/ -d -m -" even when the CephFS directory
has some extended attributes set on it.
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/6ENI42ZMHTTP2OONBRD7FDP7LQBC4P2E/
Primary Author: Rishabh Dave <ridave@redhat.com>
Co-author: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
7f23dde6bec3ef75777438f5ae16347609ca0bf4 )
Aashish Sharma [Tue, 8 Nov 2022 05:11:46 +0000 (10:41 +0530)]
mgr/dashboard: Replace vonage-status-panel with native grafana stat panel
Fixes: https://tracker.ceph.com/issues/58295
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit
3e08b81b402687c32988e6e95409fe62b9fd5162 )
Patrick Donnelly [Thu, 9 Feb 2023 00:49:02 +0000 (19:49 -0500)]
Merge PR #50035 into quincy
* refs/pull/50035/head:
doc: document debugging for libcephsqlite
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Laura Flores [Wed, 8 Feb 2023 22:25:59 +0000 (16:25 -0600)]
Merge pull request #48093 from rzarzynski/auth-rotate-quincy
quincy: mon,auth,cephadm: support auth key rotation
Laura Flores [Wed, 8 Feb 2023 17:14:02 +0000 (11:14 -0600)]
Merge pull request #49140 from ljflores/wip-58117-quincy
quincy: qa/workunits/rados: specify redirect in curl command
Anthony D'Atri [Wed, 8 Feb 2023 15:19:46 +0000 (10:19 -0500)]
Merge pull request #50031 from zdover23/wip-doc-2023-02-09-backport-50030-to-quincy
quincy: doc/rgw: refine multisite to "config 2ndary zones"
Patrick Donnelly [Mon, 15 Aug 2022 15:05:21 +0000 (11:05 -0400)]
doc: document debugging for libcephsqlite
Fixes: https://tracker.ceph.com/issues/57127
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
3eb19650bb6321ba6c1fc76086c63048fba3f5ba )
Zac Dover [Wed, 8 Feb 2023 14:32:44 +0000 (00:32 +1000)]
doc/rgw: refine multisite to "config 2ndary zones"
Refine the English in doc/radosgw/multisite.rst up to (but not
including) "Configure Secondary Zones".
https://tracker.ceph.com/issues/58632
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
c3a1770d4c9b3eebb3e58e500fc34e8ff4851b7d )
Anthony D'Atri [Wed, 8 Feb 2023 14:12:02 +0000 (09:12 -0500)]
Merge pull request #50025 from zdover23/wip-doc-2023-02-08-backport-50022-to-quincy
quincy: doc/radosgw: refine "Maintenance" in multisite.rst
Zac Dover [Wed, 8 Feb 2023 00:10:13 +0000 (10:10 +1000)]
doc/radosgw: refine "Maintenance" in multisite.rst
Refine the text in the "Maintenance" section of
doc/radosgw/multisite.rst.
https://tracker.ceph.com/issues/58632
Co-authored-by: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
85816fbca068b740362e2faaf13dc601cdd68c1c )
Guillaume Abrioux [Tue, 7 Feb 2023 15:16:02 +0000 (16:16 +0100)]
Merge pull request #49453 from guits/wip-58278-quincy
quincy: ceph-volume: fix a bug in get_all_devices_vgs()
Igor Fedotov [Tue, 7 Feb 2023 08:58:52 +0000 (11:58 +0300)]
Merge pull request #49159 from pluser/wip-58040-quincy
quincy: osd: add created_at meta
Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Anthony D'Atri [Mon, 6 Feb 2023 22:56:24 +0000 (17:56 -0500)]
Merge pull request #50008 from zdover23/wip-doc-2023-02-07-backport-49994-to-quincy
quincy: doc/rgw: refine ~50-~140 of multisite.rst
Zac Dover [Sun, 5 Feb 2023 10:54:39 +0000 (20:54 +1000)]
doc/rgw: refine ~50-~140 of multisite.rst
Remove pleonasm from approximately line 50 to line 140 of
doc/rgw/multisite.rst.
Follows https://github.com/ceph/ceph/pull/49993.
https://tracker.ceph.com/issues/58632
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
805a9baeeaaa78aa2bb6f472526cc35361c75456 )
Laura Flores [Mon, 6 Feb 2023 19:49:37 +0000 (13:49 -0600)]
Merge pull request #49698 from Matan-B/wip-matanb-quincy-mgr-packaging
quincy: mgr/prometheus: use vendored "packaging" instead
Juan Miguel Olmo [Mon, 6 Feb 2023 18:49:24 +0000 (19:49 +0100)]
Merge pull request #49877 from jmolmo/wip-58577-quincy
quincy: mgr/rook: Device inventory
Recovered device inventory list for host clusters
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
Nizamudeen A <nia@redhat.com>
Nizamudeen A [Mon, 6 Feb 2023 16:43:37 +0000 (22:13 +0530)]
Merge pull request #49727 from rhcs-dashboard/wip-58429-quincy
quincy: mgr/dashboard: backport of all accessibility changes
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: nSedrickm <NOT@FOUND>
Anthony D'Atri [Sun, 5 Feb 2023 21:34:15 +0000 (16:34 -0500)]
Merge pull request #49995 from zdover23/wip-doc-2023-02-06-backport-49993-to-quincy
quincy: doc/rgw: refine 1-50 of multisite.rst
Zac Dover [Sat, 4 Feb 2023 07:53:32 +0000 (17:53 +1000)]
doc/rgw: refine 1-50 of multisite.rst
Refine the English in the first fifty lines of multisite.rst. This is
part of a project whose goal is the creation of a document that will
impart a good aerial view of RGW to a first-time reader in the minimum
number of words.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
6721196ff129b00d9dea3515fbaaacde8f84eaea )
Yuri Weinstein [Fri, 3 Feb 2023 22:20:39 +0000 (14:20 -0800)]
Merge pull request #49196 from idryomov/wip-57066-quincy
quincy: cls/rbd: update last_read in group::snap_list
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Fri, 3 Feb 2023 22:19:58 +0000 (14:19 -0800)]
Merge pull request #49057 from idryomov/wip-52932-quincy
quincy: mgr/rbd_support: avoid wedging the task queue if pool is removed
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Fri, 3 Feb 2023 22:15:33 +0000 (14:15 -0800)]
Merge pull request #49055 from idryomov/wip-57872-quincy
quincy: librbd/cache/pwl: fix clean vs bytes_dirty cache state inconsistency
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Yuri Weinstein [Fri, 3 Feb 2023 16:30:37 +0000 (08:30 -0800)]
Merge pull request #49649 from ajarr/wip-58360-quincy
quincy: mgr/rbd_support: remove localized schedule option during module startup
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
nsedrickm [Fri, 16 Sep 2022 12:33:28 +0000 (13:33 +0100)]
mgr/dashboard: improve level AA color contrast accessibility for dashboard pages and components
Use more accessible colors for dashboard components, text and table columns
Fixes: https://tracker.ceph.com/issues/56023
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
(cherry picked from commit
f2a49717c8d368e03ebdc55f5fd43f6296120d55 )
Conflicts:
src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_basics.scss
- Accept the incoming change
nsedrickm [Sat, 23 Jul 2022 11:18:46 +0000 (12:18 +0100)]
mgr/dashboard: Improve level A accessibility for missing aria labels in tabs and listitems
Replace tab component ul and li elements with navs and ng-containers
Fixes: https://tracker.ceph.com/issues/55872
Signed-off-by: nsedrickm <nsedrick101@gmail.com>
Anthony D'Atri [Fri, 3 Feb 2023 07:53:32 +0000 (02:53 -0500)]
Merge pull request #49982 from zdover23/wip-doc-2023-02-03-backport-49981-to-quincy
quincy: doc/rgw: refine "Zones" in multisite.rst
Zac Dover [Fri, 3 Feb 2023 07:21:54 +0000 (17:21 +1000)]
doc/rgw: refine "Zones" in multisite.rst
Clean up the English under the section called "Zones". Part of a larger
project aimed at giving the reader more understanding earlier in the
documentation of how buckets and zones and zone groups and endpoints
work.
https://tracker.ceph.com/issues/58632
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
f4f5183543303bf388bd364b4e5996b39df5f592 )
Anthony D'Atri [Tue, 31 Jan 2023 20:12:26 +0000 (15:12 -0500)]
Merge pull request #49948 from zdover23/wip-doc-2023-02-01-backport-49946-to-quincy
quincy: doc/cephadm: grammar / syntax in install.rst
Piotr Parczewski [Tue, 31 Jan 2023 08:29:27 +0000 (09:29 +0100)]
doc/cephadm: grammar / syntax in install.rst
Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
(cherry picked from commit
4cc3cb9cd007c293bf61d20c05b960be2d4cd4fd )
colemitchell [Tue, 31 Jan 2023 00:55:21 +0000 (19:55 -0500)]
Merge pull request #49932 from zdover23/wip-doc-2023-01-31-backport-49913-to-quincy
quincy: doc: add the damage types that scrub can repair
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Neeraj Pratap Singh [Mon, 30 Jan 2023 14:36:20 +0000 (20:06 +0530)]
doc: add the damage types that scrub can repair
Fixes: https://tracker.ceph.com/issues/51459
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
(cherry picked from commit
87215ab3e4af1ca313376d901f285ed6348b8433 )
Yuri Weinstein [Mon, 30 Jan 2023 21:09:21 +0000 (13:09 -0800)]
Merge pull request #49083 from cfsnyder/wip-54493-quincy
quincy: rgw: fix segfault in UserAsyncRefreshHandler::init_fetch
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
zdover23 [Mon, 30 Jan 2023 04:00:00 +0000 (14:00 +1000)]
Merge pull request #49898 from zdover23/wip-doc-2023-01-27-backport-49897-to-quincy
quincy: doc/rados/operations: Fix double prompt
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Anthony D'Atri [Sun, 29 Jan 2023 16:58:08 +0000 (11:58 -0500)]
Merge pull request #49909 from zdover23/wip-doc-2023-01-29-backport-49908-to-quincy
quincy: doc/dev/developer_guide/testing_integration_tests: Add Upgrade Testin…
Matan Breizman [Thu, 12 Jan 2023 09:16:00 +0000 (09:16 +0000)]
mgr/prometheus: use vendored "packaging" instead
* Note: The cherry-pick is altered, the original commit couldn't be cherry-picked
as is since we introduced some changes in the organization of the debian dir
(ceph-mgr-modules-core.requires doesn't exist yet).
All the packages listed in main's ceph-mgr-modules-core.requires are marked
as pkg.ceph.check in P/Q debian/control.
Therefore, python3-pkg-resources is listed as <pkg.ceph.check> in debian/control.
instead of using the top-level "packaging" module, use the one
vendored by setuptools.
packaging python module provides versioning defined by PEP-440.
but python3-packaging is provided by CentOS8 powertools repo,
which is not enabled by default. and in CentOS9, this package
is provided by AppStream instead of BaseOS.
as prometheus mgr module is included by ceph-mgr-module-core,
it would be desirable if our user can install ceph-mgr-module-core
without enabling powertools or AppStream repo on a CentOS or
its derivative distros.
fortunately, setuptools vendors packaging module. and both
CentOS8 and CentOS9 provide python3-setuptools in their BaseOS
repos.
in this change, instead of using "packging" module, we use the
venderored one, which is in turn embedded in pkg_resources.
this python module is provided by python3-setuptools on CentOS
distros, and python3-pkg-resources on Debian and its derivatives
the packaging recipes are updated accordingly to reflect the
new runtime dependency.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit
cf6089200d96fc56b08ee17a4e31f19823370dc8 )
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Matan Breizman [Sun, 29 Jan 2023 09:53:37 +0000 (09:53 +0000)]
doc/dev/developer_guide/testing_integration_tests: Add Upgrade Testing Documentation
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit
c2642a97f3834875688eafc82e7e7786292df9c3 )
Igor Fedotov [Fri, 11 Nov 2022 14:31:19 +0000 (17:31 +0300)]
os/bluestore: introduce a cooldown period for failed BlueFS allocations.
When using bluefs_shared_alloc_size one might get a long-lasting state when
that large chunks are not available any more and fallback to shared
device min alloc size occurs. The introduced cooldown is intended to
prevent repetitive allocation attempts with bluefs_shared_alloc_size for
a while. The rationale is to eliminate performance penalty these failing
attempts might cause.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
e52bcc852ce51ab99138420f9069e2f59e1cb706 )
Ville Ojamo [Fri, 27 Jan 2023 10:27:51 +0000 (17:27 +0700)]
doc/rados/operations: Fix double prompt
In monitoring.rst a double prompt was rendered, one non-selectable and one selectable. Remove the selectable prompt.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
7d7282c7bdf0396f9a192badeedf66976fa01e5e )
Anthony D'Atri [Fri, 27 Jan 2023 13:53:57 +0000 (08:53 -0500)]
Merge pull request #49892 from zdover23/wip-doc-2023-01-27-backport-49890-to-quincy
quincy: doc/dev: use underscores in config vars
Anthony D'Atri [Fri, 27 Jan 2023 13:51:47 +0000 (08:51 -0500)]
Merge pull request #49895 from zdover23/wip-doc-2023-01-27-backport-49894-to-quincy
quincy: doc/rados/operations: Fix indentation
Ville Ojamo [Fri, 27 Jan 2023 09:38:25 +0000 (16:38 +0700)]
doc/rados/operations: Fix indentation
Fix invalid indentation that caused indentation to be rendered wrong in control.rst.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
f2e19d39ed303c700c6aab206a1c000c5731baeb )
Ville Ojamo [Fri, 27 Jan 2023 08:41:04 +0000 (15:41 +0700)]
doc/dev: use underscores in config vars
Use underscores instead of spaces in config vars in ceph_krb_auth.rst.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit
ed88f7f378fcb70be57351271aa19b30f81555d4 )
Yuri Weinstein [Thu, 26 Jan 2023 15:48:23 +0000 (07:48 -0800)]
Merge pull request #49084 from cfsnyder/wip-57752-quincy
quincy: rgw: log deletion status of individual objects in multi object delete request
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Igor Fedotov [Fri, 11 Nov 2022 00:17:51 +0000 (03:17 +0300)]
os/bluestore: get rid off BlueFS::allocate_without_fallback.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
62ae4e4dc68dd7fc97f9f80e4da7699ec3668d2b )
Igor Fedotov [Thu, 10 Nov 2022 22:06:15 +0000 (01:06 +0300)]
os/bluestore: support main/slow device's alloc unit for BlueFS.
This effectively enables having 4K allocation units for BlueFS.
But it doesn't turn it on by default for the sake of performance.
Using main device which lacks enough free large continuous extents
might do the trick though.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
001b08d0b755a855f19f15b84104c7eb3d367c60 )
Conflicts:
src/test/objectstore/test_bluefs.cc
(unrelated changes attempting to sneak in)
Igor Fedotov [Wed, 9 Nov 2022 14:58:52 +0000 (17:58 +0300)]
os/bluestore: output cosmetics for BlueFS
This includes finer position specification during replay
and logging read size in hex.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
e5b7ba93191ad41c4a4beae802b7e86c8febec04 )
Igor Fedotov [Wed, 9 Nov 2022 14:36:07 +0000 (17:36 +0300)]
os/bluestore: new BlueFS perf counters on compaction.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
d4a556128e2df1a495dd7897c6a1b0c66a285aa4 )
Igor Fedotov [Wed, 9 Nov 2022 13:45:03 +0000 (16:45 +0300)]
test/test_bluefs: get rid of build warning
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
228c0532d2886b7662343b68d4c27e6917e2c753 )
Igor Fedotov [Wed, 2 Nov 2022 16:39:14 +0000 (19:39 +0300)]
os/bluestore: prepend compacted BlueFS log with a starter part.
The rationale is to have initial log fnode after compaction small
enough to fit into 4K superblock. Without that compacted metadata might
require fnode longer than 4K which goes beyond existing 4K
superblock. BlueFS assert in this case for now.
Hence the resulting log allocation disposition is like:
- superblock(4K) keeps initial log fnode which refers:
op_init, op_update_inc(log), op_jump(next seq)
- updated log fnode built from superblock + above op_update_inc refers:
compacted meta (a bunch of op_update and others)
- *
- more op_update_inc(log) to follow if log is extended
- *
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
b65c780a3b524a44d0f860b0edda3baaac13c539 )
Igor Fedotov [Wed, 9 Nov 2022 02:24:00 +0000 (05:24 +0300)]
os/bluestore: introduce bluefs_fnode_t::swap method
+ minor refactoring.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
0af28582453122ccd87389261a45127d399caf7d )
Igor Fedotov [Wed, 9 Nov 2022 01:39:44 +0000 (04:39 +0300)]
os/bluestore: increment Bluefs::super.version at _write_super
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
0bfc42ac8d3586367e55e71e978d3eb4f62cf5b3 )
Igor Fedotov [Tue, 8 Nov 2022 15:16:21 +0000 (18:16 +0300)]
os/bluestore: introduce method to estimate BlueFS transaction size
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
05478fc46bc6437e8e57642a5ffdedde851f08f3 )
Igor Fedotov [Tue, 8 Nov 2022 16:21:08 +0000 (19:21 +0300)]
os/bluestore: simplify and cleanup BlueFS::_compact_log_async_...()
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
0fc0ced22c49c80dc5c0b972fd6e9465252f1909 )
Igor Fedotov [Tue, 8 Nov 2022 14:51:12 +0000 (17:51 +0300)]
os/bluestore: get rid off BlueFS::_compact_log_async_dump_metadata_NF()
We can reuse _compact_log_dump_metadata_NF() instead
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
285df4b43e8096cb1b3c9c3c5b380cad759ea52c )
Igor Fedotov [Mon, 10 Oct 2022 11:41:43 +0000 (14:41 +0300)]
os/bluestore: unify allocation functions' signature at BlueFS.
Signed-off-by: Igor Fedotov <ifedotov@croit.io>
(cherry picked from commit
bd207412f11685297aef2b54502290a1c29bc83b )
Laura Flores [Thu, 10 Nov 2022 23:25:04 +0000 (17:25 -0600)]
osd: shut down the MgrClient before osd_fast_shutdown
We should shut down the MgrClient before osd_fast_shutdown.
This approach avoids a race condition that sometimes occurs
when the MgrClient attempts to gather `pg_stats` from the database
after it has been unmounted, or when it is in the process of being
unmounted.
Fixes: https://tracker.ceph.com/issues/56101
Signed-off-by: Laura Flores <lflores@redhat.com>
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit
77ebbf580bee3bf83de0da03487b6ebb08c17d76 )
Yuri Weinstein [Wed, 25 Jan 2023 16:47:51 +0000 (08:47 -0800)]
Merge pull request #49061 from soumyakoduri/wip-skoduri-quincy
[quincy] rgw/cloud-transition: Fix issues with MCG endpoint
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Yuri Weinstein [Wed, 25 Jan 2023 16:47:10 +0000 (08:47 -0800)]
Merge pull request #48231 from ivancich/wip-57648-quincy
quincy: rgw: fix bool/int logic error when calling get_obj_head_ioctx
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Anthony D'Atri [Wed, 25 Jan 2023 16:45:31 +0000 (11:45 -0500)]
Merge pull request #49874 from zdover23/wip-doc-2023-01-26-backport-49873-to-quincy
quincy: doc/dev: add Slack to Dev Guide essentials
Juan Miguel Olmo Martínez [Thu, 6 Oct 2022 08:54:47 +0000 (10:54 +0200)]
mgr/rook: Device inventory
Recovered device inventory list for host clusters
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit
3a2a819c869ad3b0a28c5788b49358895fb9392c )
Zac Dover [Wed, 25 Jan 2023 15:57:17 +0000 (01:57 +1000)]
doc/dev: add Slack to Dev Guide essentials
Add Ceph's Slack to doc/developer_guide/essentials.rst.
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit
c3288cf5be232bded5ccd70925da2452599903ab )
Guillaume Abrioux [Thu, 1 Dec 2022 08:49:21 +0000 (09:49 +0100)]
ceph-volume: fix a bug in lsblk_all()
Rook has a specific use case where devices are copied in /mnt
If the basename (in /mnt) is different from the original device name,
then the current logic can't match it.
The idea is to append the device to the `lsblk` command and return
the result.
Fixes: https://tracker.ceph.com/issues/58137
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit
dce4d469f66124babe97dd3651f67d55e805088c )
Nizamudeen A [Tue, 24 Jan 2023 04:56:33 +0000 (10:26 +0530)]
Merge pull request #48934 from s0nea/wip-58043-quincy
quincy: ceph-mixing: fix ceph_hosts variable
Reviewed-by: Pegonzal <NOT@FOUND>
Anthony D'Atri [Mon, 23 Jan 2023 14:19:00 +0000 (09:19 -0500)]
Merge pull request #49832 from zdover23/wip-doc-2023-01-23-backport-49778-to-quincy
quincy: doc/rados: refine ceph-conf.rst
zdover23 [Mon, 23 Jan 2023 11:51:37 +0000 (21:51 +1000)]
Merge pull request #49821 from zdover23/wip-doc-2023-01-21-backport-49820-to-quincy
quincy: doc/rados: refine pool-pg-config-ref.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Zac Dover [Wed, 18 Jan 2023 06:11:28 +0000 (16:11 +1000)]
doc/rados: refine ceph-conf.rst
Correct grammar and usage in ceph-conf.rst.
https://tracker.ceph.com/issues/58485
Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit
dfb0b4a6ad233ad410ab5952a6a3db89c46cc0aa )