]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ernesto Puerta [Mon, 18 Apr 2022 16:50:52 +0000 (18:50 +0200)]
.github/pr-triage: reorder milestone step
In `master` the milestone step exits and causes remaining tasks not to be run. I previously tried with the `continue-on-error` flag, but it didn't work, so let's try putting that steps at the end.
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Adam King [Mon, 18 Apr 2022 12:57:14 +0000 (08:57 -0400)]
Merge pull request #45860 from adk3798/alertmanager-skip-verify
mgr/cephadm: allow setting insecure_skip_verify for alertmanager
Reviewed-by: Francesco Pantano <fpantano@redhat.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Venky Shankar [Mon, 18 Apr 2022 09:57:52 +0000 (15:27 +0530)]
Merge pull request #43879 from rishabh-d-dave/vr-clearer-msg
qa/vstart_runner: print "success" explicitly
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 18 Apr 2022 09:32:55 +0000 (15:02 +0530)]
Merge pull request #45924 from rishabh-d-dave/qa-cephfs-test_cephfs_shell
qa/cephfs: expand note for test_cephfs_shell.py
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 18 Apr 2022 07:58:46 +0000 (13:28 +0530)]
Merge pull request #45923 from rishabh-d-dave/doc-fix-note
doc/developer_guide: split a note point into two
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Rishabh Dave [Sun, 17 Apr 2022 17:28:10 +0000 (22:58 +0530)]
qa/cephfs: expand note for test_cephfs_shell.py
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Thu, 21 Oct 2021 05:09:39 +0000 (10:39 +0530)]
qa/vstart_runner: print "success" explicitly
This makes it effortless for new vstart_runner.py users to spot that the
test passed.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Venky Shankar [Mon, 18 Apr 2022 04:13:40 +0000 (09:43 +0530)]
Merge pull request #45816 from kotreshhr/clone-failure-status
mgr/volumes: Show clone failure reason in clone status command
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Rishabh Dave [Sun, 17 Apr 2022 17:23:09 +0000 (22:53 +0530)]
doc/developer_guide: split a note point into two
Since both the sentences in the note point aren't strictly related to
each other, it's better to split that note point into two.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Venky Shankar [Sun, 17 Apr 2022 09:54:57 +0000 (15:24 +0530)]
Merge pull request #45114 from lxbsz/wip-54362
client: do not release the global snaprealm until unmounting
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Sun, 17 Apr 2022 09:53:15 +0000 (15:23 +0530)]
Merge pull request #45688 from lxbsz/fwd
client: stop forwarding the request when exceeding 256 times
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Sat, 16 Apr 2022 15:20:17 +0000 (20:50 +0530)]
Merge pull request #45107 from lxbsz/wip-54345
mds: reset heartbeat when fetching or committing dentries
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Laura Flores [Sat, 16 Apr 2022 04:58:58 +0000 (23:58 -0500)]
Merge pull request #45915 from ljflores/wip-dashboard-cypress-password
Laura Flores [Thu, 14 Apr 2022 20:42:05 +0000 (20:42 +0000)]
mgr/dashboard/frontend: fix cypress env password
"LOGIN_PASSWORD" should be "LOGIN_PWD". Bug introduced
in
e9128c4 .
Fixes: https://tracker.ceph.com/issues/55323
Signed-off-by: Laura Flores <lflores@redhat.com>
Adam King [Fri, 15 Apr 2022 15:05:05 +0000 (11:05 -0400)]
Merge pull request #45765 from m-ildefons/
1196785 -cephadm-status-trace
cephadm: avoid crashing on expected non-zero exit
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Adam King [Fri, 15 Apr 2022 15:02:55 +0000 (11:02 -0400)]
Merge pull request #45863 from adk3798/mgr-fail-retry
mgr/cephadm: retry mgr fail over in case of transient failure
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Ilya Dryomov [Fri, 15 Apr 2022 09:09:42 +0000 (11:09 +0200)]
Merge pull request #45898 from idryomov/wip-resurrect-mutex-debug
cmake: resurrect mutex debugging in all Debug builds
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Xiubo Li [Tue, 22 Feb 2022 03:46:44 +0000 (11:46 +0800)]
client: do not release the global snaprealm until unmounting
The global snaprealm would be created and then destroyed immediately
every time when updating it.
Fixes: https://tracker.ceph.com/issues/54362
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Adam King [Wed, 6 Apr 2022 14:32:22 +0000 (10:32 -0400)]
mgr/cephadm: allow setting insecure_skip_verify for alertmanager
Add a "secure" parameter to alertmanager spec that will cause it
to deploy alertmanagers with insecure_skip_verify as true or false
depending on the value given for "secure".
NOTE: alertmanager must still be reconfigured after applying a yaml
with this option changed.
Fixes: https://tracker.ceph.com/issues/55272
Fixes: https://tracker.ceph.com/issues/55333
Signed-off-by: Adam King <adking@redhat.com>
Ali Maredia [Thu, 14 Apr 2022 13:35:00 +0000 (09:35 -0400)]
Merge pull request #45394 from iqbalredkhan/amrojiqbal
cls/rgw : Add missing classes in < #include "cls/rgw/cls_rgw_types.h">
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Xiubo Li [Tue, 29 Mar 2022 08:45:12 +0000 (16:45 +0800)]
client: stop forwarding the request when exceeding 256 times
The type of 'num_fwd' in ceph 'MClientRequestForward' is 'int32_t',
while in 'ceph_mds_request_head' the type is '__u8'. So in case
the request bounces between MDSes exceeding 256 times, the client
will get stuck.
In this case it's ususally a bug in MDS and continue bouncing the
request makes no sense.
Fixes: https://tracker.ceph.com/issues/55129
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Venky Shankar [Thu, 14 Apr 2022 12:08:20 +0000 (17:38 +0530)]
Merge pull request #45549 from nmshelke/fuse-linux-only
ceph-fuse: restrict already_fuse_mounted function only for linux
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Thu, 14 Apr 2022 12:06:42 +0000 (17:36 +0530)]
Merge pull request #45636 from joscollin/wip-B54971-rank0-stale-perf-stats-assertion-error
qa: make test_perf_stats_stale_metrics check only the clients created for the tests
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Thu, 14 Apr 2022 12:04:31 +0000 (17:34 +0530)]
Merge pull request #45663 from lxbsz/client_cleanup_dl
client: remove expect_null and cleanup the code get_or_create()
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Thu, 14 Apr 2022 12:01:46 +0000 (17:31 +0530)]
Merge pull request #45683 from kotreshhr/subvolume-retainsnap-rm-fix
mgr/volumes: Fix idempotent subvolume rm
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Ilya Dryomov [Thu, 14 Apr 2022 05:50:15 +0000 (07:50 +0200)]
Merge pull request #45897 from idryomov/wip-rbd-mirror-test-timer-lock
test/rbd_mirror: grab timer lock before calling add_event_after()
Reviewed-by: Christopher Hoffman <choffman@redhat.com>
Anthony D'Atri [Thu, 14 Apr 2022 02:18:26 +0000 (19:18 -0700)]
Merge pull request #45571 from rzarzynski/wip-doc-mempool-acct
doc/dev: Define what mempools we use in BlueStore
Yuri Weinstein [Wed, 13 Apr 2022 23:18:47 +0000 (16:18 -0700)]
Merge pull request #45884 from markhpc/wip-bs-avl-cursor-fix
os/bluestore: Always update the cursor position in AVL near-fit search.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Adam King [Mon, 11 Apr 2022 20:57:51 +0000 (16:57 -0400)]
mgr/cephadm: retry mgr fail over in case of transient failure
Fixes: https://tracker.ceph.com/issues/55279
Signed-off-by: Adam King <adking@redhat.com>
Anthony D'Atri [Wed, 13 Apr 2022 17:35:22 +0000 (10:35 -0700)]
doc/dev: define what mempools we use in bluestore
doc/dev: define what mempools we use in bluestore
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
Adam King [Wed, 13 Apr 2022 18:34:41 +0000 (14:34 -0400)]
Merge pull request #45851 from rkachach/fix_issue_53528
mgr/cephadm: skip loopback devices when gathering facts
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 13 Apr 2022 18:34:06 +0000 (14:34 -0400)]
Merge pull request #45796 from asm0deuz/issue_54618_ssh_config
mgr/cephadm: ceph cephadm set-user does not reflect the user change in ssh-config
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 13 Apr 2022 18:33:21 +0000 (14:33 -0400)]
Merge pull request #45768 from rkachach/fix_issue_55174
mgr/cephadm: Adding cephadm networking configuration checks + refactoring
Reviewed-by: Adam King <adking@redhat.com>
Adam King [Wed, 13 Apr 2022 18:24:36 +0000 (14:24 -0400)]
Merge pull request #43796 from windgmbh/cephadm-sysctl-fhs-fix
cephadm: Fix sysctl.d location
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
Moritz Röhrich [Mon, 21 Mar 2022 16:32:25 +0000 (17:32 +0100)]
cephadm: avoid crashing on expected non-zero exit
- Avoid crashing when a call out to an external program expectedly does
not return exit status zero.
There are programs that communicate other information than error/no
error through exit status. E.g. `systemctl status` will return different
exit codes depending on the actual status of the units in question.
In cases where this is expected crashing with a RuntimeError exception
is inappropriate and should be avoided.
Fixes: https://tracker.ceph.com/issues/55117
Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
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>
Ilya Dryomov [Wed, 13 Apr 2022 13:24:04 +0000 (15:24 +0200)]
test/rbd_mirror: grab timer lock before calling add_event_after()
add_event_after() expects an externally provided mutex to be held
for the call. This was missed in commit
8965a0f2a6f7 ("rbd-mirror:
synchronize with in-flight stop in ImageReplayer::stop()").
Fixes: https://tracker.ceph.com/issues/55317
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ernesto Puerta [Wed, 13 Apr 2022 12:09:21 +0000 (14:09 +0200)]
Merge pull request #45859 from rhcs-dashboard/add-cypress-env
mgr/dashboard: Add cypress env for login credentials
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Ilya Dryomov [Wed, 13 Apr 2022 10:12:51 +0000 (12:12 +0200)]
Merge pull request #44236 from CongMinYin/fix-pwl-cache-lose
rbd: add persistent-cache command group
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Kotresh HR [Wed, 6 Apr 2022 07:21:54 +0000 (12:51 +0530)]
doc: Document the clone failure status
Fixes: https://tracker.ceph.com/issues/55190
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Thu, 7 Apr 2022 13:28:28 +0000 (18:58 +0530)]
mgr/volumes: Fix clone hang issue
Following sequence of operation lead to deadlock
1. Created subvolume
2. Written some I/O on the subvolume
3. Create snapshot of the subvolume
4. Create clone of the snapshot
5. Delete snapshot from back end (don't use subvolume interface) before
clone completes
6. Delete clone with force
7. Delete subvolume
8. Delete fs and associated pools
9. Created new fs
10 Created new subvolume,
11. Written some I/O on the subvolume
12. Create snapshot of the subvolume
13. Create clone of the snapshot <---------------THIS OPERATION HANGS -----------------
Root Cause:
Since the snapshot is deleted from the back end, the clone fails. But it
also fails to remove the clone index at '/volumes/_index/clone'. The
cloner thread goes to infinite loop of starting the clone and failing.
This involves taking 'self.async_job.lock()' and reads the clone index
to get the job and registers the above job.
While the 'cloner thread' is in above loop, the fs is destroyed. The
cloner threads which lives till the mgr/volumes is enabled in mgr, takes
the 'self.async_job.lock()' and hangs while reading the clone index.
Any further clone operations which also requires above lock hangs.
Fix:
Remove the clone index even though snapshot is not present.
Fixes: https://tracker.ceph.com/issues/55217
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Sat, 22 Jan 2022 06:38:15 +0000 (12:08 +0530)]
qa: Add test for clone failure status
Fixes: https://tracker.ceph.com/issues/55190
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Wed, 6 Apr 2022 07:16:01 +0000 (12:46 +0530)]
mgr/volumes: Add clone failure reason in clone status
Add the clone failure reason in the clone status.
The sample output is as below:
$ ceph fs clone status cephfs clone_0
{
"status": {
"state": "failed",
"source": {
"volume": "cephfs",
"subvolume": "subvolume_0",
"snapshot": "snapshot_0",
"size": "
52428800 "
},
"failure": {
"errno": "2",
"error_msg": "snapshot 'snapshot_0' does not exist"
}
}
}
Fixes: https://tracker.ceph.com/issues/55190
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Ernesto Puerta [Wed, 13 Apr 2022 08:37:30 +0000 (10:37 +0200)]
Merge pull request #45059 from ceph/wip-merge_message_browser-master
doc: browser extension for merge message
Reviewed-by: Nizamudeen A <nia@redhat.com>
Ernesto Puerta [Wed, 13 Apr 2022 08:37:18 +0000 (10:37 +0200)]
Merge pull request #45081 from ceph/epuertat-patch-2
doc: fix format issues
Reviewed-by: anthonyeleven <NOT@FOUND>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Ernesto Puerta [Wed, 13 Apr 2022 08:37:01 +0000 (10:37 +0200)]
Merge pull request #45083 from ceph/epuertat-patch-4
doc: fix config option links
Reviewed-by: anthonyeleven <NOT@FOUND>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Samuel Just [Wed, 13 Apr 2022 05:05:43 +0000 (22:05 -0700)]
Merge pull request #45574 from cyx1231st/wip-crimson-refactor-with-device
crimson/os/seastore: introduce the generic Device class
Reviewed-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 13 Apr 2022 03:20:54 +0000 (20:20 -0700)]
Merge pull request #45775 from liu-chunmei/seastore-zero
crimson: seastore add OP_ZERO support
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Mark Nelson [Wed, 13 Apr 2022 00:53:56 +0000 (00:53 +0000)]
os/bluestore: Always update the cursor position in AVL near-fit search.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
Samuel Just [Thu, 7 Apr 2022 21:30:32 +0000 (21:30 +0000)]
crimson: Implement ObjectDataHandler::zero using hole punching
Trim already treats Reserved regions as zero, let's use that
for zero as well.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 8 Apr 2022 09:20:49 +0000 (02:20 -0700)]
crimson/os/seastore/object_data_handler: don't return empty buffers from split_pin*
Always return std::nullopt rather than an empty buffer -- this way users
can rely on this as an invariant.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 7 Apr 2022 20:48:38 +0000 (20:48 +0000)]
test/crimson/seastore: improve test_seastore zero() coverage
Signed-off-by: Samuel Just <sjust@redhat.com>
chunmei-liu [Wed, 6 Apr 2022 23:37:23 +0000 (16:37 -0700)]
crimson: add seastore::zero unit test
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
chunmei-liu [Sat, 2 Apr 2022 03:39:15 +0000 (20:39 -0700)]
crimson: seastore add OP_ZERO support
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Yuri Weinstein [Tue, 12 Apr 2022 20:51:58 +0000 (13:51 -0700)]
Merge pull request #45756 from rzarzynski/wip-common-no-cpp17-second_round
common/bl: fix FTBFS on C++11 due to C++17's if-with-initializer
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Tue, 12 Apr 2022 19:12:26 +0000 (12:12 -0700)]
Merge pull request #45819 from ljflores/wip-anonymize-telemetry-host-names
mgr/telemetry: anonymize daemons in telemetry `perf_counters`
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Yuri Weinstein [Tue, 12 Apr 2022 19:10:48 +0000 (12:10 -0700)]
Merge pull request #45802 from ljflores/wip-config-dump-yaml
ceph.in: clarify the usage of `--format` in the ceph command
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Neha Ojha [Tue, 12 Apr 2022 18:06:19 +0000 (11:06 -0700)]
Merge pull request #45531 from ifed01/wip-ifed-alloc-replay-with-bin
os/bluestore: proper locking for Allocators' dump
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Ilya Dryomov [Sun, 10 Apr 2022 16:13:48 +0000 (18:13 +0200)]
librbd/cache/pwl: remove RBD_FEATURE_DIRTY_CACHE check in DiscardRequest
"m_image_ctx.features &&RBD_FEATURE_DIRTY_CACHE" is obviously wrong
because it would pretty much always be true. However, even if bitwise
AND was used, this check would still be dead because DiscardRequest is
only invoked if RBD_FEATURE_DIRTY_CACHE is enabled:
int invalidate_cache(ImageCtx *ictx) {
{
...
// Delete writeback cache if it is not initialized
if ((!ictx->exclusive_lock ||
!ictx->exclusive_lock->is_lock_owner()) &&
ictx->test_features(RBD_FEATURE_DIRTY_CACHE)) {
C_SaferCond ctx3;
ictx->plugin_registry->discard(&ctx3);
r = ctx3.wait();
}
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Sun, 10 Apr 2022 14:57:24 +0000 (16:57 +0200)]
librbd/cache/pwl: don't crash if cache file removal fails
The non-ec overload will throw fs::filesystem_error on any error
(e.g. EPERM due to unprivileged "rbd persistent-cache invalidate"
being brought up against a privileged workload).
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Yin Congmin [Mon, 27 Dec 2021 07:06:49 +0000 (15:06 +0800)]
rbd: add persistent-cache flush command
Add a flush command so that users can manually flush cache.
[ idryomov: error messages, incorporate doc and help.t hunks, drop
do_persistent_cache_flush() ]
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Yin Congmin [Mon, 27 Dec 2021 03:50:18 +0000 (11:50 +0800)]
rbd: rename image-cache invalidate command
Rename command image-cache to persistent-cache. Refactoring the code
of invalidate command.
[ idryomov: error message, incorporate doc and help.t hunks, drop
do_persistent_cache_invalidate() ]
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Yin Congmin [Wed, 22 Dec 2021 07:07:11 +0000 (15:07 +0800)]
librbd/cache/pwl: rename persistent cache key
librbd "internal" metadata keys was change to ".rbd" prefix. Change
peristent cache to ".rbd" too.
And the name of persistent cache key is IMAGE_CACHE_STATE. Since
this key is planned to be used outside the pwl directory, it seems
more appropriate to change it to a clear name as PERSISTENT_CACHE_STATE.
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
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>
Yingxin Cheng [Tue, 12 Apr 2022 13:48:14 +0000 (21:48 +0800)]
crimson/os/seastore/EPM: use DEVICE_ID_GLOBAL_MAX for devices
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
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>
Redouane Kachach [Fri, 1 Apr 2022 16:03:42 +0000 (18:03 +0200)]
mgr/cephadm: Adding cephadm networking configuration checks+refactoring
Fixes: https://tracker.ceph.com/issues/55174
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Igor Fedotov [Mon, 21 Mar 2022 11:58:18 +0000 (14:58 +0300)]
os/bluestore: proper locking for Allocators' dump methods
Plus renaming parametrized dump to foreach()
Fixes: https://tracker.ceph.com/issues/54973
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
Igor Fedotov [Fri, 18 Mar 2022 19:13:12 +0000 (22:13 +0300)]
test/allocator_replay_test: introduce check for duplicates
This performs check for duplicates using free dump.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
Igor Fedotov [Fri, 18 Mar 2022 11:35:16 +0000 (14:35 +0300)]
test/allocator_replay_test: introduce binary format for free list dump
Adding new command to export free dump to binary format plus capability
to use new format for replay.
This dramatically increases large dump loading.
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sarthak0702 [Mon, 11 Apr 2022 18:35:34 +0000 (00:05 +0530)]
mgr/dashboard:Add cypress env for login credentials
Fixes: https://tracker.ceph.com/issues/55270
Signed-off-by: Sarthak0702 <sarthak.dev.0702@gmail.com>
windgmbh [Fri, 12 Nov 2021 15:51:03 +0000 (16:51 +0100)]
Apply sysctl.d migration from /usr/lib to /etc
A fix regarding the SYSCTL_DIR location (#53130) requires to migrate
sysctl.d/*.conf files from /usr/lib to /etc.
Signed-off-by: Lukas Mayer <lmayer@wind.gmbh>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Teoman ONAY [Wed, 6 Apr 2022 09:32:17 +0000 (11:32 +0200)]
ceph cephadm set-user does not reflect the user change in ssh-config
Fixes: https://tracker.ceph.com/issues/54618
Signed-off-by: Teoman ONAY <tonay@redhat.com>
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>
Redouane Kachach [Mon, 11 Apr 2022 11:04:13 +0000 (13:04 +0200)]
mgr/cephadm: skip loopback devices when gathering facts
Fixes: https://tracker.ceph.com/issues/53528
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
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>
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>
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>