]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc: fix typo on specify db block device 17590/head
Xiaoxi Chen [Fri, 8 Sep 2017 05:53:30 +0000 (22:53 -0700)]
doc: fix typo on specify db block device

Should use block.db instead of block-db

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
7 years agoMerge pull request #17536 from ceph/wip-cd-rbd-pool
Tamilarasi Muthamizhan [Thu, 7 Sep 2017 22:13:32 +0000 (15:13 -0700)]
Merge pull request #17536 from ceph/wip-cd-rbd-pool

qa/tests: fix rbd pool creation for systemd tests

7 years agoMerge pull request #16826 from ceph/wip-cd-upgrade
Tamilarasi Muthamizhan [Thu, 7 Sep 2017 22:08:49 +0000 (15:08 -0700)]
Merge pull request #16826 from ceph/wip-cd-upgrade

qa/tests: add ceph-deploy upgrade tests

7 years agoMerge pull request #17415 from wangshuguangbj/bug_mon_mdsmonitor_assert
Sage Weil [Thu, 7 Sep 2017 21:25:48 +0000 (16:25 -0500)]
Merge pull request #17415 from wangshuguangbj/bug_mon_mdsmonitor_assert

mon/MDSMonitor: fix a bug at preprocess_beacon

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #17454 from xiexingguo/wip-vs
Sage Weil [Thu, 7 Sep 2017 21:25:23 +0000 (16:25 -0500)]
Merge pull request #17454 from xiexingguo/wip-vs

src/vstart.sh: default os to filestore for FreeBSD

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #17522 from liupan1111/wip-fix-disk-error
Sage Weil [Thu, 7 Sep 2017 21:25:06 +0000 (16:25 -0500)]
Merge pull request #17522 from liupan1111/wip-fix-disk-error

os/bluestore: report error and quit correctly when disk error happens.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
7 years agoMerge pull request #17525 from jcsp/wip-21249
Sage Weil [Thu, 7 Sep 2017 21:23:49 +0000 (16:23 -0500)]
Merge pull request #17525 from jcsp/wip-21249

mon: fix `osd out` clog message

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoAdd workaround for http://tracker.ceph.com/issues/20950 16826/head
Vasu Kulkarni [Thu, 24 Aug 2017 18:02:20 +0000 (11:02 -0700)]
Add workaround for http://tracker.ceph.com/issues/20950

mgr bootstrap key differs on disk, rewrite the new key
using auth get.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd kraken to luminous upgrade case
Vasu Kulkarni [Thu, 24 Aug 2017 16:24:52 +0000 (09:24 -0700)]
Add kraken to luminous upgrade case

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd kernel tar/untar and systemd task
Vasu Kulkarni [Mon, 7 Aug 2017 19:19:41 +0000 (12:19 -0700)]
Add kernel tar/untar and systemd task

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoRestart services after upgrade
Vasu Kulkarni [Tue, 1 Aug 2017 23:32:42 +0000 (16:32 -0700)]
Restart services after upgrade

This seems to be an issue and should be fixed in our systemd scripts,
need to discuss more on this.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agosince the roles are mapped inside ceph-deploy, store the roles that
Vasu Kulkarni [Sat, 29 Jul 2017 06:11:41 +0000 (23:11 -0700)]
since the roles are mapped inside ceph-deploy, store the roles that
are mapped and use the new mapped role for upgrades during later
stage.

eg: mon.a is mapped to mon.mira002 during install, store this mapping
and durig upgrade map it back to appropriate name to find the hostname
with that role

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd doc string for missing ceph-deploy-branch
Vasu Kulkarni [Sat, 29 Jul 2017 00:48:09 +0000 (17:48 -0700)]
Add doc string for missing ceph-deploy-branch

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agouse mon.a as ceph-admin node, the previous get_first_mon returns
Vasu Kulkarni [Thu, 27 Jul 2017 22:24:25 +0000 (15:24 -0700)]
use mon.a as ceph-admin node, the previous get_first_mon returns
a sorted(mons)[0] as first mon.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agouse elif instead of else to handle cases for jewel install
Vasu Kulkarni [Thu, 27 Jul 2017 18:17:31 +0000 (11:17 -0700)]
use elif instead of else to handle cases for jewel install

jewel needs neither filestore or bluestore as an option, so provide none
when running with jewel branch.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoJewel to luminous upgrade scenario using ceph-deploy
Vasu Kulkarni [Thu, 27 Jul 2017 02:18:11 +0000 (19:18 -0700)]
Jewel to luminous upgrade scenario using ceph-deploy

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd upgrade functionality using ceph-deploy
Vasu Kulkarni [Thu, 27 Jul 2017 01:56:08 +0000 (18:56 -0700)]
Add upgrade functionality using ceph-deploy

This is to test for customer like upgrade scenarios and to find
any issues that may be related to systemd, packaging etc

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoFix old flake8 issues
Vasu Kulkarni [Wed, 26 Jul 2017 22:01:15 +0000 (15:01 -0700)]
Fix old flake8 issues

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd option to skip mgr install for old release
Vasu Kulkarni [Wed, 26 Jul 2017 21:58:50 +0000 (14:58 -0700)]
Add option to skip mgr install for old release

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge pull request #17581 from liewegas/wip-migration-fixups
Sage Weil [Thu, 7 Sep 2017 19:19:58 +0000 (14:19 -0500)]
Merge pull request #17581 from liewegas/wip-migration-fixups

doc/rados/operations/bluestore-migration: typos

7 years agodoc/rados/operations/bluestore-migration: typos 17581/head
Sage Weil [Thu, 7 Sep 2017 19:19:31 +0000 (15:19 -0400)]
doc/rados/operations/bluestore-migration: typos

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17322 from liewegas/wip-post-luminous-mon
Sage Weil [Thu, 7 Sep 2017 18:47:43 +0000 (13:47 -0500)]
Merge pull request #17322 from liewegas/wip-post-luminous-mon

mon: remove pre-luminous compat cruft (2 of many)

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #17578 from liewegas/wip-integration
Sage Weil [Thu, 7 Sep 2017 17:59:09 +0000 (12:59 -0500)]
Merge pull request #17578 from liewegas/wip-integration

script/build-integration-branch: check errors

7 years agoMerge pull request #17577 from ktdreyer/gitignore-debian-patches
Sage Weil [Thu, 7 Sep 2017 17:58:57 +0000 (12:58 -0500)]
Merge pull request #17577 from ktdreyer/gitignore-debian-patches

.gitignore: allow debian .patch files

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoscript/build-integration-branch: check errors 17578/head
Sage Weil [Thu, 7 Sep 2017 17:55:13 +0000 (13:55 -0400)]
script/build-integration-branch: check errors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years ago.gitignore: allow debian .patch files 17577/head
Ken Dreyer [Thu, 7 Sep 2017 17:07:59 +0000 (11:07 -0600)]
.gitignore: allow debian .patch files

The Ubuntu packaging layout with git-buildpackage assumes a
"debian/patches/" directory with several .patch files in it.

When upstream's .gitignore tells Git to ignore .patch files, we have to
edit that line out downstream. When we forget to do that downstream, it
can lead to missing patches and broken downstream builds.

Allow patches in the /debian/patches directory so it's easier to
maintain an Ubuntu package based on upstream's Git repo.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #17548 from yangdongsheng/mailmap
Jos Collin [Thu, 7 Sep 2017 15:47:18 +0000 (15:47 +0000)]
Merge pull request #17548 from yangdongsheng/mailmap

mailmap, organizationmap: add Dongsheng, Liuzhong, Pengcheng, Yang Affiliation

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoorganization: add Liuzhong Chen, Pengcheng Zhang, Yang Wang 17548/head
Dongsheng Yang [Thu, 7 Sep 2017 14:34:05 +0000 (22:34 +0800)]
organization: add Liuzhong Chen, Pengcheng Zhang, Yang Wang

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
7 years agomailmap: add Dongsheng Yang, Liuzhong Chen, Pengcheng Zhang, Yang Wang
Dongsheng Yang [Thu, 7 Sep 2017 14:33:08 +0000 (22:33 +0800)]
mailmap: add Dongsheng Yang, Liuzhong Chen, Pengcheng Zhang, Yang Wang

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
7 years agoMerge pull request #17540 from heyingstar/wip-update-organization
Jos Collin [Thu, 7 Sep 2017 14:10:32 +0000 (14:10 +0000)]
Merge pull request #17540 from heyingstar/wip-update-organization

.mailmap, .organizationmap: add Fufei, Mingqiao and Ying Affiliation

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoadd Ying He,Mingqiao Wu,Fufei Shang to mailmap and organizationmap 17540/head
Ying He [Thu, 7 Sep 2017 05:58:38 +0000 (13:58 +0800)]
add Ying He,Mingqiao Wu,Fufei Shang to mailmap and organizationmap

Signed-off-by: Ying He <heyingbj@inspur.com>
7 years agoqa/workunits/*: require-osd-release mimic, not luminous 17322/head
Sage Weil [Thu, 7 Sep 2017 12:18:27 +0000 (08:18 -0400)]
qa/workunits/*: require-osd-release mimic, not luminous

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16998 from trociny/wip-20860
Jason Dillaman [Thu, 7 Sep 2017 12:34:42 +0000 (08:34 -0400)]
Merge pull request #16998 from trociny/wip-20860

rbd-mirror: update asok hook name on image rename

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17300 from Songweibin/wip-mirror-peer-set
Jason Dillaman [Thu, 7 Sep 2017 12:34:05 +0000 (08:34 -0400)]
Merge pull request #17300 from Songweibin/wip-mirror-peer-set

librbd: should not set self as remote peer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17218 from PCzhangPC/benchrw
Jason Dillaman [Thu, 7 Sep 2017 12:32:05 +0000 (08:32 -0400)]
Merge pull request #17218 from PCzhangPC/benchrw

rbd: use different logic to disturb thread's offset in bench seq test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17187 from trociny/wip-mock-valgrind
Jason Dillaman [Thu, 7 Sep 2017 12:31:32 +0000 (08:31 -0400)]
Merge pull request #17187 from trociny/wip-mock-valgrind

test/librbd: fix valgrind memory leak warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16597 from PCzhangPC/fix6
Jason Dillaman [Thu, 7 Sep 2017 12:30:02 +0000 (08:30 -0400)]
Merge pull request #16597 from PCzhangPC/fix6

rbd: snap limit should't be set smaller than the number of  existing snaps

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17018 from alex-mikheev/wip_rdma_rxpool_2
Haomai Wang [Thu, 7 Sep 2017 08:34:43 +0000 (16:34 +0800)]
Merge pull request #17018 from alex-mikheev/wip_rdma_rxpool_2

msg/async/rdma: refactor rx buffer pool allocator

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #17504 from dillaman/wip-21251
Mykola Golub [Thu, 7 Sep 2017 08:34:01 +0000 (11:34 +0300)]
Merge pull request #17504 from dillaman/wip-21251

qa/suites/rbd: miscellaneous test fixes

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #17532 from dillaman/wip-21179
Mykola Golub [Thu, 7 Sep 2017 08:31:45 +0000 (11:31 +0300)]
Merge pull request #17532 from dillaman/wip-21179

rbd: support iterating over metadata items when listing

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #17509 from dillaman/wip-21217
Mykola Golub [Thu, 7 Sep 2017 05:33:08 +0000 (08:33 +0300)]
Merge pull request #17509 from dillaman/wip-21217

test/cls_rbd: mask newer feature bits to support upgrade tests

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #17499 from dillaman/wip-21247
Mykola Golub [Thu, 7 Sep 2017 05:30:31 +0000 (08:30 +0300)]
Merge pull request #17499 from dillaman/wip-21247

cls/rbd: metadata_list not honoring max_return parameter

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge PR #17340 into master
Patrick Donnelly [Thu, 7 Sep 2017 04:05:20 +0000 (21:05 -0700)]
Merge PR #17340 into master

* refs/remotes/upstream/pull/17340/head:
mds: void sending cap import message when inode is frozen
client: fix message order check in handle_cap_export()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16778 into master
Patrick Donnelly [Thu, 7 Sep 2017 04:05:18 +0000 (21:05 -0700)]
Merge PR #16778 into master

* refs/remotes/upstream/pull/16778/head:
mds: fix return value of MDCache::dump_cache
mds: new cap message flags indicate if there is pending capsnap
mds: properly do null snapflush part2
mds: track snap inodes through sorted map
mds: properly drop wrlock when finishing snapflush

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoAdd mgr create to fix single node test to reach healthy state 17536/head
Vasu Kulkarni [Thu, 7 Sep 2017 01:13:39 +0000 (18:13 -0700)]
Add mgr create to fix single node test to reach healthy state

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agocreate the rbd pool right after install
Vasu Kulkarni [Thu, 7 Sep 2017 01:07:54 +0000 (18:07 -0700)]
create the rbd pool right after install

rbd pool should exist for many rbd tests to work properly, create
the pool right after install is successful.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge PR #17291 into master
Patrick Donnelly [Wed, 6 Sep 2017 21:45:16 +0000 (14:45 -0700)]
Merge PR #17291 into master

* refs/remotes/upstream/pull/17291/head:
mds: fix 'dirfrag end' check in Server::handle_client_readdir

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
7 years agoMerge PR #17289 into master
Patrick Donnelly [Wed, 6 Sep 2017 21:45:14 +0000 (14:45 -0700)]
Merge PR #17289 into master

* refs/remotes/upstream/pull/17289/head:
osd, mds, tools: drop the invalid comment and some unused variables

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17219 into master
Patrick Donnelly [Wed, 6 Sep 2017 21:45:12 +0000 (14:45 -0700)]
Merge PR #17219 into master

* refs/remotes/upstream/pull/17219/head:
mds: fix StrayManager::truncate()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #17505 from liewegas/wip-20910
Sage Weil [Wed, 6 Sep 2017 21:02:01 +0000 (16:02 -0500)]
Merge pull request #17505 from liewegas/wip-20910

qa/objectstore/bluestore*: less debug output

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #17459 from xiexingguo/wip-bs-tracked-key
Sage Weil [Wed, 6 Sep 2017 20:55:54 +0000 (15:55 -0500)]
Merge pull request #17459 from xiexingguo/wip-bs-tracked-key

os/bluestore: add bluestore_prefer_deferred_size_hdd/ssd to tracked keys

Reviewed-by: Pan Liu <liupan1111@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17463 from tchaikov/wip-ceph-tell-mds-star
Sage Weil [Wed, 6 Sep 2017 20:55:25 +0000 (15:55 -0500)]
Merge pull request #17463 from tchaikov/wip-ceph-tell-mds-star

ceph: fixes for "tell <service>.*" command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Chang Liu <liuchang0812@gmail.com>
7 years agoMerge pull request #17503 from liewegas/wip-21250
Sage Weil [Wed, 6 Sep 2017 20:52:29 +0000 (15:52 -0500)]
Merge pull request #17503 from liewegas/wip-21250

os/bluestore/BlueFS: prevent _compact_log_async reentry

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@gmail.com>
7 years agocls/rbd: metadata_list not honoring max_return parameter 17499/head
Jason Dillaman [Tue, 5 Sep 2017 14:53:47 +0000 (10:53 -0400)]
cls/rbd: metadata_list not honoring max_return parameter

Fixes: http://tracker.ceph.com/issues/21247
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: support iterating over metadata items when listing 17532/head
Jason Dillaman [Wed, 6 Sep 2017 20:14:58 +0000 (16:14 -0400)]
rbd: support iterating over metadata items when listing

Fixes: http://tracker.ceph.com/issues/21179
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #17510 from liewegas/wip-crush-fix-rule-lookup
Sage Weil [Wed, 6 Sep 2017 18:41:55 +0000 (13:41 -0500)]
Merge pull request #17510 from liewegas/wip-crush-fix-rule-lookup

crush: fix fast rule lookup when uniform

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomon: fix `osd out` clog message 17525/head
John Spray [Wed, 6 Sep 2017 16:57:40 +0000 (12:57 -0400)]
mon: fix `osd out` clog message

This was printing the absolute time instead of the period.

Fixes: http://tracker.ceph.com/issues/21249
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #17356 from shashalu/bucket_link/unlink_olh
Yuri Weinstein [Wed, 6 Sep 2017 15:50:23 +0000 (08:50 -0700)]
Merge pull request #17356 from shashalu/bucket_link/unlink_olh

rgw: don't write bucket_header when it is not changed in bucket_link/unlink

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17434 from iliul/remove-useless-output
Yuri Weinstein [Wed, 6 Sep 2017 15:49:27 +0000 (08:49 -0700)]
Merge pull request #17434 from iliul/remove-useless-output

rgw: Remove the useless output when list zones

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #17518 from wjwithagen/wjw-githubmap
Jos Collin [Wed, 6 Sep 2017 15:14:47 +0000 (15:14 +0000)]
Merge pull request #17518 from wjwithagen/wjw-githubmap

.githubmap: Add wjwithagen as a known Ceph reviewer

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoos/bluestore: report error and quit correctly when disk error happens. 17522/head
Pan Liu [Wed, 6 Sep 2017 10:09:55 +0000 (18:09 +0800)]
os/bluestore: report error and quit correctly when disk error happens.

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
7 years agoqa/standalone/mon/misc.sh: fix mon feature test
Sage Weil [Tue, 5 Sep 2017 21:57:22 +0000 (17:57 -0400)]
qa/standalone/mon/misc.sh: fix mon feature test

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: s/mon_debug_no_require_luminous/mon_debug_no_require_mimic/
Sage Weil [Sat, 26 Aug 2017 19:24:24 +0000 (15:24 -0400)]
mon: s/mon_debug_no_require_luminous/mon_debug_no_require_mimic/

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/workunits/cephtool/test.sh: drop 'pg set_full_ratio'
Sage Weil [Tue, 5 Sep 2017 21:50:20 +0000 (17:50 -0400)]
qa/workunits/cephtool/test.sh: drop 'pg set_full_ratio'

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/man/8/ceph.rst: remove pg set_*full_ratio
Sage Weil [Sat, 2 Sep 2017 18:43:00 +0000 (14:43 -0400)]
doc/man/8/ceph.rst: remove pg set_*full_ratio

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agotest/osd/CMakeLists: fix test name
Sage Weil [Thu, 31 Aug 2017 20:50:32 +0000 (16:50 -0400)]
test/osd/CMakeLists: fix test name

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/man/8/ceph: remove old 'ceph pg ' force_create_pg, set_[near]full_ratio
Sage Weil [Thu, 31 Aug 2017 13:31:53 +0000 (09:31 -0400)]
doc/man/8/ceph: remove old 'ceph pg ' force_create_pg, set_[near]full_ratio

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoceph-object-corpus: PGMap encoding change
Sage Weil [Thu, 31 Aug 2017 02:35:03 +0000 (22:35 -0400)]
ceph-object-corpus: PGMap encoding change

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: do not join quorum unless luminous upgrade has completed
Sage Weil [Tue, 29 Aug 2017 03:53:18 +0000 (23:53 -0400)]
mon: do not join quorum unless luminous upgrade has completed

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: encode without MIMIC if require_osd_release < mimic
Sage Weil [Tue, 29 Aug 2017 03:43:06 +0000 (23:43 -0400)]
mon/OSDMonitor: encode without MIMIC if require_osd_release < mimic

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove mon_osd_allow_primary_{temp,affinity}
Sage Weil [Mon, 28 Aug 2017 21:18:00 +0000 (17:18 -0400)]
mon: remove mon_osd_allow_primary_{temp,affinity}

These are covered by require_osd_release in the OSDMap.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/Elector: drop pre-luminous elector compat
Sage Weil [Mon, 28 Aug 2017 21:18:16 +0000 (17:18 -0400)]
mon/Elector: drop pre-luminous elector compat

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: remove old PGMapUpdater methods
Sage Weil [Mon, 28 Aug 2017 21:14:10 +0000 (17:14 -0400)]
mon/PGMap: remove old PGMapUpdater methods

These were used by PGMonitor.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/OSDMap: remove unused static
Sage Weil [Mon, 28 Aug 2017 21:11:20 +0000 (17:11 -0400)]
osd/OSDMap: remove unused static

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: remove legacy encode/decode methods
Sage Weil [Mon, 28 Aug 2017 21:11:07 +0000 (17:11 -0400)]
mon/PGMap: remove legacy encode/decode methods

These were used by PGMonitor when stored in per-pg and per-osd k/v
pairs.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: streamline encoding
Sage Weil [Mon, 28 Aug 2017 21:08:47 +0000 (17:08 -0400)]
mon/PGMap: streamline encoding

The only user left is 'pg getmap' and ceph-dencoder; we can drop
the compat cruft.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: remove unused functions
Sage Weil [Mon, 28 Aug 2017 21:07:59 +0000 (17:07 -0400)]
mon/PGMap: remove unused functions

These are left over from health cleanup

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: remove Incremental encode/decode
Sage Weil [Mon, 28 Aug 2017 21:07:09 +0000 (17:07 -0400)]
mon/PGMap: remove Incremental encode/decode

Unused!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: remove osd_epochs
Sage Weil [Mon, 28 Aug 2017 21:03:08 +0000 (17:03 -0400)]
mon/PGMap: remove osd_epochs

This was used for the min_last_epoch_clean tracking; we don't need
it now.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: remove min_last_epoch_clean
Sage Weil [Mon, 28 Aug 2017 20:54:45 +0000 (16:54 -0400)]
mon/PGMap: remove min_last_epoch_clean

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/OSDMap: remove get_full_osd_util
Sage Weil [Mon, 28 Aug 2017 20:37:04 +0000 (16:37 -0400)]
osd/OSDMap: remove get_full_osd_util

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGMap: remove full osd tracking
Sage Weil [Mon, 28 Aug 2017 20:43:14 +0000 (16:43 -0400)]
mon/PGMap: remove full osd tracking

Also drop compat PGMap encoding since we are >= luminous and this is
local to the mgr anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove PGStatService
Sage Weil [Mon, 28 Aug 2017 20:34:30 +0000 (16:34 -0400)]
mon: remove PGStatService

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: drop pgservice member
Sage Weil [Mon, 28 Aug 2017 20:33:09 +0000 (16:33 -0400)]
mon: drop pgservice member

Just use mgrstatmon() directly.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: make MgrStatMonitor implement PGStatService directly
Sage Weil [Mon, 28 Aug 2017 20:31:59 +0000 (16:31 -0400)]
mon: make MgrStatMonitor implement PGStatService directly

Avoid the intermediate glue class, simplify.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/PGStatService: prune interface
Sage Weil [Mon, 28 Aug 2017 20:23:09 +0000 (16:23 -0400)]
mon/PGStatService: prune interface

Remove now unused methods

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: drop pre-luminous PGStatService users
Sage Weil [Mon, 28 Aug 2017 20:25:04 +0000 (16:25 -0400)]
mon/OSDMonitor: drop pre-luminous PGStatService users

These are no longer relevant now that we are >= luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: drop PGMapStatService
Sage Weil [Mon, 28 Aug 2017 20:21:13 +0000 (16:21 -0400)]
mon: drop PGMapStatService

There is only one user and one implementation; this just makes the
code hard to read.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: drop legacy 'osd df'
Sage Weil [Mon, 28 Aug 2017 19:45:41 +0000 (15:45 -0400)]
mon/OSDMonitor: drop legacy 'osd df'

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: add MIMIC mon feature
Sage Weil [Mon, 28 Aug 2017 19:43:50 +0000 (15:43 -0400)]
mon: add MIMIC mon feature

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: drop hide_mgr_flag behavior
Sage Weil [Sat, 26 Aug 2017 19:22:15 +0000 (15:22 -0400)]
mon: drop hide_mgr_flag behavior

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: collapse MonPGStatService into PGStatService
Sage Weil [Sat, 26 Aug 2017 19:13:54 +0000 (15:13 -0400)]
mon: collapse MonPGStatService into PGStatService

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove some upgrade-specific bits of PGStatService
Sage Weil [Sat, 26 Aug 2017 19:13:01 +0000 (15:13 -0400)]
mon: remove some upgrade-specific bits of PGStatService

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove PGMonitor
Sage Weil [Sat, 26 Aug 2017 18:51:32 +0000 (14:51 -0400)]
mon: remove PGMonitor

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove OldHealthMonitor
Sage Weil [Fri, 25 Aug 2017 22:38:49 +0000 (18:38 -0400)]
mon: remove OldHealthMonitor

The only service this provided was mon space notifications, which
are now handled explicitly by the new HealthMonitor's
check_member_health(), and communited by the new MMonHealthChecks.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: remove legacy get_health infrastructure
Sage Weil [Fri, 25 Aug 2017 22:31:54 +0000 (18:31 -0400)]
mon: remove legacy get_health infrastructure

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: CEPH_MON_FEATURE_INCOMPAT_MIMIC
Sage Weil [Mon, 28 Aug 2017 19:24:46 +0000 (15:24 -0400)]
mon: CEPH_MON_FEATURE_INCOMPAT_MIMIC

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: require SERVER_LUMINOUS from mons, osds
Sage Weil [Mon, 28 Aug 2017 19:23:46 +0000 (15:23 -0400)]
mon: require SERVER_LUMINOUS from mons, osds

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomds: fix return value of MDCache::dump_cache 16778/head
Yan, Zheng [Wed, 6 Sep 2017 09:06:44 +0000 (17:06 +0800)]
mds: fix return value of MDCache::dump_cache

previous commit "mds: track snap inodes through sorted map" makes
MDCache::dump_cache return 1 on success.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years ago.githubmap: Add myself 17518/head
Willem Jan Withagen [Wed, 6 Sep 2017 12:18:57 +0000 (14:18 +0200)]
.githubmap: Add myself

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>