Alfredo Deza
b9bc2eb628
ceph-volume main remove auto as a top-level command
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-13 09:00:19 -04:00
Alfredo Deza
2e9da02633
ceph-volume api.lvm extract sizing method into its own utility
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-13 09:00:19 -04:00
Kefu Chai
6147ed1bbd
common/config_values: friend md_config_impl<>
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-13 15:05:15 +08:00
Patrick Donnelly
9f6e99db6f
Merge PR #22995 into master
...
* refs/pull/22995/head:
qa: use root to find client admin socket
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-07-12 21:38:36 -07:00
Yanhu Cao
9d0413d525
common/ceph_strings: add request_flush_mdlog op names to ceph_session_op_name()
...
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
2018-07-13 11:19:05 +08:00
Radoslaw Zarzynski
bb20018e7e
osd: avoid unneeded ref-counting in PrimaryLogPG::log_op_stats.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-07-13 02:31:11 +02:00
Radoslaw Zarzynski
6f4ec6abcf
osd: clean up PrimaryLogPG::log_op_stats.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-07-13 02:31:05 +02:00
Jeff Layton
88a955733d
client: wire up ceph_ll_fallocate
...
We have ceph_fallocate, but we need the analogous call for the lowlevel
interface as well. Add ceph_ll_fallocate.
Tracker: http://tracker.ceph.com/issues/24893
Signed-off-by: Jeff Layton <jlayton@kernel.org>
2018-07-12 14:47:03 -04:00
Patrick Donnelly
441a2730e5
qa: add tests for client features
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-12 10:12:12 -07:00
Noah Watkins
dc8577432f
mgr/pybind: stricter object test
...
avoid false successful tests from typos
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-07-12 09:28:09 -07:00
Noah Watkins
b5487abb8b
mgr/pybind: expose erasure code profiles
...
handles the insights cases that had been using Ceph CLI
`erasure-code-profile ls/get` to access the same data.
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-07-12 09:27:48 -07:00
Yan, Zheng
4414f4e20d
mds: evict clients that lack required features
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-12 08:21:16 -07:00
Kefu Chai
3e8ddaf301
Merge pull request #22938 from tchaikov/wip-bundled-dpdk
...
cmake: do not depend on ${DPDK_LIBRARIES} if not using bundled dpdk
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-12 23:10:54 +08:00
Kefu Chai
813cd5d591
tools/rbd: assert(g_ceph_context) not g_conf
...
this addresses a warning introduced by f528475d:
src/tools/rbd/action/Create.cc:59:19: warning: the address of
'ConfigProxy& g_conf()' will never be NULL [-Waddress]
assert(g_conf != nullptr);
~~~~~~~^~~~
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 22:28:46 +08:00
Yan, Zheng
e147020a99
mds: cleanup MDSRank::evict_client
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-12 22:08:45 +08:00
Yan, Zheng
44148347ec
mds: infer client version by client metadata and connection's features
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-12 22:08:45 +08:00
Yan, Zheng
eeac2c76ba
mds: introduce "ceph fs set <fs_name> min_compat_client <release_name>"
...
The command set the oldest version of client that is allowed to connect
to mds.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-12 22:08:45 +08:00
Yan, Zheng
43c1193915
mds: tell client why it's rejected
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2018-07-12 22:08:44 +08:00
Yan, Zheng
353fcee10a
mds: introduce cephfs' own feature bits
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/14456
2018-07-12 22:08:44 +08:00
Yan, Zheng
c740000044
mds: make Server::prepare_force_open_sessions() update client metadata
...
The function is used for opening sessions for importing caps. It didn't
set client metadata for new sessions.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-07-12 22:08:44 +08:00
alfonsomthd
9f06cfb7c6
mgr/dashboard: created common Card component for info shown in landing page:
...
Info encapsulated in cd-info-card selector:
- Overall health status, MON/OSD/MDS/MGR status
Fixes: https://tracker.ceph.com/issues/24778
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2018-07-12 15:23:47 +02:00
Kefu Chai
1e9a79d92f
Merge pull request #22594 from wido/mgr-pg-states
...
mgr: Centralize PG_STATES to MgrModule
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-07-12 20:44:59 +08:00
Kefu Chai
467411ba6b
Merge pull request #22952 from tchaikov/wip-cmake-atomic
...
cmake: should link against libatomic if libcxx/libstdc++ does not off…
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-12 20:40:41 +08:00
Kefu Chai
d33d295055
cmake: link libcrimson against libceph-common
...
as libcrimson uses symbols exposed by the later, among other things, the
Authorization related stuff.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 17:54:45 +08:00
Kefu Chai
2a6bec88c3
cmake: remove unittest_seastar_{messenger,echo} from tests
...
unittest_seastar_echo cannot be run as unittest w/o starting two
instances.
unittest_seastar_messenger times out. need to RCA it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 17:54:45 +08:00
Kefu Chai
abca980589
common: extract SubProcess impl into .cc
...
cleanup the header dependencies and speed-up the compiling
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 17:54:45 +08:00
Kefu Chai
61e748ba69
seastar: pick up fixes to address build failures
...
see also https://groups.google.com/forum/#!topic/seastar-dev/uEMYGgYJKOY
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 17:54:45 +08:00
Kefu Chai
f1f1526166
run-make-check.sh: enable WITH_SEASTAR
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 17:51:22 +08:00
Kefu Chai
25d5122b55
rpm,install-deps.sh: add --with-seastar option
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 17:49:34 +08:00
Kefu Chai
6240e5ee57
crimson: include seastar headers with 'seastar/' prefix
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-12 17:47:57 +08:00
ningtao
4c20310db8
librbd:optionally support FUA (force unit access) on write requests
...
Fixes: http://tracker.ceph.com/issues/19366
Signed-off-by: ningtao <63358@sangfor.com>
2018-07-12 17:44:33 +08:00
Sage Weil
360211ed7b
Merge PR #22877 into master
...
* refs/pull/22877/head:
common: fix races when visiting a TrackedOp.
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-07-11 22:02:02 -05:00
Sage Weil
910f3aec1a
Merge PR #22946 into master
...
* refs/pull/22946/head:
os/bluestore: batch handle get_fragmentation.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-07-11 22:01:57 -05:00
Sage Weil
a28907fb14
Merge PR #22950 into master
...
* refs/pull/22950/head:
rpm: move make check-specific build deps to appropriate conditional block
rpm: remove universal requires from distro-specific conditional blocks
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-11 22:01:52 -05:00
Sage Weil
d1653a4cbc
Merge PR #22972 into master
...
* refs/pull/22972/head:
os/bluestore: fix races on SharedBlob::coll in ~SharedBlob.
Reviewed-by: Sage Weil <sage@redhat.com>
2018-07-11 22:01:47 -05:00
Sage Weil
b7b5105d0c
Merge PR #22974 into master
...
* refs/pull/22974/head:
qa/standalone/osd/ec-error-rollforward: reproduce bug 24597
qa/suites/rados/thrash-erasure-code: add many deletes workload
qa/standalone/osd/repro_long_log.sh: fix test
osd/PG: do not blindly roll forward to log.head
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-07-11 22:01:42 -05:00
Sage Weil
4108ebc0ab
qa/standalone/osd/ec-error-rollforward: reproduce bug 24597
...
This reproduces http://tracker.ceph.com/issues/24597
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-11 16:15:49 -05:00
Sage Weil
1fdd424815
qa/suites/rados/thrash-erasure-code: add many deletes workload
...
Having lots of deletes will mean deletes on objects that don't exist,
which will in turn mean error log entries and more coverage of the
append_log_entries_update_missing code. Hopefully this will trigger
http://tracker.ceph.com/issues/24597
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-11 16:15:49 -05:00
Sage Weil
4f9fdd98e2
qa/standalone/osd/repro_long_log.sh: fix test
...
The log trimming case wasn't quite right. Before HEAD^ we were
rolling forward too aggressively and miscalculating the can_rollforward_to,
which affected the trim_to calculation.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-11 16:15:49 -05:00
Sage Weil
858ff647ff
osd/PG: do not blindly roll forward to log.head
...
If we are told we can roll forward by the primary, we should only roll
forward as far as the primary says we can.
This probably came out of the similar case in append_log(), but notably
that roll_forward() only happens if !transaction_applied (i.e., backfill
target), and that condition is not checked here.
Fixes: http://tracker.ceph.com/issues/24597
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-11 16:15:49 -05:00
Abhishek L
65c41200bc
Merge pull request #22989 from theanalyst/doc/releases/v10.2.11
...
doc: releases: release notes for v10.2.11 Jewel
Reviewed-By: Nathan Cutler <ncutler@suse.com>
2018-07-11 23:01:10 +02:00
Patrick Donnelly
4d3060b990
qa: use root to find client admin socket
...
Permissions on /var/run/ceph changed post-Mimic.
Fixes: http://tracker.ceph.com/issues/24872
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-11 11:28:20 -07:00
Sage Weil
860296c030
Merge PR #22908 into master
...
* refs/pull/22908/head:
common: move ConfigValues out of md_config_t
common,rbd,rgw,osd: extract config values into ConfigValues
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-11 09:50:46 -05:00
Sage Weil
2df6366c22
Merge PR #22953 into master
...
* refs/pull/22953/head:
ceph-bluestore-tool: remove path_* support from prime-osd-dir
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-07-11 09:50:40 -05:00
Sage Weil
4de6fda0dc
Merge PR #22968 into master
...
* refs/pull/22968/head:
messages/MMDSMap: fix reencoding for older clients
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-11 09:50:35 -05:00
Sage Weil
1d9d61b784
Merge PR #22969 into master
...
* refs/pull/22969/head:
qa/mgr: delete devicehealth pool after selftest
Reviewed-by: Sage Weil <sage@redhat.com>
2018-07-11 09:50:27 -05:00
Abhishek Lekshmanan
ad28a23ec9
doc: releases: release notes for v10.2.11
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-07-11 16:39:03 +02:00
Sage Weil
267d22639e
messages/MMDSMap: fix reencoding for older clients
...
This was broken by ea1481d08d561cdf0229e440b70b88fe336d3f89.
Fixes: http://tracker.ceph.com/issues/24819
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-11 08:44:23 -05:00
Nathan Cutler
12ef59fdb0
rpm: move make check-specific build deps to appropriate conditional block
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-11 13:56:49 +02:00
Nathan Cutler
3a30dd13a3
rpm: remove universal requires from distro-specific conditional blocks
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-11 13:51:04 +02:00