]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
22 months agodebian: specify a dependency on python3 for cephadm
Matthew Vernon [Wed, 20 Sep 2023 15:30:24 +0000 (16:30 +0100)]
debian: specify a dependency on python3 for cephadm

cephadm is a compressed zipapp, and dh3_python3 doesn't understand
this sort of binary file, so fails to produce the required python3
dependency. So specify this explicitly in debian/control

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian: remove obsolete ceph-base.docs, restore dh_installdocs
Matthew Vernon [Wed, 20 Sep 2023 15:23:52 +0000 (16:23 +0100)]
debian: remove obsolete ceph-base.docs, restore dh_installdocs

debian/ceph-base.docs only referred to a README that doesn't exist, so
remove it. Because dpkg-source doesn't reflect deletions from debian/
cf the orig.tar.gz, also remove the file in dh_auto_clean.

Then do away with the removal of the empty override of dh_installdocs;
the main benefit of which here is that debian/copyright gets installed
in all of the built packages, which otherwise lack a copyright
file.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian: correct maintainer address
Matthew Vernon [Wed, 20 Sep 2023 15:15:54 +0000 (16:15 +0100)]
debian: correct maintainer address

This means that debian/control matches changelog entries, and that the
Maintainer address is up to date.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian: dh compat to 12, necessary init/systemd adjustments
Matthew Vernon [Wed, 20 Sep 2023 15:13:43 +0000 (16:13 +0100)]
debian: dh compat to 12, necessary init/systemd adjustments

Bring the dh compat level to 12, the most recent supported by the
oldest supported Ubuntu LTS release, 20.04. This necessitates changes
to how initscripts & systemd packaging are done.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian/copyright: update syntax, maintainer, add license stanzas
Matthew Vernon [Wed, 20 Sep 2023 12:27:15 +0000 (13:27 +0100)]
debian/copyright: update syntax, maintainer, add license stanzas

Update the header paragraph to link to the canonical URL for the
format, and point to dev@ceph.io as the Contact.

Also add License: stanzas to reflect the licences in use (and refer to
fuller versions in /usr/share/common-licenses/ as appropriate).

This means that packages containing this copyright file are better in
compliance with the licences concerned.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian: add missing item separators in debian/control
Matthew Vernon [Mon, 11 Sep 2023 15:52:49 +0000 (16:52 +0100)]
debian: add missing item separators in debian/control

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian: remove {Build-,}Depends on essential packages
Matthew Vernon [Mon, 11 Sep 2023 15:49:19 +0000 (16:49 +0100)]
debian: remove {Build-,}Depends on essential packages

Unless there's a version requirement (which there isn't here),
packages should not declare a Build-Depends: or Depends: relationship
on essential packages. Policy link:

https://www.debian.org/doc/debian-policy/ch-binary.html#dependencies

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian: specify interpreters for ceph-mon and ceph-osd postinsts
Matthew Vernon [Mon, 11 Sep 2023 15:48:17 +0000 (16:48 +0100)]
debian: specify interpreters for ceph-mon and ceph-osd postinsts

These were previously missing. The requirement for interpreters is in
Debian policy section 10.4:
https://www.debian.org/doc/debian-policy/ch-files.html#s-scripts

Debian's packaging already adds the #! to these two postinsts. In
practice, a text executible without a #! line will likely be executed
by the calling shell, so a lot of the time we'd get away with it
unless the administrator is using an incompatible shell like tcsh.

This behaviour of shells is documented in POSIX section 1(e)(i)(b)
here:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_01_01

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agodebian: Build-Depend on g++ 11 or greater
Matthew Vernon [Wed, 20 Sep 2023 16:43:30 +0000 (17:43 +0100)]
debian: Build-Depend on g++ 11 or greater

Rely on the packaging system to provide a suitable g++ of version 11
or greater, and removing the corresponding hard-coding from
debian/rules, since cmake will then find a suitable version. This
seems better than trying to hard-code a particular version in
debian/rules, and Debian package building tools like e.g. sbuild will
then do the right thing.

This enables Reef (v18.2.0) to build on Debian bookworm in a clean
chroot.

Fixes: https://tracker.ceph.com/issues/61845
Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
22 months agoMerge pull request #52708 from vshankar/wip-62236
Adam King [Mon, 11 Sep 2023 14:56:20 +0000 (10:56 -0400)]
Merge pull request #52708 from vshankar/wip-62236

qa: move nfs (mgr/nfs) related tests to fs suite

Reviewed-by: Adam King <adking@redhat.com>
22 months agoMerge pull request #53343 from markhpc/wip-rocksdb-compression
Mark Nelson [Mon, 11 Sep 2023 14:55:20 +0000 (09:55 -0500)]
Merge pull request #53343 from markhpc/wip-rocksdb-compression

common/options: Set LZ4 compression for bluestore RocksDB.

22 months agoMerge pull request #53072 from adk3798/tcmu-custom-configs
Adam King [Mon, 11 Sep 2023 14:30:06 +0000 (10:30 -0400)]
Merge pull request #53072 from adk3798/tcmu-custom-configs

cephadm: make custom_configs work for tcmu-runner container

Reviewed-by: John Mulligan <jmulligan@redhat.com>
22 months agoMerge pull request #53252 from adk3798/no-tags-upgrade-ls
Adam King [Mon, 11 Sep 2023 14:28:38 +0000 (10:28 -0400)]
Merge pull request #53252 from adk3798/no-tags-upgrade-ls

mgr/cephadm: don't use image tag in orch upgrade ls

Reviewed-by: John Mulligan <jmulligan@redhat.com>
22 months agoMerge pull request #53297 from phlogistonjohn/jjm-logging
Adam King [Mon, 11 Sep 2023 14:27:05 +0000 (10:27 -0400)]
Merge pull request #53297 from phlogistonjohn/jjm-logging

cephadm: move logging configuration into cephadmlib

Reviewed-by: Adam King <adking@redhat.com>
22 months agoMerge pull request #53081 from kchheda3/wip-add-log
Yuval Lifshitz [Mon, 11 Sep 2023 14:22:51 +0000 (17:22 +0300)]
Merge pull request #53081 from kchheda3/wip-add-log

rgw/notification: enrich the expired notification log line for persistent notificatio

reviewed-by: thotz, yuvalif

22 months agoMerge pull request #53009 from kchheda3/wip-bucket-stats-notification
Yuval Lifshitz [Mon, 11 Sep 2023 14:22:17 +0000 (17:22 +0300)]
Merge pull request #53009 from kchheda3/wip-bucket-stats-notification

rgw/notification: Publish notification information in bucket stats

reviewed-by: yuvalif

22 months agoMerge pull request #53073 from kchheda3/wip-filter-noti-uid
Yuval Lifshitz [Mon, 11 Sep 2023 14:21:47 +0000 (17:21 +0300)]
Merge pull request #53073 from kchheda3/wip-filter-noti-uid

rgw/notification: Filter topic list based on uid

reviewed-by: yuvalif

22 months agoMerge pull request #53383 from zdover23/wip-doc-2023-09-11-glossary-ceph-client-link
Anthony D'Atri [Mon, 11 Sep 2023 13:53:53 +0000 (09:53 -0400)]
Merge pull request #53383 from zdover23/wip-doc-2023-09-11-glossary-ceph-client-link

doc/glossary: link to "ceph clients" from entry

22 months agoMerge pull request #53246 from rhcs-dashboard/subvolumes-in-subvolumegroups
Nizamudeen A [Mon, 11 Sep 2023 12:53:22 +0000 (18:23 +0530)]
Merge pull request #53246 from rhcs-dashboard/subvolumes-in-subvolumegroups

mgr/dashboard: display the groups in cephfs subvolume tab

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53323 from rhcs-dashboard/rgw-port-error
Nizamudeen A [Mon, 11 Sep 2023 11:56:02 +0000 (17:26 +0530)]
Merge pull request #53323 from rhcs-dashboard/rgw-port-error

mgr/dashboard: fix rgw port manipulation error in dashboard

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
22 months agoMerge pull request #53389 from alvinowyong/wip-doc-remove-ec-profile-warning
zdover23 [Mon, 11 Sep 2023 10:05:20 +0000 (20:05 +1000)]
Merge pull request #53389 from alvinowyong/wip-doc-remove-ec-profile-warning

doc/rados/operations: Add manual CRUSH rule remove warning to erasure-code-profile.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
22 months agodoc: Add warning on manual CRUSH rule removal 53389/head
Alvin Owyong [Mon, 11 Sep 2023 09:15:15 +0000 (17:15 +0800)]
doc: Add warning on manual CRUSH rule removal

Add warning for "osd erasure-code-profile rm" section under rados/operations.

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
22 months agoMerge pull request #53071 from rhcs-dashboard/disable-features-rbd-edit
Nizamudeen A [Mon, 11 Sep 2023 08:27:28 +0000 (13:57 +0530)]
Merge pull request #53071 from rhcs-dashboard/disable-features-rbd-edit

mgr/dashboard: images -> edit -> disable checkboxes for layering and deef-flatten

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agomgr/dashboard: CephFS add groups in subvolume tab 53246/head
Pedro Gonzalez Gomez [Thu, 31 Aug 2023 23:54:28 +0000 (01:54 +0200)]
mgr/dashboard: CephFS add groups in subvolume tab

Adds subvolume groups into the subvolume tabs in order to select the subvolumes from the appropiate group.
Also adds the capabilities to manage the subvolume groups of the subvolume in the different actions, create, edit, remove.

Fixes: https://tracker.ceph.com/issues/62675
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
22 months agodoc/glossary: link to "ceph clients" from entry 53383/head
Zac Dover [Mon, 11 Sep 2023 05:18:40 +0000 (15:18 +1000)]
doc/glossary: link to "ceph clients" from entry

Link to the "Ceph Clients" section of doc/architecture.rst from the
"Ceph Clients" entry in the glossary. A glossary entry should be a short
summary of the topic with which it deals, and it should direct the
reader to further and more detailed reading if the reader is interested.
This does that.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53236 from rhcs-dashboard/subvolume-size-validator-fix
Nizamudeen A [Mon, 11 Sep 2023 04:35:52 +0000 (10:05 +0530)]
Merge pull request #53236 from rhcs-dashboard/subvolume-size-validator-fix

mgr/dashboard: add validator for size field in the forms

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
22 months agoMerge pull request #53371 from zdover23/wip-doc-2023-09-11-architecture-2-of-x
Anthony D'Atri [Sun, 10 Sep 2023 17:38:53 +0000 (13:38 -0400)]
Merge pull request #53371 from zdover23/wip-doc-2023-09-11-architecture-2-of-x

doc/architecture.rst - edit a sentence

22 months agodoc/architecture.rst - edit a sentence 53371/head
Zac Dover [Sun, 10 Sep 2023 16:31:30 +0000 (02:31 +1000)]
doc/architecture.rst - edit a sentence

Change the sentence structure of a sentence because the verb
"experience" looked like the abstract noun "experience" when I read it
with fresh eyes. I chose the perhaps TESOL-unfriendly verb "incur", but
I believe it is right.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53353 from zdover23/wip-doc-2023-09-10-architecture-1-of-x
zdover23 [Sun, 10 Sep 2023 11:43:44 +0000 (21:43 +1000)]
Merge pull request #53353 from zdover23/wip-doc-2023-09-10-architecture-1-of-x

doc/architecture.rst - edit up to "Cluster Map"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agodoc/architecture.rst - edit up to "Cluster Map" 53353/head
Zac Dover [Sun, 10 Sep 2023 03:10:09 +0000 (13:10 +1000)]
doc/architecture.rst - edit up to "Cluster Map"

Edit doc/architecture.rst up to "Cluster Map", but not including
"Cluster Map".

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53341 from alvinowyong/wip-doc-create-osd-warning
Anthony D'Atri [Sat, 9 Sep 2023 20:08:59 +0000 (16:08 -0400)]
Merge pull request #53341 from alvinowyong/wip-doc-create-osd-warning

doc/cephadm/services: Add package conflict warning to osd.rst

22 months agoMerge PR #53331 into main
Patrick Donnelly [Sat, 9 Sep 2023 14:50:22 +0000 (10:50 -0400)]
Merge PR #53331 into main

* refs/pull/53331/head:
Revert "Revert "Merge PR #53077 into main""

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
22 months agoMerge pull request #53334 from zdover23/wip-doc-2023-09-08-README-md-test-cluster...
zdover23 [Sat, 9 Sep 2023 11:14:31 +0000 (21:14 +1000)]
Merge pull request #53334 from zdover23/wip-doc-2023-09-08-README-md-test-cluster-commands

doc: update test cluster commands in README.md

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #53335 from zdover23/wip-doc-2023-09-08-rados-config-mon-config...
zdover23 [Sat, 9 Sep 2023 01:45:35 +0000 (11:45 +1000)]
Merge pull request #53335 from zdover23/wip-doc-2023-09-08-rados-config-mon-config-ref-background

doc/configuration: edit "bg" in mon-config-ref.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #52539 from Matan-B/wip-matanb-61820
Laura Flores [Fri, 8 Sep 2023 22:12:53 +0000 (18:12 -0400)]
Merge pull request #52539 from Matan-B/wip-matanb-61820

ceph_mon: Fix MonitorDBStore usage

22 months agoMerge pull request #52485 from ifed01/wip-ifed-fix-btree-allocator
Laura Flores [Fri, 8 Sep 2023 22:11:13 +0000 (18:11 -0400)]
Merge pull request #52485 from ifed01/wip-ifed-fix-btree-allocator

os/bluestore: fix btree allocator

22 months agoMerge pull request #52211 from rzarzynski/wip-crimson-ec-classical-refactor
Laura Flores [Fri, 8 Sep 2023 22:10:54 +0000 (18:10 -0400)]
Merge pull request #52211 from rzarzynski/wip-crimson-ec-classical-refactor

osd: dissect and abstract RMWPipeline from ECBackend for sharing it with crimson

22 months agoMerge pull request #52121 from cbodley/wip-blkdev-nodiscard
Laura Flores [Fri, 8 Sep 2023 22:10:33 +0000 (18:10 -0400)]
Merge pull request #52121 from cbodley/wip-blkdev-nodiscard

blkdev: fix nodiscard warning in get_device_metadata()

22 months agodocs: update warning message 53341/head
Alvin Owyong [Fri, 8 Sep 2023 17:21:42 +0000 (01:21 +0800)]
docs: update warning message

truncated warning message according to comments

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
22 months agodocs: add warning about potential package conflict
Alvin Owyong [Fri, 8 Sep 2023 16:25:04 +0000 (00:25 +0800)]
docs: add warning about potential package conflict

Add warning for "creating new osds" section under cephadm services.

Signed-off-by: Alvin Owyong <70066269+alvinowyong@users.noreply.github.com>
22 months agocommon/options: Set LZ4 compression for bluestore RocksDB. 53343/head
Mark Nelson [Fri, 8 Sep 2023 14:08:43 +0000 (09:08 -0500)]
common/options: Set LZ4 compression for bluestore RocksDB.

In the fall of 2022, we tested LZ4 RocksDB compression in bluestore on
NVMe backed OSDs here:

https://ceph.io/en/news/blog/2022/rocksdb-tuning-deep-dive/

Since then, we've gotten feedback from users in the field testing
compression with extremely positive results.  Clyso has also worked with
a customer that has a large RGW deployment that has seen extremely positive
results.

Advantages of using compression
===============================

1) Significantly lower write amplification and space amplifcation.

In the article above, we saw a 4X reduction in space usage in RocksDB when
writing very small (4KB) objects to RGW.  On a real production cluster with
1.3 billion objects, Clyso observed a space usage reduction closer to 2.2X
which was still a substantial improvement.  This win is important in
multiple cluster configurations:

1A) Pure HDD

Pure HDD clusters are often seek limited under load.  This directly impacts
how quickly RocksDB can write data out, which can increase compaction times.

1B) Hybrid Clusters (HDD Block + Flash DB/WAL)

In this configuration, spillover to the HDD can become a concern when
there isn't enough space on the flash devices to hold all RocksDB
SST files for all of the assoicated OSDs on flash.  Compression has
dramatic effect on being able to store all SST files in flash and avoid
spillover.

1C) Pure Flash based clusters

A primary concern for pure flash based clusters is write-amplificaiton
and eventual wear out of the flash under write-intensive scenarios.
RocksDB compression not only reduces space-amplification but also
write-amplification.  That means lower wear on the flash cells and
longer flash life.

2) Reduced Compaction Times

The customer cluster that Clyso worked with utilized an HDD-only
configuration.  Prior to utilizing RocksDB Compaction, this cluster
could take up to several days to complete a manual compaction of a given
OSD during live operation.  Enabling LZ4 compression in RocksDB reduced
manual compaction time to closer to 25-30 minutes, with ~2 hours being
the longest manual compaction time observed.

Potential Disadvantages of RocksDB comppression
===============================================

1) Increased CPU usage

While there is CPU usage overhead associated with utilizing compression,
the effect appeared to be negligable, even on an NVMe backed cluster.
Despite restricting NVMe OSDs to 2 cores so that they were extremely
CPU bound during PUT operations, enabling compression had no notable
effect on PUT performance.

2) Lower GET throughput on NVMe

We noticed a very slight performance hit for GETs on NVMe backed
clusters during GET operations, though the effect was primarily observed
when using Snappy compression and not LZ4 compression.  LZ4 GET
performance was very close to performance with RocksDB uncompressed.

3) Other performance impact

Potential other concerns might include lower performance during
iteration or other actions, however I expect this to be unlikely.
RocksDB typically performs best when it can read data from SST files in
large chunks and then work from the block cache.  Large readahead values
tend to be a win, either to read data into the block cache or so that
data can be read quickly from the kernel page cache.  As far as I can
tell, compression is not having a negative impact here and in fact may be
helping in cases where the disk is already quite busy.  In general, we
are already completely dependent on our own in-memory caches for things like
bluestore onodes to achieve high performance on NVMe backed OSDs.

More importantly, the goal on 16.2.13+ should be to reduce the overehad
of iterating over tombstones, and our primary method to do this right
now is to issue compactions on iteration when too many tombstones are
encountered.  Reducing the impact of compaction directly benefits this
goal.

Why LZ4 Compression?

Snappy and LZ4 compression are both potential default options.  Ceph
previously had a bug related to LZ4 compression that could corrupt data,
so on the surface it might be tempting to default to using snappy
compression.  There are several reasons why I believe we should use LZ4
compression by default however.

1) The LZ4 bug is fixed, and there have been no reports of issues since
the fix was put in place.

2) The Google developers have made changes to Snappy's build system that
impacts Ceph.  Many distributions are working around these changes, but
the Google developers have explicitly stated that they plan to only
support google specific use cases:

"We are unlikely to accept contributions to the build configuration
files, such as CMakeLists.txt. We are focused on maintaining a build
configuration that allows us to test that the project works in a few
supported configurations inside Google. We are not currently interested
in supporting other requirements, such as different operating systems,
compilers, or build systems."

https://github.com/google/snappy/blob/main/README.md#contributing-to-the-snappy-project

3) LZ4 compression showed less of a performance impact during RGW 4KB
object gets versus Snappy.  Snappy showed no performance gains vs LZ4 in
any of the other tests nor did it appear to show a meaningful
compression advantage.

Impact on existing clusters
===========================

Enabling/Disabling compression in RocksDB will require an OSD restart,
but otherwise does not require user action.  SST files will gradually be
compressed over time as part of the compaction process.  A manual
compaction can be issued to help accelerate this process.  The same goes
if users would like to disable compression.  New uncompressed SST files
will be written over time as part of the compaction process, and a
manual compaction can be issued to accelerate this process.

Conclusion
==========

In general, enabling RocksDB compression in bluestore appears to be a
dramatic win.  I would like to make this our default behavior for Squid
going forward assuming no issues are uncovered during teuthology testing.

Signed-off-by: Mark Nelson <mark.nelson@clyso.com>
22 months agoMerge pull request #51889 from idryomov/wip-61505
Ilya Dryomov [Fri, 8 Sep 2023 14:19:05 +0000 (16:19 +0200)]
Merge pull request #51889 from idryomov/wip-61505

qa/suites/upgrade: enable default RBD image features

Reviewed-by: Mykola Golub <mgolub@suse.com>
22 months agodoc/configuration: edit "bg" in mon-config-ref.rst 53335/head
Zac Dover [Fri, 8 Sep 2023 11:53:51 +0000 (21:53 +1000)]
doc/configuration: edit "bg" in mon-config-ref.rst

Edit the English in the section "Background" in
doc/rados/configuration/mon-config-ref.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agodoc: update test cluster commands in README.md 53334/head
Zac Dover [Fri, 8 Sep 2023 11:00:38 +0000 (21:00 +1000)]
doc: update test cluster commands in README.md

The "rbd" pool has not been created by default since Luminous. This
commit removes a command that assumed the existence of the "rbd" pool.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoRevert "Revert "Merge PR #53077 into main"" 53331/head
Venky Shankar [Fri, 8 Sep 2023 08:41:13 +0000 (14:11 +0530)]
Revert "Revert "Merge PR #53077 into main""

This reverts commit af4558f0ac3b0dc23a8b3cbba63b9c8acc498ea4.

Fixes: http://tracker.ceph.com/issues/62482
Signed-off-by: Venky Shankar <vshankar@redhat.com>
22 months agoMerge pull request #53244 from rhcs-dashboard/fix-62665-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 08:21:26 +0000 (10:21 +0200)]
Merge pull request #53244 from rhcs-dashboard/fix-62665-main

mgr/dashboard: Object gateway sync status cards keeps loading when multisite is not configured

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53239 from rhcs-dashboard/fix-62565-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 07:02:37 +0000 (09:02 +0200)]
Merge pull request #53239 from rhcs-dashboard/fix-62565-main

mgr/dashboard: Object gateway inventory card incorrect Buckets and user count

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53272 from rhcs-dashboard/fix-62684-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 06:59:20 +0000 (08:59 +0200)]
Merge pull request #53272 from rhcs-dashboard/fix-62684-main

mgr/dashboard: replace sync progress bar with last synced timestamp in rgw multisite sync status card

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #53248 from rhcs-dashboard/fix-62677-main
Pedro Gonzalez Gomez [Fri, 8 Sep 2023 06:56:40 +0000 (08:56 +0200)]
Merge pull request #53248 from rhcs-dashboard/fix-62677-main

mgr/dashboard: rgw multisite topology view shows blank table for multisite entities

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agoMerge pull request #52866 from ivancich/wip-bad-multiparts-listing
J. Eric Ivancich [Thu, 7 Sep 2023 16:50:12 +0000 (12:50 -0400)]
Merge pull request #52866 from ivancich/wip-bad-multiparts-listing

rgw: when there are a large number of multiparts, the unorder list result may miss objects

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
22 months agoMerge pull request #51071 from ivancich/wip-versioned-reindex
J. Eric Ivancich [Thu, 7 Sep 2023 16:43:59 +0000 (12:43 -0400)]
Merge pull request #51071 from ivancich/wip-versioned-reindex

rgw: reindex of objects in versioned buckets

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #52197 from imtzw/rm_op_ret
J. Eric Ivancich [Thu, 7 Sep 2023 16:41:37 +0000 (12:41 -0400)]
Merge pull request #52197 from imtzw/rm_op_ret

rgw: remove useless op ret assign

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #52198 from ceph/wip-nitzan-ceph-dencoder-rgw-extend-types-available
J. Eric Ivancich [Thu, 7 Sep 2023 16:40:42 +0000 (12:40 -0400)]
Merge pull request #52198 from ceph/wip-nitzan-ceph-dencoder-rgw-extend-types-available

ceph-dencoder: RGW - Add missing types

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #52684 from RickyMaRui/fix-2-null-versionID
J. Eric Ivancich [Thu, 7 Sep 2023 16:39:30 +0000 (12:39 -0400)]
Merge pull request #52684 from RickyMaRui/fix-2-null-versionID

rgw: fix 2 null versionID after convert_plain_entry_to_versioned

Reviewed-by: Casey Bodley <cbodley@redhat.com>
22 months agoMerge pull request #53027 from ivancich/wip-add-versioning-to-stats
J. Eric Ivancich [Thu, 7 Sep 2023 16:36:10 +0000 (12:36 -0400)]
Merge pull request #53027 from ivancich/wip-add-versioning-to-stats

rgw: add versioning status during `radosgw-admin bucket stats`

Reviewed-by: Adam Emerson <aemerson@redhat.com>
22 months agoMerge pull request #53265 from yuvalif/wip-yuval-fix-62449
Yuval Lifshitz [Thu, 7 Sep 2023 15:25:08 +0000 (18:25 +0300)]
Merge pull request #53265 from yuvalif/wip-yuval-fix-62449

test/cls_2pc_queue: fix race condition with producers

Reviewed-by: ljflores mattbenjamin
22 months agoMerge pull request #53079 from rishabh-d-dave/ior-make-failures
Rishabh Dave [Thu, 7 Sep 2023 14:46:44 +0000 (20:16 +0530)]
Merge pull request #53079 from rishabh-d-dave/ior-make-failures

qa/cephfs: fix ior project build failure

Reviewed-by: Venky Shankar <vshankar@redhat.com>
22 months agoMerge pull request #41779 from rishabh-d-dave/fs-auth-subcmd
Rishabh Dave [Thu, 7 Sep 2023 13:09:58 +0000 (18:39 +0530)]
Merge pull request #41779 from rishabh-d-dave/fs-auth-subcmd

mon,osd,mds: allow fs authorize to update caps

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
22 months agosubmodule: update ceph-object-corpus submodule 52198/head
NitzanMordhai [Thu, 7 Sep 2023 05:56:55 +0000 (05:56 +0000)]
submodule: update ceph-object-corpus submodule

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
22 months agoMerge pull request #53321 from rishabh-d-dave/fix-mon-fscmds
Rishabh Dave [Thu, 7 Sep 2023 09:21:42 +0000 (14:51 +0530)]
Merge pull request #53321 from rishabh-d-dave/fix-mon-fscmds

mon/FSCommands: fix variable names and function names in calls

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agomgr/dashboard: fix rgw port manipulation error in dashboard 53323/head
Nizamudeen A [Thu, 7 Sep 2023 08:15:00 +0000 (13:45 +0530)]
mgr/dashboard: fix rgw port manipulation error in dashboard

Fixes: https://tracker.ceph.com/issues/62735
Signed-off-by: Nizamudeen A <nia@redhat.com>
22 months agoceph-dencoder: Add missing rgw types to ceph-dencoder for accurate encode-decode...
NitzanMordhai [Sun, 25 Jun 2023 08:41:55 +0000 (08:41 +0000)]
ceph-dencoder: Add missing rgw types to ceph-dencoder for accurate encode-decode comparison

Currently, ceph-dencoder lacks certain rgw types, preventing us from accurately checking the ceph corpus for encode-decode mismatches.
This pull request aims to address this issue by adding the missing types to ceph-dencoder.

To successfully incorporate these types into ceph-dencoder, we need to introduce the necessary `dump` and `generate_test_instances`
functions that was missing in some types. These functions are essential for proper encode and decode of the added types.

This PR will enhance the functionality of ceph-dencoder by including the missing types, enabling a comprehensive analysis of encode-decode consistency.
With the addition of these types, we can ensure the robustness and correctness of the ceph corpus.

This update will significantly contribute to improving the overall reliability and accuracy of ceph-dencoder.
It allows for a more comprehensive assessment of the encode-decode behavior, leading to enhanced data integrity and stability within the ceph ecosystem.

Fixes: https://tracker.ceph.com/issues/61788
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
22 months agoMerge pull request #43804 from orozery/remove-crypto-image-dispatch
Ilya Dryomov [Thu, 7 Sep 2023 07:51:39 +0000 (09:51 +0200)]
Merge pull request #43804 from orozery/remove-crypto-image-dispatch

librbd: remove crypto image dispatch

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agosrc/test: fix test_bluefs.cc 53321/head
Rishabh Dave [Thu, 7 Sep 2023 05:54:47 +0000 (11:24 +0530)]
src/test: fix test_bluefs.cc

BlueFS.add_block_device() doesn't accept an integer in parameters.

Introduced-by: 3cc75e8670d4fb43062ce41744262f858116f764
Fixes: https://tracker.ceph.com/issues/62734
Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agomon/FSCommands: fix variable names and function names in calls
Rishabh Dave [Wed, 6 Sep 2023 22:16:39 +0000 (03:46 +0530)]
mon/FSCommands: fix variable names and function names in calls

PR #51942 today and PR #52409 was merged last week. Latter PR changed
"fs" to "fsp" and made mds_map and fscid private and introduced
get_mds_map() and get_fsicd() methods instead.

Combination of former and latter PR introduced compilation errors & made
it impossible to build the binaries on the latest main branch. This
commit attemps to fix this issue.

Fixes: https://tracker.ceph.com/issues/62729
Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agoqa/cephfs: CephFSTestCase.create_client() must keyring 41779/head
Rishabh Dave [Sun, 30 Jul 2023 17:27:37 +0000 (22:57 +0530)]
qa/cephfs: CephFSTestCase.create_client() must keyring

Replace call to run_ceph_cmd() by call to get_ceph_cmd_stdout() in
method qa.tasks.cephfs.cephfs_test_case.CephFSTestCase.create_client().
run_ceph_cmd() will not return keyring which is wrong.
get_ceph_cmd_stdout() will return the stdout of "ceph auth add"
command, which is the keyring that is expected to be returned by
CephFSTestCase.create_client().

Fixes: https://tracker.ceph.com/issues/62246
Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agodoc/cephfs: add doc for fs authorize since it can now also update caps
Rishabh Dave [Thu, 30 Mar 2023 19:34:24 +0000 (01:04 +0530)]
doc/cephfs: add doc for fs authorize since it can now also update caps

Signed-off-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #53310 from ronen-fr/wip-rf-hour
Ronen Friedman [Thu, 7 Sep 2023 04:49:12 +0000 (07:49 +0300)]
Merge pull request #53310 from ronen-fr/wip-rf-hour

osd/scrub: fixing the length of a day

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
22 months agoMerge pull request #52519 from batrick/mds-stray-space
Rishabh Dave [Wed, 6 Sep 2023 20:45:03 +0000 (02:15 +0530)]
Merge pull request #52519 from batrick/mds-stray-space

mds: remove stray space

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #52518 from batrick/i62057
Rishabh Dave [Wed, 6 Sep 2023 20:44:09 +0000 (02:14 +0530)]
Merge pull request #52518 from batrick/i62057

mds: add event for batching getattr/lookup

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #52823 from athanatos/sjust/wip-62338
Laura Flores [Wed, 6 Sep 2023 18:17:12 +0000 (14:17 -0400)]
Merge pull request #52823 from athanatos/sjust/wip-62338

osd: ensure async recovery does not drop a pg below min_size

22 months agoMerge pull request #50056 from rzarzynski/wip-osd-unused-msg-includes
Laura Flores [Wed, 6 Sep 2023 18:16:51 +0000 (14:16 -0400)]
Merge pull request #50056 from rzarzynski/wip-osd-unused-msg-includes

osd: drop includes of messages that are not longer used in OSD.cc

22 months agoMerge pull request #52628 from rzarzynski/wip-ec-static_encode_and_write
Laura Flores [Wed, 6 Sep 2023 17:18:39 +0000 (13:18 -0400)]
Merge pull request #52628 from rzarzynski/wip-ec-static_encode_and_write

osd: make encode_and_write() in ECTransaction.cc static

22 months agoMerge pull request #50948 from ideepika/wip-tracing-debug-quincy
Laura Flores [Wed, 6 Sep 2023 17:18:18 +0000 (13:18 -0400)]
Merge pull request #50948 from ideepika/wip-tracing-debug-quincy

src/common: add debug logs to opentelementry tracing

22 months agoMerge pull request #50325 from ifed01/wip-ifed-reserved-by-bluefs
Laura Flores [Wed, 6 Sep 2023 17:17:57 +0000 (13:17 -0400)]
Merge pull request #50325 from ifed01/wip-ifed-reserved-by-bluefs

os/bluestore: make BlueFS an exclusive selector for volume reserved

22 months agoMerge pull request #49872 from rzarzynski/wip-peering-state-waitdeletereserved-typo
Laura Flores [Wed, 6 Sep 2023 17:17:40 +0000 (13:17 -0400)]
Merge pull request #49872 from rzarzynski/wip-peering-state-waitdeletereserved-typo

osd: fix typo in WaitDeleteReserved's name

22 months agoMerge pull request #53300 from zdover23/wip-doc-2023-09-06-rados-operations-pools...
zdover23 [Wed, 6 Sep 2023 16:10:48 +0000 (02:10 +1000)]
Merge pull request #53300 from zdover23/wip-doc-2023-09-06-rados-operations-pools-bulk-flag

doc/rados: add bulk flag to pools.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #53314 from zdover23/wip-doc-2023-09-07-man-radosgw-bucket-radoslist
zdover23 [Wed, 6 Sep 2023 16:06:18 +0000 (02:06 +1000)]
Merge pull request #53314 from zdover23/wip-doc-2023-09-07-man-radosgw-bucket-radoslist

doc/man: radosgw-admin.rst typo

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
22 months agoMerge pull request #51942 from trociny/wip-61599
Rishabh Dave [Wed, 6 Sep 2023 14:56:33 +0000 (20:26 +0530)]
Merge pull request #51942 from trociny/wip-61599

mds: optionally forbid to use standby for another fs as last resort

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
22 months agoMerge pull request #53273 from petrutlucian94/enable_shared
Ilya Dryomov [Wed, 6 Sep 2023 14:30:48 +0000 (16:30 +0200)]
Merge pull request #53273 from petrutlucian94/enable_shared

win32_build.sh: use ENABLE_SHARED=ON by default

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
22 months agodoc/man: radosgw-admin.rst typo 53314/head
Zac Dover [Wed, 6 Sep 2023 14:23:06 +0000 (00:23 +1000)]
doc/man: radosgw-admin.rst typo

Edit the text in the "bucket radoslist" entry.

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agodoc/rados: add bulk flag to pools.rst 53300/head
Zac Dover [Wed, 6 Sep 2023 06:14:42 +0000 (16:14 +1000)]
doc/rados: add bulk flag to pools.rst

Add a link in pools.rst to the section in placement-groups.rst
describing the commands used to manage pools that are flagged "--bulk".

Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agorgw/notification: Publish notification information in bucket stats 53009/head
kchheda3 [Tue, 15 Aug 2023 18:53:16 +0000 (00:23 +0530)]
rgw/notification: Publish notification information in bucket stats

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
22 months agoosd/scrub: fixing the length of a day 53310/head
Ronen Friedman [Wed, 6 Sep 2023 10:08:10 +0000 (13:08 +0300)]
osd/scrub: fixing the length of a day

It seems that there are 60 minutes in each hour.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
22 months agoMerge pull request #53302 from zdover23/wip-doc-2023-09-06-man-radosgw-unix-domain...
Anthony D'Atri [Wed, 6 Sep 2023 12:07:16 +0000 (08:07 -0400)]
Merge pull request #53302 from zdover23/wip-doc-2023-09-06-man-radosgw-unix-domain-sockets

doc/man: remove docs about support for unix domain sockets

22 months agomgr/dashboard: images: disable checkboxes for layering & deef-flatten 53071/head
avanthakkar [Mon, 21 Aug 2023 16:51:32 +0000 (22:21 +0530)]
mgr/dashboard: images: disable checkboxes for layering & deef-flatten

Fixes: https://tracker.ceph.com/issues/62502
Signed-off-by: avanthakkar <avanjohn@gmail.com>
22 months agowin32_build.sh: use ENABLE_SHARED=ON by default 53273/head
Lucian Petrut [Mon, 4 Sep 2023 10:01:48 +0000 (10:01 +0000)]
win32_build.sh: use ENABLE_SHARED=ON by default

The Windows build script uses static linking by default, the
reason being that some tests were failing to build otherwise,
mostly due to unspecified dependencies.

Now that the issue was addressed, we can enable dynamic linking
by default.

Worth mentioning that the Ceph MSI build script already uses
dynamic linking.

While at it, we'll drop some duplicate defaults from
"win32_deps_build.sh". For better clarity, we'll avoid exporting
some "win32_build.sh" variables, instead passing them explicitly
to "win32_deps_build.sh".

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
22 months agodoc/man: remove docs about support for unix domain sockets 53302/head
Zac Dover [Wed, 6 Sep 2023 06:33:43 +0000 (16:33 +1000)]
doc/man: remove docs about support for unix domain sockets

doc/man: support for unix domain sockets is not implemented, hence we
removed documentation about it.

(Note: the changes in this commit were the work of Rok Jaklič in
https://github.com/ceph/ceph/pull/48537. This pull request has been
raised because that pull request was for some mysterious reason causing
merge conflicts that were never resolved.)

Co-authored-by: Rok Jaklič rjaklic@gmail.com
Signed-off-by: Zac Dover <zac.dover@proton.me>
22 months agoMerge pull request #53221 from rhcs-dashboard/password-green-tick-fix
Nizamudeen A [Wed, 6 Sep 2023 06:29:47 +0000 (11:59 +0530)]
Merge pull request #53221 from rhcs-dashboard/password-green-tick-fix

mgr/dashboard: remove green tick on old password field

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
22 months agomgr/dashboard: add validator for size field in the forms 53236/head
Nizamudeen A [Thu, 31 Aug 2023 08:39:38 +0000 (14:09 +0530)]
mgr/dashboard: add validator for size field in the forms

Fixes: https://tracker.ceph.com/issues/62655
Signed-off-by: Nizamudeen A <nia@redhat.com>
22 months agomgr/dashboard: Object gateway sync status cards keeps loading when multisite is not... 53244/head
Aashish Sharma [Thu, 31 Aug 2023 13:24:21 +0000 (18:54 +0530)]
mgr/dashboard: Object gateway sync status cards keeps loading when multisite is not configured

Fixes: https://tracker.ceph.com/issues/62665
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
22 months agomgr/dashboard: replace sync status bar with last synced timestamp in rgw multisite... 53272/head
Aashish Sharma [Mon, 4 Sep 2023 09:12:46 +0000 (14:42 +0530)]
mgr/dashboard: replace sync status bar with last synced timestamp in rgw multisite sync status card

Fixes: https://tracker.ceph.com/issues/62684
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
22 months agoMerge pull request #53277 from rhcs-dashboard/image-progress-bar
Nizamudeen A [Wed, 6 Sep 2023 05:36:36 +0000 (11:06 +0530)]
Merge pull request #53277 from rhcs-dashboard/image-progress-bar

mgr/dashboard: remove used and total used columns in favor of usage bar

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
22 months agocephadm: black format logging.py 53297/head
John Mulligan [Tue, 5 Sep 2023 18:55:07 +0000 (14:55 -0400)]
cephadm: black format logging.py

Signed-off-by: John Mulligan <jmulligan@redhat.com>
22 months agocephadm: combine common logging config elements
John Mulligan [Tue, 22 Aug 2023 15:16:48 +0000 (11:16 -0400)]
cephadm: combine common logging config elements

Move and combine some of the common logging configuration elements.
This helps highlight what is the same and what is different between
the standard and interactive logging configs.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
22 months agocephadm: move logging config in cephadm.py to use new module
John Mulligan [Tue, 22 Aug 2023 14:48:21 +0000 (10:48 -0400)]
cephadm: move logging config in cephadm.py to use new module

Move to use the logging.py module recently added to cephadmlib.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
22 months agocephadm: mark types private to the new logging.py as private
John Mulligan [Tue, 22 Aug 2023 14:47:00 +0000 (10:47 -0400)]
cephadm: mark types private to the new logging.py as private

The config dicts and filter type are not used outside of the logging.py
file. Add the starting underscore convention to make this clear to
readers.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
22 months agocephadm: add logging.py containing a new cephadm_init_logging func
John Mulligan [Tue, 22 Aug 2023 14:43:54 +0000 (10:43 -0400)]
cephadm: add logging.py containing a new cephadm_init_logging func

In order to make this function behave correctly in a different module
than cephadm.py, this function must be altered to accept a logger
defined in another module. All other items are mostly copy and paste
and will eventually replace those in cephadm.py.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
22 months agoMerge pull request #53052 from phlogistonjohn/cephadm-split-refactor
Adam King [Tue, 5 Sep 2023 16:11:46 +0000 (12:11 -0400)]
Merge pull request #53052 from phlogistonjohn/cephadm-split-refactor

cephadm: refactor cephadm into multiple files

Reviewed-by: Adam King <adking@redhat.com>
22 months agoMerge pull request #52924 from rishabh-d-dave/test-nfs-pr-52556
Rishabh Dave [Tue, 5 Sep 2023 14:51:30 +0000 (20:21 +0530)]
Merge pull request #52924 from rishabh-d-dave/test-nfs-pr-52556

qa: inherit RunCephCmd in CephTestCase instead of CephFSTestCase

Reviewed-by: Adam King <adking@redhat.com>