]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoosd/PrimaryLogPG: start_copy: simplify assert
Sage Weil [Fri, 1 Sep 2017 01:09:23 +0000 (21:09 -0400)]
osd/PrimaryLogPG: start_copy: simplify assert

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: start_flush: update comment for a post-snapdir world
Sage Weil [Fri, 1 Sep 2017 01:09:00 +0000 (21:09 -0400)]
osd/PrimaryLogPG: start_flush: update comment for a post-snapdir world

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: find_object_context: drop snapdir handling
Sage Weil [Fri, 1 Sep 2017 14:16:29 +0000 (10:16 -0400)]
osd/PrimaryLogPG: find_object_context: drop snapdir handling

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: do_op: move up LIST_SNAPS specialness
Sage Weil [Fri, 1 Sep 2017 01:06:29 +0000 (21:06 -0400)]
osd/PrimaryLogPG: do_op: move up LIST_SNAPS specialness

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: do_op: use head on for LIST_SNAPS
Sage Weil [Thu, 31 Aug 2017 22:44:01 +0000 (18:44 -0400)]
osd/PrimaryLogPG: do_op: use head on for LIST_SNAPS

Use head oid even for LIST_SNAPS op.  This doesn't really affect
LIST_SNAPS but it *does* mean that we never call find_object_context
on a snapdir oid.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: do_op: move and strength LIST_SNAPs vs snapdir check
Sage Weil [Thu, 31 Aug 2017 22:42:18 +0000 (18:42 -0400)]
osd/PrimaryLogPG: do_op: move and strength LIST_SNAPs vs snapdir check

Verify that *only* the LIST_SNAPS op uses an oid with snapdir set.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: add_object_context_to_pg_stat: drop snapdir handling
Sage Weil [Thu, 31 Aug 2017 22:23:53 +0000 (18:23 -0400)]
osd/PrimaryLogPG: add_object_context_to_pg_stat: drop snapdir handling

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: get_snapset_context: don't look on snapdir
Sage Weil [Thu, 31 Aug 2017 22:22:15 +0000 (18:22 -0400)]
osd/PrimaryLogPG: get_snapset_context: don't look on snapdir

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: recover_missing: no need to look for snapdir
Sage Weil [Thu, 31 Aug 2017 22:19:28 +0000 (18:19 -0400)]
osd/PrimaryLogPG: recover_missing: no need to look for snapdir

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: recover_replicas: don;t care about missing snapdir
Sage Weil [Thu, 31 Aug 2017 22:18:38 +0000 (18:18 -0400)]
osd/PrimaryLogPG: recover_replicas: don;t care about missing snapdir

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: recover_backfill: remove snapdir hackery
Sage Weil [Thu, 31 Aug 2017 22:16:13 +0000 (18:16 -0400)]
osd/PrimaryLogPG: recover_backfill: remove snapdir hackery

Phew!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: scrub_snapshot_metadata: no snapdirs
Sage Weil [Thu, 31 Aug 2017 22:08:23 +0000 (18:08 -0400)]
osd/PrimaryLogPG: scrub_snapshot_metadata: no snapdirs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: remove some snapdir-specific head_exists cases
Sage Weil [Thu, 31 Aug 2017 22:06:40 +0000 (18:06 -0400)]
osd/PrimaryLogPG: remove some snapdir-specific head_exists cases

We don't care about these any more.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: scrub_snapshot_metadata: remove snapset conversion
Sage Weil [Thu, 31 Aug 2017 21:56:28 +0000 (17:56 -0400)]
osd/PrimaryLogPG: scrub_snapshot_metadata: remove snapset conversion

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: scrub_snapshot_metadata: no need for snapdir
Sage Weil [Thu, 31 Aug 2017 21:51:25 +0000 (17:51 -0400)]
osd/PrimaryLogPG: scrub_snapshot_metadata: no need for snapdir

The object never exists; no need to look for it.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: finish_ctx: remove snapdir handling
Sage Weil [Thu, 31 Aug 2017 21:49:39 +0000 (17:49 -0400)]
osd/PrimaryLogPG: finish_ctx: remove snapdir handling

- we neither need to delete or create snapdir objects
- snapset is only ever written to head; move bufferlist bss and
encode call there
- drop legacy_snapset encoding path

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: make_writeable: remove legacy SnapSet handling
Sage Weil [Thu, 31 Aug 2017 21:40:22 +0000 (17:40 -0400)]
osd/PrimaryLogPG: make_writeable: remove legacy SnapSet handling

The SnapSet will now never be 'legacy'.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: make_writeable: whitespace
Sage Weil [Thu, 31 Aug 2017 21:38:20 +0000 (17:38 -0400)]
osd/PrimaryLogPG: make_writeable: whitespace

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/ReplicatedBackend: prepare_pull: simplify assert
Sage Weil [Thu, 31 Aug 2017 21:38:11 +0000 (17:38 -0400)]
osd/ReplicatedBackend: prepare_pull: simplify assert

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/ReplicatedBackend: never missing snapdirs
Sage Weil [Thu, 31 Aug 2017 21:31:39 +0000 (17:31 -0400)]
osd/ReplicatedBackend: never missing snapdirs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: maybe_await_blocked_{snapset->head}
Sage Weil [Thu, 31 Aug 2017 21:23:35 +0000 (17:23 -0400)]
osd/PrimaryLogPG: maybe_await_blocked_{snapset->head}

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PrimaryLogPG: do_op: no need to block on missing/degraded snapdir
Sage Weil [Thu, 31 Aug 2017 21:22:00 +0000 (17:22 -0400)]
osd/PrimaryLogPG: do_op: no need to block on missing/degraded snapdir

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: PrimaryLogPG: no snapdirs objects during pgls
Sage Weil [Thu, 31 Aug 2017 21:21:19 +0000 (17:21 -0400)]
osd: PrimaryLogPG: no snapdirs objects during pgls

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: scrub: no need to expect snapdir objects
Sage Weil [Thu, 31 Aug 2017 21:21:01 +0000 (17:21 -0400)]
osd: scrub: no need to expect snapdir objects

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #17621 from idryomov/wip-krbd-xfstests-blockdev
Mykola Golub [Mon, 11 Sep 2017 11:09:32 +0000 (14:09 +0300)]
Merge pull request #17621 from idryomov/wip-krbd-xfstests-blockdev

qa/suites/krbd: enable xfstests blockdev tests

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 years agoqa/suites/krbd: enable xfstests blockdev tests 17621/head
Ilya Dryomov [Fri, 8 Sep 2017 13:45:34 +0000 (15:45 +0200)]
qa/suites/krbd: enable xfstests blockdev tests

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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>