]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years ago16.2.5 v16.2.5
Jenkins Build Slave User [Thu, 8 Jul 2021 14:03:56 +0000 (14:03 +0000)]
16.2.5

4 years agoMerge pull request #41774 from trociny/wip-51143-pacific
Yuri Weinstein [Wed, 7 Jul 2021 13:08:46 +0000 (06:08 -0700)]
Merge pull request #41774 from trociny/wip-51143-pacific

pacific: cls/rgw: look for plain entries in non-ascii plain namespace too

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #42153 from rhcs-dashboard/wip-51478-pacific
Ernesto Puerta [Tue, 6 Jul 2021 16:15:08 +0000 (18:15 +0200)]
Merge pull request #42153 from rhcs-dashboard/wip-51478-pacific

pacific: mgr/dashboard: fix OSD out count

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: huww98 <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
4 years agoMerge pull request #42156 from rhcs-dashboard/wip-51489-pacific
Ernesto Puerta [Mon, 5 Jul 2021 15:51:40 +0000 (17:51 +0200)]
Merge pull request #42156 from rhcs-dashboard/wip-51489-pacific

pacific: mgr/dashboard: run cephadm-backend e2e tests with KCLI

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge PR #42159 into pacific
Patrick Donnelly [Fri, 2 Jul 2021 20:07:04 +0000 (13:07 -0700)]
Merge PR #42159 into pacific

* refs/pull/42159/head:
pybind/ceph_volume_client: use cephfs mkdirs api

Reviewed-by: Ramana Raja <rraja@redhat.com>
4 years agopybind/ceph_volume_client: use cephfs mkdirs api 42159/head
Patrick Donnelly [Fri, 2 Jul 2021 16:07:34 +0000 (09:07 -0700)]
pybind/ceph_volume_client: use cephfs mkdirs api

This _mkdir_p should never have worked as the first directory it tries
to stat/mkdir is "", the empty string. This causes an assertion in the
client. I'm not sure how this code ever functioned without causing
faults. They look like:

    2021-07-01 02:15:04.449 7f7612b5ab80  3 client.178735 statx enter (relpath  want 2047)

The assertion is caused by a C++ exception:

/usr/include/c++/8/string_view:172: constexpr const _CharT& std::basic_string_view<_CharT, _Traits>::operator[](std::basic_string_view<_CharT, _Traits>::size_type) const [with _CharT = char$_Traits = std::char_traits<char>; std::basic_string_view<_CharT, _Traits>::size_type = long unsigned int]: Assertion '__pos < this->_M_len' failed.
        Aborted (core dumped)

Where relpath is just the path passed to Client::stat.

This commit only applies to Pacific and older because master no longer
has this library.

Fixes: https://tracker.ceph.com/issues/51492
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agomgr/dashboard: run cephadm-backend e2e tests with KCLI 42156/head
Alfonso Martínez [Fri, 2 Jul 2021 08:08:49 +0000 (10:08 +0200)]
mgr/dashboard: run cephadm-backend e2e tests with KCLI

Fixes: https://tracker.ceph.com/issues/51300
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 5c03b49c4da55cf8d0c679ecb2c58182e4d3361a)

4 years agomgr/dashboard: fix OSD out count 42153/head
胡玮文 [Mon, 21 Jun 2021 13:31:49 +0000 (21:31 +0800)]
mgr/dashboard: fix OSD out count

Think we have 3 OSDs out but up (prepare for re-formatting to change min_alloc_size), and another OSD down but in
(during reboot). The dashboard will display "1 down, 2 out", which is obviously incorrect. It should be "1 down, 3 out"

Fixes: https://tracker.ceph.com/issues/51376
Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit 921b48234777eba1a15c126f964cc47c0932879a)

4 years agoMerge pull request #42140 from rhcs-dashboard/wip-51475-pacific
Ernesto Puerta [Fri, 2 Jul 2021 09:14:24 +0000 (11:14 +0200)]
Merge pull request #42140 from rhcs-dashboard/wip-51475-pacific

pacific: mgr/dashboard: User database migration has been cut out

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
4 years agoMerge pull request #42120 from neha-ojha/wip-51453-pacific
Yuri Weinstein [Thu, 1 Jul 2021 18:57:19 +0000 (11:57 -0700)]
Merge pull request #42120 from neha-ojha/wip-51453-pacific

pacific: qa/suites/rados: add simultaneous scrubs to the thrasher

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 years agoMerge pull request #42065 from batrick/i51232
Yuri Weinstein [Thu, 1 Jul 2021 16:02:37 +0000 (09:02 -0700)]
Merge pull request #42065 from batrick/i51232

pacific: qa: scrub code does not join scrubopts with comma

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42067 from batrick/i51251
Yuri Weinstein [Thu, 1 Jul 2021 16:01:46 +0000 (09:01 -0700)]
Merge pull request #42067 from batrick/i51251

pacific: qa: fs:upgrade uses teuthology default distro

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agomgr/dashboard: User database migration has been cut out 42140/head
Volker Theile [Wed, 30 Jun 2021 12:00:28 +0000 (14:00 +0200)]
mgr/dashboard: User database migration has been cut out

This PR will revert changes done by https://tracker.ceph.com/issues/49645 to auto-migrate user database v1 to v2.

Fixes: https://tracker.ceph.com/issues/51443
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 82922811612813840a684af993ca7c95a0b48d53)

4 years agoMerge pull request #41842 from Daniel-Pivonka/pacific-backport-41740
Sage Weil [Thu, 1 Jul 2021 15:51:32 +0000 (10:51 -0500)]
Merge pull request #41842 from Daniel-Pivonka/pacific-backport-41740

pacific: mgr/nfs: do not depend on cephadm.utils

4 years agoMerge pull request #42117 from liewegas/cephadm-june-last-pacific
Sage Weil [Thu, 1 Jul 2021 15:49:37 +0000 (10:49 -0500)]
Merge pull request #42117 from liewegas/cephadm-june-last-pacific

pacific: cephadm june final batch

4 years agoMerge pull request #42119 from rhcs-dashboard/wip-51447-pacific
Ernesto Puerta [Thu, 1 Jul 2021 08:45:45 +0000 (10:45 +0200)]
Merge pull request #42119 from rhcs-dashboard/wip-51447-pacific

pacific: mgr/dashboard: Fix bucket name input allowing space in the value

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #42061 from batrick/i50913
Yuri Weinstein [Wed, 30 Jun 2021 23:58:48 +0000 (16:58 -0700)]
Merge pull request #42061 from batrick/i50913

pacific: MDS heartbeat timed out between during executing MDCache::start_files_to_recover()

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #42068 from batrick/i51286
Yuri Weinstein [Wed, 30 Jun 2021 23:57:28 +0000 (16:57 -0700)]
Merge pull request #42068 from batrick/i51286

pacific: MDSMonitor: crash when attempting to mount cephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42097 from vshankar/wip-51413
Yuri Weinstein [Wed, 30 Jun 2021 19:38:52 +0000 (12:38 -0700)]
Merge pull request #42097 from vshankar/wip-51413

pacific: cephfs-mirror: reopen logs on SIGHUP

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42072 from batrick/i51414
Yuri Weinstein [Wed, 30 Jun 2021 19:35:53 +0000 (12:35 -0700)]
Merge pull request #42072 from batrick/i51414

pacific: mds: "FAILED ceph_assert(r == 0 || r == -2)"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42071 from batrick/i51412
Yuri Weinstein [Wed, 30 Jun 2021 19:35:17 +0000 (12:35 -0700)]
Merge pull request #42071 from batrick/i51412

pacific: mds: mkdir on ephemerally pinned directory sometimes blocked on journal flush

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42070 from batrick/i51324
Yuri Weinstein [Wed, 30 Jun 2021 19:34:30 +0000 (12:34 -0700)]
Merge pull request #42070 from batrick/i51324

pacific: pacific: client: abort after MDS blocklist

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42069 from batrick/i51322
Yuri Weinstein [Wed, 30 Jun 2021 19:33:55 +0000 (12:33 -0700)]
Merge pull request #42069 from batrick/i51322

pacific: qa: test_data_scan.TestDataScan.test_pg_files AssertionError: Items in the second set but not the first:

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42066 from batrick/i51235
Yuri Weinstein [Wed, 30 Jun 2021 19:32:05 +0000 (12:32 -0700)]
Merge pull request #42066 from batrick/i51235

pacific: doc: pacific updates

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42064 from batrick/i51231
Yuri Weinstein [Wed, 30 Jun 2021 19:29:55 +0000 (12:29 -0700)]
Merge pull request #42064 from batrick/i51231

pacific: pybind/mgr/snap_schedule: Invalid command: Unexpected argument 'fs=cephfs'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #42063 from batrick/i51230
Yuri Weinstein [Wed, 30 Jun 2021 19:29:06 +0000 (12:29 -0700)]
Merge pull request #42063 from batrick/i51230

pacific: qa: fs:bugs does not specify distro

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agopacific: qa: add missing package exclusions 42067/head
Patrick Donnelly [Wed, 30 Jun 2021 19:18:47 +0000 (12:18 -0700)]
pacific: qa: add missing package exclusions

ceph-immutable-object-cache does not exist on nautilus.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agotest/pybind/test_ceph_argparse: add a test where args contains comma 42065/head
Kefu Chai [Sun, 13 Jun 2021 11:56:26 +0000 (19:56 +0800)]
test/pybind/test_ceph_argparse: add a test where args contains comma

to ensure the support for the new syntax of "prefix --name bon,jour"
does not break existing behavior of "prefix hello cruel,world" where value2
contains reads "hello,world", and the parsed result should be

prefix="prefix"
value=["hello", "cruel,world"]

instead of something like

prefix="prefix"
value=["hello", "cruel", "world"]

or

prefix="prefix"
value=["cruel", "world"]

the above test only applies to the test where "value" is a CephString.
if "value" is a CephChoices, the parsed argument should be

prefix="prefix"
value=["hello", "cruel", "world"]

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 9b6be59d6fa6ff7f6c5d773b6774728cf828b768)

4 years agocmake: run nose test using "python3 -m nose"
Kefu Chai [Wed, 9 Jun 2021 03:37:41 +0000 (11:37 +0800)]
cmake: run nose test using "python3 -m nose"

otherwise the tests are not performed at all.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 49be76ce11085bd333b5b8b281d8676c5ed450c2)

4 years agotest/pybind/test_ceph_argparse: check for expected argument
Kefu Chai [Sun, 13 Jun 2021 04:03:11 +0000 (12:03 +0800)]
test/pybind/test_ceph_argparse: check for expected argument

instead of comparing the validated argument with empty dict, check for
its content for better coverage of testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit cf4570d663d9c0fb656a54adc03fdfe83ead6ed0)

4 years agotest/pybind/test_ceph_argparse: decorate helper method with @nottest
Kefu Chai [Wed, 9 Jun 2021 03:24:37 +0000 (11:24 +0800)]
test/pybind/test_ceph_argparse: decorate helper method with @nottest

otherwise nose tries to run it as a test as its name contains "test", like

E.
======================================================================
ERROR: Runs validate in different arg/kargs ways.
----------------------------------------------------------------------
TypeError: arg_kwarg_test() missing 3 required positional arguments: 'prefix', 'args', and 'sig'

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 3d7516f8daefcefa06a46981a62442d9193164f6)

4 years agotest/pybind: do not test obsoleted command
Kefu Chai [Wed, 9 Jun 2021 03:11:40 +0000 (11:11 +0800)]
test/pybind: do not test obsoleted command

"scrub" command was marked obsoleted in
e9a5ce0897efc6126caeebea9900bf05ec3d2174, so the test_ceph_argparse
cannot retrieve its command description using "get_command_descriptions"
cli tool anymore, let's drop the related test accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 77cb1fed0c30eec83ee0e4e0899dfdc1d4c5cc51)

4 years agotest/pybind: drop forward and readforward from test
Kefu Chai [Wed, 9 Jun 2021 03:01:20 +0000 (11:01 +0800)]
test/pybind: drop forward and readforward from test

these two write modes were dropped in
a0a3ed324a130a9934735927600f01d1fa65bc0d, so update the test
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit b8389557ad6297256f6a793723a5b601de739f2d)

4 years agotest/pybind: do not use tab for indent
Kefu Chai [Wed, 9 Jun 2021 02:57:32 +0000 (10:57 +0800)]
test/pybind: do not use tab for indent

the python source file is idented using spaces.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 952285dcde501b38a63533768705526d3c5f02dc)

4 years agopybind/ceph_argparse: validate csv if desc.N
Kefu Chai [Wed, 9 Jun 2021 02:01:35 +0000 (10:01 +0800)]
pybind/ceph_argparse: validate csv if desc.N

if desc.N is not None, we should take the argument as a comma separated
values, and validate the values individually.

restructure the validate() function and its helpers to pass the
validated args if desc.N explicitly, as desc.instance.val should only
hold a single value of desc.instance type, otherwise we need to reset
it after collecting all the argument in a CSV string value is parsed.

this change would be less consistent and hackish.

and update a test to verify this behavior.

Fixes: https://tracker.ceph.com/issues/51145
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 0948a78ee6524911bd1fb76f1bf285e90e3cd349)

4 years agotest/pybind: pep8 cleanups
Kefu Chai [Wed, 9 Jun 2021 02:00:08 +0000 (10:00 +0800)]
test/pybind: pep8 cleanups

* do not import unused symbols
* add two empty lines before method
* aligned indents

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit bc182888a3ca557e330e4317e0c50c1e80dbde4d)

4 years agoMerge pull request #42045 from tchaikov/pacific-51354
Yuri Weinstein [Wed, 30 Jun 2021 18:51:31 +0000 (11:51 -0700)]
Merge pull request #42045 from tchaikov/pacific-51354

pacific: osd/osd_type: use f->dump_unsigned() when appropriate

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
4 years agoMerge pull request #42019 from neha-ojha/wip-50791-pacific
Yuri Weinstein [Wed, 30 Jun 2021 18:50:11 +0000 (11:50 -0700)]
Merge pull request #42019 from neha-ojha/wip-50791-pacific

pacific: osd: clear data digest when write_trunc

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41944 from ronen-fr/wip-ronenf-pac-50346
Yuri Weinstein [Wed, 30 Jun 2021 18:48:15 +0000 (11:48 -0700)]
Merge pull request #41944 from ronen-fr/wip-ronenf-pac-50346

pacific: osd/scrub: replace a ceph_assert() with a test

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #42062 from batrick/i51203
Yuri Weinstein [Wed, 30 Jun 2021 18:43:56 +0000 (11:43 -0700)]
Merge pull request #42062 from batrick/i51203

pacific: mds: CephFS kclient gets stuck when getattr() on a certain file

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #42060 from batrick/i50875
Yuri Weinstein [Wed, 30 Jun 2021 18:42:53 +0000 (11:42 -0700)]
Merge pull request #42060 from batrick/i50875

pacific: mds: MDSLog::journaler pointer maybe crash with use-after-free

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #42059 from batrick/i50848
Yuri Weinstein [Wed, 30 Jun 2021 18:42:28 +0000 (11:42 -0700)]
Merge pull request #42059 from batrick/i50848

pacific: mds: "cluster [ERR]   Error recovering journal 0x203: (2) No such file or directory" in cluster log"

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #42058 from batrick/i50846
Yuri Weinstein [Wed, 30 Jun 2021 18:42:06 +0000 (11:42 -0700)]
Merge pull request #42058 from batrick/i50846

pacific: mds: journal recovery thread is possibly asserting with mds_lock not locked

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #42057 from batrick/i50636
Yuri Weinstein [Wed, 30 Jun 2021 18:41:25 +0000 (11:41 -0700)]
Merge pull request #42057 from batrick/i50636

pacific: session dump includes completed_requests twice, once as an integer and once as a list

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #42056 from batrick/i50630
Yuri Weinstein [Wed, 30 Jun 2021 18:40:58 +0000 (11:40 -0700)]
Merge pull request #42056 from batrick/i50630

pacific: mds: Error ENOSYS: mds.a started profiler

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #41460 from idryomov/wip-qa-focal-pacific
Yuri Weinstein [Wed, 30 Jun 2021 18:32:33 +0000 (11:32 -0700)]
Merge pull request #41460 from idryomov/wip-qa-focal-pacific

pacific: qa/tests: replaced ubuntu_latest.yaml with ubuntu 20.04

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41052 from lxbsz/wip-50445-pacific
Yuri Weinstein [Wed, 30 Jun 2021 18:30:57 +0000 (11:30 -0700)]
Merge pull request #41052 from lxbsz/wip-50445-pacific

pacific: client: make Inode to inherit from RefCountedObject

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge pull request #40856 from batrick/i50282
Yuri Weinstein [Wed, 30 Jun 2021 18:29:56 +0000 (11:29 -0700)]
Merge pull request #40856 from batrick/i50282

pacific: MDS slow request lookupino #0x100 on rank 1 block forever on dispatched

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agomgr: move GIL helpers to Gil.{h,cc} 42117/head
Kefu Chai [Thu, 18 Feb 2021 04:11:24 +0000 (12:11 +0800)]
mgr: move GIL helpers to Gil.{h,cc}

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 88db7b190a974d70c08a1951b06b7fc9957b1b60)

4 years agoqa/suites/rados: add simultaneous scrubs (multiple options) to the thrasher 42120/head
Ronen Friedman [Thu, 24 Jun 2021 15:53:50 +0000 (18:53 +0300)]
qa/suites/rados: add simultaneous scrubs (multiple options) to the thrasher

Setting osd-max-scrubs to either 2 or 3.

Triggered by https://tracker.ceph.com/issues/50346

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit d232c4e8d8e4ca0ff428960235b61ea398bbec07)

4 years agomgr/dashboard: Fix bucket name input allows space in the value 42119/head
Nizamudeen A [Fri, 25 Jun 2021 13:30:42 +0000 (19:00 +0530)]
mgr/dashboard: Fix bucket name input allows space in the value

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

4 years agomgr/ActivePyModules: streamline mgr_ips a bit
Sage Weil [Wed, 30 Jun 2021 13:03:13 +0000 (09:03 -0400)]
mgr/ActivePyModules: streamline mgr_ips a bit

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 49d5a5bdea2ca925ee5030d19d3793927c2a1fbd)

4 years agomgr/ActivePyModules: don't take unnecessary lock
Sage Weil [Tue, 29 Jun 2021 22:49:52 +0000 (18:49 -0400)]
mgr/ActivePyModules: don't take unnecessary lock

This isn't needed.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 3ee6f97b3ed172be98dd429a4aef54de5fb689f7)

4 years agopybind/mgr/mgr_module: use get("mgr_ips") for standby get_mgr_ip()
Sage Weil [Tue, 29 Jun 2021 22:47:13 +0000 (18:47 -0400)]
pybind/mgr/mgr_module: use get("mgr_ips") for standby get_mgr_ip()

This is necessary to allow the standby mgr to bind to the right IP.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit d159adc20e005dc7f7a7cea06c2ee7aa6f06d559)

4 years agomgr: add get() for standby modules
Sage Weil [Tue, 29 Jun 2021 22:46:36 +0000 (18:46 -0400)]
mgr: add get() for standby modules

Fixes: https://tracker.ceph.com/issues/51446
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 8b8e7522982476d25685ad055d4a89f6173041f8)

4 years agodoc/cephadm: improving "Monitoring the Upgrade"
Zac Dover [Tue, 29 Jun 2021 12:42:29 +0000 (22:42 +1000)]
doc/cephadm: improving "Monitoring the Upgrade"

This PR improves the section "Monitoring the Upgrade"
in the "Upgrading Ceph" chapter of the cephadm documentation.

This PR introduces a couple of section breaks with signposting
information in their titles, and rewrites some sentences in order
to reduce the cognitive load of the reader.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 2dcdef0d43fb269447b5a00c8c29dc508919768d)

4 years agodoc/cephadm: improve "Upgrading Ceph" (main)
Zac Dover [Tue, 29 Jun 2021 01:29:33 +0000 (11:29 +1000)]
doc/cephadm: improve "Upgrading Ceph" (main)

This PR makes a couple of minor improvements to the text under the
top-level section "Upgrading Ceph" in the "Upgrading Ceph" chapter of
the cephadm documentation.

This one, mercifully, contains only a couple of changes.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit b4bfb3efb6d61cc19b286bb6a43c4d7db643df59)

4 years agocephadm: Fix normalize_image_digest for local registries
Sebastian Wagner [Fri, 25 Jun 2021 15:21:49 +0000 (17:21 +0200)]
cephadm: Fix normalize_image_digest for local registries

Cause they typically don't have dots in it.

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit 8ef5657cf6aa3558a20516cfa1a793dfba513db4)
 - conflict with adjacent test for the journald logging, which was not backported

4 years agodoc/cephadm: enrich "Disabling Automatic Deploy..."
Zac Dover [Mon, 28 Jun 2021 09:17:43 +0000 (19:17 +1000)]
doc/cephadm: enrich "Disabling Automatic Deploy..."

This PR rewrites and reformats the section "Disabling Automatic
Deployment of Daemons" in the "Service Management" chapter of the
cephadm guide.

I've rewritten some sentences, removed some "please"s, and added
some section titles so that the content in this is better
signposted.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit fee80411297589f80ff458bd20902e547e41c603)

4 years agodoc/cephadm: enrich "deployment of daemons"
Zac Dover [Wed, 23 Jun 2021 14:32:06 +0000 (00:32 +1000)]
doc/cephadm: enrich "deployment of daemons"

service-management.rst contained a section called
"Deployment of Daemons" that needed a rewrite by
a native English speaker.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 14dfbff2cd844885ab521de944ebeb0bb92bb72d)

4 years agosrc/vstart: create rgw user with system flag
Varsha Rao [Wed, 14 Apr 2021 11:51:23 +0000 (17:21 +0530)]
src/vstart: create rgw user with system flag

As dashboard requires the system flag to be enabled.

Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 0d0cd4c6b0e8bbeaa71f54c831d67ef880e58016)

4 years agosrc/vstart: deploy rgw service with cephadm
Varsha Rao [Wed, 14 Apr 2021 11:50:38 +0000 (17:20 +0530)]
src/vstart: deploy rgw service with cephadm

Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 63f5fa2e5e8946be4b4123c588bb133f1b18412b)

4 years agodoc/install/get-packages: point to current stable release
Sandro Bonazzola [Tue, 22 Jun 2021 07:49:30 +0000 (09:49 +0200)]
doc/install/get-packages: point to current stable release

Point to pacific for downloading the cephadm script

Co-authored-by: Kefu Chai <tchaikov@gmail.com>
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
(cherry picked from commit 136dbdef663a5d1c658dad52a794941ab6e6eb07)

4 years agodoc: Add kcli utilization for development environments
Juan Miguel Olmo Martínez [Fri, 4 Jun 2021 11:09:24 +0000 (13:09 +0200)]
doc: Add kcli utilization for development environments

How to use kcli to create ceph clusters (cephadm) and made easy code changes in
manager modules.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit 3b82624e0cf0babec6868c1a999c5740fe04302f)

4 years agoMerge pull request #42027 from rhcs-dashboard/wip-51148-pacific
Ernesto Puerta [Wed, 30 Jun 2021 15:07:48 +0000 (17:07 +0200)]
Merge pull request #42027 from rhcs-dashboard/wip-51148-pacific

pacific: mgr/dashboard: Include Network address and labels on Host Creation form

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agologrotate: include cephfs-mirror daemon 42097/head
Venky Shankar [Thu, 24 Jun 2021 04:57:29 +0000 (00:57 -0400)]
logrotate: include cephfs-mirror daemon

Fixes: http://tracker.ceph.com/issues/51318
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 957bae255c9f6fba8a4ccfcb885c2687784444aa)

4 years agocephfs-mirror: reopen logs on SIGHUP
Venky Shankar [Wed, 23 Jun 2021 06:59:13 +0000 (02:59 -0400)]
cephfs-mirror: reopen logs on SIGHUP

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 68ad416766e2c73109dbf44f179d1b85b9d61994)

4 years agomgr/dashboard: Include Network address and labels on Host Creation form 42027/head
Nizamudeen A [Fri, 30 Apr 2021 18:29:38 +0000 (23:59 +0530)]
mgr/dashboard: Include Network address and labels on Host Creation form

The ability to create host by specifying network address and also create
labels.

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

Conflicts:
qa/tasks/mgr/dashboard/test_host.py
   -  Keep the {'status': ''} parameter on the request body of _post
src/pybind/mgr/dashboard/controllers/host.py
   -  Added the addr and labels as parameter in the create() method
      as well as the add_host() method.
src/pybind/mgr/dashboard/services/orchestrator.py
   -  Added  the addr and labels as parameter in the add() method and
      removed the status parameter
src/pybind/mgr/dashboard/openapi.yaml
   -  Regenerated the openapi.yaml spec

4 years agomds: just respawn mds daemon when osd op requests timeout 42072/head
Xiubo Li [Thu, 24 Jun 2021 06:41:10 +0000 (14:41 +0800)]
mds: just respawn mds daemon when osd op requests timeout

Fixes: https://tracker.ceph.com/issues/51280
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit c854a4eea44a631079dfe481c235a323fae54b74)

4 years agomds: try to flush the mdlog when requesting the rdlock 42071/head
Xiubo Li [Tue, 15 Jun 2021 03:25:31 +0000 (11:25 +0800)]
mds: try to flush the mdlog when requesting the rdlock

After client requests' early_reply() the mdlog won't be flushed
immediately, but it will hold the write lock. So if the client
sends another request to a different MDS daemon, which then needs
to request read lock, then it maybe stuck at most for 5 seconds.
Let's try to flush the mdlog which might release the write locks
after mdlog is successfully flushed.

Fixes: https://tracker.ceph.com/issues/51069
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 63f7a165ec6bbf9cb1bded29f8bc5c017c01c768)

4 years agoclient: check if a mds rank is `up` before fetching connection addr 42070/head
Venky Shankar [Wed, 16 Jun 2021 04:53:16 +0000 (00:53 -0400)]
client: check if a mds rank is `up` before fetching connection addr

Client segfaults when trying to infer which mds rank a connection
reset call is coming from. It does this by iterating `mds_sessions`
and checking the mds addr (in mdsmap) to the `Connection *`.

However, cases where the mds is blocklisted, the client receives
an updated mdsmap in which the corresponding mds is not in `up`
set thereby resulting in a segfault when calling `mdsmap->get_addrs`
since it expects that the mds should be in `up` state.

Note that this leaves the `Connection *` as it is and does not clean
it up. That needs to fixed separately probably by maintaining a map
of `Connection *` to mds rank for lookup.

Fixes: http://tracker.ceph.com/issues/50530
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 951483fd36c28c65f12da7c058132d14a99ac5a9)

4 years agoqa: always format the pgid in hex 42069/head
Xiubo Li [Mon, 24 May 2021 02:49:09 +0000 (10:49 +0800)]
qa: always format the pgid in hex

If the pg number is larger than 9, this won't match the array index,
which was in dec just before this.

Fixes: https://tracker.ceph.com/issues/50808
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 2b9b2a3fbd5d4e1f01b96a96d4abaccffb8b9e3a)

4 years agomon/MDSMonitor: check fscid exists for legacy case 42068/head
Patrick Donnelly [Wed, 16 Jun 2021 16:30:41 +0000 (09:30 -0700)]
mon/MDSMonitor: check fscid exists for legacy case

If a client does not have permission to see the legacy fs, the monitor
will throw an exception when looking up the mdsmap later in the code.
We need to check existence for both code paths.

Fixes: https://tracker.ceph.com/issues/51077
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 75ccd9d49c78bacf73b9e61d99a75fb455a8b85f)

4 years agoqa: use centos latest for fs:upgrade
Patrick Donnelly [Wed, 16 Jun 2021 19:16:36 +0000 (12:16 -0700)]
qa: use centos latest for fs:upgrade

Fixes: https://tracker.ceph.com/issues/51250
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit b946d5a6b202f3770b3d4a5d34dd8b31b27d8498)

4 years agodoc: add missing note about restoring allow_standby_replay 42066/head
Patrick Donnelly [Fri, 23 Apr 2021 18:22:56 +0000 (11:22 -0700)]
doc: add missing note about restoring allow_standby_replay

Fixes: https://tracker.ceph.com/issues/51187
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 103bb6b6bb3b5350946985eb1546fdeac1fa454f)

4 years agodoc: clarify distributed ephemeral pins new mechanism
Patrick Donnelly [Thu, 22 Apr 2021 03:41:43 +0000 (20:41 -0700)]
doc: clarify distributed ephemeral pins new mechanism

This documentation was for the old code, the new code (by Zheng)
fragments the directory and distributes those fragments.

Fixes: https://tracker.ceph.com/issues/51187
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit dcb340f3d82984055f488501cbfe4c267be4f98a)

4 years agodoc: update mds_autoscaler documentation to reflect recent changes
Patrick Donnelly [Wed, 21 Apr 2021 18:09:53 +0000 (11:09 -0700)]
doc: update mds_autoscaler documentation to reflect recent changes

Notably, Sage changed how this worked in [1].

[1] 6d8c0e4722eb5f3014dc76f6733afea08bcc8e72

Fixes: https://tracker.ceph.com/issues/51187
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 570c7ffc0149b9fbd20b50b54632f37990b27128)

4 years agoqa: update scrub start code to use comma sep scrubopts
Patrick Donnelly [Wed, 9 Jun 2021 02:37:16 +0000 (19:37 -0700)]
qa: update scrub start code to use comma sep scrubopts

The documentation specifies this in [1] and yet we were using (I
believe) an older syntax:

    ceph tell mds.foo:0 scrub start / recursive force

instead of

    ceph tell mds.foo:0 scrub start / recursive,force

Oddly the former works at least as recently as in [2]:

    2021-06-03T07:11:42.071 DEBUG:teuthology.orchestra.run.smithi025:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph tell mds.1:0 scrub start / recursive force
    ...
    2021-06-03T07:11:42.268 INFO:teuthology.orchestra.run.smithi025.stdout:{
    2021-06-03T07:11:42.268 INFO:teuthology.orchestra.run.smithi025.stdout:    "return_code": 0,
    2021-06-03T07:11:42.268 INFO:teuthology.orchestra.run.smithi025.stdout:    "scrub_tag": "cf7a74b2-3eb2-4657-9274-ea504b1ebf8f",
    2021-06-03T07:11:42.269 INFO:teuthology.orchestra.run.smithi025.stdout:    "mode": "asynchronous"
    2021-06-03T07:11:42.269 INFO:teuthology.orchestra.run.smithi025.stdout:}

[1] https://docs.ceph.com/en/latest/cephfs/scrub/
[2] /ceph/teuthology-archive/pdonnell-2021-06-03_03:40:33-fs-wip-pdonnell-testing-20210603.020013-distro-basic-smithi/6148097/teuthology.log

Fixes: https://tracker.ceph.com/issues/51146
See-also: https://tracker.ceph.com/issues/51145
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 0f505dc299fd10f27bab74b02356c1164814d0f5)

4 years agoqa: update cli syntax to conventional 42064/head
Patrick Donnelly [Mon, 14 Jun 2021 14:49:11 +0000 (07:49 -0700)]
qa: update cli syntax to conventional

This was using an obscure syntax that worked at one time and wasn't
documented (AFAIK).

Fixes: https://tracker.ceph.com/issues/51182
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit a402b23c84aa399a989e1a6d9aa97046481c32c5)

4 years agoqa: specify distro for fs:bugs 42063/head
Patrick Donnelly [Fri, 11 Jun 2021 23:25:50 +0000 (16:25 -0700)]
qa: specify distro for fs:bugs

Fixes: https://tracker.ceph.com/issues/51184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8eeb1455ee48c059a44e18b3fbae0c6a54d5d506)

4 years agomds: progress the recover queue immediately after the inode is enqueued 42062/head
Xiubo Li [Wed, 19 May 2021 07:54:12 +0000 (15:54 +0800)]
mds: progress the recover queue immediately after the inode is enqueued

Fixes: https://tracker.ceph.com/issues/50840
Signed-off-by: "Yan, Zheng" <ukernel@gmail.com>
(cherry picked from commit 616ebc3f04620c22439a62f3af35845fa98e508f)

4 years agomds: switch to mdr->get_client()
Xiubo Li [Tue, 18 May 2021 05:43:29 +0000 (13:43 +0800)]
mds: switch to mdr->get_client()

The get_client() will check the mdr's type, if not a client request
it will return -1.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 4357fa8028f320e973644b7b74aedab567afde2e)

4 years agomds: add heartbeat_reset() in start_files_to_reover() to avoid timedout issue 42061/head
Yongseok Oh [Mon, 17 May 2021 05:11:50 +0000 (05:11 +0000)]
mds: add heartbeat_reset() in start_files_to_reover() to avoid timedout issue

Signed-off-by: Yongseok Oh <yongseok.oh@linecorp.com>
(cherry picked from commit f43f1d85cf162a3204cd42af620303067c9d162f)

4 years agomds: place the journaler pointer under the mds_lock 42060/head
Xiubo Li [Fri, 14 May 2021 02:38:49 +0000 (10:38 +0800)]
mds: place the journaler pointer under the mds_lock

When the _recovery_thread is trying to reformat the journal, it
will delete the old journal pointer and assign with a new one,
during this the mds_lock is unlocked. That means in other threads,
such as when 'flush journal', who are using the MDSLog::journaler
pointer will potentially hit use-after-free bug.

Fixes: https://tracker.ceph.com/issues/50807
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 0c143922f8a7bad0f19a0a2c97121a470b8fcba5)

4 years agomds: save the metadata pool id MDSRank class's private member 42059/head
Xiubo Li [Tue, 11 May 2021 04:03:51 +0000 (12:03 +0800)]
mds: save the metadata pool id MDSRank class's private member

There is one rare case that when mds daemon received a new mdsmap
and during decoding it, the metadata_pool will be reset to -1, if
other threads try to get it from old mdsmap it will get a invalid
pool id.

This can also help get rid of the mds_lock else where.

Fixes: https://tracker.ceph.com/issues/50389
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 5cc44b63f433c29c6fb933ae3072ac6270e7d333)

4 years agomds: fix possible mds_lock not locked assert 42058/head
Xiubo Li [Mon, 10 May 2021 09:14:29 +0000 (17:14 +0800)]
mds: fix possible mds_lock not locked assert

Fixes: https://tracker.ceph.com/issues/50744
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 59ab95c1a86823c372e62a147ecc6e9ed434edd2)

4 years agomds: session dumps num_completed_flushes 42057/head
Dan van der Ster [Wed, 28 Apr 2021 12:35:37 +0000 (14:35 +0200)]
mds: session dumps num_completed_flushes

This can be useful when debugging clients failing to advance
oldest client/flush tid.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit b59c7676ffb880cadd1906554c3445d77afa4389)

4 years agomds: completed_requests -> num_completed_requests
Dan van der Ster [Wed, 28 Apr 2021 12:27:17 +0000 (14:27 +0200)]
mds: completed_requests -> num_completed_requests

Rename this in the session dump so we don't collide with the
completed_requests dump in mdstypes session_info_t::dump.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Fixes: https://tracker.ceph.com/issues/50559
(cherry picked from commit 52098f197e74490d5f2329674dfa93ab5a191063)

4 years agomds: reset the return value for heap command 42056/head
Xiubo Li [Tue, 20 Apr 2021 05:54:11 +0000 (13:54 +0800)]
mds: reset the return value for heap command

Fixes: https://tracker.ceph.com/issues/50433
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit e694f0a92367b7672fcbeab9c104fd055765a36c)

4 years agotest: add test case for MDS privated inos accessing 40856/head
Xiubo Li [Wed, 28 Apr 2021 01:32:24 +0000 (09:32 +0800)]
test: add test case for MDS privated inos accessing

Fixes: https://tracker.ceph.com/issues/50216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 0ec4d781787df777bbfdeb742b394c73a0d76e08)

Conflicts:
src/test/libcephfs/test.cc: trivial conflict of mixed tests

4 years agomds: make the lost+found dir accessible from clients
Xiubo Li [Mon, 19 Apr 2021 02:34:02 +0000 (10:34 +0800)]
mds: make the lost+found dir accessible from clients

Inode number 0x4 is reserved for the lost+found dir, and the apps
or recovery apps need to access it.

At the same time the 0x3 is reserved for the global snaprealm, which
will also be lookup by the clients when looking up the snaprealm inodes.

Here will make all the inode less than 100 accessible by clients.

Fixes: https://tracker.ceph.com/issues/50216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 841071b3602aa2b8bcca57b95cdf671d48036a34)

4 years agomds: move the inos 1,2 and 3 macros to ceph_fs.h
Xiubo Li [Tue, 20 Apr 2021 01:08:20 +0000 (09:08 +0800)]
mds: move the inos 1,2 and 3 macros to ceph_fs.h

For inos 1 and 2 there has two places are defining them, to make
sure we won't miss any one of them, let's define them in only one
header file.

Fixes: https://tracker.ceph.com/issues/50216
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 8615807237458e8cebf9497a7431097cdc56c784)

4 years agoclient: don't allow access to MDS-private inodes
Xiubo Li [Wed, 7 Apr 2021 11:37:26 +0000 (19:37 +0800)]
client: don't allow access to MDS-private inodes

Fixes: https://tracker.ceph.com/issues/50112
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 89c511356125f892477ef42bd14c0b447ff06106)

4 years agomds: reject lookup ino requests for mds dirs
Patrick Donnelly [Wed, 24 Mar 2021 20:54:17 +0000 (13:54 -0700)]
mds: reject lookup ino requests for mds dirs

Fixes: https://tracker.ceph.com/issues/49922
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 682a55e8a22a137f80855f2cdd98f6f230d67fce)

4 years agotest: add test for invalid lookup of mdsdir
Patrick Donnelly [Wed, 24 Mar 2021 21:09:57 +0000 (14:09 -0700)]
test: add test for invalid lookup of mdsdir

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 4778308eb9149594cb31519a5ff77413d6ec1fab)

4 years agoMerge pull request #41753 from ifed01/wip-ifed-fix-alloc-init-add-free-0-len-pac
Yuri Weinstein [Mon, 28 Jun 2021 17:07:12 +0000 (10:07 -0700)]
Merge pull request #41753 from ifed01/wip-ifed-fix-alloc-init-add-free-0-len-pac

pacific: os/bluestore: tolerate zero length for allocators' init_[add/rm]_free()

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41752 from ifed01/wip-ifed-fix-repair-multithreading-pac
Yuri Weinstein [Mon, 28 Jun 2021 17:05:43 +0000 (10:05 -0700)]
Merge pull request #41752 from ifed01/wip-ifed-fix-repair-multithreading-pac

pacific: os/bluestore: introduce multithreading sync for bluestore's repairer

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
4 years agoMerge pull request #42007 from rhcs-dashboard/wip-51343-pacific
Ernesto Puerta [Mon, 28 Jun 2021 16:49:14 +0000 (18:49 +0200)]
Merge pull request #42007 from rhcs-dashboard/wip-51343-pacific

pacific: mgr/dashboard: crushmap tree doesn't display crush type other than root

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #41450 from idryomov/wip-monc-rotating-timeout-pacific
Yuri Weinstein [Mon, 28 Jun 2021 16:32:16 +0000 (09:32 -0700)]
Merge pull request #41450 from idryomov/wip-monc-rotating-timeout-pacific

pacific: mon/MonClient: tolerate a rotating key that is slightly out of date

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #41249 from idryomov/wip-posix-memalign-fix-pacific
Yuri Weinstein [Mon, 28 Jun 2021 16:31:44 +0000 (09:31 -0700)]
Merge pull request #41249 from idryomov/wip-posix-memalign-fix-pacific

pacific: common/buffer: adjust align before calling posix_memalign()

Reviewed-by: Neha Ojha <nojha@redhat.com>