]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoos/bluestore/BlueStore: narrow deferred_lock in _deferred_submit_unlock. 17628/head
Jianpeng Ma [Mon, 11 Sep 2017 13:55:11 +0000 (21:55 +0800)]
os/bluestore/BlueStore: narrow deferred_lock in _deferred_submit_unlock.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoMerge pull request #17453 from kungf/eversion_t_opt_max
Sage Weil [Sun, 10 Sep 2017 19:21:39 +0000 (14:21 -0500)]
Merge pull request #17453 from kungf/eversion_t_opt_max

osd_types: define max in eversion_t::max() to static

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17571 from jcsp/wip-21260
Sage Weil [Sun, 10 Sep 2017 19:20:30 +0000 (14:20 -0500)]
Merge pull request #17571 from jcsp/wip-21260

mon: fix dropping mgr metadata for active mgr (#21260)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17572 from xiexingguo/wip-os-tool
Sage Weil [Sun, 10 Sep 2017 19:18:37 +0000 (14:18 -0500)]
Merge pull request #17572 from xiexingguo/wip-os-tool

tools/ceph_objectstore_tool: fix 'dup' unable to duplicate meta PG

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17585 from jdurgin/wip-recovery-delete-encoding-master
Sage Weil [Sun, 10 Sep 2017 19:18:13 +0000 (14:18 -0500)]
Merge pull request #17585 from jdurgin/wip-recovery-delete-encoding-master

MOSDPGRecoveryDelete[Reply]: bump header version

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17588 from kungf/aio_submit_size_change
Sage Weil [Sun, 10 Sep 2017 19:17:48 +0000 (14:17 -0500)]
Merge pull request #17588 from kungf/aio_submit_size_change

os/bluestore: shrink aio submit size to pending value

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17599 from tchaikov/wip-encoding-optional
Sage Weil [Sun, 10 Sep 2017 19:17:32 +0000 (14:17 -0500)]
Merge pull request #17599 from tchaikov/wip-encoding-optional

encoding: reset optional<> if it is uninitialized

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17600 from jecluis/wip-21309
Sage Weil [Sun, 10 Sep 2017 19:17:00 +0000 (14:17 -0500)]
Merge pull request #17600 from jecluis/wip-21309

mon/OSDMonitor: don't create pgs if pool was deleted

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17298 from xiexingguo/wip-pg-null-obc-access
Sage Weil [Sat, 9 Sep 2017 20:02:08 +0000 (15:02 -0500)]
Merge pull request #17298 from xiexingguo/wip-pg-null-obc-access

osd/PrimaryLogPG: maybe_handle_manifest_detail - sanity check obc existence

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #17559 from dillaman/wip-21181
Mykola Golub [Sat, 9 Sep 2017 08:23:57 +0000 (11:23 +0300)]
Merge pull request #17559 from dillaman/wip-21181

qa/workunits/rbd: relax greps to support upgrade formatting change

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #17324 from smithfarm/wip-rbd-symlink
Kefu Chai [Sat, 9 Sep 2017 04:12:08 +0000 (12:12 +0800)]
Merge pull request #17324 from smithfarm/wip-rbd-symlink

build/ops: rpm: drop legacy librbd.so.1 symlink in /usr/lib64/qemu

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ademar de Souza Reis Jr <areis@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #17512 from tchaikov/wip-chmod-x
Kefu Chai [Sat, 9 Sep 2017 04:09:59 +0000 (12:09 +0800)]
Merge pull request #17512 from tchaikov/wip-chmod-x

common,mon,osd,pybind: silence warning and remove executable mode bit

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #17539 from tchaikov/wip-21204
Kefu Chai [Sat, 9 Sep 2017 04:08:18 +0000 (12:08 +0800)]
Merge pull request #17539 from tchaikov/wip-21204

mon,option: set default value for mon_dns_srv_name

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17549 from iliul/fix-texttable-align
Kefu Chai [Sat, 9 Sep 2017 04:07:38 +0000 (12:07 +0800)]
Merge pull request #17549 from iliul/fix-texttable-align

tools: Modify "rados df" header's alignment

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #17096 from ceph/wip-ansbile-fixes
Tamilarasi Muthamizhan [Fri, 8 Sep 2017 21:47:12 +0000 (14:47 -0700)]
Merge pull request #17096 from ceph/wip-ansbile-fixes

[qa/tests]: misc ceph-ansible fixes and udpate

7 years agoMerge pull request #17513 from Liuchang0812/wip-max-avail-in-df
Yuri Weinstein [Fri, 8 Sep 2017 20:41:07 +0000 (13:41 -0700)]
Merge pull request #17513 from Liuchang0812/wip-max-avail-in-df

mon: incorrect MAX AVAIL in "ceph df"

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #17533 into master
Patrick Donnelly [Fri, 8 Sep 2017 18:23:23 +0000 (11:23 -0700)]
Merge PR #17533 into master

* refs/remotes/upstream/pull/17533/head:
qa: log ceph-fuse kill/cleanup

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17506 into master
Patrick Donnelly [Fri, 8 Sep 2017 18:23:21 +0000 (11:23 -0700)]
Merge PR #17506 into master

* refs/remotes/upstream/pull/17506/head:
mds: reset Formatter on error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17466 into master
Patrick Donnelly [Fri, 8 Sep 2017 18:23:19 +0000 (11:23 -0700)]
Merge PR #17466 into master

* refs/remotes/upstream/pull/17466/head:
qa: whitelist expected MDS_READ_ONLY for kcephfs test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #17456 into master
Patrick Donnelly [Fri, 8 Sep 2017 18:23:17 +0000 (11:23 -0700)]
Merge PR #17456 into master

* refs/remotes/upstream/pull/17456/head:
mds: print subtrees only after merge

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #17452 into master
Patrick Donnelly [Fri, 8 Sep 2017 18:23:15 +0000 (11:23 -0700)]
Merge PR #17452 into master

* refs/remotes/upstream/pull/17452/head:
Make standby-replay mds not migrate empty subtree when trimming cache
Make standby-replay mds avoid initiating subtree export

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #17384 into master
Patrick Donnelly [Fri, 8 Sep 2017 18:23:12 +0000 (11:23 -0700)]
Merge PR #17384 into master

* refs/remotes/upstream/pull/17384/head:
ceph.in: validate service glob

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16752 into master
Patrick Donnelly [Fri, 8 Sep 2017 18:23:10 +0000 (11:23 -0700)]
Merge PR #16752 into master

* refs/remotes/upstream/pull/16752/head:
client: NULL check before append value to bufferlist

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agoStop the mgr on node which is not client, this will ensure 17096/head
Vasu Kulkarni [Fri, 8 Sep 2017 17:00:49 +0000 (10:00 -0700)]
Stop the mgr on node which is not client, this will ensure
the client.0's mgr is active mgr for workunit to work.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge pull request #16272 from liewegas/wip-balancer
Sage Weil [Fri, 8 Sep 2017 16:29:14 +0000 (11:29 -0500)]
Merge pull request #16272 from liewegas/wip-balancer

mgr/balancer: mgr module to automatically balance PGs across OSDs

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoos/bluestore: shrink aio submit size to pending value 17588/head
kungf [Fri, 8 Sep 2017 04:09:35 +0000 (12:09 +0800)]
os/bluestore: shrink aio submit size to pending value

Signed-off-by: kungf <yang.wang@easystack.cn>
7 years agoMerge pull request #17403 from ceph/wip-bz1485011
Andrew Schoen [Fri, 8 Sep 2017 15:43:44 +0000 (10:43 -0500)]
Merge pull request #17403 from ceph/wip-bz1485011

ceph-volume Persist non-lv devices for journals

Reviewed-by: Andrew Schoen aschoen@redhat.com
7 years agoMerge pull request #17603 from liewegas/wip-migration-twiddle
Sage Weil [Fri, 8 Sep 2017 15:32:08 +0000 (10:32 -0500)]
Merge pull request #17603 from liewegas/wip-migration-twiddle

doc: restructure bluestore migration insructions

Reviewed-by: David Galloway <dgallowa@redhat.com>
7 years agodoc: restructure bluestore migration insructions 17603/head
Sage Weil [Fri, 8 Sep 2017 15:13:49 +0000 (11:13 -0400)]
doc: restructure bluestore migration insructions

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17602 from ceph/wip-blumig-doc
Sage Weil [Fri, 8 Sep 2017 15:05:27 +0000 (10:05 -0500)]
Merge pull request #17602 from ceph/wip-blumig-doc

doc: Updates to bluestore migration doc

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc/rados/operations/bluestore-migration: Add instruction for evacuating 17602/head
David Galloway [Fri, 8 Sep 2017 14:46:21 +0000 (10:46 -0400)]
doc/rados/operations/bluestore-migration: Add instruction for evacuating
host

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #17011 from liewegas/wip-doc-bluestore-migration
Sage Weil [Fri, 8 Sep 2017 14:47:02 +0000 (09:47 -0500)]
Merge pull request #17011 from liewegas/wip-doc-bluestore-migration

doc/rados/operations/bluestore-migration: update docs a bit

7 years agoMerge pull request #17582 from ivancich/wip-fix-mclock-unittests
Kefu Chai [Fri, 8 Sep 2017 14:03:28 +0000 (22:03 +0800)]
Merge pull request #17582 from ivancich/wip-fix-mclock-unittests

test/common: unittest_mclock_priority_queue builds with "make" command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc/rados/operations/bluestore-migration: Fix typo in bluestore migration doc
David Galloway [Thu, 7 Sep 2017 23:51:45 +0000 (19:51 -0400)]
doc/rados/operations/bluestore-migration: Fix typo in bluestore migration doc

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agomon: fix dropping mgr metadata for active mgr 17571/head
John Spray [Thu, 7 Sep 2017 13:44:36 +0000 (09:44 -0400)]
mon: fix dropping mgr metadata for active mgr

drop_standby() was killing it and it was only getting added
back in certain locations.  Instead, make the metadata
drop conditional and only do it in the places we're
really dropping the daemon, not when we're promoting
it to active.

Fixes: http://tracker.ceph.com/issues/21260
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoqa/tasks/mgr: regression test for 21260
John Spray [Thu, 7 Sep 2017 13:42:29 +0000 (09:42 -0400)]
qa/tasks/mgr: regression test for 21260

(aka http://tracker.ceph.com/issues/21260)

Fixes: http://tracker.ceph.com/issues/21260
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomon/OSDMonitor: don't create pgs if pool was deleted 17600/head
Joao Eduardo Luis [Fri, 8 Sep 2017 11:48:12 +0000 (12:48 +0100)]
mon/OSDMonitor: don't create pgs if pool was deleted

A pool may be deleted while in the process of creating pgs. If that
happens, we should not queue additional pgs from that pool to be
created.

Fixes: http://tracker.ceph.com/issues/21309
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #17569 from liewegas/wip-21293
Sage Weil [Fri, 8 Sep 2017 12:19:42 +0000 (07:19 -0500)]
Merge pull request #17569 from liewegas/wip-21293

Revert "os/bluestore: pass strict flag to bluestore_blob_use_tracker_t::equal()"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #17352 from liewegas/wip-21171
Sage Weil [Fri, 8 Sep 2017 12:16:40 +0000 (07:16 -0500)]
Merge pull request #17352 from liewegas/wip-21171

os/bluestore: drop deferred_submit_lock, fix aio leak

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
7 years agoencoding: reset optional<> if it is uninitialized 17599/head
Kefu Chai [Fri, 8 Sep 2017 11:28:09 +0000 (19:28 +0800)]
encoding: reset optional<> if it is uninitialized

* should reset it, in case we reuse it after initializing it.
* initialize the value of `p` using the C++11 style initializer, so it
  is zero-initialized.
* revert 2a83ef3c which disables a warning of:
 ./include/encoding.h:317:7: warning: 't' may be used uninitialized in
    this function [-Wmaybe-uninitialized]
 where the `t` is the temporary variable for initializing the value of
 `p`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17593 from shashalu/fix-clean-up-apply_epoch
Jos Collin [Fri, 8 Sep 2017 11:15:59 +0000 (11:15 +0000)]
Merge pull request #17593 from shashalu/fix-clean-up-apply_epoch

rgw: drop unused function apply_epoch

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #17590 from xiaoxichen/minor_doc_fix
Kefu Chai [Fri, 8 Sep 2017 10:46:09 +0000 (18:46 +0800)]
Merge pull request #17590 from xiaoxichen/minor_doc_fix

doc: fix typo on specify db block device

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17573 from jcsp/wip-21292
Boris Ranto [Fri, 8 Sep 2017 08:32:20 +0000 (10:32 +0200)]
Merge pull request #17573 from jcsp/wip-21292

mgr/restful: cleaner message when not configured

Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agorgw: drop unused function apply_epoch 17593/head
lu.shasha [Fri, 8 Sep 2017 07:16:13 +0000 (15:16 +0800)]
rgw: drop unused function apply_epoch

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
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 agoTest ceph-mgr RESTful api
Vasu Kulkarni [Fri, 8 Sep 2017 00:10:04 +0000 (17:10 -0700)]
Test ceph-mgr RESTful api

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoAdd additional variables as required by ceph-ansible for upstream
Vasu Kulkarni [Thu, 7 Sep 2017 23:54:51 +0000 (16:54 -0700)]
Add additional variables as required by ceph-ansible for upstream
installation.

possible revert if those are made default
issue: https://github.com/ceph/ceph-ansible/issues/1834

Signed-off-by: Vasu Kulkarni <vasu@redhat.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 agotest/common: unittest_mclock_priority_queue builds with "make" command 17582/head
J. Eric Ivancich [Thu, 7 Sep 2017 21:47:00 +0000 (17:47 -0400)]
test/common: unittest_mclock_priority_queue builds with "make" command

Although it would be built with "make tests",
unittest_mclock_priority_queue was not built with a simple "make".

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
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 agoos/bluestore/aio: handle short return from io_submit 17352/head
Sage Weil [Thu, 7 Sep 2017 20:28:59 +0000 (16:28 -0400)]
os/bluestore/aio: handle short return from io_submit

io_submit may return a value less than nr, indicating that only some of
the provided iocbs were queued.  If that happens we should loop, not
return and silently drop those aios on the floor.

Signed-off-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 agomon/OSDMonitor: fix typo
Joao Eduardo Luis [Thu, 7 Sep 2017 17:10:18 +0000 (18:10 +0100)]
mon/OSDMonitor: fix typo

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
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 agomgr/restful: cleaner message when not configured 17573/head
John Spray [Thu, 27 Jul 2017 15:48:42 +0000 (11:48 -0400)]
mgr/restful: cleaner message when not configured

RuntimeError+backtrace prints should be for
genuinely exceptional exceptions.  For these
known cases, we should just print the message cleanly.

http://tracker.ceph.com/issues/21292
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoRevert "os/bluestore: pass strict flag to bluestore_blob_use_tracker_t::equal()" 17569/head
Sage Weil [Thu, 7 Sep 2017 13:28:27 +0000 (09:28 -0400)]
Revert "os/bluestore: pass strict flag to bluestore_blob_use_tracker_t::equal()"

This reverts commit 5070999169b5733983fb74d955cb764a9066c3d8.

The existing blob may have a vector-based au because it was, say, split, while the local one
may not (because it not needed).  Use a sloppy comparison.

Fixes: http://tracker.ceph.com/issues/21293
Signed-off-by: Sage Weil <sage@redhat.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 agoqa/workunits/rbd: relax greps to support upgrade formatting change 17559/head
Jason Dillaman [Thu, 7 Sep 2017 12:55:27 +0000 (08:55 -0400)]
qa/workunits/rbd: relax greps to support upgrade formatting change

Fixes: http://tracker.ceph.com/issues/21181
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotools/ceph_objectstore_tool: fix 'dup' unable to duplicate meta PG 17572/head
xie xingguo [Wed, 6 Sep 2017 09:31:16 +0000 (17:31 +0800)]
tools/ceph_objectstore_tool: fix 'dup' unable to duplicate meta PG

Recently we plan to bring a Jewel cluster into Luminous.
After that is done, which turns out to be a big success,
we then try to transform all FileStore osds into BlueStore ones
offline but with no luck. The ceph_objectstore_tool keeps complaining:
--------------------------------------------------------------------
dup from filestore: /var/lib/ceph/osd/ceph-20.old
      to bluestore: /var/lib/ceph/osd/ceph-20
fsid d444b253-337d-4d15-9d63-86ae134ec9ac
65 collections
1/65 meta
cannot get bit count for collection meta: (61) No data available
--------------------------------------------------------------------

The root cause is that for FileStore Luminous will always try to rewrite
pg "bits" as a file attribute on "Load" if that is not available.
But since meta pg is never loaded (we skip it during OSD::load_pgs()),
we actually never get the chance to do so; hence making the
dup method from ceph_objectstore_tool very unhappy since it always
expects to see such a attribute from underlying store.

Fix the above problem by manually skipping loading the "bits" attribute
if underlying OS is FileStore for dup.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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 agotools: Modify "rados df" header's alignment 17549/head
iliul [Thu, 7 Sep 2017 09:38:58 +0000 (09:38 +0000)]
tools: Modify "rados df" header's alignment

Signed-off-by: iliul <liul124@chinaunicom.cn>
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 agomon,monmap: use new style config opts 17539/head
Kefu Chai [Thu, 7 Sep 2017 05:12:15 +0000 (13:12 +0800)]
mon,monmap: use new style config opts

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon,mon,osd,pybind: remove executable mode bit 17512/head
Kefu Chai [Wed, 6 Sep 2017 05:33:28 +0000 (13:33 +0800)]
common,mon,osd,pybind: remove executable mode bit

since they are not supposed to be executed as an executable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agointerval_set: silence "set but unused" warning
Kefu Chai [Thu, 7 Sep 2017 05:11:20 +0000 (13:11 +0800)]
interval_set: silence "set but unused" warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomon,option: set default value for mon_dns_srv_name
Kefu Chai [Thu, 7 Sep 2017 04:47:36 +0000 (12:47 +0800)]
mon,option: set default value for mon_dns_srv_name

Fixes: http://tracker.ceph.com/issues/21204
Signed-off-by: Kefu Chai <kchai@redhat.com>