]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomon: mark `osd create` as deprecated 15641/head
Joao Eduardo Luis [Mon, 12 Jun 2017 19:53:47 +0000 (20:53 +0100)]
mon: mark `osd create` as deprecated

With the introduction of `osd new`, we are now deprecating `osd create`
with the intent of removing it in a future release.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
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 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 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 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 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 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 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>
8 years agomon/ConfigKeyService: more useful status message
Sage Weil [Thu, 1 Jun 2017 20:33:42 +0000 (16:33 -0400)]
mon/ConfigKeyService: more useful status message

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: start up mgr restful API
Sage Weil [Thu, 1 Jun 2017 04:06:24 +0000 (00:06 -0400)]
vstart.sh: start up mgr restful API

We try to stagger the ports that mgr modules bind to so that
concurrent vstart instances can run with consecutive ports but
the services will not collide.  Yes, this is awkward.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: all crt/key or filename in config-key
Sage Weil [Thu, 1 Jun 2017 04:05:09 +0000 (00:05 -0400)]
pybind/mgr/restful: all crt/key or filename in config-key

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph.spec.in: add python-pecan as BuildDepends too
Sage Weil [Thu, 1 Jun 2017 03:29:11 +0000 (23:29 -0400)]
ceph.spec.in: add python-pecan as BuildDepends too

For install-deps.sh's benefit.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: load 'restful' (not 'rest') mgr module
Sage Weil [Thu, 1 Jun 2017 03:23:24 +0000 (23:23 -0400)]
vstart.sh: load 'restful' (not 'rest') mgr module

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/vstart_wrapper.sh: fix MGR_PYTHON_PATH
Sage Weil [Fri, 2 Jun 2017 03:05:17 +0000 (23:05 -0400)]
test/vstart_wrapper.sh: fix MGR_PYTHON_PATH

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: start mgr dashboard, echo URL(s)
Sage Weil [Tue, 23 May 2017 19:06:49 +0000 (15:06 -0400)]
vstart.sh: start mgr dashboard, echo URL(s)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15507 from zhangsw/fix-rgw-logtrim-bug
Yehuda Sadeh [Thu, 8 Jun 2017 18:26:44 +0000 (11:26 -0700)]
Merge pull request #15507 from zhangsw/fix-rgw-logtrim-bug

rgw: datalog trim and mdlog trim handles the result returned by osd incorrectly.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15102 from majianpeng/blockdevice-pmem
Sage Weil [Thu, 8 Jun 2017 18:15:52 +0000 (13:15 -0500)]
Merge pull request #15102 from majianpeng/blockdevice-pmem

os/bluestore/BlockDevice: support pmem device as bluestore backend

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoosd: take PGRef for recovery sleep wakeup event 15582/head
Sage Weil [Thu, 8 Jun 2017 18:08:52 +0000 (14:08 -0400)]
osd: take PGRef for recovery sleep wakeup event

The raw PG* may not remain valid when the event fires.

Fixes: http://tracker.ceph.com/issues/20226
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa: update krbd_data_pool.sh to match the new rados ls behavior 15594/head
Ilya Dryomov [Thu, 8 Jun 2017 13:57:59 +0000 (15:57 +0200)]
qa: update krbd_data_pool.sh to match the new rados ls behavior

See commit e9973adf1fb7 ("PendingReleaseNotes: notes on whiteouts vs
pgnls").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agoMerge pull request #15577 from jcsp/wip-dashboard-cleanup
Jason Dillaman [Thu, 8 Jun 2017 17:56:19 +0000 (13:56 -0400)]
Merge pull request #15577 from jcsp/wip-dashboard-cleanup

mgr: dashboard code cleanup

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agomgr/dashboard: remove confusing SyncObject stuff 15577/head
John Spray [Thu, 8 Jun 2017 12:57:50 +0000 (08:57 -0400)]
mgr/dashboard: remove confusing SyncObject stuff

This was a hangover from when these wrapper classes
were borrowed from Calamari, which used these
versions/equality functions to work out when
to go fetch data from the ceph cluster.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr/dashboard: fix server view on funny version format
John Spray [Thu, 8 Jun 2017 12:06:12 +0000 (08:06 -0400)]
mgr/dashboard: fix server view on funny version format

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr/dashboard: fix error handling in remote_view_cache
John Spray [Wed, 7 Jun 2017 16:50:38 +0000 (12:50 -0400)]
mgr/dashboard: fix error handling in remote_view_cache

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr/dashboard: keep a global librados instance
John Spray [Wed, 7 Jun 2017 16:48:40 +0000 (12:48 -0400)]
mgr/dashboard: keep a global librados instance

...so that classes that need one aren't creating
their own all the time.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15566 from baruza/wip-doc-20199
Kefu Chai [Thu, 8 Jun 2017 15:10:51 +0000 (23:10 +0800)]
Merge pull request #15566 from baruza/wip-doc-20199

doc: Change the default values of some OSD options

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15485 from ceph/wip-hdd-throttle-cost
Sage Weil [Thu, 8 Jun 2017 15:02:54 +0000 (10:02 -0500)]
Merge pull request #15485 from ceph/wip-hdd-throttle-cost

common/config_opts.h: Lower HDD throttle cost.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15203 from Liuchang0812/wip-kill-broken-links
Kefu Chai [Thu, 8 Jun 2017 14:59:11 +0000 (22:59 +0800)]
Merge pull request #15203 from Liuchang0812/wip-kill-broken-links

doc: kill some broken links

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodebian: sync logrotate packaging with downstream 15567/head
Fabian Grünbichler [Tue, 6 Jun 2017 10:20:06 +0000 (12:20 +0200)]
debian: sync logrotate packaging with downstream

both Ubuntu and Debian put the logrotate script into
ceph-common, to ensure that radosgw logs are rotated as
well.

to prevent duplicate logrotate scripts handling the same log
files, and to minimize the delta between upstream and
downstream packaging, sync this change back upstream.

Fixes: http://tracker.ceph.com/issues/19938
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
8 years agomgr: drop PyModules::lock around module shutdown calls 15578/head
John Spray [Thu, 8 Jun 2017 12:46:33 +0000 (08:46 -0400)]
mgr: drop PyModules::lock around module shutdown calls

This deadlocked if the module's shutdown call was trying
to take a pythonland lock that was held by a thread
that was in turn trying to call into C++ land and take
PyModules::lock.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: don't let TYPE_CLIENT entities send stats
John Spray [Thu, 8 Jun 2017 12:43:02 +0000 (08:43 -0400)]
mgr: don't let TYPE_CLIENT entities send stats

Anyone instantiating librados instances ended up
appearing as a weird entry in DaemonStateIndex.

Come back to this at the point we want e.g. stats
from RGWs or NFS gateways.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: don't log successful ceph_config_get as err
John Spray [Wed, 7 Jun 2017 15:11:48 +0000 (11:11 -0400)]
mgr: don't log successful ceph_config_get as err

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15575 from liewegas/wip-pgnls-note
Gregory Farnum [Thu, 8 Jun 2017 13:55:37 +0000 (06:55 -0700)]
Merge pull request #15575 from liewegas/wip-pgnls-note

PendingReleaseNotes: notes on whiteouts vs pgnls

8 years agoMerge pull request #15309 from ifed01/wip-bluestore-boost-statfs
Sage Weil [Thu, 8 Jun 2017 13:52:34 +0000 (08:52 -0500)]
Merge pull request #15309 from ifed01/wip-bluestore-boost-statfs

os/bluestore: keep statfs replica in RAM to avoid expensive KV retrieval

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoPendingReleaseNotes: notes on whiteouts vs pgnls 15575/head
Sage Weil [Thu, 8 Jun 2017 13:41:25 +0000 (09:41 -0400)]
PendingReleaseNotes: notes on whiteouts vs pgnls

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/rbd: OSError should be picklable 15574/head
Jason Dillaman [Thu, 8 Jun 2017 13:30:31 +0000 (09:30 -0400)]
pybind/rbd: OSError should be picklable

Fixes: http://tracker.ceph.com/issues/20223
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agomon/PGMap: erase osd_epochs entry too when we erase osd_stat entry 15573/head
Sage Weil [Thu, 8 Jun 2017 02:49:23 +0000 (22:49 -0400)]
mon/PGMap: erase osd_epochs entry too when we erase osd_stat entry

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr/ClusterState: dump pgmap and inc at dout 30
Sage Weil [Wed, 7 Jun 2017 21:48:40 +0000 (17:48 -0400)]
mgr/ClusterState: dump pgmap and inc at dout 30

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