]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agotests: ceph-disk: ignore E722 in flake8 test 19072/head
Nathan Cutler [Tue, 21 Nov 2017 10:36:02 +0000 (11:36 +0100)]
tests: ceph-disk: ignore E722 in flake8 test

Very old, and very new, versions of flake8 treat E722 as an error:

flake8 runtests: commands[0] | flake8 --ignore=H105,H405,E127 ceph_disk tests
ceph_disk/main.py:1575:9: E722 do not use bare except'
ceph_disk/main.py:1582:9: E722 do not use bare except'
ceph_disk/main.py:3252:5: E722 do not use bare except'
ceph_disk/main.py:3288:21: E722 do not use bare except'
ceph_disk/main.py:3296:17: E722 do not use bare except'
ceph_disk/main.py:4358:5: E722 do not use bare except'
tests/test_main.py:26:1: E722 do not use bare except'
ERROR: InvocationError: '/opt/j/ws/mkck/src/ceph-disk/.tox/flake8/bin/flake8 --ignore=H105,H405,E127 ceph_disk tests'

Fixes: http://tracker.ceph.com/issues/22207
References: https://gitlab.com/pycqa/flake8/issues/361

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge PR #18274 into master
Patrick Donnelly [Tue, 21 Nov 2017 05:48:12 +0000 (21:48 -0800)]
Merge PR #18274 into master

* refs/pull/18274/head:
mds: fold mds_revoke_cap_timeout into mds_session_timeout
client: add new delegation testcases
client: add delegation support for cephfs
common: remove data_dir_option from common_preinit and global_pre_init

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18710 from com6056/wip-doc-fix-cephfs-snap-dir
Gregory Farnum [Tue, 21 Nov 2017 00:46:44 +0000 (16:46 -0800)]
Merge pull request #18710 from com6056/wip-doc-fix-cephfs-snap-dir

doc: Fixes the name of the CephFS snapshot directory.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #10992 from zhangsw/fix-rgw-cache-bug
Yuri Weinstein [Mon, 20 Nov 2017 22:30:13 +0000 (14:30 -0800)]
Merge pull request #10992 from zhangsw/fix-rgw-cache-bug

rgw: fix a bug in rgw cache in delete_system_obj and get_system_obj.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19011 from trociny/wip-mirror-missing-lock
Jason Dillaman [Mon, 20 Nov 2017 18:22:36 +0000 (13:22 -0500)]
Merge pull request #19011 from trociny/wip-mirror-missing-lock

rbd-mirror: missing lock when re-sending update_sync_point

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19016 from trociny/wip-valgrind-unittest_rbd_mirror
Jason Dillaman [Mon, 20 Nov 2017 18:16:23 +0000 (13:16 -0500)]
Merge pull request #19016 from trociny/wip-valgrind-unittest_rbd_mirror

test/rbd_mirror: fix valgrind warnings in unittest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18799 from ivancich/wip-remove-StreamObjData
Casey Bodley [Mon, 20 Nov 2017 18:02:23 +0000 (13:02 -0500)]
Merge pull request #18799 from ivancich/wip-remove-StreamObjData

rgw clean-up: remove unreferenced pure virtual class StreamObjData

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge PR #19022 into master
Patrick Donnelly [Mon, 20 Nov 2017 17:52:33 +0000 (09:52 -0800)]
Merge PR #19022 into master

* refs/pull/19022/head:
githubmap: Add oritwas

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18987 from ivancich/wip-remove-sys-obj-get-state
Casey Bodley [Mon, 20 Nov 2017 15:48:01 +0000 (10:48 -0500)]
Merge pull request #18987 from ivancich/wip-remove-sys-obj-get-state

rgw clean-up: remove unused var & func in RGWRados::SystemObject

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #18173 from gmayyyha/osd-status-21707
John Spray [Mon, 20 Nov 2017 15:35:09 +0000 (15:35 +0000)]
Merge pull request #18173 from gmayyyha/osd-status-21707

mgr: fix "osd status" command exception if OSD not in pgmap stats

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19024 from tchaikov/wip-21474
Kefu Chai [Mon, 20 Nov 2017 14:54:27 +0000 (22:54 +0800)]
Merge pull request #19024 from tchaikov/wip-21474

qa/tasks: prolong revive_osd() timeout to 6 min

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18667 from Leeshine/wip-rgw-bug-21615
Casey Bodley [Mon, 20 Nov 2017 14:15:04 +0000 (09:15 -0500)]
Merge pull request #18667 from Leeshine/wip-rgw-bug-21615

rgw: radosgw-admin zonegroup get and zone get return defaults when there is no realm

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18302 from joscollin/wip-update-radosgw-admin-usage
Orit Wasserman [Mon, 20 Nov 2017 10:36:51 +0000 (12:36 +0200)]
Merge pull request #18302 from joscollin/wip-update-radosgw-admin-usage

rgw: Various cleanups and options update in rgw_admin.cc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #18979 from cfanz/dump-header-improve-wip
Orit Wasserman [Mon, 20 Nov 2017 10:04:39 +0000 (12:04 +0200)]
Merge pull request #18979 from cfanz/dump-header-improve-wip

rgw: clean code with helper function dump_header_if_nonempty
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18985 from theanalyst/wip-keystone-logging
Orit Wasserman [Mon, 20 Nov 2017 10:01:35 +0000 (12:01 +0200)]
Merge pull request #18985 from theanalyst/wip-keystone-logging

rgw: keystone: bump up logging when error is received
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #18980 from shinobu-x/os_filestore_filestore_nit_cleanup
Kefu Chai [Mon, 20 Nov 2017 06:44:58 +0000 (14:44 +0800)]
Merge pull request #18980 from shinobu-x/os_filestore_filestore_nit_cleanup

os/filestore/FileStore: Initialized by nullptr, NULL or 0 instead

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18982 from neha-ojha/wip-const-cleanup
Kefu Chai [Mon, 20 Nov 2017 06:44:23 +0000 (14:44 +0800)]
Merge pull request #18982 from neha-ojha/wip-const-cleanup

osd/PG: const cleanup for recoverable/readable predicates

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18934 from tchaikov/wip-option-return-by-ref
Kefu Chai [Mon, 20 Nov 2017 06:43:40 +0000 (14:43 +0800)]
Merge pull request #18934 from tchaikov/wip-option-return-by-ref

Revert "common/config: return const reference instead of a copy"

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #18916 from tchaikov/wip-22113
Kefu Chai [Mon, 20 Nov 2017 06:42:25 +0000 (14:42 +0800)]
Merge pull request #18916 from tchaikov/wip-22113

osd: subscribe osdmaps if any pending pgs

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18816 from amitkumar50/cov-common-2
Kefu Chai [Mon, 20 Nov 2017 06:41:57 +0000 (14:41 +0800)]
Merge pull request #18816 from amitkumar50/cov-common-2

common: Check this->data.op_size before use

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18810 from majianpeng/fix-21982
Kefu Chai [Mon, 20 Nov 2017 06:39:17 +0000 (14:39 +0800)]
Merge pull request #18810 from majianpeng/fix-21982

osdc/Objecter: record correctly value for l_osdc_op_send_bytes.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18777 from majianpeng/bluestore-collection-list
Kefu Chai [Mon, 20 Nov 2017 06:38:51 +0000 (14:38 +0800)]
Merge pull request #18777 from majianpeng/bluestore-collection-list

os/bluestore: optimize _collection_list.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18544 from ddiss/pid_max
Kefu Chai [Mon, 20 Nov 2017 06:37:08 +0000 (14:37 +0800)]
Merge pull request #18544 from ddiss/pid_max

sysctl.d: set kernel.pid_max=4194304

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18718 from shinobu-x/sk-ceph_osd
Kefu Chai [Mon, 20 Nov 2017 06:36:38 +0000 (14:36 +0800)]
Merge pull request #18718 from shinobu-x/sk-ceph_osd

ceph_osd.cc: Drop legacy or redundant code

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/tasks: prolong revive_osd() timeout to 6 min 19024/head
Kefu Chai [Mon, 20 Nov 2017 05:40:56 +0000 (13:40 +0800)]
qa/tasks: prolong revive_osd() timeout to 6 min

see also #17902

Fixes: http://tracker.ceph.com/issues/21474
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agogithubmap: Add oritwas 19022/head
Jos Collin [Mon, 20 Nov 2017 03:42:43 +0000 (09:12 +0530)]
githubmap: Add oritwas

Added oritwas to .githubmap.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agotest/rbd_mirror: fix valgrind warnings in unittest 19016/head
Mykola Golub [Sun, 19 Nov 2017 17:26:52 +0000 (19:26 +0200)]
test/rbd_mirror: fix valgrind warnings in unittest

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #18776 from JianyuLi/joa-mul-mds
Yan, Zheng [Sun, 19 Nov 2017 12:47:58 +0000 (20:47 +0800)]
Merge pull request #18776 from JianyuLi/joa-mul-mds

MDS: make popular counter decay at proper rate

7 years agoMerge pull request #18784 from taodd/client-bugfix
Yan, Zheng [Sun, 19 Nov 2017 12:47:09 +0000 (20:47 +0800)]
Merge pull request #18784 from taodd/client-bugfix

Client:Fix readdir bug

7 years agoMerge pull request #18786 from taodd/master
Yan, Zheng [Sun, 19 Nov 2017 12:46:22 +0000 (20:46 +0800)]
Merge pull request #18786 from taodd/master

Client: setattr should drop "Fs" rather than "As" for mtime and size

7 years agoMerge pull request #18836 from taodd/cephfs-hadoop
Yan, Zheng [Sun, 19 Nov 2017 12:44:43 +0000 (20:44 +0800)]
Merge pull request #18836 from taodd/cephfs-hadoop

MDS: correct the error msg when init mon client

7 years agoMerge pull request #18892 from taodd/client-bugfix2
Yan, Zheng [Sun, 19 Nov 2017 12:43:39 +0000 (20:43 +0800)]
Merge pull request #18892 from taodd/client-bugfix2

MDS: add null check before we push_back "onfinish"

7 years agoMerge pull request #18893 from taodd/mds-inotable-cleanup
Yan, Zheng [Sun, 19 Nov 2017 12:43:03 +0000 (20:43 +0800)]
Merge pull request #18893 from taodd/mds-inotable-cleanup

mds: simplify the code logic in replay_alloc_ids

7 years agoMerge pull request #18904 from taodd/mds-sesseionmap-cleanup
Yan, Zheng [Sun, 19 Nov 2017 12:40:48 +0000 (20:40 +0800)]
Merge pull request #18904 from taodd/mds-sesseionmap-cleanup

mds: get rid of the "if" check which is unnecessary inside a loop

7 years agorbd-mirror: missing lock when re-sending update_sync_point 19011/head
Mykola Golub [Sat, 18 Nov 2017 20:18:37 +0000 (22:18 +0200)]
rbd-mirror: missing lock when re-sending update_sync_point

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #19003 from dillaman/wip-22158
Mykola Golub [Sat, 18 Nov 2017 16:07:48 +0000 (18:07 +0200)]
Merge pull request #19003 from dillaman/wip-22158

librbd: set deleted parent pointer to null

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agolibrbd: set deleted parent pointer to null 19003/head
Jason Dillaman [Sat, 18 Nov 2017 13:30:27 +0000 (08:30 -0500)]
librbd: set deleted parent pointer to null

Fixes: http://tracker.ceph.com/issues/22158
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18963 from amitkumar50/test-cov-test-9
Kefu Chai [Sat, 18 Nov 2017 13:14:16 +0000 (21:14 +0800)]
Merge pull request #18963 from amitkumar50/test-cov-test-9

test: Incorrect conversion to double

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18901 from jan--f/jan-crushtool-decompile-missing-ids
Kefu Chai [Sat, 18 Nov 2017 13:12:23 +0000 (21:12 +0800)]
Merge pull request #18901 from jan--f/jan-crushtool-decompile-missing-ids

tools/crushtool: skip device id if no name exists

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18939 from majianpeng/bluestore-reap-collection
Kefu Chai [Sat, 18 Nov 2017 13:10:52 +0000 (21:10 +0800)]
Merge pull request #18939 from majianpeng/bluestore-reap-collection

os/bluestore: fix the wrong usage for map_any

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #18913 from yaozongyou/wip-rados-add-touch-command
Kefu Chai [Sat, 18 Nov 2017 13:10:16 +0000 (21:10 +0800)]
Merge pull request #18913 from yaozongyou/wip-rados-add-touch-command

tools/rados: add touch command to change object modification time

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18848 from jcsp/wip-22098
Kefu Chai [Sat, 18 Nov 2017 13:08:29 +0000 (21:08 +0800)]
Merge pull request #18848 from jcsp/wip-22098

mgr/dashboard: fix audit log loading

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18847 from jcsp/wip-mgr-mon-upness
Kefu Chai [Sat, 18 Nov 2017 13:05:50 +0000 (21:05 +0800)]
Merge pull request #18847 from jcsp/wip-mgr-mon-upness

mgr/dashboard: show warnings if data is out of date or mons are down

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #18484 from Liuchang0812/wip-mgr-request-osd-metadata
Kefu Chai [Sat, 18 Nov 2017 13:04:37 +0000 (21:04 +0800)]
Merge pull request #18484 from Liuchang0812/wip-mgr-request-osd-metadata

mgr: request daemon's metadata when receiving a report from an unknown server

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18976 from yahooguntu/patch-1
Kefu Chai [Sat, 18 Nov 2017 12:57:56 +0000 (20:57 +0800)]
Merge pull request #18976 from yahooguntu/patch-1

udev: Fix typo in udev OSD rules file

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18944 from tchaikov/wip-dpdk-spdk
Kefu Chai [Sat, 18 Nov 2017 05:15:52 +0000 (13:15 +0800)]
Merge pull request #18944 from tchaikov/wip-dpdk-spdk

cmake: WITH_SPDK=ON by default

Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
7 years agomsg/async: rebase msg/async/dpdk to spdk/dpdk 18944/head
chunmei [Mon, 13 Nov 2017 19:19:23 +0000 (11:19 -0800)]
msg/async: rebase msg/async/dpdk to spdk/dpdk

Signed-off-by: Liu-Chunmei <chunmei.liu@intel.com>
7 years agocmake: use BuildDPDK if libdpdk not found
Kefu Chai [Fri, 17 Nov 2017 05:47:52 +0000 (13:47 +0800)]
cmake: use BuildDPDK if libdpdk not found

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: add rte_mempool_{ring,stack} to Finddpdk.cmake
Kefu Chai [Tue, 10 Jan 2017 07:14:01 +0000 (15:14 +0800)]
cmake: add rte_mempool_{ring,stack} to Finddpdk.cmake

* also refactor it a little bit

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: BuildDPDK: do not build kernel modules
Kefu Chai [Wed, 15 Nov 2017 18:10:25 +0000 (02:10 +0800)]
cmake: BuildDPDK: do not build kernel modules

see also http://pkgs.fedoraproject.org/cgit/rpms/dpdk.git/tree/dpdk.spec

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: remove duplicated spdk linkage
Kefu Chai [Wed, 15 Nov 2017 13:15:08 +0000 (21:15 +0800)]
cmake: remove duplicated spdk linkage

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: refactor dpdk related code
Kefu Chai [Wed, 15 Nov 2017 12:57:56 +0000 (20:57 +0800)]
cmake: refactor dpdk related code

* move the check of `USE_CRYPTOPP` to $top_srcdir/CMakeLists.txt
* remove reference of DPDK_LIBRARY, it's defined nowhere
* move the dpdk code to a single place

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18988 from ceph/wip-rm22154
Andrew Schoen [Fri, 17 Nov 2017 20:36:42 +0000 (14:36 -0600)]
Merge pull request #18988 from ceph/wip-rm22154

ceph-disk: create deprecation warnings

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agodoc/ceph-volume create a migration section to help users coming from ceph-disk 18988/head
Alfredo Deza [Fri, 17 Nov 2017 18:10:29 +0000 (13:10 -0500)]
doc/ceph-volume create a migration section to help users coming from ceph-disk

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-disk add deprecation warnings in favor of ceph-volume
Alfredo Deza [Fri, 17 Nov 2017 18:01:14 +0000 (13:01 -0500)]
ceph-disk add deprecation warnings in favor of ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Fixes: http://tracker.ceph.com/issues/22154
7 years agoMerge pull request #18917 from ZVampirEM77/wip-em-copyobjdata-cleanup
Yuri Weinstein [Fri, 17 Nov 2017 17:55:29 +0000 (09:55 -0800)]
Merge pull request #18917 from ZVampirEM77/wip-em-copyobjdata-cleanup

rgw: cleanup unused parameters in RGWRados::copy_obj_data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoudev: Fix typo in udev OSD rules file 18976/head
Mitch Birti [Thu, 16 Nov 2017 22:27:20 +0000 (16:27 -0600)]
udev: Fix typo in udev OSD rules file

The rule for lockbox partitions had an invalid UUID for the "change" action.

Signed-off-by: Mitch Birti <yahooguntu@gmail.com>
7 years agorgw clean-up: remove unused var & func in RGWRados::SystemObject 18987/head
J. Eric Ivancich [Fri, 17 Nov 2017 16:59:26 +0000 (11:59 -0500)]
rgw clean-up: remove unused var & func in RGWRados::SystemObject

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #18922 from Synesis-LLC/fix-22122
Yuri Weinstein [Fri, 17 Nov 2017 16:49:31 +0000 (08:49 -0800)]
Merge pull request #18922 from Synesis-LLC/fix-22122

rgw: fix radosgw-admin bucket rm with --purge-objects and --bypass-gc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18956 from Jeegn-Chen/wip-issue-22129
Yuri Weinstein [Fri, 17 Nov 2017 16:48:37 +0000 (08:48 -0800)]
Merge pull request #18956 from Jeegn-Chen/wip-issue-22129

rgw: AWS v4 authorization work when INIT_MULTIPART is chunked

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #18984 from ceph/wip-cv-unittest-fix
Andrew Schoen [Fri, 17 Nov 2017 15:38:08 +0000 (09:38 -0600)]
Merge pull request #18984 from ceph/wip-cv-unittest-fix

ceph-volume tests.devices.lvm prepare isn't bluestore specific anymore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #18968 from joscollin/wip-rgwadmin-rewrite
Casey Bodley [Fri, 17 Nov 2017 15:25:47 +0000 (10:25 -0500)]
Merge pull request #18968 from joscollin/wip-rgwadmin-rewrite

rgw: fix rewrite options usage text

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17797 from amitkumar50/cov-msg-3
Sage Weil [Fri, 17 Nov 2017 14:52:50 +0000 (08:52 -0600)]
Merge pull request #17797 from amitkumar50/cov-msg-3

msg: Initialize lkey,bound,port_cnt,num_chunk,gid_idx

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17874 from ShowingCloud/master
Sage Weil [Fri, 17 Nov 2017 14:51:07 +0000 (08:51 -0600)]
Merge pull request #17874 from ShowingCloud/master

ceph-bluestore-tool: check if bdev is empty on 'bluefs-bdev-expand'

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18090 from amitkumar50/test-cov-8
Sage Weil [Fri, 17 Nov 2017 14:49:59 +0000 (08:49 -0600)]
Merge pull request #18090 from amitkumar50/test-cov-8

test: checking negative returns from creat()

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agorgw: keystone: bump up logging when error is received 18985/head
Abhishek Lekshmanan [Fri, 17 Nov 2017 13:48:17 +0000 (14:48 +0100)]
rgw: keystone: bump up logging when error is received

When keystone engine is used and there is an error (often due to
misconfigured urls etc) these do not show up at the final logs as we
just return  -1 at the final stage. Adding logs at level 5 for these
cases, as they can help identify a possible misconfigured url or admin
token. Eg:

```
5 Failed keystone auth from http://localhost:5000/v3/v3/auth/tokens with 404
```

Fixes: http://tracker.ceph.com/issues/22151
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoceph-volume tests.devices.lvm prepare isn't bluestore specific anymore 18984/head
Alfredo Deza [Fri, 17 Nov 2017 13:41:24 +0000 (08:41 -0500)]
ceph-volume tests.devices.lvm prepare isn't bluestore specific anymore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agosysctl.d: set kernel.pid_max=4194304 on 64-bit systems 18544/head
David Disseldorp [Tue, 14 Nov 2017 15:32:39 +0000 (16:32 +0100)]
sysctl.d: set kernel.pid_max=4194304 on 64-bit systems

For CONFIG_BASE_FULL Linux kernels, the maximum number of proc/thread
IDs is set to 32768 by default. This default limit can be quite easily
hit during recovery on nodes with high OSD counts.
To avoid hitting the pid_max default limit, attempt to configure it to
4194304, which corresponds to the maximum limit possible on 64-bit
CONFIG_BASE_FULL kernels.

Fixes: http://tracker.ceph.com/issues/21929
Signed-off-by: David Disseldorp <ddiss@suse.de>
7 years agosysctl: relocate 90-ceph-osd.conf under etc/sysctl/
David Disseldorp [Tue, 14 Nov 2017 14:55:39 +0000 (15:55 +0100)]
sysctl: relocate 90-ceph-osd.conf under etc/sysctl/

Signed-off-by: David Disseldorp <ddiss@suse.de>
7 years agoos/filestore: remove redudant check. 18777/head
Jianpeng Ma [Tue, 7 Nov 2017 14:42:59 +0000 (22:42 +0800)]
os/filestore: remove redudant check.

If next is null, we already set a non-null to it. So don't check again.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoos/bluestore: using ghobject_t::is_max to judge.
Jianpeng Ma [Fri, 17 Nov 2017 11:21:59 +0000 (19:21 +0800)]
os/bluestore: using ghobject_t::is_max to judge.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoosd/PG: const cleanup for recoverable/readable predicates 18982/head
Neha Ojha [Fri, 17 Nov 2017 10:50:00 +0000 (16:20 +0530)]
osd/PG: const cleanup for recoverable/readable predicates

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoos/bluestore: bypass check if collection has more objects than nonexistent_count.
Jianpeng Ma [Tue, 7 Nov 2017 14:17:14 +0000 (22:17 +0800)]
os/bluestore: bypass check if collection has more objects than nonexistent_count.

If next != ghobject_t::get_max(), this mean collection has more data
than nonexistent_count. For this we should bypass check.
And fix wrong comments because _collection_list don't return object num.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agocmake: WITH_SPDK=ON by default
Kefu Chai [Wed, 15 Nov 2017 12:57:25 +0000 (20:57 +0800)]
cmake: WITH_SPDK=ON by default

Signed-off-by: wanjun.lp <wanjun.lp@alibaba-inc.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorpm,deb: add cunit1 as build dependency
Kefu Chai [Wed, 15 Nov 2017 12:56:12 +0000 (20:56 +0800)]
rpm,deb: add cunit1 as build dependency

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: build spdk/dpdk in cmake modules
Kefu Chai [Wed, 15 Nov 2017 12:54:46 +0000 (20:54 +0800)]
cmake: build spdk/dpdk in cmake modules

Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: wanjun.lp <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
7 years agoos/filestore/FileStore: [Cleanup (trivial)] Initialized by nullptr, NULL or 0 instead 18980/head
Shinobu Kinjo [Fri, 17 Nov 2017 07:02:12 +0000 (16:02 +0900)]
os/filestore/FileStore: [Cleanup (trivial)] Initialized by nullptr, NULL or 0 instead

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agorgw: clean code with helper function dump_header_if_nonempty 18979/head
Xinying Song [Fri, 17 Nov 2017 06:18:07 +0000 (14:18 +0800)]
rgw: clean code with helper function dump_header_if_nonempty

Signed-off-by: Xinying Song <songxinying@cloudin.cn>
7 years agorgw: fix rewrite options usage text 18968/head
Jos Collin [Thu, 16 Nov 2017 11:48:50 +0000 (17:18 +0530)]
rgw: fix rewrite options usage text

Fixed rewrite options usage text properly.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #18950 from sknorr/fix-rn-typos
Jos Collin [Fri, 17 Nov 2017 04:53:12 +0000 (10:23 +0530)]
Merge pull request #18950 from sknorr/fix-rn-typos

doc: Fix typos in release notes

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #17977 from cbodley/wip-rgw-beast-qa
Matt Benjamin [Thu, 16 Nov 2017 20:14:28 +0000 (15:14 -0500)]
Merge pull request #17977 from cbodley/wip-rgw-beast-qa

qa/rgw: add beast frontend to some rgw suites

7 years agoMerge PR #18600 into master
Patrick Donnelly [Thu, 16 Nov 2017 19:47:05 +0000 (11:47 -0800)]
Merge PR #18600 into master

* refs/pull/18600/head:
MDSMonitor: only clog changes to active

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
7 years agogithubmap: update contributors
Patrick Donnelly [Thu, 16 Nov 2017 19:47:05 +0000 (11:47 -0800)]
githubmap: update contributors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #18774 into master
Patrick Donnelly [Thu, 16 Nov 2017 19:45:59 +0000 (11:45 -0800)]
Merge PR #18774 into master

* refs/pull/18774/head:
mds: fix CDir::log_mark_dirty()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18887 from dillaman/wip-20789
Mykola Golub [Thu, 16 Nov 2017 17:32:42 +0000 (19:32 +0200)]
Merge pull request #18887 from dillaman/wip-20789

librbd: compare and write against a clone can result in failure

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoMerge pull request #18924 from ceph/wip-cv-filestore-devices
Andrew Schoen [Thu, 16 Nov 2017 16:47:14 +0000 (10:47 -0600)]
Merge pull request #18924 from ceph/wip-cv-filestore-devices

ceph-volume: allow using a device or partition for `lvm --data`

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #18700 from tianshan/fix_cls_bucket_head
Yuri Weinstein [Thu, 16 Nov 2017 16:31:16 +0000 (08:31 -0800)]
Merge pull request #18700 from tianshan/fix_cls_bucket_head

rgw: fix cls_bucket_head result order consistency

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18926 from theanalyst/wip-mp-jewel-fix
Yuri Weinstein [Thu, 16 Nov 2017 16:30:52 +0000 (08:30 -0800)]
Merge pull request #18926 from theanalyst/wip-mp-jewel-fix

rgw: set sync_from_all as true when no value is seen

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoradosgw-admin zonegroup get and zone get return defaults when there is no realm 18667/head
lvshanchun [Wed, 1 Nov 2017 19:52:48 +0000 (15:52 -0400)]
radosgw-admin zonegroup get and zone get return defaults when there is no realm

Fixs: http://tracker.ceph.com/issues/21615
Signed-off-by: lvshanchun <lvshanchun@gmail.com>
7 years agoceph-volume tests.functional create a common playbook directory for setups 18924/head
Alfredo Deza [Thu, 16 Nov 2017 13:50:34 +0000 (08:50 -0500)]
ceph-volume tests.functional create a common playbook directory for setups

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume lvm prepare can accept devices for --data
Alfredo Deza [Tue, 14 Nov 2017 16:01:48 +0000 (11:01 -0500)]
doc/ceph-volume lvm prepare can accept devices for --data

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add setup playbook for xenial filestore
Alfredo Deza [Tue, 14 Nov 2017 13:42:27 +0000 (08:42 -0500)]
ceph-volume tests.functional add setup playbook for xenial filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add data device and journal to xenial filestore
Alfredo Deza [Tue, 14 Nov 2017 13:42:02 +0000 (08:42 -0500)]
ceph-volume tests.functional add data device and journal to xenial filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add setup playbook for xenial bluestore
Alfredo Deza [Tue, 14 Nov 2017 13:40:37 +0000 (08:40 -0500)]
ceph-volume tests.functional add setup playbook for xenial bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add raw data device to xenial bluestore
Alfredo Deza [Tue, 14 Nov 2017 13:40:18 +0000 (08:40 -0500)]
ceph-volume tests.functional add raw data device to xenial bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional tox.ini addition of setup playbook for partitions
Alfredo Deza [Tue, 14 Nov 2017 13:38:23 +0000 (08:38 -0500)]
ceph-volume tests.functional tox.ini addition of setup playbook for partitions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add raw data device to centos7 bluestore
Alfredo Deza [Tue, 14 Nov 2017 13:37:17 +0000 (08:37 -0500)]
ceph-volume tests.functional add raw data device to centos7 bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add setup playbook for centos7 bluestore
Alfredo Deza [Tue, 14 Nov 2017 13:36:36 +0000 (08:36 -0500)]
ceph-volume tests.functional add setup playbook for centos7 bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add setup playbook for centos7 filestore
Alfredo Deza [Tue, 14 Nov 2017 13:35:59 +0000 (08:35 -0500)]
ceph-volume tests.functional add setup playbook for centos7 filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add raw device to centos7 filestore
Alfredo Deza [Tue, 14 Nov 2017 13:35:42 +0000 (08:35 -0500)]
ceph-volume tests.functional add raw device to centos7 filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>