Commit Graph

84617 Commits

Author SHA1 Message Date
John Wilkins
9b8c048192
Merge pull request #21050 from falcon78921/wip-doc-falcon78921
doc: updated add primary storage documentation for latest CloudStack release (4.11)

reviewed-by: John Wilkins <jowilkin@redhat.com>
2018-04-03 09:55:06 -07:00
David Galloway
34e0ecd105
Merge pull request #21218 from ceph/wip-dgall-crontab
test:qa:infra - Run update daily and use bash
2018-04-03 12:27:34 -04:00
David Galloway
07186a5b87 test:qa:infra - Run update daily and use bash
bash has the path for `source` to activate the virtualenv.  sh doesn't.

[skip ci]

Signed-off-by: David Galloway <dgallowa@redhat.com>
2018-04-03 11:39:13 -04:00
Sage Weil
643253c326 Merge tag 'v13.0.2'
v13.0.2
2018-04-03 10:08:22 -05:00
Patrick Donnelly
0186795496
Merge PR #21180 into master
* refs/pull/21180/head:
	vstart_runner: examine check_status before error

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-03 06:51:18 -07:00
Jason Dillaman
3b08c0609c Merge pull request #20460 from colletj/v1_image_creation_disallow
librbd: disallow creation of v1 image format

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 09:18:39 -04:00
Jason Dillaman
98bae81f17
Merge pull request #21202 from tchaikov/wip-rbd-replay
rbd-replay: remove boost dependency

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 09:14:39 -04:00
Jason Dillaman
ccb2646a03
Merge pull request #21142 from dragonylffly/wip-fix-ebusy
rbd-nbd: fix ebusy when do map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 07:39:15 -04:00
Jason Dillaman
de03571aa7
Merge pull request #21157 from trociny/wip-23526
journal: limit number of appends sent in one librados op 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-03 07:38:40 -04:00
Kefu Chai
440c597df3 rbd-replay: remove boost dependency
quite a few facilies are now available in standard library now after we
switched to C++17.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-03 16:30:47 +08:00
Patrick Donnelly
8b7892f6c9
Merge PR #20855 into master
* refs/pull/20855/head:
	client: add the fuse parameter max_write

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-02 21:15:20 -07:00
Patrick Donnelly
9d8037f8da
Merge PR #21096 into master
* refs/pull/21096/head:
	pybind/cephfs: added comments to cephfs.pyx

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-02 21:10:56 -07:00
Yuri Weinstein
9b7b5a7673
Merge pull request #21183 from neha-ojha/wip-minor-fix-perf-suite
qa/suites/perf-basic: add desc regarding test machines

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2018-04-02 13:56:08 -07:00
David Galloway
17f9d4e351
Merge pull request #21075 from ceph/wip-yuriw-try-crontab
test:qa:infra - teuthology crontab items as of 3/27/18
2018-04-02 16:08:02 -04:00
Neha Ojha
ca3c2156f8 qa/suites/perf-basic: add desc regarding test machines
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-04-02 13:01:30 -07:00
Mykola Golub
d49cfcdeb7 journal: limit number of appends sent in one librados op
Fixes: http://tracker.ceph.com/issues/23526
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-04-02 22:44:16 +03:00
Jason Dillaman
5585e52c47
Merge pull request #21165 from Songweibin/wip-drop-redefine-func
librbd: minor code cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-02 11:17:04 -04:00
Patrick Donnelly
9a558c51dc
vstart_runner: examine check_status before error
Issue found by Rishabh Dave. Fix suggested by John Spray.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-02 08:08:43 -07:00
Sage Weil
ed9182c266 CMakeLists: v13.0.2
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-02 10:03:02 -05:00
Kefu Chai
1993e161a4
Merge pull request #21143 from wjwithagen/wjw-ipaddr-ipv6
common: FreeBSD wants the correct struct selection for ipv6

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-02 22:10:30 +08:00
Kefu Chai
d824357a94
Merge pull request #21136 from kungf/io_events
bluestore: fix aio_t::rval  type

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-02 22:08:17 +08:00
Kefu Chai
6a981eb842
Merge pull request #20820 from guzhongyan/nodels-improve
mon: node ls improvement

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-02 22:06:49 +08:00
Kefu Chai
ace8c45eba
Merge pull request #20298 from markhpc/wip-osd-check_full
osd: don't process ostream strings when not debugging.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-04-02 22:05:57 +08:00
Kefu Chai
3cd8489773
Merge pull request #21159 from tchaikov/wip-no-more-use-wheel
src: s/pip --use-wheel/pip/

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-04-02 20:00:51 +08:00
songweibin
74839033f3 pybind/rbd: normalize errno exception
The code meant to do so but actually it does not ...

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-04-02 12:38:19 +08:00
songweibin
1b7d2fe64e librbd: return error when r < 0
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-04-02 11:09:26 +08:00
songweibin
5539309996 librbd: drop a duplicate definition function
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-04-02 09:33:19 +08:00
Kefu Chai
a80cce4ba6 src: s/--use-wheel//
--use-wheel was deprecated in favor of --only-binary in pip v7.0.0. and
--use-wheel was removed in a recent release of pip. but some packages
are source packages, so we cannot simply replace use-wheel with
only-binary. so a simpler approach is to drop --use-wheel option, as pip
respects --find-links, and will find the required package from the
wheelhouse.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-01 21:01:39 +08:00
Patrick Donnelly
b7fce64601
Merge PR #20132 into master
* refs/pull/20132/head:
	qa/cephfs: update TestDamage for open file table
	mds: allow storing open file table in multiple omaps
	mds: differentiate Anchor types to clarify purpose
	mds: add perf counter for 'open ino' operation
	mds: protect open file table against partial omap update
	mds: add dirfrags whose child inodes have caps to open file table
	mds: don't try prefetching destroyed inodes
	mds: don't try opening inodes that haven't been created
	mds: don't re-requeue open files to head of log
	mds: use open file table to speed up mds recovery
	mds: introduce open file table
	mds: track how many clients/mds want caps for each inode
	mds: cleanup MDCache::opening_inodes access
	mds: cleanup CInode/CDir states definition

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-30 22:25:10 -07:00
Kefu Chai
4eb4d4fb0f
Merge pull request #21147 from rjfd/wip-dashboard-fix-notification-queue-test
mgr/dashboard: notification queue: fix priority tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-31 08:59:07 +08:00
Ricardo Dias
5c1f4d2925
mgr/dashboard: notification queue: fix priority tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-30 23:18:05 +01:00
vasukulkarni
7a244301bf
Merge pull request #20979 from ceph/wip-cd-smoke-fix
qa/tests: use ceph-deploy stable branch for single node tests
2018-03-30 12:20:09 -07:00
Vasu Kulkarni
80f84baa94 qa/tests: use stable branch for single node tests
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2018-03-30 09:09:37 -07:00
Willem Jan Withagen
3806d8ec7c common: FreeBSD wants the correct struct selection for ipv6
Lets see if this also works for Linux

Fixes: http://tracker.ceph.com/issues/21813

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-03-30 17:49:08 +02:00
Li Wang
ab77dcc017 rbd-nbd: fix ebusy when do map
When doing rbd-nbd map, if the Ceph service is not available,
the codes will wait on rados.connect(), unless killing the process.
In that case, the close_nbd logic is skipped with NBD_CLEAR_SOCK ioctl
not called. On the CentOS 7 kernel, it leaves nbd->file not cleared, which
causes the subsequent map requests return EBUSY, this patch fixes it
by connecting Ceph first prior to calling NBD_SET_SOCK ioctl

Fixes: http://tracker.ceph.com/issues/23528

Signed-off-by: Li Wang <laurence.liwang@gmail.com>
2018-03-30 14:09:03 +00:00
Julien COLLET
bd750f8ef4 librbd/cli-integration: Permit V1 image creation
Signed-off-by: Julien COLLET <julien.collet@cern.ch>
2018-03-30 15:03:58 +02:00
Jason Dillaman
6885380c24
Merge pull request #18317 from hitoshikamei/master-rbd
rbd: eager-thick provisioning support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-30 08:45:15 -04:00
Jason Dillaman
24e566af84
Merge pull request #20868 from shun-s/fix-same-cookie
librbd: fix refuse to release lock when cookie is the same at rewatch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-30 08:44:49 -04:00
Jason Dillaman
285a2fdbfc
Merge pull request #20935 from trociny/wip-get-name
librbd: add API function to get image name 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-30 08:44:28 -04:00
kungf
a9b9477a44 os/bluestore: change the type of aio_t:res to long
io_event::res was assigned to io_t::rval, but io_event::res
is long, if rval is int, this will cause overflow.

Fixes: http://tracker.ceph.com/issues/23527

Signed-off-by: kungf <yang.wang@easystack.cn>
2018-03-30 20:15:42 +08:00
Kefu Chai
9e8af3e243
Merge pull request #21117 from smithfarm/wip-23504
tests: remove TestPGLog ASSERT_DEATH test

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-30 09:45:44 +08:00
Patrick Donnelly
0e3d5653e4
Merge PR #20927 into master
* refs/pull/20927/head:
	doc: use actual entity address for clarity
	doc: make minor grammatical rectifications

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-29 14:03:36 -07:00
Jason Dillaman
4e36277bd3
Merge pull request #21131 from trociny/wip-23502
qa/suites/rbd: set qemu task time_wait param

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-29 15:45:07 -04:00
John Wilkins
ca016f376c doc: Edits
Made a few minor edits.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
2018-03-29 15:17:34 -04:00
falcon78921
ffb68cc916 doc: Updated add primary storage documentation for latest CloudStack release (4.11)
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-03-29 15:17:13 -04:00
Mark Nelson
9b4bae1532 osd/OSD: make dout in _check_full conditional
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-03-29 12:47:19 -05:00
Patrick Donnelly
388303f31a
Merge PR #20983 into master
* refs/pull/20983/head:
	ceph_authtool: add mode option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-29 09:47:59 -07:00
Sébastien Han
b179cd2755 ceph_authtool: add mode option
We now have the ability to set the keyring file mode with the help of
'--mode MODE'. The mode needs to be specified in octal using the format:
0600.

Closes: http://tracker.ceph.com/issues/23513

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-03-29 18:40:45 +02:00
Mykola Golub
6fe8d64705 qa/suites/rbd: set qemu task time_wait param
so workloads qemu_dynamic_features.sh and qemu_rebuild_object_map.sh,
which check if qemu is finished with periodicity 60 sec, have enough
time to detect this before the rbd image is removed.

Fixes: https://tracker.ceph.com/issues/23502
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-29 17:44:00 +03:00
Mykola Golub
af15b2cef4 qa/tasks/qemu: add a parameter to wait for workloads detect qemu finished
In the case when a workload needs to detect qemu finished by running a
check with a periodicity of N sec it needs to set time_wait to 2 * N
in order to avoid races on finish.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-29 17:43:31 +03:00