Gui Hecheng
9a43a1205f
librbd: fix segfault on EOPNOTSUPP returned while fetching snapshot timestamp
...
Fixes: http://tracker.ceph.com/issues/18839
Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2017-02-07 11:34:54 +08:00
Zack Cerza
00417f0ecb
Merge pull request #13279 from smithfarm/wip-fix-regression
...
tests: fix regression in qa/tasks/ceph_master.py
2017-02-06 17:08:18 -07:00
Nathan Cutler
db2582e25e
tests: fix regression in qa/tasks/ceph_master.py
...
https://github.com/ceph/ceph/pull/13194 introduced a regression:
2017-02-06T16:14:23.162 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 722, in wrapper
return func(self)
File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 839, in do_thrash
self.choose_action()()
File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 305, in kill_osd
output = proc.stderr.getvalue()
AttributeError: 'NoneType' object has no attribute 'getvalue'
This is because the original patch failed to pass "stderr=StringIO()" to run().
Fixes: http://tracker.ceph.com/issues/16263
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-06 19:37:38 +01:00
Loic Dachary
fc2df15c01
Merge pull request #12979 from theanalyst/scripts/release-notes-tracker
...
script: ceph-release-notes check orig. issue only for backports
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-02-06 18:03:55 +01:00
Nathan Cutler
0fba639472
Merge pull request #13277 from jan--f/janf-teuth-cloud-doc
...
doc: minor change to a cloud testing paragraph
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-02-06 18:00:26 +01:00
Sage Weil
088f013961
Merge pull request #13275 from idryomov/wip-require-osd-features-fix
...
osd/OSDMap: require OSD features only of OSDs
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-06 10:44:39 -06:00
Jan Fajerski
cc97e9d090
doc: minor change to a cloud testing paragraph
...
Use terminate for the instances to match the terminology used by the
horizon interface.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2017-02-06 16:48:54 +01:00
Sage Weil
d67116bbc6
Merge pull request #13256 from dongbula/correct-cached_crc-comment
...
osd: correct comment of perfcounter cached_crc in code
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-06 09:15:43 -06:00
Casey Bodley
0f1e08cc4f
Merge pull request #13220 from rzarzynski/wip-rgw-18364-2
...
rgw: be aware abount tenants on cls_user_bucket -> rgw_bucket conversion
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-06 09:56:03 -05:00
John Spray
f1c3eeda38
Merge pull request #12993 from jcsp/wip-cephfs-doc-authcaps
...
doc: clarify the path restriction mds cap example
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-02-06 12:59:22 +00:00
Radoslaw Zarzynski
7511564b88
Merge pull request #13242 from Jing-Scott/dev/fix-swift-anon-getobj-error-code
...
rgw: swift: fix anonymous user's error code of getting object
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-02-06 13:42:00 +01:00
Ilya Dryomov
ab558bbf29
osd/OSDMap: require OSD features only of OSDs
...
Fix up commit 1a5cc32f0a
("osd/OSDMap: reflect REQUIRE_*_OSDS flag in
required features") -- require_*_osds shouldn't affect older clients.
Fixes: http://tracker.ceph.com/issues/18831
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-02-06 13:35:51 +01:00
Haomai Wang
17bec5ff02
Merge pull request #13271 from Liuchang0812/fix-file-description-leak
...
msg/async: fix file description leak in NetHandler
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-06 20:16:19 +08:00
liuchang0812
ee1e7c255f
msg/async: fix file description leak in NetHandler
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-06 19:09:23 +08:00
Jing Wenjun
318de28e10
rgw: swift: fix anonymous user's error code of getting object
...
The openstack swift will return 401 rather than 403 when
the anon user has no permission to get objects.
Fixes: http://tracker.ceph.com/issues/18806
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
2017-02-06 18:50:34 +08:00
Sage Weil
5fc3dd36e2
Merge pull request #13237 from smithfarm/wip-18799
...
tests: Thrasher: eliminate a race between kill_osd and __init__
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-05 12:49:30 -06:00
Haomai Wang
621e445bbf
Merge pull request #13263 from Adirl/fix_log_spaces
...
msg/async/rdma: fix log line spacing
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-02-05 20:40:58 +08:00
Kefu Chai
6cd8098a61
Merge pull request #13257 from tchaikov/wip-less-verbose-ceph-helper
...
tests: ceph-helpers.sh reduce get_timeout_delays() verbosity
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-02-04 20:15:34 +08:00
Kefu Chai
389bd00da3
tests: ceph-helpers.sh reduce get_timeout_delays() verbosity
...
`set +o` prints out the full command line which is echoed if "xtrace" is
enabled. this increases the verbosity of get_timeout_delays().
in this change, we follow the way of kill_daemons() to kill the extra
output. see aefcf6d
.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-04 17:10:49 +08:00
lvshuhua
64f6ef3913
osd: correct comment of perfcounter cached_crc in code
...
Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
2017-02-04 17:09:20 +08:00
Haomai Wang
3d740bdaa1
Merge pull request #13080 from yuyuyu101/wip-async-fd
...
msg/async/AsyncConnection: socket's fd can be zero, avoid false assert
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-04 11:37:27 +08:00
Sage Weil
f2f2be0f39
Merge pull request #13251 from scuttlemonkey/master
...
script: adding contributor credits script
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-03 16:42:36 -06:00
Sage Weil
93bbc1e4bd
Merge pull request #9396 from songbaisen/doc2
...
doc: fix the librados c api can not compile problem
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-03 16:24:59 -06:00
Matt Benjamin
3b807e763a
Merge pull request #13252 from linuxbox2/wip-rgw-setattr
...
rgw_file: fix RGWLibFS::setattr for directory objects
2017-02-03 14:47:20 -05:00
Matt Benjamin
4ad5a92268
rgw_file: fix RGWLibFS::setattr for directory objects
...
Fixes: http://tracker.ceph.com/issues/18808
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-03 13:51:38 -05:00
Matt Benjamin
5bf39156d8
Merge pull request #13147 from yehudasa/wip-18331
...
rgw: fix use of marker in List::list_objects()
2017-02-03 11:57:23 -05:00
Yuri Weinstein
7582a03650
Merge pull request #12023 from yuyuyu101/wip-msgr-type
...
msg: allow different ms type for cluster network and public network
Reviewed-by: Adir Lev <adirl@mellanox.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-03 08:50:14 -08:00
Yuri Weinstein
94319878af
Merge pull request #13114 from liewegas/wip-osdmap-required-features
...
osd: condition object_info_t encoding on required (not up) features
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-03 08:44:46 -08:00
Yuri Weinstein
c18061c731
Merge pull request #13206 from liewegas/wip-osd-enxio
...
osd: do not send ENXIO on misdirected op by default
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-03 08:43:08 -08:00
Yuri Weinstein
f5b676acd9
Merge pull request #13213 from ovh/bp-osd-updateable-throttles
...
osd: allow client throttler to be adjusted on-fly, without restart
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-03 08:41:00 -08:00
Loic Dachary
dd859f425d
Merge pull request #13063 from ovh/wip-mailmap-ovh-contributors
...
mailmap: Update OVH contributors
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-02-03 17:21:19 +01:00
scuttlemonkey
391a5b5f48
adding contributor credits script
...
Signed-off-by: Patrick McGarry <pmcgarry@redhat.com>
2017-02-03 17:16:59 +01:00
Kefu Chai
2d0dd51a9e
Merge pull request #13223 from wjwithagen/wip-wjw-freebsd-sphynx
...
build/install-deps.sh: Add sphinx package for building docs on FreeBSD
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-03 22:01:41 +08:00
John Spray
c6eabe04d9
Merge pull request #11448 from ledgr/change/mount_fuse_ceph_options_in_fs_mntops_and_python
...
Rewrite mount.fuse.ceph (to python) and move ceph-fuse options to fs_mntops
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-03 12:30:46 +01:00
Josh Durgin
21cdcfcc66
Merge pull request #13194 from smithfarm/wip-16263
...
tests: ignore bogus ceph-objectstore-tool error in ceph_manager
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2017-02-02 15:31:29 -08:00
Nathan Cutler
b519d38fb1
tests: Thrasher: eliminate a race between kill_osd and __init__
...
If Thrasher.__init__() spawns the do_thrash thread before initializing the
ceph_objectstore_tool property, do_thrash races with the rest
of Thrasher.__init__() and in some cases do_thrash can call kill_osd() before
Trasher.__init__() progresses much further. This can lead to an exception
("AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool'")
being thrown in kill_osd().
This commit eliminates the race by making sure the ceph_objectstore_tool
attribute is initialized before the do_thrash thread is spawned.
Fixes: http://tracker.ceph.com/issues/18799
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-02-02 23:23:54 +01:00
Sage Weil
2a75ab7722
Merge pull request #13234 from ifed01/wip-bluestore-performance-sandbox2017
...
os/bluestore: fix potential assert in cache _trim method.
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-02 16:09:57 -06:00
Matt Benjamin
8b57de98ec
Merge pull request #12965 from linuxbox2/wip-librgw-expand-argv
...
rgw_file: split last argv on ws, if provided
2017-02-02 15:25:08 -05:00
Matt Benjamin
fbc19e4eff
rgw_file: split last argv on ws, if provided
...
This is intended to allow an "extra" unparsed argument string
containing various cmdline options to be passed as the last argument
in the argv array of librgw_create(), which nfs-ganesha is
expecting to happen.
While at it, hook env_args() too.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-02-02 14:16:53 -05:00
Radoslaw Zarzynski
871e1f51af
rgw: be aware abount tenants on cls_user_bucket -> rgw_bucket conversion.
...
Fixes: http://tracker.ceph.com/issues/18364
Fixes: http://tracker.ceph.com/issues/16355
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-02-02 19:02:25 +01:00
Bartłomiej Święcki
f74d7f3673
mailmap: Update OVH contributors
...
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2017-02-02 16:54:56 +01:00
Loic Dachary
6349f987df
Merge pull request #12335 from theanalyst/mailmap/v11.1.0
...
mailmap updates for v11.1.0
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-02-02 16:46:05 +01:00
Sage Weil
d099edcb82
ceph_test_objectstore: match clone_range src and dst offset
...
This is what the OSD does, and BlueStore doesn't necessarily handle
all combinations of different offsets.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-02 10:11:30 -05:00
Sage Weil
7df1906b6c
Merge pull request #13211 from liewegas/wip-clone-offsets
...
ceph_test_objectstore: match clone_range src and dst offset
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-02-02 09:08:05 -06:00
Sage Weil
013b96e1da
Merge pull request #12904 from ifed01/wip-bluestore-onode-refmap3
...
os/bluestore: replace Blob ref_map with reference counting
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-02 08:56:31 -06:00
Sage Weil
6e72005891
Merge pull request #13192 from liewegas/wip-bluestore-min-alloc-size
...
os/bluestore: fix min_alloc_size at mkfs time
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-02-02 08:56:09 -06:00
Igor Fedotov
8b633f0bbc
os/bluestore: fix potential assert in cache _trim method.
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-02-02 13:10:01 +00:00
Adir Lev
fb9feb1c4c
msg/async/rdma: fix log line spacing
...
issue: none
Change-Id: Ieef3284ee673f012331d21fffcb499e22473f62a
Signed-off-by: Adir Lev <adirl@mellanox.com>
2017-02-02 10:53:08 +02:00
Piotr Dałek
64c309d7e1
OSD: allow client throttler to be adjusted on-fly, without restart
...
This patch allows the osd_client_message_cap and
osd_client_message_size_cap to be adjusted on-fly, using admin socket
functionality.
Fixes: http://tracker.ceph.com/issues/18791
Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2017-02-02 09:32:55 +01:00
Haomai Wang
3ab97f66bd
ceph_mds: adopt ms public type
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-02-02 16:22:04 +08:00