Commit Graph

81238 Commits

Author SHA1 Message Date
Vasu Kulkarni
9430f352f4 qa/tests: Fix mapped_role attribute where it gets overwritten for subsequent calls.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
Vasu Kulkarni
67ff2de694 qa/tests: update upgrade tests from jewel->luminous to jewel->luminous->master
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-07 19:11:42 -08:00
Sage Weil
788d88a9ef
Merge pull request #18752 from liewegas/wip-peering-queue
osd: put peering events in main sharded wq

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-12-07 19:43:16 -06:00
vasukulkarni
8a6434c20e
Merge pull request #19244 from ceph/wip-cd-volume
qa/tasks: update ceph-deploy task to use newer ceph-volume syntax
2017-12-07 10:54:47 -08:00
Kefu Chai
4bc6269f15
Merge pull request #19276 from tchaikov/wip-volume-key
ceph-volume: do not use --key during mkfs

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-12-07 23:31:10 +08:00
Alfredo Deza
09f88ce543
Merge pull request #19381 from ceph/fix_cephvol_doc
ceph-volume/doc: add missing subcommand in examples

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-12-07 08:45:52 -05:00
Guillaume Abrioux
a284f164f3 doc: add missing subcommand in examples
Add the missing 'lvm' subcommand in examples in the documentation of
ceph-volume.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2017-12-07 14:12:48 +01:00
Sage Weil
f3b2eb9d2d
Merge pull request #18276 from liewegas/wip-removed-snaps
mon,osd,osdc: refactor snap trimming (phase 1)

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-12-06 21:33:08 -06:00
Josh Durgin
d10aad6be8
Merge pull request #19364 from neha-ojha/wip-preserve-cbt
qa: preserve cbt task results

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-12-06 19:30:15 -08:00
Neha Ojha
46dee4b102 qa: preserve cbt task results
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-12-06 13:23:44 -08:00
Jason Dillaman
1d0238fb63
Merge pull request #19188 from adamwg/awg/rbd-watchers-api
librbd: Add a function to list image watchers

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 15:20:13 -05:00
Jason Dillaman
f62a661c08
Merge pull request #19337 from trociny/wip-22306
pybind/rbd: fix metadata functions error handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 15:19:27 -05:00
Vasu Kulkarni
9f1a1e0543 qa/tests: Add debug info when creating ceph volumes
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-12-06 12:14:27 -08:00
Jason Dillaman
0ec9185466
Merge pull request #18967 from shun-s/wip-rbd-cp-optimize
librbd: speed up sparse copy when object map is available

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:50:53 -05:00
Jason Dillaman
2084398ad9
Merge pull request #19251 from MahatiC/eventtrace_librbd
librbd: add eventtrace support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:50:01 -05:00
Jason Dillaman
3c003554be
Merge pull request #19280 from Songweibin/wip-parent-info
rbd: add parent info when moving child into trash bin

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:48:54 -05:00
Jason Dillaman
0c2cbd0753
Merge pull request #19315 from trociny/wip-fsx-ggate
test/librbd: rbd-ggate mode for fsx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-06 14:48:35 -05:00
Patrick Donnelly
9867d81f53
Merge PR #18791 into master
* refs/pull/18791/head:
	mds: bump protocol for snapshot changes
	mds: force client to do snapflush
	mds: check existance of snaps when rebuilding need_snapflush
	mds: properly setup need_snapflush for flushsnap messages
	mds: properly update CInode::first and CDentry first
	mds: don't create snap inode during trans-authority rename
	mds: trim non-auth snap dentry during cache rejoin
	mds: detach unlinked inode's snaprealm from its parent
	mds: fix CInode::find_snaprealm()
	mds: fix snap dentry discover
	mds: introduce MDSMap::get_mds_set_lower_bound()
	mds: properly distinguish snaptable TABLE_OP_CREATE from TABLE_OP_UPDATE
	mds: properly set reply buffer for table request 'agree' message
	mds: make change to mds table after corresponding event get logged

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-06 11:45:31 -08:00
Andrew Schoen
ef1b266781
Merge pull request #19351 from ceph/wip-rm22281
ceph-volume rollback on failed OSD prepare/create

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-06 11:15:02 -06:00
Kefu Chai
ef7359d4e2
Merge pull request #19344 from tchaikov/wip-we-need-cxx11-and-more
cmake: bail out if GCC version is less than 5.1

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-06 22:11:17 +08:00
Mykola Golub
54dc5dd5f0
Merge pull request #19343 from dillaman/wip-22321
ceph-dencoder: moved RBD types outside of RGW preprocessor guard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-06 12:17:43 +02:00
Xie Xingguo
1447259110
Merge pull request #19333 from amitkumar50/cov-osd-4
osd: Initializing start_offset,last_offset,offset

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-12-06 15:33:12 +08:00
Xie Xingguo
44f29bf67d
Merge pull request #19334 from amitkumar50/cov-misc-13
test: Initializing ChunkReadOp members

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-12-06 15:30:36 +08:00
Patrick Donnelly
b50e9b8187
Merge PR #18849 into master
* refs/pull/18849/head:
	mds:improve mds perf counters can statistics filesystem operations number and latency

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-05 22:35:57 -08:00
Patrick Donnelly
380324a502
Merge PR #18941 into master
* refs/pull/18941/head:
	discard the mdsload clear after prep_rebalance in case we want to export it for debugging
	make sure that MDBalancer uses heartbeat info from the same epoch

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-12-05 22:35:52 -08:00
Patrick Donnelly
c196e8bdea
Merge PR #19089 into master
* refs/pull/19089/head:
	client: xlist link dentries instead of set
	client: cleanup Dentry definition

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-12-05 22:35:48 -08:00
Patrick Donnelly
60edf95103
Merge PR #19092 into master
* refs/pull/19092/head:
	mds: remove useless check in Migrator::export_dir
	mds: ignore export pin for unlinked directory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-05 22:35:43 -08:00
Patrick Donnelly
583d072394
Merge PR #19218 into master
* refs/pull/19218/head:
	client: quit on failed remount during dentry invalidate test

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-12-05 22:35:38 -08:00
Patrick Donnelly
6a8665b12b
Merge PR #19224 into master
* refs/pull/19224/head:
	mds: use find instead of count in CInode::get_dirfrag

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-12-05 22:35:33 -08:00
Patrick Donnelly
8c68b538c1
Merge PR #19237 into master
* refs/pull/19237/head:
	mds: get rid of the redundant code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-05 22:35:25 -08:00
Andrew Schoen
813276ef6a
Merge pull request #19347 from ceph/wip-rm22326
ceph-volume: warn on missing ceph.conf file

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-12-05 15:43:56 -06:00
Alfredo Deza
07be6fe0ab ceph-volume lvm.create rollback osd creation when prepare or activate fails
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-05 15:32:10 -05:00
Alfredo Deza
6781d6498e ceph-volume lvm.create fallback to bluestore when objectstore is not specified
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-05 15:32:10 -05:00
Alfredo Deza
9b17ad2f8f ceph-volume lvm.prepare fallback to bluestore when objectstore is not specified
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-05 15:32:10 -05:00
Alfredo Deza
579d12806b ceph-volume lvm.prepare rollback osd when prepare fails and an osd id was generated
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-05 15:32:10 -05:00
Alfredo Deza
e533792e0d ceph-volume lvm.common create a rollback_osd utility to cleanup failed osd prepare/create calls
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-05 15:32:09 -05:00
Mykola Golub
7a1b13f884 pybind/rbd: raise KeyError when metadata does not exist
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-05 22:09:30 +02:00
Alfredo Deza
69482d1d80 ceph-volume test logging ignored ceph.conf file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-05 13:59:22 -05:00
Alfredo Deza
44c768db0d ceph-volume main warn on inability to load ceph.conf, don't raise
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-05 13:58:53 -05:00
amitkuma
1bed1927c7 test: Initializing ChunkReadOp members
Fixes the coverity issue:
2. uninit_member: Non-static class member offset is not
initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member length is not
initialized in this constructor nor in any functions that it calls.

CID 1424433 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member tgt_offset is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-12-05 21:08:53 +05:30
amitkuma
2622830c75 osd: Initializing start_offset,last_offset,offset
Fixes the coverity issues:

2. uninit_member: Non-static class member start_offset
is not initialized in this constructor nor in any functions
that it calls.

CID 1424396 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member last_offset is not
initialized in this constructor nor in any functions that it calls.

CID 1424658 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member offset is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
2017-12-05 21:01:52 +05:30
Kefu Chai
bcc0511d3b cmake: bail out if GCC version is less than 5.1
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-05 22:59:48 +08:00
Jason Dillaman
b00ac12f40 ceph-dencoder: moved RBD types outside of RGW preprocessor guard
Fixes: http://tracker.ceph.com/issues/22321
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-12-05 09:58:04 -05:00
Mykola Golub
2e6872b28e pybind/rbd: fix metadata functions error handling
Fixes: http://tracker.ceph.com/issues/22306
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-05 15:52:17 +02:00
Igor Fedotov
559c54f9c2
Merge pull request #19101 from ifed01/wip-ifed-extending-fio
test/fio: extend fio objectstore plugin to better simulate OSD behavior
2017-12-05 14:41:19 +01:00
Kefu Chai
7c3906c7dd
Merge pull request #18863 from tchaikov/wip-devtoolset-7
build/ops: use devtoolset-7 on centos/rhel-7

Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-05 21:27:42 +08:00
Kefu Chai
27c3b63b25
Merge pull request #18812 from tchaikov/wip-pybind-rados-service-api
pybind/rados: add rados_service_*()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-12-05 20:33:58 +08:00
Kefu Chai
5418c98fb7
Merge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty
qa,doc: drop support of ubuntu trusty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-05 20:31:58 +08:00
songweibin
01e8f506ff rbd: comment/msg cleanup
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-05 16:42:32 +08:00
songweibin
2146afb624 rbd: list parent info with "--long" when image child is in trash
We can get child's parent information even it's in
trash bin if "--long" flag is specified.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-05 16:41:52 +08:00