Alfredo Deza
4ad42f4244
ceph-volume tests ensure human_readable_size works up to terabytes
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:22:52 -04:00
Alfredo Deza
9cfd37344c
ceph-volume tests verify mapper and /dev devices
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:22:52 -04:00
Alfredo Deza
672c4c4d1c
ceph-volume tests add tests for get_block_devs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:22:52 -04:00
Alfredo Deza
2c4d46955e
ceph-volume tests verify _map_dev_paths mappings
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:22:51 -04:00
Alfredo Deza
e3b04c9677
ceph-volume devices.auto initial take on auto sub-command
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:22:51 -04:00
Alfredo Deza
c6559538db
ceph-volume util.disk create a device metadata utility
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:22:51 -04:00
Alfredo Deza
c06e63fed8
ceph-volume util.disk add dev mapping helpers for path resolution
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:19:27 -04:00
Alfredo Deza
0177f71cab
ceph-volume tests verify get_file_contents utility
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:19:27 -04:00
Alfredo Deza
39792573da
ceph-volume util.system capture file contents
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:19:27 -04:00
Alfredo Deza
5649bd724b
ceph-volume devices.auto initial take on auto sub-command
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-04 13:19:22 -04:00
Alfredo Deza
ad1b8cae05
ceph-volume main include commented out auto subcommand
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-03 11:01:40 -04:00
Alfredo Deza
47060a1ef4
ceph-volume tests ensure is_lv detection on LVs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-03 11:01:40 -04:00
Alfredo Deza
68ca7a691e
ceph-volume api.lvm create helpers to detect an lv from a device path
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-03 11:01:40 -04:00
Josh Durgin
625c6895fb
Merge pull request #21706 from liewegas/wip-23860
...
osd/PG: fix DeferRecovery vs AllReplicasRecovered race
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-30 11:32:31 -07:00
Sage Weil
f459de15aa
Merge pull request #21702 from theanalyst/wip-std-mutex
...
osdc/Objector: use std::shared_mutex instead of boost::shared_mutex
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-30 11:18:11 -05:00
Patrick Donnelly
cec1fa0998
Merge PR #21731 into master
...
* refs/pull/21731/head:
client: drop function _get_inodeno
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-30 09:16:48 -07:00
Sage Weil
c584061d16
Merge pull request #21743 from yuriw/wip-yuriw-crontab
...
qa/tests: removed rest suite from the mix
2018-04-30 10:33:36 -05:00
Mykola Golub
6b752a3859
Merge pull request #21697 from dillaman/wip-18753-1
...
rbd-mirror: additional thrasher testing
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-04-30 18:25:35 +03:00
Yuri Weinstein
42fa821724
qa/tests: removed rest suite from the mix
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-04-30 08:20:06 -07:00
Ken Dreyer
a630681c65
Merge pull request #21716 from smithfarm/wip-drop-obs-kludge
...
build/ops: rpm: Revert "ceph.spec: work around build.opensuse.org"
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
2018-04-30 09:15:23 -06:00
Sage Weil
854f44b247
Merge pull request #21739 from tchaikov/wip-23922
...
qa/suites/rados/thrash-old-clients: ms_type=simple
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-30 09:55:10 -05:00
Andrew Schoen
2f15a4fba3
Merge pull request #21685 from alfredodeza/wip-rm23874
...
ceph-volume failed ceph-osd --mkfs command doesn't halt the OSD creation process
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-30 14:52:50 +00:00
Kefu Chai
e62bc6bcd6
Merge pull request #21708 from dalgaaf/wip-da-SCA-20180425
...
Various fixes for SCA issues
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-30 21:57:19 +08:00
Kefu Chai
f072045ebf
Merge pull request #21690 from xiexingguo/wip-pr-20304
...
mon, osd: add create-time for pool
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-30 21:53:34 +08:00
Kefu Chai
ceaf329811
Merge pull request #21659 from yangDL/master
...
pybind/ceph_argparse.py:'timeout' must in kwargs when call run_in_thread
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-30 21:48:37 +08:00
Kefu Chai
770dbae2ca
qa/suites/rados/thrash-old-clients: ms_type=simple
...
hammer does not support async messenger, so set ms_type to "simple" for
hammer client.
Fixes: http://tracker.ceph.com/issues/23922
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-30 21:40:53 +08:00
Jason Dillaman
5d99f4e719
Merge pull request #21733 from trociny/wip-23938
...
qa/workunits/rbd: potential race in mirror disconnect test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-30 08:55:12 -04:00
John Spray
b869bfadd9
Merge pull request #21671 from jan--f/mgr-module-config-doc
...
doc/mgr/plugins: add note about distinction between config and kv store
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-30 12:42:18 +01:00
Mykola Golub
5bc1d4a51a
qa/workunits/rbd: potential race in mirror disconnect test
...
(due to a typo in get_image_id command arg)
Fixes: http://tracker.ceph.com/issues/23938
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-04-30 09:44:12 +03:00
Jos Collin
ab46bb3314
client: drop function _get_inodeno
...
Drop _get_inodeno() as per the comment in https://github.com/ceph/ceph/pull/21554 .
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-04-30 10:04:04 +05:30
Sage Weil
cfe59cf20c
osd/PG: fix DeferRecovery vs AllReplicasRecovered race
...
- DeferRecovery event queued by AsyncReserver due to preemption
event. We are in Recovering state with RECOVERING bit set.
- We finish recovery, clear RECOVERING state bit, and queue
AllReplicasRecovered from PrimaryLogPG::start_recovery_ops()
- DeferRecovery event arrives, moving us from Recovering -> NotRecovering
- AllReplciasRecovered event arrives, crashing us.
This is all hard to deal with because the events are queued and may
arrive later. Solve the problem here by tolerating a delayed
DeferRecovery event: if the RECOVERING pg state bit isn't set, ignore
it (it's old). The async reserver cancel events are unpredictable.
Fixes: http://tracker.ceph.com/issues/23860
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-29 16:00:41 -05:00
Patrick Donnelly
543d8a0e4c
Merge PR #21554 into master
...
* refs/pull/21554/head:
client: avoid second lock on client_lock
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2018-04-29 11:05:33 -07:00
Patrick Donnelly
5a56301945
Merge PR #21592 into master
...
* refs/pull/21592/head:
mds: filter out blacklisted clients when importing caps
mds: don't add blacklisted clients to reconnect gather set
mds: combine MDCache::{cap_exports,cap_export_targets}
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-29 11:05:27 -07:00
Patrick Donnelly
e7856ffa04
Merge PR #21593 into master
...
* refs/pull/21593/head:
mds: properly check auth subtree count in MDCache::shutdown_pass()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-29 11:05:22 -07:00
Patrick Donnelly
0c11a6fcb4
Merge PR #21601 into master
...
* refs/pull/21601/head:
mds: don't discover inode/dirfrag when mds is in 'starting' state
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-29 11:05:16 -07:00
Patrick Donnelly
6c07c85796
Merge PR #21610 into master
...
* refs/pull/21610/head:
cephfs-journal-tool: wait prezero ops before destroying journal
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-29 11:05:11 -07:00
Patrick Donnelly
b381cb7ea1
Merge PR #21625 into master
...
* refs/pull/21625/head:
qa: remove racy/buggy test_purge_queue_op_rate
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-29 11:05:06 -07:00
Patrick Donnelly
6caa36c47e
Merge PR #21664 into master
...
* refs/pull/21664/head:
mds: properly trim log segments after scrub repairs something
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-29 11:04:55 -07:00
Sage Weil
29bf0817c0
Merge pull request #21728 from yuriw/wip-yuriw-crontab
...
qa/tests: fixed typo
2018-04-29 10:10:31 -05:00
Yuri Weinstein
32606e4087
qa/tests: fixed typo
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-04-29 07:57:27 -07:00
Nathan Cutler
fb5cf54c12
Revert "ceph.spec: work around build.opensuse.org"
...
This reverts commit 21d941e83b
which introduced a
"kludge" to make 32-bit x86 builds work in the openSUSE Build Service (OBS).
The OBS no longer uses i386 in RPM_OPT_FLAGS when the i586 build target is
specified. The current value of RPM_OPT_FLAGS for i586 is:
-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g
(Side note: we are not currently building Ceph for any 32-bit architectures
in the OBS, and there are no plans to start doing so. That doesn't mean it
won't ever happen, but even if it does, this "kludge" will not be needed.)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Conflicts:
ceph.spec.in
2018-04-28 21:31:03 +02:00
Sage Weil
43aaecf84d
Merge pull request #21583 from yanghonggang/disable-cache
...
kv/RocksDBStore: fix rocksdb error when block cache is disabled
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-04-28 13:19:12 -05:00
Sage Weil
7ebbb7d74a
Merge pull request #21670 from xiexingguo/wip-23878
...
osd/OSDMap: more pg upmap fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-28 13:17:36 -05:00
Sage Weil
1d8a5a9e3e
Merge pull request #21709 from liewegas/wip-23917
...
ceph_test_rados_api_aio: fix race with full pool and osdmap
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-28 13:17:04 -05:00
Kefu Chai
7b3d4a195d
Merge pull request #21641 from zy751713126/total_size_format
...
tools: correct total size formatting
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-28 22:49:40 +08:00
yangdeliu
6914bfb0b8
pybind/ceph_argparse.py: argument 'target' change to func
...
'run_in_thread' first argument named 'target'.
It is confusing with cluster.mon_command last argument 'target=None'.
So change 'run_in_thread' and RadosThread 'target' to 'func'
Signed-off-by: yangdeliu <yangdeliu@szsandstone.com>
2018-04-28 17:56:06 +08:00
Josh Durgin
aef8d96def
Merge pull request #21710 from neha-ojha/wip-cosbench-workloads
...
qa: add cosbench workloads and override teuthology default settings
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-27 18:30:11 -07:00
xie xingguo
47359a3b8e
mon, osd: add create-time for pool
...
We want to know how old the pools currently are, on which mgr/balancer
can make some time-related smart decisions based.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-04-28 08:42:51 +08:00
Neha Ojha
1b6bf0d423
qa/suites/perf-basic: add cosbench write workload
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-04-27 16:15:30 -07:00
Neha Ojha
f670f2d6d3
qa/suites/perf-basic: override default teuthology settings
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-04-27 16:07:11 -07:00