]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocmake: resurrect mutex debugging in all Debug builds 45898/head
Ilya Dryomov [Wed, 13 Apr 2022 13:42:21 +0000 (15:42 +0200)]
cmake: resurrect mutex debugging in all Debug builds

Commit 403f1ec2888a ("cmake: make "WITH_CEPH_DEBUG_MUTEX" depend on
CMAKE_BUILD_TYPE") made WITH_CEPH_DEBUG_MUTEX depend on build type
being set to Debug, in CMakeLists.txt.  However, if CMAKE_BUILD_TYPE
isn't specified by the user, we may still set it to Debug later, in
src/CMakeLists.txt, and in that case WITH_CEPH_DEBUG_MUTEX doesn't
get enabled.  The result is that

  $ do_cmake.sh -DCMAKE_BUILD_TYPE=Debug ...

debug builds have mutex debugging enabled, while

  $ do_cmake.sh ...

builds, which are supposed to be the same, don't.  Jenkins builders
don't pass -DCMAKE_BUILD_TYPE=Debug so that commit effectively turned
off all ceph_mutex_is_locked* asserts in "make check".

Fixes: https://tracker.ceph.com/issues/55318
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45684 from CongMinYin/pwl-add-stats
Ilya Dryomov [Tue, 12 Apr 2022 14:48:54 +0000 (16:48 +0200)]
Merge pull request #45684 from CongMinYin/pwl-add-stats

librbd/cache/pwl: add pwl metrics in "rbd status" display

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45357 from cbodley/wip-54531
Casey Bodley [Tue, 12 Apr 2022 13:34:58 +0000 (09:34 -0400)]
Merge pull request #45357 from cbodley/wip-54531

rgw: disable RGWDataChangesLog::add_entry() when log_data is off

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agoMerge pull request #45677 from ideepika/wip-ninja-default
Ilya Dryomov [Tue, 12 Apr 2022 08:57:30 +0000 (10:57 +0200)]
Merge pull request #45677 from ideepika/wip-ninja-default

ceph.spec: make ninja-build package install always

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Tim Serong <tserong@suse.com>
3 years agoMerge pull request #45820 from liu-chunmei/crimson-do_osd_ops_params_t
Liu-Chunmei [Tue, 12 Apr 2022 04:57:36 +0000 (21:57 -0700)]
Merge pull request #45820 from liu-chunmei/crimson-do_osd_ops_params_t

crimson: keep do_osd_ops_params_t alive when call do_osd_ops

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #45137 from myoungwon/wip-51627-2
Samuel Just [Mon, 11 Apr 2022 23:31:03 +0000 (16:31 -0700)]
Merge pull request #45137 from myoungwon/wip-51627-2

osd: return appropriate error if the object is not manifest

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson: keep do_osd_ops_params_t alive when call do_osd_ops 45820/head
chunmei-liu [Fri, 8 Apr 2022 00:35:37 +0000 (17:35 -0700)]
crimson: keep do_osd_ops_params_t alive when call do_osd_ops

otherwise stack-under-overflow

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45744 from idryomov/wip-stretch-last-force-resend
Yuri Weinstein [Mon, 11 Apr 2022 22:58:23 +0000 (15:58 -0700)]
Merge pull request #45744 from idryomov/wip-stretch-last-force-resend

mon/OSDMonitor: properly set last_force_op_resend in stretch mode

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
3 years agoMerge pull request #45670 from pdvian/wip-fix-mgr-daemon-state
Yuri Weinstein [Mon, 11 Apr 2022 22:57:36 +0000 (15:57 -0700)]
Merge pull request #45670 from pdvian/wip-fix-mgr-daemon-state

mgr, mon: Keep upto date metadata with mgr for MONs

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #45599 from amathuria/amathuri-54994-fix
Yuri Weinstein [Mon, 11 Apr 2022 22:56:54 +0000 (15:56 -0700)]
Merge pull request #45599 from amathuria/amathuri-54994-fix

osd: add scrub duration for scrubs after recovery

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #45547 from nkshirsagar/master
Yuri Weinstein [Mon, 11 Apr 2022 22:55:43 +0000 (15:55 -0700)]
Merge pull request #45547 from nkshirsagar/master

Catch exception if thrown by __generate_command_map()

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #45505 from pdvian/wip-fix-daemon-version
Yuri Weinstein [Mon, 11 Apr 2022 22:51:26 +0000 (15:51 -0700)]
Merge pull request #45505 from pdvian/wip-fix-daemon-version

mgr, mgr/prometheus: Fix regression with prometheus metrics

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #45822 from liu-chunmei/crimson-enametoolong
Samuel Just [Mon, 11 Apr 2022 21:35:06 +0000 (14:35 -0700)]
Merge pull request #45822 from liu-chunmei/crimson-enametoolong

crimson: check -ENAMETOOLONG for Name, Locator, NameSpace

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #45584 from votdev/issue_54983_default_rgw_daemon
Ernesto Puerta [Mon, 11 Apr 2022 18:50:56 +0000 (20:50 +0200)]
Merge pull request #45584 from votdev/issue_54983_default_rgw_daemon

mgr/dashboard: RGW users and buckets tables are empty if the selected gateway is down

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
3 years agoMerge pull request #45790 from rhcs-dashboard/host-toggle-column-fix
Ernesto Puerta [Mon, 11 Apr 2022 18:48:48 +0000 (20:48 +0200)]
Merge pull request #45790 from rhcs-dashboard/host-toggle-column-fix

mgr/dashboard: datatable in Cluster Host page hides wrong column on selection

Reviewed-by: Sarthak0702 <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #45007 from VallariAg/dashboard-complexity-cleanup
Ernesto Puerta [Mon, 11 Apr 2022 18:45:58 +0000 (20:45 +0200)]
Merge pull request #45007 from VallariAg/dashboard-complexity-cleanup

mgr/dashboard: reduce method (cyclomatic) complexity

Reviewed-by: VallariAg <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #45070 from rkachach/fix_issue_52042
Adam King [Mon, 11 Apr 2022 17:18:36 +0000 (13:18 -0400)]
Merge pull request #45070 from rkachach/fix_issue_52042

mgr/cephadm: Making default cephadm shell cmd easier

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45056 from ktdreyer/explain-cephadm-tox
Adam King [Mon, 11 Apr 2022 16:51:59 +0000 (12:51 -0400)]
Merge pull request #45056 from ktdreyer/explain-cephadm-tox

cephadm: add comment explaining docker.io grep test

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45815 from cbodley/wip-55232
Casey Bodley [Mon, 11 Apr 2022 16:42:51 +0000 (12:42 -0400)]
Merge pull request #45815 from cbodley/wip-55232

test/rgw: use mock OpsLogSink instead of OpsLogSocket

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agoMerge pull request #45770 from yuvalif/wip-yuval-fix-54416
Casey Bodley [Mon, 11 Apr 2022 16:40:51 +0000 (12:40 -0400)]
Merge pull request #45770 from yuvalif/wip-yuval-fix-54416

test/multisite: dont use path when mrun outside of src tree

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45347 from mgfritch/cephadm-config-noreplace
Adam King [Mon, 11 Apr 2022 14:10:55 +0000 (10:10 -0400)]
Merge pull request #45347 from mgfritch/cephadm-config-noreplace

cephadm: preserve `authorized_keys` file during upgrade

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
3 years agoMerge pull request #45589 from melissa-kun-li/bootstrap_registry_warning
Adam King [Mon, 11 Apr 2022 14:07:50 +0000 (10:07 -0400)]
Merge pull request #45589 from melissa-kun-li/bootstrap_registry_warning

cephadm: show error during bootstrap if private registry cred not provided

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45685 from rkachach/fix_issue_47905
Adam King [Mon, 11 Apr 2022 14:07:07 +0000 (10:07 -0400)]
Merge pull request #45685 from rkachach/fix_issue_47905

mgr/cephadm: improving logging to send errors to stderr

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45798 from adk3798/iscsi-only-pid-limit
Ilya Dryomov [Mon, 11 Apr 2022 14:02:50 +0000 (16:02 +0200)]
Merge pull request #45798 from adk3798/iscsi-only-pid-limit

cephadm: only apply unlimited pids-limit to iscsi and rgw

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45689 from vshankar/wip-55110
Venky Shankar [Mon, 11 Apr 2022 13:49:23 +0000 (19:19 +0530)]
Merge pull request #45689 from vshankar/wip-55110

mount.ceph: remove `ms_mode' mount option when switching to old-syntax

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoqa: test_iscsi_pids_limit.sh: increase sleep time 45798/head
Ilya Dryomov [Mon, 11 Apr 2022 10:45:02 +0000 (12:45 +0200)]
qa: test_iscsi_pids_limit.sh: increase sleep time

It could take longer than 30 seconds to fork off 40000 processes on
a busy system.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agorbd: include persistent cache metrics in "rbd status" report 45684/head
Ilya Dryomov [Sat, 9 Apr 2022 15:48:17 +0000 (17:48 +0200)]
rbd: include persistent cache metrics in "rbd status" report

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agomount.ceph: remove `ms_mode' mount option when switching to old-syntax 45689/head
Venky Shankar [Tue, 29 Mar 2022 13:18:06 +0000 (09:18 -0400)]
mount.ceph: remove `ms_mode' mount option when switching to old-syntax

... and switch to using v1 addresses (if users haven't specified those
explicitly). kernel versions <5.11 do not understand `ms_mode' mount
option which would result in mount failure.

Fixes: http://tracker.ceph.com/issues/55110
Signed-off-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45791 from rhcs-dashboard/rm-true
Ernesto Puerta [Mon, 11 Apr 2022 08:26:47 +0000 (10:26 +0200)]
Merge pull request #45791 from rhcs-dashboard/rm-true

build: install-deps failing in docker build

Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agorbd: factor out get_percentage() helper
Ilya Dryomov [Sat, 9 Apr 2022 09:06:32 +0000 (11:06 +0200)]
rbd: factor out get_percentage() helper

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agolibrbd/cache/pwl: no need to set clean and empty in remove_pool_file()
Ilya Dryomov [Fri, 8 Apr 2022 13:53:38 +0000 (15:53 +0200)]
librbd/cache/pwl: no need to set clean and empty in remove_pool_file()

It is redundant -- the only caller sets both since commit 6593e31fff18
("librbd/cache/pwl: correct cache state").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agolibrbd/cache/pwl: avoid inconsistencies in ImageCacheState
Ilya Dryomov [Thu, 7 Apr 2022 16:49:46 +0000 (18:49 +0200)]
librbd/cache/pwl: avoid inconsistencies in ImageCacheState

When empty and/or clean bools are updated in I/O handling code paths,
ImageCacheState becomes inconistent for a short while: e.g. with clean
transitioned to true, dirty_bytes counter could still be positive
because the counters are updated only in periodic_stats().  Move to
updating the counters in update_image_cache_state(Context*) to avoid
this.

update_image_cache_state(Context*) now requires m_lock -- most call
sites already hold it anyway.  The only problematic call site was
AbstractWriteLog::shut_down() callback chain: perf_stop() needed to
be moved to the very end since perf counters must be alive now for
update_image_cache_state() to work.

Don't override expect_op_work_queue() in unit tests: completing
context in the same thread now results in a deadlock on m_lock in
all test cases that call AbstractWriteLog::init().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agolibrbd/cache/pwl: handle invalid ImageCacheState json
Ilya Dryomov [Thu, 7 Apr 2022 14:02:46 +0000 (16:02 +0200)]
librbd/cache/pwl: handle invalid ImageCacheState json

get_json_format() and create_image_cache_state() attempt to get
particular keys which could result in an unhandled std::runtime_error
exception.  Conversely, ImageCacheState constructor just swallows that
exception which could leave the newly constructed object incorrectly
initialized.  Avoid doing parsing in the constructor and introduce
init_from_config() and init_from_metadata() methods instead.

While at it, move everything out from under "persistent_cache" key.
Also fix init_state_json_write test case which stopped working now
that types are enforced by json_spirit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agolibrbd/cache/pwl: add basic metrics to ImageCacheState
Yin Congmin [Tue, 29 Mar 2022 08:59:05 +0000 (16:59 +0800)]
librbd/cache/pwl: add basic metrics to ImageCacheState

Add basic metrics to ImageCacheState and persist them, including
allocated_bytes, cached_bytes, dirty_bytes, free_bytes and hit/miss
info.

Leverage periodic_stats() timer to call update_image_cache_state.
In order to avoid outputting too much debug information, the original
statistics output log level is changed to 5.

Switch to json_spirit for encoding because encode_json encodes bool as
"true"/"false" string.

Remove rbd_persistent_cache_log_periodic_stats option because we need
to always update cache state.

[ idryomov: add cached_bytes and hits_partial; report misses and
  miss_bytes instead of respective totals; naming ]

Fixes: https://tracker.ceph.com/issues/50614
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45832 from anthonyeleven/anthonyeleven/min-alloc-size-53752
zdover23 [Sun, 10 Apr 2022 18:35:54 +0000 (04:35 +1000)]
Merge pull request #45832 from anthonyeleven/anthonyeleven/min-alloc-size-53752

doc/rados/configuration: document min_alloc_size values and space amplification

Reviewed-by: Zac Dover <zac.dover@gmail.com>
3 years agodoc/rados/configuration: document min_alloc_size values and space amplification 45832/head
Anthony D'Atri [Sat, 9 Apr 2022 03:59:12 +0000 (20:59 -0700)]
doc/rados/configuration: document min_alloc_size values and space amplification

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agocrimson: check -ENAMETOOLONG for Name, Locator, NameSpace 45822/head
chunmei-liu [Fri, 8 Apr 2022 07:07:53 +0000 (00:07 -0700)]
crimson: check -ENAMETOOLONG for Name, Locator, NameSpace

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45749 from josephsawaya/fix-rook-tests
Laura Flores [Fri, 8 Apr 2022 21:36:38 +0000 (16:36 -0500)]
Merge pull request #45749 from josephsawaya/fix-rook-tests

Remove orchestrator from rook task and suite

3 years agocmake: move rgw_lua_request.cc from rgw_common target to rgw_a 45815/head
Casey Bodley [Thu, 7 Apr 2022 20:06:22 +0000 (16:06 -0400)]
cmake: move rgw_lua_request.cc from rgw_common target to rgw_a

resolves a clang linker error where `rgw::lua::request::RequestLog()`
from rgw_lua_request.cc (in rgw_common) looks for `rgw_log_op()` from
rgw_log.cc (in rgw_a)

rgw_a depends on rgw_common, not the other way around. so this moves
rgw_lua_request.cc into the same target as rgw_log.cc

lua is now a public dependency of rgw_common so it's not hidden from
rgw_a or unit tests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #45734 from kalebskeithley/vtable-dtor
Casey Bodley [Fri, 8 Apr 2022 16:00:13 +0000 (12:00 -0400)]
Merge pull request #45734 from kalebskeithley/vtable-dtor

rgw: add missing virtual decls for dtors

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agocephadm: show error message if private registry credentials not provided 45589/head
Melissa Li [Wed, 23 Mar 2022 15:38:37 +0000 (11:38 -0400)]
cephadm: show error message if private registry credentials not provided

Raise UnauthorizedRegistryError in `_pull_image` if user tries to pull from a private registry without authentication, handle error in `command_bootstrap`, `commond_adopt`, `command_pull`

Fixes: https://tracker.ceph.com/issues/55015
Signed-off-by: Melissa Li <melissali@redhat.com>
3 years agoMerge pull request #45758 from linuxbox2/wip-rgwlc-dmfix
Matt Benjamin [Fri, 8 Apr 2022 13:51:29 +0000 (09:51 -0400)]
Merge pull request #45758 from linuxbox2/wip-rgwlc-dmfix

rgwlc:  don't incorrectly expire delete markers when !next_key_name

3 years agomgr/cephadm: Making default cephadm shell cmd easier 45070/head
Redouane Kachach [Thu, 17 Feb 2022 12:48:08 +0000 (13:48 +0100)]
mgr/cephadm: Making default cephadm shell cmd easier
Fixes: https://tracker.ceph.com/issues/52042
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45597 from adk3798/node-exporter-paths
Adam King [Fri, 8 Apr 2022 13:09:54 +0000 (09:09 -0400)]
Merge pull request #45597 from adk3798/node-exporter-paths

cephadm: Specify proc/sys path for node-exporter to use

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
3 years agoMerge pull request #45304 from dvanders/cleanup_46456
Casey Bodley [Fri, 8 Apr 2022 13:05:33 +0000 (09:05 -0400)]
Merge pull request #45304 from dvanders/cleanup_46456

rgw_reshard: drop olh entries with empty name

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agocephadm: only apply pids-limit to iscsi and rgw
Adam King [Wed, 6 Apr 2022 15:24:24 +0000 (11:24 -0400)]
cephadm: only apply pids-limit to iscsi and rgw

Signed-off-by: Adam King <adking@redhat.com>
3 years agomgr/cephadm: improving logging to send errors to stderr 45685/head
Redouane Kachach [Tue, 29 Mar 2022 11:30:37 +0000 (13:30 +0200)]
mgr/cephadm: improving logging to send errors to stderr
Fixes: https://tracker.ceph.com/issues/47905
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #45639 from dparmar18/dhairya_mds_doc
Venky Shankar [Fri, 8 Apr 2022 06:20:55 +0000 (11:50 +0530)]
Merge pull request #45639 from dparmar18/dhairya_mds_doc

doc/cephfs/add-remove-mds: added cephadm note, refined "Adding an MDS"

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #44666 from s0nea/correct_metric_name
Neha Ojha [Thu, 7 Apr 2022 20:57:52 +0000 (13:57 -0700)]
Merge pull request #44666 from s0nea/correct_metric_name

doc/mgr/prometheus: correct metric name

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
3 years agomgr/dashboard: datatable in Cluster Host page hides wrong column on selection 45790/head
Sarthak0702 [Wed, 6 Apr 2022 00:53:35 +0000 (06:23 +0530)]
mgr/dashboard: datatable in Cluster Host page hides wrong column on selection

Signed-off-by: Sarthak0702 <sarthak.dev.0702@gmail.com>
3 years agoMerge pull request #45787 from kalebskeithley/zipper-api
Casey Bodley [Thu, 7 Apr 2022 18:11:03 +0000 (14:11 -0400)]
Merge pull request #45787 from kalebskeithley/zipper-api

rgw: zipper: move functions so they're on correct side of API

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agobuild: install-deps failing in docker build 45791/head
Nizamudeen A [Wed, 6 Apr 2022 07:39:26 +0000 (13:09 +0530)]
build: install-deps failing in docker build

install-deps.sh was failing in our docker build due to the recent change in
the script. Failure can be seen here: https://github.com/rhcs-dashboard/ceph-dev/runs/5844502455?check_suite_focus=true#step:3:2586

This seems to fix the issue.

Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agotest/rgw: use mock OpsLogSink instead of OpsLogSocket
Casey Bodley [Thu, 7 Apr 2022 17:10:51 +0000 (13:10 -0400)]
test/rgw: use mock OpsLogSink instead of OpsLogSocket

Fixes: https://tracker.ceph.com/issues/55232
Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoworkunits/rgw: reshard cleans empty name entries 45304/head
Dan van der Ster [Wed, 30 Mar 2022 08:55:49 +0000 (10:55 +0200)]
workunits/rgw: reshard cleans empty name entries

Check that reshard prunes olh entries with empty name.

Fixes: https://tracker.ceph.com/issues/54500
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
3 years agoMerge pull request #45751 from ceph/rhel85
David Galloway [Thu, 7 Apr 2022 14:36:38 +0000 (10:36 -0400)]
Merge pull request #45751 from ceph/rhel85

qa: Latest RHEL8 -> RHEL8.5

3 years agoMerge pull request #45760 from pritha-srivastava/wip-rgw-gc-54742
Casey Bodley [Thu, 7 Apr 2022 13:20:31 +0000 (09:20 -0400)]
Merge pull request #45760 from pritha-srivastava/wip-rgw-gc-54742

rgw: adding BUCKET_REWRITE and OBJECT_REWRITE OPS to

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44676 from linuxbox2/wip-lc-name-cleanup
Casey Bodley [Thu, 7 Apr 2022 12:43:07 +0000 (08:43 -0400)]
Merge pull request #44676 from linuxbox2/wip-lc-name-cleanup

rgwlc: improve naming of lifecycle entries

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #45781 from sseshasa/wip-update-mclock-rel-notes
Sridhar Seshasayee [Thu, 7 Apr 2022 11:20:52 +0000 (16:50 +0530)]
Merge pull request #45781 from sseshasa/wip-update-mclock-rel-notes

PendingReleaseNotes: Update mclock release note regarding an existing issue.

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agotest/multisite: dont use path when mrun outside of src tree 45770/head
Yuval Lifshitz [Mon, 4 Apr 2022 14:27:29 +0000 (17:27 +0300)]
test/multisite: dont use path when mrun outside of src tree

when running in teuthology we should take the binaries
from the machine without specifying a path

Fixes: https://tracker.ceph.com/issues/54416
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
3 years agoMerge pull request #45782 from zdover23/wip-doc-2022-04-05-os-recommendations
zdover23 [Wed, 6 Apr 2022 14:49:29 +0000 (00:49 +1000)]
Merge pull request #45782 from zdover23/wip-doc-2022-04-05-os-recommendations

doc/start: add testing support information

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45187 from rhcs-dashboard/update-monitoring-stack-versions
Ernesto Puerta [Wed, 6 Apr 2022 14:28:46 +0000 (16:28 +0200)]
Merge pull request #45187 from rhcs-dashboard/update-monitoring-stack-versions

mgr/cephadm: update monitoring stack versions

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: p-se <NOT@FOUND>
3 years agodoc/start: add testing support information 45782/head
Zac Dover [Tue, 5 Apr 2022 15:48:24 +0000 (01:48 +1000)]
doc/start: add testing support information

This PR adds information about support for testing,
and information about which distros the Ceph project
builds packages for.

This is one in a series of PRs including the following:

https://github.com/ceph/ceph/pull/45385
https://github.com/ceph/ceph/pull/45764

This PR specifically includes the information that Ernesto
Puerta collected here:
https://github.com/ceph/ceph/pull/45385#pullrequestreview-911766656

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agoMerge pull request #45793 from rhcs-dashboard/update-piechart-vonage-versions
Ernesto Puerta [Wed, 6 Apr 2022 14:12:02 +0000 (16:12 +0200)]
Merge pull request #45793 from rhcs-dashboard/update-piechart-vonage-versions

mgr/dashboard: upgrade grafana pie-chart and vonage-status-panel versions

Reviewed-by: MrFreezeex <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
3 years agomgr/dashboard: upgrade grafana pie-chart and vonage-status-panel versions 45793/head
Aashish Sharma [Wed, 6 Apr 2022 09:54:41 +0000 (15:24 +0530)]
mgr/dashboard: upgrade grafana pie-chart and vonage-status-panel versions

Fixes:https://tracker.ceph.com/issues/55195
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
3 years agoPendingReleaseNotes: Update mclock release note regarding an existing issue 45781/head
Sridhar Seshasayee [Tue, 5 Apr 2022 15:45:24 +0000 (21:15 +0530)]
PendingReleaseNotes: Update mclock release note regarding an existing issue

Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
3 years agorgw: zipper: move functions so they're on correct side of API 45787/head
Kaleb S. KEITHLEY [Tue, 5 Apr 2022 23:10:54 +0000 (19:10 -0400)]
rgw: zipper: move functions so they're on correct side of API

When we eventually split out compilation units for the Rados SAL
plugin, a few functions will be out of place wrt the SAL API and
will result in undefined references either in the library or the
the Rados plugin.

Preemptively moving these now, vs. later

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
3 years agoMerge pull request #45774 from liu-chunmei/crimson-cmp-xattr
Samuel Just [Tue, 5 Apr 2022 19:33:01 +0000 (12:33 -0700)]
Merge pull request #45774 from liu-chunmei/crimson-cmp-xattr

crimson: cmp xattr canceled operation

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agomgr/cephadm: update monitoring stack versions 45187/head
Aashish Sharma [Mon, 28 Feb 2022 06:16:14 +0000 (11:46 +0530)]
mgr/cephadm: update monitoring stack versions

Fixes: https://tracker.ceph.com/issues/54311
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #45740 from cbodley/wip-doc-cmake-bundled-deps
Casey Bodley [Tue, 5 Apr 2022 14:19:57 +0000 (10:19 -0400)]
Merge pull request #45740 from cbodley/wip-doc-cmake-bundled-deps

README: document cmake options for system packages

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #45743 from m-ildefons/docs-python3-librados 45778/head
Kefu Chai [Tue, 5 Apr 2022 05:36:38 +0000 (13:36 +0800)]
Merge pull request #45743 from m-ildefons/docs-python3-librados

docs: update install steps for python librados

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson: store->get_attr return nodata, cancel following operations 45774/head
chunmei-liu [Tue, 5 Apr 2022 04:14:14 +0000 (21:14 -0700)]
crimson: store->get_attr return nodata, cancel following operations

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agocrimson: if do_cmp_xattr failed, cancel the following operations
chunmei-liu [Tue, 5 Apr 2022 04:10:33 +0000 (21:10 -0700)]
crimson: if do_cmp_xattr failed, cancel the following operations

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45764 from zdover23/wip-doc-2022-04-04-os-recommendations
zdover23 [Mon, 4 Apr 2022 20:54:41 +0000 (06:54 +1000)]
Merge pull request #45764 from zdover23/wip-doc-2022-04-04-os-recommendations

doc/start: remove old OS tables

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agoMerge pull request #45720 from xxhdx1985126/wip-55143
Samuel Just [Mon, 4 Apr 2022 20:02:10 +0000 (13:02 -0700)]
Merge pull request #45720 from xxhdx1985126/wip-55143

crimson/os/seastore: use different segment seq allocator from journal and ool segments

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #45735 from chrigl/fix-54620
Adam King [Mon, 4 Apr 2022 19:17:26 +0000 (15:17 -0400)]
Merge pull request #45735 from chrigl/fix-54620

mgr/cephadm: support non-root ssh-user w permissions

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45710 from rkachach/fix_issue_55132
Adam King [Mon, 4 Apr 2022 19:15:33 +0000 (15:15 -0400)]
Merge pull request #45710 from rkachach/fix_issue_55132

mgr/cephadm: fixing public network conf parsing

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45733 from benhanokh/simple_bitmap_fix
Neha Ojha [Mon, 4 Apr 2022 18:33:16 +0000 (11:33 -0700)]
Merge pull request #45733 from benhanokh/simple_bitmap_fix

os/BlueStore: NCB fix for SimpleBitmap boundary check

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
3 years agoMerge pull request #45349 from guits/check-check-device-is-available
Adam King [Mon, 4 Apr 2022 16:03:29 +0000 (12:03 -0400)]
Merge pull request #45349 from guits/check-check-device-is-available

ceph-volume: various fixes in arg_validators

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #45687 from yuvalif/wip-yuval-multisite-test-rgws
Yuval Lifshitz [Mon, 4 Apr 2022 15:23:22 +0000 (18:23 +0300)]
Merge pull request #45687 from yuvalif/wip-yuval-multisite-test-rgws

multisite/test: running the multisite test script with multiple RGWs per zone

3 years agoMerge pull request #45696 from cbodley/wip-cmake-system-utf8proc
Casey Bodley [Mon, 4 Apr 2022 14:16:13 +0000 (10:16 -0400)]
Merge pull request #45696 from cbodley/wip-cmake-system-utf8proc

cmake: WITH_SYSTEM_UTF8PROC defaults to OFF

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #45763 from rhcs-dashboard/fix-55172-master
Ernesto Puerta [Mon, 4 Apr 2022 13:21:39 +0000 (15:21 +0200)]
Merge pull request #45763 from rhcs-dashboard/fix-55172-master

monitoring/grafana: fix version

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #45514 from tchaikov/wip-cxx20-fixes-cephfs
Venky Shankar [Mon, 4 Apr 2022 13:18:52 +0000 (18:48 +0530)]
Merge pull request #45514 from tchaikov/wip-cxx20-fixes-cephfs

cephfs: C++20 related fixes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agodoc/start: remove old OS tables 45764/head
Zac Dover [Mon, 4 Apr 2022 13:18:27 +0000 (23:18 +1000)]
doc/start: remove old OS tables

This PR removes tables that contained outdated
information about Ceph's supported operating
systems. Ernesto Puerta had the idea to consolidate
the information that was in those tables into a single
table, and we're doing that.

Part of that process involves removing the old tables.
That's what this PR does.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
3 years agomgr/cephadm: fixing public network conf parsing 45710/head
Redouane Kachach [Wed, 30 Mar 2022 13:48:40 +0000 (15:48 +0200)]
mgr/cephadm: fixing public network conf parsing
Fixes: https://tracker.ceph.com/issues/55132
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agomonitoring/grafana: fix version 45763/head
Ernesto Puerta [Mon, 4 Apr 2022 11:52:43 +0000 (13:52 +0200)]
monitoring/grafana: fix version

Fixes: https://tracker.ceph.com/issues/55172
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
3 years agoMerge pull request #45254 from travisn/prometheus-rules-typos
Ernesto Puerta [Mon, 4 Apr 2022 11:46:00 +0000 (13:46 +0200)]
Merge pull request #45254 from travisn/prometheus-rules-typos

prometheus: Spell check the alert descriptions

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
3 years agoMerge pull request #45746 from idryomov/wip-crush-rule-sizes-cleanup
Ilya Dryomov [Mon, 4 Apr 2022 11:31:05 +0000 (13:31 +0200)]
Merge pull request #45746 from idryomov/wip-crush-rule-sizes-cleanup

doc,test: clean up crush rule min/max_size leftovers

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agodoc/cephfs/add-remove-mds: added cephadm note, refined "Adding an MDS" 45639/head
dparmar18 [Fri, 25 Mar 2022 08:18:54 +0000 (13:48 +0530)]
doc/cephfs/add-remove-mds: added cephadm note, refined "Adding an MDS"

Description: 1) Add a note about using cephadm for setting up the
                cluster and mds(s), also mention the use of ceph
                orchestrator if one needs to setup mds(s) manually.
     2) Changed the term `data point` to `directory` in
                point 1 under "Adding an MDS" section for better
                clarity.

Fixes: https://tracker.ceph.com/issues/54551
Signed-off-by: dparmar18 <dparmar@redhat.com>
3 years agobuild: make ninja-build package install always 45677/head
Deepika Upadhyay [Mon, 28 Mar 2022 20:14:48 +0000 (01:44 +0530)]
build: make ninja-build package install always

we use ninja build as default build now, having it installed only with
make check enabled may make builds fail, if ran without make check.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agorgw: adding BUCKET_REWRITE and OBJECT_REWRITE OPS to 45760/head
Pritha Srivastava [Fri, 1 Apr 2022 09:22:43 +0000 (14:52 +0530)]
rgw: adding BUCKET_REWRITE and OBJECT_REWRITE OPS to
gc_ops_list to initialize gc and prevent crashes when
send_chain() is invoked.

Fixes: https://tracker.ceph.com/issues/54742
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
3 years agoMerge pull request #45385 from zdover23/wip-doc-2022-03-14-os-recommendations
zdover23 [Mon, 4 Apr 2022 04:20:12 +0000 (14:20 +1000)]
Merge pull request #45385 from zdover23/wip-doc-2022-03-14-os-recommendations

doc/start: update os-recommendations.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agoMerge pull request #45705 from SUSE/wip-really-fix-55079
Tim Serong [Mon, 4 Apr 2022 03:49:32 +0000 (13:49 +1000)]
Merge pull request #45705 from SUSE/wip-really-fix-55079

ceph.spec.in: remove build directory in %clean, not %install

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agorgwlc: don't incorrectly expire delete markers when !next_key_name 45758/head
Matt Benjamin [Sun, 3 Apr 2022 20:36:22 +0000 (16:36 -0400)]
rgwlc:  don't incorrectly expire delete markers when !next_key_name

This is a fencepost case when operating on the last element of a
listing, apparently masked before Mark Kogan's segfault fix).

Fixes: https://tracker.ceph.com/issues/55168
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoMerge pull request #44612 from rzarzynski/wip-bs-lazy4freebsd
Radoslaw Zarzynski [Sat, 2 Apr 2022 09:44:37 +0000 (11:44 +0200)]
Merge pull request #44612 from rzarzynski/wip-bs-lazy4freebsd

bdev: fix FTBFS on FreeBSD, keep the huge paged read buffers.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agoMerge pull request #45719 from liu-chunmei/crimson-setopflag
Liu-Chunmei [Sat, 2 Apr 2022 04:01:29 +0000 (21:01 -0700)]
Merge pull request #45719 from liu-chunmei/crimson-setopflag

Crimson handle CEPH_OSD_OP_FLAG_FAILOK

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/os/seastore: use different segment seq allocator from journal and ool segments 45720/head
Xuehan Xu [Thu, 31 Mar 2022 05:48:42 +0000 (13:48 +0800)]
crimson/os/seastore: use different segment seq allocator from journal and ool segments

Fixes: https://tracker.ceph.com/issues/55143
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agocrimson/os/seastore: rename segment_header_t::journal_segment_seq to segment_seq
Xuehan Xu [Thu, 31 Mar 2022 02:50:42 +0000 (10:50 +0800)]
crimson/os/seastore: rename segment_header_t::journal_segment_seq to segment_seq

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agocrimson/os/seastore/cache: clean up in Cache::get_next_dirty_extents()
Xuehan Xu [Thu, 31 Mar 2022 02:22:05 +0000 (10:22 +0800)]
crimson/os/seastore/cache: clean up in Cache::get_next_dirty_extents()

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoMerge pull request #45658 from ceph/wip-debug-install
David Galloway [Fri, 1 Apr 2022 19:25:41 +0000 (15:25 -0400)]
Merge pull request #45658 from ceph/wip-debug-install

build: Add some debugging messages

3 years agoqa: Latest RHEL8 -> RHEL8.5 45751/head
David Galloway [Thu, 31 Mar 2022 16:13:19 +0000 (12:13 -0400)]
qa: Latest RHEL8 -> RHEL8.5

Signed-off-by: David Galloway <dgallowa@redhat.com>