]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomon: Incorrect expression in PGMap::get_health() 15648/head
Jos Collin [Tue, 13 Jun 2017 02:54:17 +0000 (08:24 +0530)]
mon: Incorrect expression in PGMap::get_health()

Fixes:

CID 1412575:  Incorrect expression  (COPY_PASTE_ERROR)
ceph/src/mon/PGMap.cc: 2764 in PGMap::get_health()
"num_err" in "ss2 << num_err" looks like a copy-paste error.

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15629 from Linbing/wip-msg-async-op-threads
Haomai Wang [Tue, 13 Jun 2017 02:26:35 +0000 (10:26 +0800)]
Merge pull request #15629 from Linbing/wip-msg-async-op-threads

msg/async: add assert of ms_async_op_threads > 0

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15426 from zhangsw/fix-rgw-gc-loglevel
Yehuda Sadeh [Mon, 12 Jun 2017 20:07:43 +0000 (13:07 -0700)]
Merge pull request #15426 from zhangsw/fix-rgw-gc-loglevel

rgw: lower some log's level in gc process.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15571 from ceph/wip-fix-fio-shard-hint
Casey Bodley [Mon, 12 Jun 2017 20:03:21 +0000 (16:03 -0400)]
Merge pull request #15571 from ceph/wip-fix-fio-shard-hint

test/fio: fix lack of setting for Sequencer::shard_hint

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15603 from idryomov/wip-rados-df-typo
Sage Weil [Mon, 12 Jun 2017 19:13:21 +0000 (14:13 -0500)]
Merge pull request #15603 from idryomov/wip-rados-df-typo

rados: fix typo in 'df' column name

8 years agoMerge pull request #15615 from joscollin/wip-CID717210-Uninitialized-members
Sage Weil [Mon, 12 Jun 2017 19:12:40 +0000 (14:12 -0500)]
Merge pull request #15615 from joscollin/wip-CID717210-Uninitialized-members

common: initialize _hash in LogEntryKey()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15627 from theanalyst/12.1.0/release-notes-2
Sage Weil [Mon, 12 Jun 2017 19:06:40 +0000 (14:06 -0500)]
Merge pull request #15627 from theanalyst/12.1.0/release-notes-2

doc: 12.1.0/release notes 2

8 years agoMerge pull request #15604 from liewegas/wip-rest-test-qa
Sage Weil [Mon, 12 Jun 2017 17:47:32 +0000 (12:47 -0500)]
Merge pull request #15604 from liewegas/wip-rest-test-qa

qa/suites/rados/rest: test restful mgr module

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agoqa/suites/rados/rest/mgr-restful: test on centos 15604/head
Sage Weil [Fri, 9 Jun 2017 18:21:23 +0000 (14:21 -0400)]
qa/suites/rados/rest/mgr-restful: test on centos

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15584 from liewegas/wip-20219
Sage Weil [Mon, 12 Jun 2017 16:42:39 +0000 (11:42 -0500)]
Merge pull request #15584 from liewegas/wip-20219

mon/MgrStatMonitor: keep mgrstat version ahead of pgmon

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15620 from tchaikov/wip-20249
Kefu Chai [Mon, 12 Jun 2017 16:19:11 +0000 (00:19 +0800)]
Merge pull request #15620 from tchaikov/wip-20249

test/vstart_wrapper.sh: display_log on test failure

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/rest/test_mgr_rest_api.py: tolerate old distros
Sage Weil [Mon, 12 Jun 2017 15:55:05 +0000 (11:55 -0400)]
qa/workunits/rest/test_mgr_rest_api.py: tolerate old distros

Work with older requests and/or missing urllib3.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/rest/mgr-restful: test restful module
Sage Weil [Fri, 9 Jun 2017 16:31:28 +0000 (12:31 -0400)]
qa/suites/rados/rest/mgr-restful: test restful module

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15634 from liewegas/wip-pyformatter
Kefu Chai [Mon, 12 Jun 2017 15:10:40 +0000 (23:10 +0800)]
Merge pull request #15634 from liewegas/wip-pyformatter

mgr/PyFormatter: implement dump_format_va

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15580 from liewegas/wip-bluestore-memory
Sage Weil [Mon, 12 Jun 2017 14:57:07 +0000 (09:57 -0500)]
Merge pull request #15580 from liewegas/wip-bluestore-memory

os/bluestore: configure rocksdb cache via bluestore_cache_kv_ratio

Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agomgr/PyFormatter: implement dump_format_va 15634/head
Sage Weil [Mon, 12 Jun 2017 04:02:30 +0000 (00:02 -0400)]
mgr/PyFormatter: implement dump_format_va

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15624 from Adirl/wip
Haomai Wang [Mon, 12 Jun 2017 13:56:49 +0000 (21:56 +0800)]
Merge pull request #15624 from Adirl/wip

msg/async/rdma: check if fin message completed

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: check if fin message completed 15624/head
Adir Lev [Sun, 30 Apr 2017 11:34:43 +0000 (11:34 +0000)]
msg/async/rdma: check if fin message completed

Change-Id: I9cb1e523be7b21127503a9252b09331a37bea204
Signed-off-by: Alexander Mikheev <alexm@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
8 years agomon/PGMonitor: assert PGMonitor stops proposing after luminous 15584/head
Sage Weil [Mon, 12 Jun 2017 13:48:48 +0000 (09:48 -0400)]
mon/PGMonitor: assert PGMonitor stops proposing after luminous

One hacky exception here for the rebuild-mondb case.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MgrStatMonitor: keep mgrstat version ahead of pgmon
Sage Weil [Mon, 12 Jun 2017 13:48:16 +0000 (09:48 -0400)]
mon/MgrStatMonitor: keep mgrstat version ahead of pgmon

Pre-luminous, statfs and getpoolstats come from pgmon, and clients will
see and track the paxos version for that.  After the switchover, those
move to mgrstatmon.  If a clients sends a version ahead of the current
mgrstat version, it will block until the paxos version catches up, which
may be years for an aged cluster.

Fix by keeping mgrstat version ahead of pgmon's every time it updates.
This only really matters right at the transition point (we don't update
before that, and after that pgmon doesn't update).

Fixes: http://tracker.ceph.com/issues/20219
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14753 from theanalyst/v12.0.2/mailmap
Loic Dachary [Mon, 12 Jun 2017 13:44:53 +0000 (15:44 +0200)]
Merge pull request #14753 from theanalyst/v12.0.2/mailmap

doc: mailmap for v12.0.2

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #15328 from jimifm/wip-RGWPutObj
Radoslaw Zarzynski [Mon, 12 Jun 2017 12:50:45 +0000 (14:50 +0200)]
Merge pull request #15328 from jimifm/wip-RGWPutObj

rgw/rgw_op:Prevents memory leaks when calling func swift_versioning_copy() fails

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #15323 from fangyuxiangGL/compress_bug_fix
Radoslaw Zarzynski [Mon, 12 Jun 2017 12:47:38 +0000 (14:47 +0200)]
Merge pull request #15323 from fangyuxiangGL/compress_bug_fix

rgw: get wrong content when download object with specific range with compression

Reviewed-by: Adam Kupczyk <akupczyk@mirantis.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agomsg/async: add assert of ms_async_op_threads > 0 15629/head
linbing [Mon, 12 Jun 2017 11:38:37 +0000 (19:38 +0800)]
msg/async: add assert of ms_async_op_threads > 0

Signed-off-by: linbing <linbing@t2cloud.net>
8 years agoqa: timeout if flush_pg_stats() takes too long 15620/head
Kefu Chai [Mon, 12 Jun 2017 10:33:27 +0000 (18:33 +0800)]
qa: timeout if flush_pg_stats() takes too long

a "timeout" which defaults to 300 seconds is added to flush_pg_stats()

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomailmap: Yunfei Guan affiliation 14753/head
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:54:20 +0000 (18:54 +0200)]
mailmap: Yunfei Guan affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Andrey Parfenov affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:53:21 +0000 (18:53 +0200)]
mailmap: Andrey Parfenov affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Yao Zongyou affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:53:04 +0000 (18:53 +0200)]
mailmap: Yao Zongyou affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Patrick Dinnen affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:52:46 +0000 (18:52 +0200)]
mailmap: Patrick Dinnen affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Henrik Korkuc affiliation
Abhishek Lekshmanan [Mon, 12 Jun 2017 11:16:48 +0000 (13:16 +0200)]
mailmap: Henrik Korkuc affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Sven Seeberg affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:52:05 +0000 (18:52 +0200)]
mailmap: Sven Seeberg affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Mohamad Gebai affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:51:45 +0000 (18:51 +0200)]
mailmap: Mohamad Gebai affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Fabian Grünbichler affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:51:17 +0000 (18:51 +0200)]
mailmap: Fabian Grünbichler affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Vedant Nanda affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:50:33 +0000 (18:50 +0200)]
mailmap: Vedant Nanda affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Andrew Solomon affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:50:09 +0000 (18:50 +0200)]
mailmap: Andrew Solomon affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Yu Shengzuo affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:49:49 +0000 (18:49 +0200)]
mailmap: Yu Shengzuo affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Yanchun Bai affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:49:31 +0000 (18:49 +0200)]
mailmap: Yanchun Bai affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Tone Zhang affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:48:43 +0000 (18:48 +0200)]
mailmap: Tone Zhang affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Liu Hong affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:47:40 +0000 (18:47 +0200)]
mailmap: Liu Hong affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Liu Hong affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:46:51 +0000 (18:46 +0200)]
mailmap: Liu Hong affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Li Hongjie name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:46:06 +0000 (18:46 +0200)]
mailmap: Li Hongjie name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Josh Durgin name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:45:14 +0000 (18:45 +0200)]
mailmap: Josh Durgin name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Jesse Williamson name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:44:32 +0000 (18:44 +0200)]
mailmap: Jesse Williamson name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Hongtong Liu name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:44:05 +0000 (18:44 +0200)]
mailmap: Hongtong Liu name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: He Chuang affiliation
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:43:32 +0000 (18:43 +0200)]
mailmap: He Chuang affiliation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agomailmap: Chu Hua-Rong name normalization
Abhishek Lekshmanan [Mon, 24 Apr 2017 16:40:50 +0000 (18:40 +0200)]
mailmap: Chu Hua-Rong name normalization

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agodoc: release notes: notable change for 12.1.0 15627/head
Abhishek Lekshmanan [Mon, 12 Jun 2017 11:07:11 +0000 (13:07 +0200)]
doc: release notes: notable change for 12.1.0

Adding the changelog from 12.0.3 to 9f259cb923e7474229bb2e5e54b59f3b7f068bc5

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agodoc: v12.1.0 major changes for release 15626/head
Abhishek Lekshmanan [Mon, 12 Jun 2017 10:58:11 +0000 (12:58 +0200)]
doc: v12.1.0 major changes for release

Adding a section for major changes in 12.1.0 release, sorted by sections
so that we can have a consolidated announce when announcing the release

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoqa: remove duplicated flush_pg_stats() helper
Kefu Chai [Mon, 12 Jun 2017 10:32:50 +0000 (18:32 +0800)]
qa: remove duplicated flush_pg_stats() helper

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agotest/vstart_wrapper.sh: display_log on test failure
Kefu Chai [Mon, 12 Jun 2017 08:15:24 +0000 (16:15 +0800)]
test/vstart_wrapper.sh: display_log on test failure

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocommon: initialize _hash in LogEntryKey() 15615/head
Jos Collin [Mon, 12 Jun 2017 03:05:12 +0000 (08:35 +0530)]
common: initialize _hash in LogEntryKey()

Fixed:

** CID 717210:  Uninitialized members  (UNINIT_CTOR)
ceph/src/common/LogEntry.h: 70 in LogEntryKey::LogEntryKey()()
Non-static class member "_hash" is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15610 from wjwithagen/wip-wjw-freebsd-py-pecan
Sage Weil [Sat, 10 Jun 2017 17:50:10 +0000 (12:50 -0500)]
Merge pull request #15610 from wjwithagen/wip-wjw-freebsd-py-pecan

core: Install Pecan for FreeBSD

8 years agoMerge pull request #15574 from dillaman/wip-20223
Mykola Golub [Sat, 10 Jun 2017 15:24:16 +0000 (18:24 +0300)]
Merge pull request #15574 from dillaman/wip-20223

pybind/rbd: OSError should be picklable

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #15576 from dachary/wip-ceph-disk
Loic Dachary [Sat, 10 Jun 2017 13:39:54 +0000 (15:39 +0200)]
Merge pull request #15576 from dachary/wip-ceph-disk

ceph-disk: sensible default for block.db

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agocore: Install Pecan for FreeBSD 15610/head
Willem Jan Withagen [Sat, 10 Jun 2017 10:12:23 +0000 (12:12 +0200)]
core: Install Pecan for FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #15609 from stiwari/wip-19879
Gregory Farnum [Sat, 10 Jun 2017 04:27:19 +0000 (21:27 -0700)]
Merge pull request #15609 from stiwari/wip-19879

Merge pull request from stiwari/wip-19879

8 years agoMerge pull request #12851 from zhangsw/fix-rgw-bucketcheck-bug
Yehuda Sadeh [Fri, 9 Jun 2017 22:16:55 +0000 (15:16 -0700)]
Merge pull request #12851 from zhangsw/fix-rgw-bucketcheck-bug

rgw: bucket index check in radosgw-admin removes valid index.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #15606 from stiwari/fix_1
Gregory Farnum [Fri, 9 Jun 2017 21:39:11 +0000 (14:39 -0700)]
Merge pull request #15606 from stiwari/fix_1

Documentation Fixes for http://tracker.ceph.com/issues/19879

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15588 from liewegas/wip-20216
Sage Weil [Fri, 9 Jun 2017 21:26:18 +0000 (16:26 -0500)]
Merge pull request #15588 from liewegas/wip-20216

pybind/mgr/dashboard: monkeypatch os.exit to stop cherrypy from taking down mgr

Reviewed-by: John Spray <jspray@redhat.com>
8 years agoMerge pull request #15550 from jcsp/wip-doc-cephfs-objsize
Josh Durgin [Fri, 9 Jun 2017 21:22:56 +0000 (14:22 -0700)]
Merge pull request #15550 from jcsp/wip-doc-cephfs-objsize

doc/cephfs: mention RADOS object size limit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoceph-disk: sensible default for block.db 15576/head
Loic Dachary [Thu, 8 Jun 2017 13:52:52 +0000 (15:52 +0200)]
ceph-disk: sensible default for block.db

If bluestore_block_db_size is unset or zero, fallback to a sensible
default which is block_size / 100. With a minimum of 1GB.

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #13395 from dang/wip-quota-cache-doc
Matt Benjamin [Fri, 9 Jun 2017 17:56:52 +0000 (13:56 -0400)]
Merge pull request #13395 from dang/wip-quota-cache-doc

Document RGW quota cache options

8 years agoMerge pull request #15568 from guihecheng/rgw_file-cleanup-names
Matt Benjamin [Fri, 9 Jun 2017 17:41:45 +0000 (13:41 -0400)]
Merge pull request #15568 from guihecheng/rgw_file-cleanup-names

rgw: rgw_file cleanup names

8 years agoMerge pull request #15541 from guihecheng/rgw_file-cleanup
Matt Benjamin [Fri, 9 Jun 2017 16:48:20 +0000 (12:48 -0400)]
Merge pull request #15541 from guihecheng/rgw_file-cleanup

rgw_file: replace raw fs->fh_lru.unref with predefined fs->unref

8 years agorados: fix typo in 'df' column name 15603/head
Ilya Dryomov [Fri, 9 Jun 2017 16:36:19 +0000 (18:36 +0200)]
rados: fix typo in 'df' column name

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #15558 from Linbing/wip-osd-optimize-send-failues
Kefu Chai [Fri, 9 Jun 2017 16:27:44 +0000 (00:27 +0800)]
Merge pull request #15558 from Linbing/wip-osd-optimize-send-failues

osd: when osd in not in failure_pending, we don't need to get osd inst from osdmap.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15223 from badone/wip-ceph_test_admin_socket_output
Yuri Weinstein [Fri, 9 Jun 2017 16:01:52 +0000 (09:01 -0700)]
Merge pull request #15223 from badone/wip-ceph_test_admin_socket_output

tests: Add integration tests for admin socket output

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15573 from liewegas/wip-20208
Yuri Weinstein [Fri, 9 Jun 2017 16:00:10 +0000 (09:00 -0700)]
Merge pull request #15573 from liewegas/wip-20208

mon/PGMap: fix osd_epoch update when removing osd_stat

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
8 years agoos/bluestore: set bluestore_cache_kv_ratio to configure rocksdb cache size 15580/head
Sage Weil [Thu, 8 Jun 2017 16:40:11 +0000 (12:40 -0400)]
os/bluestore: set bluestore_cache_kv_ratio to configure rocksdb cache size

Devote 40% to kv (rocksdb), 50% to metadata (onodes etc), 10% to data.

Note that if we don't consume the data portion (e.g., no cache hints) that
the onode metadata will "borrow" that space.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agokv/RocksDBStore: rocksdb_cache_row_ratio
Sage Weil [Thu, 8 Jun 2017 17:01:45 +0000 (13:01 -0400)]
kv/RocksDBStore: rocksdb_cache_row_ratio

Specify portion of cache to devote to row cache (the rest goes to the
block cache).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15594 from idryomov/wip-krbd-rados-ls
Jason Dillaman [Fri, 9 Jun 2017 14:50:20 +0000 (10:50 -0400)]
Merge pull request #15594 from idryomov/wip-krbd-rados-ls

qa: update krbd_data_pool.sh to match the new rados ls behavior

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15600 from ceph/luminous
Sage Weil [Fri, 9 Jun 2017 14:13:59 +0000 (09:13 -0500)]
Merge pull request #15600 from ceph/luminous

12.0.3

8 years agoMerge pull request #15180 from theanalyst/doc/rgw-dev-s3tests
Sage Weil [Fri, 9 Jun 2017 13:32:10 +0000 (08:32 -0500)]
Merge pull request #15180 from theanalyst/doc/rgw-dev-s3tests

doc: dev improve the s3tests doc to reflect current scripts

8 years agokv/RocksDBStore: allow cache_size to be specified explicitly
Sage Weil [Thu, 8 Jun 2017 16:14:39 +0000 (12:14 -0400)]
kv/RocksDBStore: allow cache_size to be specified explicitly

(Not via a config option)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agokv/RocksDBStore: make rocksdb_cache_type tunable (lru or clock)
Sage Weil [Thu, 8 Jun 2017 16:07:14 +0000 (12:07 -0400)]
kv/RocksDBStore: make rocksdb_cache_type tunable (lru or clock)

"[Clock is] Similar to NewLRUCache, but create a cache based on CLOCK
algorithm with better concurrent performance in some cases. See
[cache]/clock_cache.cc for more detail."

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15570 from joscollin/wip-cleanup-testmsgr-warning
Jos Collin [Fri, 9 Jun 2017 07:00:35 +0000 (12:30 +0530)]
Merge pull request #15570 from joscollin/wip-cleanup-testmsgr-warning

test/msgr: silence warnings from -Wsign-compare

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
8 years agoMerge pull request #15100 from kestrels/wip-crc32c-fastzero2
Sage Weil [Fri, 9 Jun 2017 01:39:59 +0000 (20:39 -0500)]
Merge pull request #15100 from kestrels/wip-crc32c-fastzero2

crc32c: Add ppc64le fast zero optimized assembly.

Reviewed-By: Piotr Dałek <piotr.dalek@corp.ovh.com>
8 years agoMerge pull request #15387 from jecluis/wip-20123
Sage Weil [Fri, 9 Jun 2017 01:39:33 +0000 (20:39 -0500)]
Merge pull request #15387 from jecluis/wip-20123

mon/PGMap: show %used in formatted output

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15508 from tchaikov/wip-ceph.in-cleanup
Sage Weil [Fri, 9 Jun 2017 01:39:15 +0000 (20:39 -0500)]
Merge pull request #15508 from tchaikov/wip-ceph.in-cleanup

ceph.in: drop the compatiiblity to handle non json commands

8 years agoMerge pull request #15560 from dmick/master
Sage Weil [Fri, 9 Jun 2017 01:38:58 +0000 (20:38 -0500)]
Merge pull request #15560 from dmick/master

mgr/DaemonServer.cc: log daemon type string as well as id

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15562 from tchaikov/wip-no-assert.h
Sage Weil [Fri, 9 Jun 2017 01:38:23 +0000 (20:38 -0500)]
Merge pull request #15562 from tchaikov/wip-no-assert.h

common,osdc: remove atomic_t completely

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15567 from Fabian-Gruenbichler/pull/logrotatesync
Sage Weil [Fri, 9 Jun 2017 01:38:08 +0000 (20:38 -0500)]
Merge pull request #15567 from Fabian-Gruenbichler/pull/logrotatesync

debian: sync logrotate packaging with downstream

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15578 from jcsp/wip-mgr-cleanup
Sage Weil [Fri, 9 Jun 2017 01:37:53 +0000 (20:37 -0500)]
Merge pull request #15578 from jcsp/wip-mgr-cleanup

mgr: cleanup, stop clients sending in perf counters

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15582 from liewegas/wip-20226
Sage Weil [Fri, 9 Jun 2017 01:37:27 +0000 (20:37 -0500)]
Merge pull request #15582 from liewegas/wip-20226

osd: take PGRef for recovery sleep wakeup event

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agopybind/mgr/dashboard: monkeypatch os.exit to stop cherrypy from taking down mgr 15588/head
Sage Weil [Thu, 8 Jun 2017 22:12:02 +0000 (18:12 -0400)]
pybind/mgr/dashboard: monkeypatch os.exit to stop cherrypy from taking down mgr

Fixes: http://tracker.ceph.com/issues/20216
Suggested-by: Tim Serong <tserong@suse.com>
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15405 from liewegas/wip-rest-test
Sage Weil [Thu, 8 Jun 2017 22:07:22 +0000 (17:07 -0500)]
Merge pull request #15405 from liewegas/wip-rest-test

pybind/mgr/restful: improve cert handling; work with vstart

Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agodebian/control: Build-Depends on python-pecan 15405/head
Sage Weil [Thu, 8 Jun 2017 17:49:30 +0000 (13:49 -0400)]
debian/control: Build-Depends on python-pecan

This is needed for make check (so that restful mgr module can load).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15557 from liewegas/wip-mgr-respawn
Sage Weil [Thu, 8 Jun 2017 20:45:52 +0000 (15:45 -0500)]
Merge pull request #15557 from liewegas/wip-mgr-respawn

mgr/MgrStandby: respawn when deactivated

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15301 from shashalu/rgw-ssl
Casey Bodley [Thu, 8 Jun 2017 20:01:47 +0000 (16:01 -0400)]
Merge pull request #15301 from shashalu/rgw-ssl

rgw: add "rgw_verify_ssl" config

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15257 from shashalu/fix-rgw-admin-retcode
Casey Bodley [Thu, 8 Jun 2017 20:00:02 +0000 (16:00 -0400)]
Merge pull request #15257 from shashalu/fix-rgw-admin-retcode

rgw: fix radosgw-admin retcode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14950 from fangyuxiangGL/set-obj-accounted-size
Casey Bodley [Thu, 8 Jun 2017 19:59:20 +0000 (15:59 -0400)]
Merge pull request #14950 from fangyuxiangGL/set-obj-accounted-size

rgw: set object accounted size correctly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomgr/Mgr: fix deadlock in load_config
Sage Weil [Mon, 5 Jun 2017 20:15:43 +0000 (16:15 -0400)]
mgr/Mgr: fix deadlock in load_config

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/dashboard: get_localized_config for server_{addr,port}
Sage Weil [Mon, 5 Jun 2017 19:43:18 +0000 (15:43 -0400)]
pybind/mgr/dashboard: get_localized_config for server_{addr,port}

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/rest/test_mgr_rest_api.py: improvements
Sage Weil [Thu, 1 Jun 2017 14:34:06 +0000 (10:34 -0400)]
qa/workunits/rest/test_mgr_rest_api.py: improvements

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: store each key+pass in a separate key
Sage Weil [Fri, 2 Jun 2017 14:25:00 +0000 (10:25 -0400)]
pybind/mgr/restful: store each key+pass in a separate key

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: prefix commands with 'restful'
Sage Weil [Fri, 2 Jun 2017 14:31:41 +0000 (10:31 -0400)]
pybind/mgr/restful: prefix commands with 'restful'

And use - instead of _, following the ceph convention.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr: add get_config_prefix
Sage Weil [Fri, 2 Jun 2017 14:24:39 +0000 (10:24 -0400)]
mgr: add get_config_prefix

Fetch a dict of all config options with a given prefix.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: localize key/crt keys
Sage Weil [Fri, 2 Jun 2017 14:05:54 +0000 (10:05 -0400)]
pybind/mgr/restful: localize key/crt keys

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr/PyState: add get_mgr_id() to module interface
Sage Weil [Fri, 2 Jun 2017 14:05:08 +0000 (10:05 -0400)]
mgr/PyState: add get_mgr_id() to module interface

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr/PyModules: prefix by mgr/, not mgr/$id/
Sage Weil [Fri, 2 Jun 2017 13:50:18 +0000 (09:50 -0400)]
mgr/PyModules: prefix by mgr/, not mgr/$id/

If modules want per-instance state, they can include
the mgr id in their portion of the key name.

Signed-off-by: Sage Weil <sage@redhat.com>