Commit Graph

104718 Commits

Author SHA1 Message Date
Patrick Donnelly
f1e3fec83d
Merge PR #27467 into master
* refs/pull/27467/head:
	cephfs-shell: add snapshot management

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 09:47:40 -08:00
Nathan Cutler
ba3f31612e
Merge pull request #31871 from smithfarm/wip-43021
doc: mention --namespace option in rados manpage

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2019-11-26 18:42:58 +01:00
Nathan Cutler
4353b5548e doc: mention --namespace option in rados manpage
Fixes: https://tracker.ceph.com/issues/43021
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-26 15:39:42 +01:00
Sage Weil
47d2e54164 Merge PR #31837 into master
* refs/pull/31837/head:
	ceph-daemon: add additional debug logging

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-26 07:11:05 -06:00
Kefu Chai
cb0bb2042a
Merge pull request #31874 from tchaikov/wip-crimson-cyanstore-restructure
crimson: move os/cyan_* down to os/cyanstore/*

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-11-26 20:13:40 +08:00
Kefu Chai
58604f7c8e crimson: move os/cyan_* down to os/cyanstore/*
prepare for bluestore and seastore

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-26 16:56:47 +08:00
Kefu Chai
a6481f6b6f
Merge pull request #31859 from rzarzynski/wip-crimson-drop_dup_failed
crimson/osd/osd_operation.h: clean up duplicative check.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-26 16:06:46 +08:00
Jan Fajerski
d591cbea57
Merge pull request #31252 from wjwithagen/wjw-doc-ceph_volume_zfs_inventory
doc/ceph-volume: initial docs for zfs/inventory and zfs/api
2019-11-26 08:58:31 +01:00
Jan Fajerski
076abcc21b
Merge pull request #31821 from mgfritch/c-v-scan-help
ceph-volume: minor clean-up of `simple scan` subcommand help
2019-11-26 07:46:48 +01:00
Michael Fritch
ea1d7042a5
ceph-daemon: add additional debug logging
Adds additional detail before invoking subprocess for the
`run`, `shell, `enter`, and `logs` commands

Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-11-25 21:23:03 -07:00
Sage Weil
398323904f Merge PR #31567 into master
* refs/pull/31567/head:
	common: move gen_rand_alphanumeric() helpers into common
	test: add unit tests for gen_rand_alphanumeric helpers

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2019-11-25 21:54:16 -06:00
Sage Weil
cf676c73ab Merge PR #31781 into master
* refs/pull/31781/head:
	cmake/modules: look for GNU make first instead of BSD make
	cmake: support parallel build for rocksdb

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-25 21:49:31 -06:00
Sage Weil
0e0a3853c9 Merge PR #31579 into master
* refs/pull/31579/head:
	cmake: add cppcheck and iwyu static analysis targets

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-11-25 21:49:18 -06:00
Patrick Donnelly
57d62d438d
Merge PR #31775 into master
* refs/pull/31775/head:
	mds: remove the incorrect comments

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-11-25 16:45:57 -08:00
Patrick Donnelly
1072ff507d
Merge PR #31762 into master
* refs/pull/31762/head:
	mgr/ssh: improve logging for mds removal
	mgr/volumes: move up 'confirm' validation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-11-25 16:43:28 -08:00
Casey Bodley
05d07282b8
Merge pull request #28625 from zhangsw/rgw-fix-get-object
rgw: ignore If-Unmodified-Since if If-Match exists, and ignore If-Modified-Since if If-None-Match exists.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-25 14:22:54 -05:00
Michael Fritch
0d7b61d204
ceph-volume: minor clean-up of simple scan subcommand help
Fixes: https://tracker.ceph.com/issues/43017
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-11-25 11:39:42 -07:00
Patrick Donnelly
67c96be4f6
Merge PR #31780 into master
* refs/pull/31780/head:
	mgr/volumes: remove unsed variable

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-25 08:49:43 -08:00
Sage Weil
4d2a06e9ea Merge PR #31824 into master
* refs/pull/31824/head:
	cls/rbd: sanitize the mirror image status peer address after reading from disk

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-11-25 10:28:20 -06:00
Lenz Grimmer
177bbddb64
mgr/dashboard: Update translations (#31435)
mgr/dashboard: Update translations

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-25 16:02:13 +00:00
Radoslaw Zarzynski
8c1e4e3493 crimson/osd/osd_operation.h: clean up duplicative check.
`seastar::future<T>::available()` already verifies whether
a future instance stores exception inside. It's unnecessary
to ensure that with further call to `failed()`.

This tiny clean-up removes the duplicative check in
`with_blocking_future()`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-11-25 16:41:04 +01:00
Sage Weil
61ba2d7b66 Merge PR #31677 into master
* refs/pull/31677/head:
	qa/standalone/ceph-helpers.sh: remove osd down check
	qa/standalone/ceph-helpers.sh: destroy_osd: mark osd down
	osd: add osd_fast_shutdown option (default true)

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-25 08:54:45 -06:00
Sage Weil
fd5a82e3cd Merge PR #31823 into master
* refs/pull/31823/head:
	ceph-daemon: fix logrotate su line

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-25 08:12:41 -06:00
Sage Weil
a8451ba0c3 Merge PR #31835 into master
* refs/pull/31835/head:
	mgr/ssh: add TemporaryDirectory impl for py2 compat

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-25 08:07:53 -06:00
Casey Bodley
a704488510
Merge pull request #31325 from cbodley/wip-rgw-sync-concurrent-versions
rgw multisite: fixes for concurrent version creation

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2019-11-25 09:03:18 -05:00
Deepika Upadhyay
abf3dc0cf9 cmake/modules: look for GNU make first instead of BSD make
* BuildDPDK.cmake, BuildSPDK.cmake:
      * give priority to build with gmake
      * throw error if make not found

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2019-11-25 13:16:04 +05:30
Deepika Upadhyay
a930706aa6 cmake: support parallel build for rocksdb
* cmake/modules/BuildRocksDB.cmake: if "make" detected
use concurrent processing, by passing the jobserver to
sub-make using `$(MAKE)`

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2019-11-25 13:14:22 +05:30
Patrick Donnelly
d7821ce8ec
Merge PR #30972 into master
* refs/pull/30972/head:
	mds: move 'traverse to auth' logic into MDCache::path_traverse
	mds: cleanup Capability initialization
	mds: cleanup code that kills session requests
	mds: cleanup Server::try_open_auth_dirfrag()
	mds: restrict path that walks into snapdir
	mds: use single map to track pinned & auth_pinned objects
	mds: define operator<(...) for MutationImpl::LockOp
	mds: cleanup Locker::acquire_locks()
	mds: introduce Locker::wrlock_try()
	mds: explictly specify if MDCache::path_traverse() needs to check null dentry
	mds: cleanup dentry non-readable check in MDCache::path_traverse()
	mds: change MDCache::path_traverse()'s 'onfail' argument to flags

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-11-24 18:53:20 -08:00
Sage Weil
2c06beb5ec Merge PR #31786 into master
* refs/pull/31786/head:
	mgr: fix errors on using a reference in a Lambda function

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-24 12:45:26 -06:00
Sage Weil
3a62d166a7 qa/standalone/ceph-helpers.sh: remove osd down check
A kill doesn't induce a mark-down of the OSD with osd_fast_shutdown=true.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-24 12:19:33 -06:00
Sage Weil
73511c489a mgr/ssh: add TemporaryDirectory impl for py2 compat
This didn't get copied over in 4bfcb5db6b

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-24 12:15:49 -06:00
Kefu Chai
415172543d
Merge pull request #31761 from tchaikov/wip-cmake-include-libfmt
cmake: do not include ${CMAKE_SOURCE_DIR}/src/fmt/include

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2019-11-25 01:08:02 +08:00
Kefu Chai
2add8d1ed5
Merge pull request #31711 from p-se/wip-pse-fix-osd-full-alert
monitoring: wait before firing osd full alert

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2019-11-25 01:06:34 +08:00
Kefu Chai
3e66ada648
Merge pull request #31692 from rzarzynski/wip-fips-zeroize-memset_bzero
FIPS: audit and switch some memset & bzero users

Reviewed-by: Marcus Watts <mwatts@redhat.com>
2019-11-25 01:05:16 +08:00
Kefu Chai
a3a5a5dc5d
Merge pull request #31705 from tchaikov/wip-mgr-orchestrator
mgr/orchestrator: do not try to iterate through None

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-25 01:03:52 +08:00
Kefu Chai
e365514417
Merge pull request #31691 from Anjingkegui/master.monv2change1
mon: remove the restriction of address type in init_with_hosts

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2019-11-25 01:01:55 +08:00
Kefu Chai
8b9ffa696d
Merge pull request #31513 from ifed01/wip-ifed-check-bluefs-allocs
os/bluestore: check bluefs allocations on log replay

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2019-11-25 01:00:54 +08:00
Kefu Chai
0847955aa9
Merge pull request #30204 from tchaikov/wip-test-aio-completion-release
test/librados: free AioCompletion using AioCompletion::release()

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-25 00:59:25 +08:00
Kefu Chai
819ccfdcd7
Merge pull request #31703 from xiexingguo/wip-42577-plus
osd/PeeringState: do not exclude up from acting_recovery_backfill

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-25 00:58:14 +08:00
Kefu Chai
8384a7fd8c
Merge pull request #31693 from tchaikov/wip-42782
qa/workunits/rados/test_librados_build.sh: download from current branch

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-25 00:56:09 +08:00
Kefu Chai
c70a16dac9
Merge pull request #31243 from lxbsz/log
log: just return if t is empty

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-25 00:55:24 +08:00
Kefu Chai
16c48518b1
Merge pull request #31714 from lxbsz/preforker
preforker: remove useless code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-25 00:54:43 +08:00
Sage Weil
d6f5918850 Merge PR #31778 into master
* refs/pull/31778/head:
	os/bluestore: pin onodes as they are added to the cache
	Revert "Revert "Merge pull request #30964 from markhpc/wip-bs-cache-trim-pinned""

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-23 20:30:28 -06:00
Sage Weil
130b7e75c2 Merge PR #31807 into master
* refs/pull/31807/head:
	mgr/PyModule: correctly remove config options

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-23 20:29:52 -06:00
Sage Weil
582d713e46 Merge PR #31806 into master
* refs/pull/31806/head:
	spec,debian: ceph-mgr-ssh depends on openssh{-client{s}}

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
2019-11-23 20:29:38 -06:00
Sage Weil
7d4675de7c Merge PR #31818 into master
* refs/pull/31818/head:
	common/options: remove unused ms_msgr2_{sign,encrypt}_messages

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-23 20:27:00 -06:00
Sage Weil
c30c1a6d59 Merge PR #31825 into master
* refs/pull/31825/head:
	msg/async: fix typo in Error message

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-23 20:26:48 -06:00
Sage Weil
d46c52c50b Merge PR #31831 into master
* refs/pull/31831/head:
	ceph-daemon: make infer_fsid behave when /var/lib/ceph dne

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-11-23 20:26:08 -06:00
Sage Weil
dcb7ce5f26 Merge PR #31832 into master
* refs/pull/31832/head:
	ceph-daemon: fix extract_uid_gid

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-11-23 20:25:52 -06:00
Sage Weil
0c9841c707 ceph-daemon: fix extract_uid_gid
This will get confused by the cephdaemon user!

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-23 09:09:02 -06:00