Commit Graph

107753 Commits

Author SHA1 Message Date
Sebastian Wagner
80a799a30f debian: add python3-jsonpatch as dependency
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-14 09:43:32 +01:00
Jan Fajerski
37bc878198
Merge pull request #33283 from jan--f/c-v-zap-on-vg-without-lv
ceph-volume: avoid calling zap_lv with a LV-less VG
2020-02-14 08:46:27 +01:00
Kefu Chai
72880f09e6
Merge pull request #32690 from rosinL/wip-timeevent
msg/async/dpdk: destroy fd in do_request

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-14 15:41:07 +08:00
Kefu Chai
cfa1d72c61
Merge pull request #33084 from tchaikov/wip-crimson-pg-coll
crimson/os: init PG with pg coll not meta coll

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-02-14 11:21:52 +08:00
Kefu Chai
fde37884a2
Merge pull request #33241 from nagpavan-chilakam/patch-1
doc/architecture.rst: fix a typo in EC section

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-14 11:04:47 +08:00
Patrick Donnelly
5c98a5fd7b
Merge PR #33194 into master
* refs/pull/33194/head:
	qa: add tests for mds_join_fs cluster affinity
	qa: update cluster warning message for removed MDS
	doc: add section on new mds_join_fs behavior
	mon/MDSMonitor: enforce mds_join_fs cluster affinity
	mon/MDSMonitor: use type of info.rank or mds_rank_t
	qa: accept operation on current fs status
	qa: add method to enable multifs
	qa: fix nested generator use
	qa: manage config changes through mons

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-13 15:21:30 -08:00
Sage Weil
9b84bb2f69 Merge PR #33244 into master
* refs/pull/33244/head:
	doc/mgr/orchestrator_modules: update docs
	mgr/orch: break out apply_$type() in orchestrator.py interface
	qa/tasks/cephadm: adapt to new cli
	mgr/orch: add --force arg to 'daemon rm'
	mgr/orch: fix host set-addr prefix
	mgr/orch: service action cleanup
	mgr/orch: prevent rm mon|mgr
	mgr/orch: service rm -> rm
	mgr/cephadm: add mon
	mgr/orch: add mon hook
	mgr/cephadm: add mgr
	mgr/orch: add 'daemon add mgr'
	mgr/orch: orch * add -> orch daemon add *
	mgr/volumes: use apply_mds
	mgr/orch: move to service_apply; remove update_foo()
	mgr/rook: move to remove_service()
	mgr/orch: remove old remove_{osds,rgw,mds,nfs,...} methods
	mgr/orch: test remove_daemons and remove_service

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-13 16:41:26 -06:00
J. Eric Ivancich
b49ace6457
Merge pull request #30862 from zhangsw/fix-rgw-lc-repeated
rgw: set bucket attr twice when delete lifecycle config.

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2020-02-13 14:19:31 -05:00
Sage Weil
6aedf7e8c1 Merge PR #33248 into master
* refs/pull/33248/head:
	cephadm: fix deploy crash when no `args.fsid`

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-13 13:19:00 -06:00
J. Eric Ivancich
2a73229370
Merge pull request #31088 from joke-lee/rgw-storage-class-apend-obj
rgw: set correct storage class for append

Reviewed-By: Casey Bodley <cbodley@redhat.com>
2020-02-13 14:17:26 -05:00
J. Eric Ivancich
c490a1928b
Merge pull request #31661 from joke-lee/sts-args
rgw: sts: add all http args to req_info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2020-02-13 14:16:21 -05:00
J. Eric Ivancich
43f1838c0a
Merge pull request #33053 from tpsilva/add_max_connections
rgw: make max_connections configurable in beast

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-02-13 14:13:53 -05:00
J. Eric Ivancich
63faa3e4fb
Merge pull request #33165 from clwluvw/policy-subuser
rgw: Add support bucket policy for subuser

Reviewed-By: Adam Emersen <aemerson@redhat.com>
2020-02-13 14:11:00 -05:00
J. Eric Ivancich
d5788d66a8
Merge pull request #32636 from ivancich/wip-avoid-0-length-ordered-list-result
rgw: address 0-length listing results when non-vis entries dominate

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-02-13 14:04:05 -05:00
Nathan Cutler
6dbe449efe
Merge pull request #32805 from smithfarm/wip-cmake-logging
rpm: add cmake_verbose_logging switch

Reviewed-by: David Disseldorp <ddiss@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-02-13 20:00:27 +01:00
Sage Weil
6846894670 Merge PR #29427 into master
* refs/pull/29427/head:
	mgr/rook: Make use of rook-client-python when talking to Rook
	cmake: Integrate Rook client generation
	mgr/rook: Automatically generate Rook client interface
	Add submodule to rook-client-python.git

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2020-02-13 10:26:09 -06:00
Jan Fajerski
ad0dea53b8 ceph-volume: avoid calling zap_lv with a LV-less VG
Fixes: https://tracker.ceph.com/issues/44125

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-02-13 17:13:08 +01:00
Patrick Donnelly
2c9642131f
qa: add tests for mds_join_fs cluster affinity
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:10 -08:00
Patrick Donnelly
48ca559224
qa: update cluster warning message for removed MDS
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:10 -08:00
Patrick Donnelly
2e916037f4
doc: add section on new mds_join_fs behavior
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:10 -08:00
Patrick Donnelly
3fac3b1236
mon/MDSMonitor: enforce mds_join_fs cluster affinity
Before this, "mds_join_fs" config enforced a preference for the standby
the monitors would select. Now the monitors actively enforce this
by purposefully removing an MDS wither lower "affinity". An MDS standby
has highest affinity if its mds_join_fs is the file system in question
or a vanilla standby (no mds_join_fs).

Fixes: https://tracker.ceph.com/issues/43392
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:10 -08:00
Patrick Donnelly
58a6c4ccb5
mon/MDSMonitor: use type of info.rank or mds_rank_t
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:10 -08:00
Patrick Donnelly
e5dbe0b366
qa: accept operation on current fs status
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:10 -08:00
Patrick Donnelly
d21b651352
qa: add method to enable multifs
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:09 -08:00
Patrick Donnelly
92e5b7b15b
qa: fix nested generator use
Apparently Python doesn't allow nested generator calls. Hurray.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:09 -08:00
Patrick Donnelly
8729281121
qa: manage config changes through mons
This provides a generic framework for modifying Ceph configuration
changes in tests through the monitors rather than the asok interface or
local ceph.conf changes. Any changes are reverted during test teardown.

A future patch will convert existing tests manipulating the local
ceph.conf or admin socket.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:09 -08:00
Sage Weil
8456ab721e doc/mgr/orchestrator_modules: update docs
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
7304516a05 mgr/orch: break out apply_$type() in orchestrator.py interface
Also clean up the method descriptions.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
0d689250d1 qa/tasks/cephadm: adapt to new cli
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
adec19e676 mgr/orch: add --force arg to 'daemon rm'
This is needed when removing mons.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
b9f9284774 mgr/orch: fix host set-addr prefix
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
e073d1ae8a mgr/orch: service action cleanup
- no 'service' prefix
- single name arg (type[.id...])

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
852251cea7 mgr/orch: prevent rm mon|mgr
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
96b0235d53 mgr/orch: service rm -> rm
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
dc5ba5c5b4 mgr/cephadm: add mon
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
62b0e42360 mgr/orch: add mon hook
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
86fda8c03d mgr/cephadm: add mgr
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
b3816342a4 mgr/orch: add 'daemon add mgr'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
aac2d571f7 mgr/orch: orch * add -> orch daemon add *
Adjust help string too

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
88e78936cc mgr/volumes: use apply_mds
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:33 -06:00
Ali Maredia
1de3145af0
Merge pull request #32609 from joke-lee/rgw-website-43563
rgw: ReplaceKeyPrefixWith and ReplaceKeyWith can not set at the same …
2020-02-13 10:30:35 -05:00
Kefu Chai
009ed95195
Merge pull request #33247 from tchaikov/wip-cmake-cleanup
cmake: do not link against unused libs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-02-13 23:06:19 +08:00
Sage Weil
67d72bca89 mgr/orch: move to service_apply; remove update_foo()
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:00:58 -06:00
Mykola Golub
78d664192e
Merge pull request #33219 from dillaman/wip-44066-2
rbd: fixed additional issues with CEPH_ARGS processing

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-02-13 16:20:52 +02:00
Nathan Cutler
5e98d22380 rpm: add cmake_verbose_logging switch
This switch sets CMAKE_VERBOSE_MAKEFILE and causes the CMakeOutput.log
and CMakeError.log files to be dumped after cmake execution finishes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-02-13 15:13:24 +01:00
Nathan Cutler
85e4913f48
Merge pull request #33182 from smithfarm/wip-cbs-basic-auth
ceph-backport.sh: use Basic Authentication instead of access_token

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-02-13 14:43:56 +01:00
Sage Weil
b6f42a0661 mgr/rook: move to remove_service()
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 07:13:03 -06:00
Sage Weil
07a74f5705 mgr/orch: remove old remove_{osds,rgw,mds,nfs,...} methods
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 07:13:03 -06:00
Sage Weil
284cf17e67 mgr/orch: test remove_daemons and remove_service
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 07:13:02 -06:00
Nathan Cutler
e36d47a8c3
Merge pull request #33173 from smithfarm/wip-bri-basic-auth
backport-resolve-issue: use Basic Authentication instead of "access_token"

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-02-13 14:00:58 +01:00