Commit Graph

116847 Commits

Author SHA1 Message Date
Kefu Chai
d5e73a9e93
Merge pull request #38099 from tchaikov/wip-mgr-python3.9
mgr/PyModuleRegistry: do not call PyEval_InitThreads() on python3.9

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-11-17 10:47:07 +08:00
Michael Fritch
884cdd5a1a
Merge pull request #38052 from mgfritch/cephadm-validate-ssh-config
mgr/cephadm: validate user provided ssh_config

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-11-16 19:32:43 -07:00
Michael Fritch
75ceac6d99
Merge pull request #38053 from mgfritch/cephadm-placement-err
mgr/cephadm: show failure cause during placement

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-11-16 19:31:22 -07:00
Michael Fritch
35d6fde51f
Merge pull request #37901 from votdev/issue_48041_device_light
mgr/cephadm: Allow customizing mgr/cephadm/lsmcli_blink_lights_cmd per host

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-11-16 19:21:06 -07:00
Jason Dillaman
8d4a8735c3
Merge pull request #37939 from trociny/wip-rbd-nbd-wait-for-terminate
rbd-nbd: fixes and improvements for unmap/detach wait for process terminate

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-16 17:10:17 -05:00
Jason Dillaman
b8ca929ea5
Merge pull request #38081 from wjwithagen/wjw-fix-test_mock_CryptoObjectDispatch.cc
test/librbd/crypto: Fixup include order to prevent implicit definitions

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-16 17:09:25 -05:00
Casey Bodley
c10a7240b6
Merge pull request #38105 from ofriedma/wip-barbican-qa-issue
qa/rgw: fix "cannot create secret" on barbican test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-11-16 09:53:08 -05:00
Kefu Chai
9c1614cc22
Merge pull request #38072 from tchaikov/wip-github-labeler-crimson
github/labeler: add "crimson" to labeler.yml

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-11-16 21:22:03 +08:00
Kefu Chai
6441771be5
Merge pull request #38041 from tchaikov/wip-mon-trim-osdmap
mon/OSDMonitor: remove osd_epochs if osd is marked in or out

Reviewed-by: Joao Eduardo Luis <joao@suse.com>
2020-11-16 19:04:16 +08:00
Kefu Chai
64972101f7
Merge pull request #38103 from ybwang0211/link-to-balancer
doc: Fix the broken link to the "balancer"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-16 18:30:53 +08:00
Or Friedmann
7951391ce2 qa/rgw: fix "cannot create secret" on barbican test
fix "cannot create secret" on barbican test

Signed-off-by: Or Friedmann <ofriedma@redhat.com>

Fixes: https://tracker.ceph.com/issues/47799
2020-11-16 11:53:54 +02:00
ybwang0211
1144ebdf53 doc:Fix the web link that jumps to the "balancer"
In "https://docs.ceph.com/en/latest/rados/operations/upmap/#upmap", the link to "balancer" was not set correctly, so we fixed it.

Signed-off-by: wangyingbin <wangyingbin@inspur.com>
2020-11-16 16:59:24 +08:00
Kefu Chai
28985555f8 mgr/PyModuleRegistry: do not call PyEval_InitThreads() on python3.9
PyEval_InitThreads() and PyEval_ThreadsInitialized() are deprecated
since python3.9, and GIL is initialized by Py_Initialize() in python3.9.
so do not call them unless we are using python < 3.9.

see https://docs.python.org/3/c-api/init.html#c.PyEval_InitThreads

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-16 15:42:37 +08:00
Sridhar Seshasayee
b637909a91
Merge pull request #38007 from sseshasa/wip-qa-rados-perf-scheduler
qa/suite/rados: Introduce "scheduler" directory within rados perf suite.

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2020-11-16 12:56:09 +05:30
Patrick Donnelly
07cba31a03
Merge PR #34842 into master
* refs/pull/34842/head:
	qa/tasks/vstart_runner.py: disable the ns unsharing if using localhost

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-15 12:39:11 -08:00
Patrick Donnelly
11b5847e7e
Merge PR #37746 into master
* refs/pull/37746/head:
	client: add a dedicated thread for the Client tick
	client: try to renew caps and flush old cap releases

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-15 12:38:05 -08:00
Patrick Donnelly
3541c8de12
Merge PR #37982 into master
* refs/pull/37982/head:
	qa/cephfs: add code for when config is None in __init__

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-11-15 12:37:02 -08:00
Patrick Donnelly
359c8b0ddc
Merge PR #38016 into master
* refs/pull/38016/head:
	qa: switch to 'osdop_read' instead of 'op_r'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-15 12:35:58 -08:00
Patrick Donnelly
680ed1a889
Merge PR #38056 into master
* refs/pull/38056/head:
	pybind/mgr/volumes: use = for equality comparision

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-15 12:34:00 -08:00
Brad Hubbard
a6c6ffa39f
Merge pull request #38077 from tchaikov/wip-doc-scrub-max
doc/rados/operation: add link to scrub_max_interval

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-16 06:19:09 +10:00
Kefu Chai
f47f13f446
Merge pull request #38038 from bk201/wip-48209
mgr/dashboard: fix cephadm e2e test failure on deleting OSDs

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-11-16 01:29:46 +08:00
Kefu Chai
0463a774c9
Merge pull request #37908 from dzafman/wip-47930
test: Fix race in TEST_recovery_scrub test

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-16 01:00:56 +08:00
Kefu Chai
3c58e34f10
Merge pull request #38043 from jhonxue/wip-fix-bluestore-bitmap-allocator
osd: fix bluestore bitmap allocator calculate wrong last_pos with hint

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-11-16 00:38:35 +08:00
Kefu Chai
e0782a0e12
Merge pull request #37963 from aclamk/wip-bluestore-no-debug-misc
os/bluestore: Removed bluestore_debug_misc option

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-11-16 00:37:51 +08:00
Kefu Chai
d121f4b31e
Merge pull request #37999 from trociny/wip-48153
os/bluestore: fix "end reached" check in collection_list_legacy

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-16 00:34:12 +08:00
Kefu Chai
6f87bbcf71
Merge pull request #37630 from zjcmszh/aio_rmxattr
pybind/rados: add Ioctx::aio_rmxattr() and test aio_rmxattr()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-16 00:32:22 +08:00
Kefu Chai
e3e3b10f5d
Merge pull request #37976 from batrick/msg-destructor
messages: use final specifier for destructor

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-16 00:31:21 +08:00
Kefu Chai
f7962b1767
Merge pull request #37992 from rishabh-d-dave/dashboard-qa-skipTest
qa/mgr: mgr_test_case: raise SkipTest instead of calling skipTest()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2020-11-16 00:30:42 +08:00
Kefu Chai
085facd179
Merge pull request #37998 from tchaikov/wip-log-mon-cleanup
log,mon: use libfmt to format string and use range-based loop

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-11-16 00:18:17 +08:00
Kefu Chai
6120bb257e
Merge pull request #38026 from wjwithagen/wjw-fix-test-mon-build_initial
test/mon: FreeBSD returns ENOENT on resolv error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-16 00:09:15 +08:00
Willem Jan Withagen
5ae4827970 test/mon: Accept ENOENT as returned value on FreeBSD
FreeBSD returns ENOENT on resolv error

Tracker: https://tracker.ceph.com/issues/48183
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-11-15 10:09:23 +01:00
Kefu Chai
2a32514706 doc/rados/operation: add link to scrub_max_interval
add the reference to the per-pool setting when explaing
PG_NOT_DEEP_SCRUBBED.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-15 11:50:12 +08:00
J. Eric Ivancich
67c8ee09fe
Merge pull request #38082 from adamemerson/wip-anti-nihilism
Asyncening 0: The Yielding Anti-Nihilist

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-11-14 22:35:23 -05:00
Patrick Donnelly
81bcf9b40f
Merge PR #38071 into master
* refs/pull/38071/head:
	.github: add labeler for cephfs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-14 10:04:12 -08:00
Willem Jan Withagen
8dc9344f97 test/librbd/crypto: Fixup include order to prevent implicit definitions
Clang complains a lot, part of it:
```
/home/jenkins/workspace/ceph-master-compile/src/test/librbd/crypto/test_mock_CryptoObjectDispatch.cc:35:8: error: explicit specialization of 'librbd::io::CopyupRequest<librbd::MockImageCtx>' after instantiation
struct CopyupRequest<librbd::MockImageCtx> {
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/workspace/ceph-master-compile/src/librbd/io/ObjectRequest.cc:560:10: note: implicit instantiation first required here
  if (it == image_ctx->copyup_list.end()) {
         ^
/home/jenkins/workspace/ceph-master-compile/src/test/librbd/crypto/test_mock_CryptoObjectDispatch.cc:54:32: error: template specialization requires 'template<>'
        librbd::MockImageCtx>::s_instance = nullptr;
```

fixes: https://github.com/ceph/ceph/pull/37916
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-11-14 18:11:05 +01:00
Kefu Chai
364e385a04
Merge pull request #38067 from dillaman/wip-github-rbd-label
github: add 'rbd' auto-labelling

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-15 00:53:38 +08:00
Kefu Chai
b1ddf085bb
Merge pull request #38013 from drakonstein/master
rpm,deb: change sudoers file mode to 440

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-11-14 19:56:40 +08:00
Brad Hubbard
1464a7d588
Merge pull request #38073 from badone/wip-use-right-tunable-for-pg-scrub-doc
doc: Use correct tunable for PG_NOT_SCRUBBED

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-14 14:49:27 +10:00
Kefu Chai
093a239405 github/labeler: add more rules to labeler.yml
mainly for the maintainers from the RADOS team.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-14 10:43:22 +08:00
Michael Fritch
1ab7a5753c
Merge pull request #37883 from diwilli/patch-1
cephadm: Set listen-addresses on alertmanager container

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2020-11-13 19:27:59 -07:00
Michael Fritch
d2df27ef63
Merge pull request #38011 from mgfritch/cephadm-sudo-log-dir
cephadm: verify root privileges before log dir create

Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2020-11-13 19:23:34 -07:00
Kefu Chai
137552cd09 github/labeler: add "crimson" to labeler.yml
so crimson related changes can be labeled by the labler action.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-14 10:18:12 +08:00
Patrick Donnelly
20d9754dba
.github: add labeler for cephfs
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-13 15:17:36 -08:00
Jason Dillaman
273b9c6333 github: add 'rbd' auto-labelling
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-13 14:43:21 -05:00
Adam C. Emerson
6674a0d4a9 rgw: No null_yield in rgw_rest
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-11-13 14:35:15 -05:00
Adam C. Emerson
1fcc217e89 rgw: No null_yield in rgw_role
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-11-13 14:35:15 -05:00
Adam C. Emerson
89cb013e7a rgw: no null_yield in rgw_tools
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-11-13 14:35:15 -05:00
Adam C. Emerson
dec41841de rgw: No null_yield in rgw_torrent
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-11-13 14:35:15 -05:00
Adam C. Emerson
7e7c3f5614 rgw: No null_yield in rgw_user
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-11-13 14:35:15 -05:00
Adam C. Emerson
5760fb630e rgw: No null_yield in rgw_zone
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-11-13 14:35:15 -05:00