]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoceph-volume: exceptions: create a module for all exceptions
Alfredo Deza [Fri, 23 Jun 2017 18:39:23 +0000 (14:39 -0400)]
ceph-volume: exceptions: create a module for all exceptions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: move the exceptions to the new exception module
Alfredo Deza [Fri, 23 Jun 2017 18:39:07 +0000 (14:39 -0400)]
ceph-volume: systemd: move the exceptions to the new exception module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: decorators: add a check for super user privileges
Alfredo Deza [Fri, 23 Jun 2017 18:38:14 +0000 (14:38 -0400)]
ceph-volume: decorators: add a check for super user privileges

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: use subhelp to parse lvm's help
Alfredo Deza [Fri, 23 Jun 2017 18:33:28 +0000 (14:33 -0400)]
ceph-volume: main: use subhelp to parse lvm's help

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: terminal: use raw instead of write
Alfredo Deza [Thu, 22 Jun 2017 21:16:36 +0000 (17:16 -0400)]
ceph-volume: terminal: use raw instead of write

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: no need to pass the config to log setup
Alfredo Deza [Thu, 22 Jun 2017 21:16:03 +0000 (17:16 -0400)]
ceph-volume: main: no need to pass the config to log setup

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: notify to stdout if it is not possible to write to the log location
Alfredo Deza [Thu, 22 Jun 2017 21:15:49 +0000 (17:15 -0400)]
ceph-volume: log: notify to stdout if it is not possible to write to the log location

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: create systemd entry point script
Alfredo Deza [Thu, 22 Jun 2017 19:38:19 +0000 (15:38 -0400)]
ceph-volume: systemd: create systemd entry point script

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: process: module for running system commands
Alfredo Deza [Thu, 22 Jun 2017 19:37:55 +0000 (15:37 -0400)]
ceph-volume: process: module for running system commands

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: initial take on main
Alfredo Deza [Thu, 22 Jun 2017 19:37:38 +0000 (15:37 -0400)]
ceph-volume: main: initial take on main

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: terminal: easier terminal reporting utils
Alfredo Deza [Thu, 22 Jun 2017 19:37:15 +0000 (15:37 -0400)]
ceph-volume: terminal: easier terminal reporting utils

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: decorators: catch exceptions, disable on debug
Alfredo Deza [Thu, 22 Jun 2017 19:36:59 +0000 (15:36 -0400)]
ceph-volume: decorators: catch exceptions, disable on debug

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: be more robust, report back to config
Alfredo Deza [Thu, 22 Jun 2017 19:36:34 +0000 (15:36 -0400)]
ceph-volume: log: be more robust, report back to config

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: create a utility for setting up logging
Alfredo Deza [Mon, 19 Jun 2017 20:19:24 +0000 (16:19 -0400)]
ceph-volume: log: create a utility for setting up logging

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: config: default to 'info' verbosity, set the config dict
Alfredo Deza [Mon, 19 Jun 2017 19:57:33 +0000 (15:57 -0400)]
ceph-volume: config: default to 'info' verbosity, set the config dict

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: rename: initial take on renaming to ceph-volume
Alfredo Deza [Fri, 16 Jun 2017 19:41:14 +0000 (15:41 -0400)]
ceph-volume: rename: initial take on renaming to ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agocmake/Distutils.cmake: make pkg files optional, add bin
Dan Mick [Thu, 20 Jul 2017 20:54:37 +0000 (13:54 -0700)]
cmake/Distutils.cmake: make pkg files optional, add bin

Skip nonexistent 'expected' Python packaging files, and add bin/ as
a possible file for symlinking during build (for Python projects with
slightly different forms, currently ceph-volume)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agobuild: include the ceph-volume-systemd command in the spec file
Alfredo Deza [Thu, 20 Jul 2017 22:04:34 +0000 (18:04 -0400)]
build: include the ceph-volume-systemd command in the spec file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild: add ceph-volume to CMakeLists in src
Alfredo Deza [Thu, 20 Jul 2017 17:05:20 +0000 (13:05 -0400)]
build: add ceph-volume to CMakeLists in src

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agosystemd: include the ceph-volume service
Alfredo Deza [Thu, 20 Jul 2017 16:26:14 +0000 (12:26 -0400)]
systemd: include the ceph-volume service

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild: create a CMakeLists file for ceph-volume
Alfredo Deza [Thu, 20 Jul 2017 15:53:07 +0000 (11:53 -0400)]
build: create a CMakeLists file for ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agosystemd: create a service file for ceph-volume
Alfredo Deza [Thu, 20 Jul 2017 15:26:27 +0000 (11:26 -0400)]
systemd: create a service file for ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild: add deb install rule for ceph-volume executable
Alfredo Deza [Thu, 20 Jul 2017 15:25:12 +0000 (11:25 -0400)]
build: add deb install rule for ceph-volume executable

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild: add deb rules for ceph-volume systemd service file
Alfredo Deza [Thu, 20 Jul 2017 15:24:52 +0000 (11:24 -0400)]
build: add deb rules for ceph-volume systemd service file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild/ops: add ceph-volume scripts/files to spec file
Alfredo Deza [Wed, 19 Jul 2017 14:47:55 +0000 (10:47 -0400)]
build/ops: add ceph-volume scripts/files to spec file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: create the executables
Alfredo Deza [Tue, 18 Jul 2017 19:03:20 +0000 (15:03 -0400)]
ceph-volume: create the executables

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: packaging: create a setup.py
Alfredo Deza [Tue, 18 Jul 2017 18:55:18 +0000 (14:55 -0400)]
ceph-volume: packaging: create a setup.py

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: create a tox.ini file
Alfredo Deza [Tue, 18 Jul 2017 18:53:58 +0000 (14:53 -0400)]
ceph-volume: tests: create a tox.ini file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: add a manifest.in file
Alfredo Deza [Tue, 18 Jul 2017 18:46:16 +0000 (14:46 -0400)]
ceph-volume: add a manifest.in file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: create a .gitignore specific to ceph-volume
Alfredo Deza [Tue, 18 Jul 2017 18:28:20 +0000 (14:28 -0400)]
ceph-volume: create a .gitignore specific to ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #16805 from liewegas/wip-crush-classes
Sage Weil [Fri, 4 Aug 2017 13:48:53 +0000 (08:48 -0500)]
Merge pull request #16805 from liewegas/wip-crush-classes

crush: misc changes/fixes for device classes

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16739 from liewegas/wip-multi-backfill-reject
Sage Weil [Fri, 4 Aug 2017 13:41:06 +0000 (08:41 -0500)]
Merge pull request #16739 from liewegas/wip-multi-backfill-reject

qa/suites/rados/singleton-nomsgr/all/multi-backfill-reject: sleep longer

7 years agoMerge pull request #16794 from liewegas/wip-rbd-app
Sage Weil [Fri, 4 Aug 2017 13:40:45 +0000 (08:40 -0500)]
Merge pull request #16794 from liewegas/wip-rbd-app

qa/tasks/ceph: enable rbd on rbd pool

7 years agoMerge pull request #16776 from dachary/wip-20893-ceph-fsid
Alfredo Deza [Fri, 4 Aug 2017 13:40:37 +0000 (09:40 -0400)]
Merge pull request #16776 from dachary/wip-20893-ceph-fsid

ceph-disk: dmcrypt cluster must default to ceph

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/tasks/ceph: enable rbd on rbd pool 16794/head
Sage Weil [Thu, 3 Aug 2017 16:09:42 +0000 (12:09 -0400)]
qa/tasks/ceph: enable rbd on rbd pool

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16798 from jdurgin/wip-complete-to-loop
Sage Weil [Fri, 4 Aug 2017 13:38:31 +0000 (08:38 -0500)]
Merge pull request #16798 from jdurgin/wip-complete-to-loop

osd/PGLog: avoid infinite loop if missing version is corrupted

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16804 from xiexingguo/wip-some-cleanup
Pan Liu [Fri, 4 Aug 2017 05:12:17 +0000 (13:12 +0800)]
Merge pull request #16804 from xiexingguo/wip-some-cleanup

os/bluestore: space between func and contents

7 years agoqa/suites/rados/thrash-erasure-code-big: add k=4 m=2
Sage Weil [Thu, 3 Aug 2017 18:10:36 +0000 (14:10 -0400)]
qa/suites/rados/thrash-erasure-code-big: add k=4 m=2

Get better coverage for larger codes.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: space between func and contents 16804/head
xie xingguo [Fri, 4 Aug 2017 02:00:51 +0000 (10:00 +0800)]
os/bluestore: space between func and contents

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocrush: remove cleanup_classes() 16805/head
Sage Weil [Fri, 4 Aug 2017 02:39:05 +0000 (22:39 -0400)]
crush: remove cleanup_classes()

I can't for the life of me figure out what this is supposed to do.

- why remove (some) classes right after we populated them?
- why remove them after we decode the crush map?

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocrush/CrushWrapper: rebuild_roots_with_classes on bucket removal
Sage Weil [Fri, 4 Aug 2017 02:29:34 +0000 (22:29 -0400)]
crush/CrushWrapper: rebuild_roots_with_classes on bucket removal

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocrush: fix preservation of shadow bucket ids
Sage Weil [Thu, 3 Aug 2017 22:05:08 +0000 (18:05 -0400)]
crush: fix preservation of shadow bucket ids

1- a decompiled and recompiled was parsing the class bucket ids but it
wasn't actually using them.
2- rebuild_roots_with_classes() was throwing out the old ids and assigning
new ids when the tree was rebuilt.

Fix by passing in a (potentially partial) class_bucket map into
populate_classes().  Take care to allocate new bucket ids that don't
collide with previously used ids.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #16802 into master
Patrick Donnelly [Thu, 3 Aug 2017 23:20:20 +0000 (16:20 -0700)]
Merge PR #16802 into master

* refs/remotes/upstream/pull/16802/head:
qa: update wait_for_health for new health json syntax

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa: update wait_for_health for new health json syntax 16802/head
John Spray [Thu, 3 Aug 2017 22:45:11 +0000 (18:45 -0400)]
qa: update wait_for_health for new health json syntax

Fixes: http://tracker.ceph.com/issues/20890
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge PR #16766 into master
Patrick Donnelly [Thu, 3 Aug 2017 22:05:53 +0000 (15:05 -0700)]
Merge PR #16766 into master

* refs/remotes/upstream/pull/16766/head:
cephfs: Clarify health warning
cephfs: Always print filesystem name

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agocephfs: Clarify health warning 16766/head
Douglas Fuller [Tue, 25 Jul 2017 19:54:30 +0000 (15:54 -0400)]
cephfs: Clarify health warning

Add text to MDS_INSUFFICIENT STANDBY to clarify it refers
to MDS daemons.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agocephfs: Always print filesystem name
Douglas Fuller [Mon, 24 Jul 2017 17:29:55 +0000 (12:29 -0500)]
cephfs: Always print filesystem name

Previously, the FSMap summary omitted the filesystem
name in clusters with only one filesystem. Print the
file system name no matter what.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agoqa/workunits/mon/crush_ops.sh: remove existing dev class before setting it
Kefu Chai [Sun, 30 Jul 2017 07:05:05 +0000 (15:05 +0800)]
qa/workunits/mon/crush_ops.sh: remove existing dev class before setting it

we cannot overwrite existing dev class, and "osd_class_update_on_start"
is true by default (see 0c885d6). so we should remove all device classes before
setting them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomon/OSDMonitor: kill unused variable 'ts'
xie xingguo [Mon, 31 Jul 2017 00:53:45 +0000 (08:53 +0800)]
mon/OSDMonitor: kill unused variable 'ts'

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agotest/osd-fast-mark-down: enable 'osd-class-update-on-start' by default
xie xingguo [Mon, 31 Jul 2017 03:36:34 +0000 (11:36 +0800)]
test/osd-fast-mark-down: enable 'osd-class-update-on-start' by default

https://github.com/ceph/ceph/pull/16016/commits/116cf759c86ca9ca7d80769b2096953516f357cb
will now hide all shadow trees(roots), so this is not applicable anymore
(actually it is misleading).

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocrush: make 'remove_root' idempotent
xie xingguo [Mon, 31 Jul 2017 09:24:55 +0000 (17:24 +0800)]
crush: make 'remove_root' idempotent

We might use 'crush link' to link same host into
different roots, which as a result can cause different
shadow trees reference same hosts too.

This means we may need to destory the same buckets(hosts, racks, etc.)
multiple times during rebuilding all shadow trees and hence 'remove_root'
shall be idempotent.

Fixes: http://tracker.ceph.com/issues/20845
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16740 from liewegas/wip-crush-tree
Sage Weil [Thu, 3 Aug 2017 21:16:17 +0000 (16:16 -0500)]
Merge pull request #16740 from liewegas/wip-crush-tree

mon: show class in 'osd crush tree' output; sort output

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge PR #16772 into master
Patrick Donnelly [Thu, 3 Aug 2017 21:07:32 +0000 (14:07 -0700)]
Merge PR #16772 into master

* refs/remotes/upstream/pull/16772/head:
qa: add health whitelist for all fs sub-suites

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa: add health whitelist for all fs sub-suites 16772/head
Patrick Donnelly [Thu, 3 Aug 2017 04:06:02 +0000 (21:06 -0700)]
qa: add health whitelist for all fs sub-suites

Fixes: http://tracker.ceph.com/issues/20892
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16768 into master
Patrick Donnelly [Thu, 3 Aug 2017 20:55:42 +0000 (13:55 -0700)]
Merge PR #16768 into master

* refs/remotes/upstream/pull/16768/head:
qa: fix log whitelist string

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #16743 into master
Patrick Donnelly [Thu, 3 Aug 2017 20:55:39 +0000 (13:55 -0700)]
Merge PR #16743 into master

* refs/remotes/upstream/pull/16743/head:
mds: add inter-mds operations to PerfCounter

7 years agoMerge PR #16654 into master
Patrick Donnelly [Thu, 3 Aug 2017 20:55:36 +0000 (13:55 -0700)]
Merge PR #16654 into master

* refs/remotes/upstream/pull/16654/head:
mds: fix race in "open inode by inode number"
mds: cleanup {do_open,_do_find}_ino_peer()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16631 into master
Patrick Donnelly [Thu, 3 Aug 2017 20:55:33 +0000 (13:55 -0700)]
Merge PR #16631 into master

* refs/remotes/upstream/pull/16631/head:
cephfs: Resend discover when joining from starting state
cephfs: Wait for MDCache to be ready before starting log segment

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16363 into master
Patrick Donnelly [Thu, 3 Aug 2017 20:55:29 +0000 (13:55 -0700)]
Merge PR #16363 into master

* refs/remotes/upstream/pull/16363/head:
mds: fix health checks for multiple filesystems
mon: fix log message on mds rank stop
mon: uniform way of referring to MDS daemons
mds: revise health checks for _FAILED/_DEGRADED
mon/MDSMonitor: log messages on MDS rank changes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16292 into master
Patrick Donnelly [Thu, 3 Aug 2017 20:55:21 +0000 (13:55 -0700)]
Merge PR #16292 into master

* refs/remotes/upstream/pull/16292/head:
qa: use new hex rep of inode
qa: fix whitelist error message
mds: refine "Scrub error" cluster log message
mds: polish clog messages
doc: developer logging guidance

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #16749 from tchaikov/wip-restful-delete-key
Sage Weil [Thu, 3 Aug 2017 20:53:27 +0000 (15:53 -0500)]
Merge pull request #16749 from tchaikov/wip-restful-delete-key

mgr: handle "module.set_config(.., None)" correctly

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #16756 from liewegas/wip-20113
Sage Weil [Thu, 3 Aug 2017 20:52:56 +0000 (15:52 -0500)]
Merge pull request #16756 from liewegas/wip-20113

ceph: wait for maps before doing 'ceph tell ... help'

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16760 from cbodley/wip-rgw-disable-lifecycle-s3tests
Yuri Weinstein [Thu, 3 Aug 2017 20:25:39 +0000 (13:25 -0700)]
Merge pull request #16760 from cbodley/wip-rgw-disable-lifecycle-s3tests

qa/rgw: disable lifecycle tests because of expiration failures

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #16491 from cbodley/wip-20308
Yuri Weinstein [Thu, 3 Aug 2017 20:24:59 +0000 (13:24 -0700)]
Merge pull request #16491 from cbodley/wip-20308

rgw: match wildcards in StringLike policy conditions

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoceph-disk: dmcrypt cluster must default to ceph 16776/head
Loic Dachary [Thu, 3 Aug 2017 08:56:24 +0000 (10:56 +0200)]
ceph-disk: dmcrypt cluster must default to ceph

If ceph_fsid is not found, which is the case for legacy dmcrypted OSD,
the cluster must default to ceph, as it was before support for non
standard cluster names was introduced.

Fixes: http://tracker.ceph.com/issues/20893
Signed-off-by: Loic Dachary <loic@dachary.org>
7 years agoosd/PGLog: avoid infinite loop if missing version is corrupted 16798/head
Josh Durgin [Thu, 3 Aug 2017 18:24:25 +0000 (14:24 -0400)]
osd/PGLog: avoid infinite loop if missing version is corrupted

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16738 from liewegas/wip-20810
Sage Weil [Thu, 3 Aug 2017 18:22:46 +0000 (13:22 -0500)]
Merge pull request #16738 from liewegas/wip-20810

os/bluestore: fix dirty_range on _do_clone_range

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16789 from liewegas/wip-ec-m-2
Josh Durgin [Thu, 3 Aug 2017 18:20:13 +0000 (11:20 -0700)]
Merge pull request #16789 from liewegas/wip-ec-m-2

qa: avoid map-gap tests for k=2 m=1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16795 from liewegas/wip-mgr-whitelist
Sage Weil [Thu, 3 Aug 2017 18:14:20 +0000 (13:14 -0500)]
Merge pull request #16795 from liewegas/wip-mgr-whitelist

qa/suites/rados/mgr/tasks/failover: whitelist

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/suites/rados/thrash-erasure-code: do not test map gap with m=1 16789/head
Sage Weil [Thu, 3 Aug 2017 18:13:02 +0000 (14:13 -0400)]
qa/suites/rados/thrash-erasure-code: do not test map gap with m=1

We test EC profiles with m=1 here, and mapgap can lead to incomplete pgs
because it takes an osd down and waits for healthy.

Fixes: http://tracker.ceph.com/issues/20844
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/thrash-erasure-coe-big/clsuter: 12 osds on 3 nodes not 4
Sage Weil [Thu, 3 Aug 2017 18:11:43 +0000 (14:11 -0400)]
qa/suites/rados/thrash-erasure-coe-big/clsuter: 12 osds on 3 nodes not 4

smithi have 4 nvme partitions available, not 3.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16797 from jdurgin/wip-upgrade-jewel-x
Josh Durgin [Thu, 3 Aug 2017 18:11:41 +0000 (11:11 -0700)]
Merge pull request #16797 from jdurgin/wip-upgrade-jewel-x

qa: timeout when waiting for mgr to be available in healthy()

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/thrash-erasure-code-big: add k=4 m=2
Sage Weil [Thu, 3 Aug 2017 18:10:36 +0000 (14:10 -0400)]
qa/suites/rados/thrash-erasure-code-big: add k=4 m=2

Get better coverage for larger codes.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/monthrash/worklaods/rados_api_tests: whitelist SMALLER_PGP_NUM 16795/head
Sage Weil [Thu, 3 Aug 2017 17:31:39 +0000 (13:31 -0400)]
qa/suites/rados/monthrash/worklaods/rados_api_tests: whitelist SMALLER_PGP_NUM

The rados/test.sh fiddles with pg_num.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/mgr/tasks/failover: whitelist
Sage Weil [Thu, 3 Aug 2017 16:40:01 +0000 (12:40 -0400)]
qa/suites/rados/mgr/tasks/failover: whitelist

remote/smithi025/log/ceph.log.gz:2017-08-03 07:02:15.049074 mon.b mon.0 172.21.15.25:6789/0 197 : cluster [INF] Manager daemon x is unresponsive, replacing it with standby daemon y
remote/smithi025/log/ceph.log.gz:2017-08-03 07:03:10.078032 mon.b mon.0 172.21.15.25:6789/0 226 : cluster [WRN] Manager daemon x is unresponsive.  No standby daemons available.

x and y may be swapped, so whitelist the rest of the string.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16764 from liewegas/wip-release-notes
Sage Weil [Thu, 3 Aug 2017 13:28:20 +0000 (08:28 -0500)]
Merge pull request #16764 from liewegas/wip-release-notes

doc/release-notes: sort release note changes into the right section

7 years agoMerge pull request #16765 from liewegas/wip-bluestore-docs
Sage Weil [Thu, 3 Aug 2017 13:27:41 +0000 (08:27 -0500)]
Merge pull request #16765 from liewegas/wip-bluestore-docs

doc/rados/configuration: document bluestore

7 years agodoc/rados/configuration/bluestore-config-ref: devices, checksumming, cache 16765/head
Sage Weil [Thu, 3 Aug 2017 13:21:18 +0000 (09:21 -0400)]
doc/rados/configuration/bluestore-config-ref: devices, checksumming, cache

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16773 from dmick/wip-make-check-cleanup
Sage Weil [Thu, 3 Aug 2017 13:19:48 +0000 (08:19 -0500)]
Merge pull request #16773 from dmick/wip-make-check-cleanup

Clean up make check for persistent test nodes (like arm64)

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16683 from Liuchang0812/clear-result-in-getchildren
Kefu Chai [Thu, 3 Aug 2017 13:17:06 +0000 (21:17 +0800)]
Merge pull request #16683 from Liuchang0812/clear-result-in-getchildren

os/bluestore: clear result in BlueRocksEnv::getChildren

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16717 from gmayyyha/osd-objectstore-20865
Kefu Chai [Thu, 3 Aug 2017 13:14:34 +0000 (21:14 +0800)]
Merge pull request #16717 from gmayyyha/osd-objectstore-20865

ceph-osd: fix auto detect which objectstore is currently running

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
7 years agoMerge pull request #16777 from SUSE/wip-20894
Kefu Chai [Thu, 3 Aug 2017 12:22:03 +0000 (20:22 +0800)]
Merge pull request #16777 from SUSE/wip-20894

doc: document "rados cleanup" in rados manpage

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16775 from ovh/bp-fr-pendingnotes-update
Abhishek L [Thu, 3 Aug 2017 09:30:01 +0000 (11:30 +0200)]
Merge pull request #16775 from ovh/bp-fr-pendingnotes-update

PendingReleaseNotes: mention forced recovery

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodoc: document "rados cleanup" in rados manpage 16777/head
Nathan Cutler [Thu, 3 Aug 2017 09:08:48 +0000 (11:08 +0200)]
doc: document "rados cleanup" in rados manpage

Fixes: http://tracker.ceph.com/issues/20894
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoPendingReleaseNotes: mention forced recovery 16775/head
Piotr Dałek [Thu, 3 Aug 2017 07:45:28 +0000 (09:45 +0200)]
PendingReleaseNotes: mention forced recovery

Mention forced recovery in release notes.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
7 years agoqa: use new hex rep of inode 16292/head
Patrick Donnelly [Thu, 3 Aug 2017 04:39:48 +0000 (21:39 -0700)]
qa: use new hex rep of inode

Resolves a failure from QA:

    2017-08-02T19:23:27.489 INFO:tasks.cephfs_test_runner:======================================================================
    2017-08-02T19:23:27.489 INFO:tasks.cephfs_test_runner:FAIL: test_oversize (tasks.cephfs.test_fragment.TestFragmentation)
    2017-08-02T19:23:27.489 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
    2017-08-02T19:23:27.490 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
    2017-08-02T19:23:27.490 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20170802/qa/tasks/cephfs/test_fragment.py", line 71, in test_oversize
    2017-08-02T19:23:27.490 INFO:tasks.cephfs_test_runner:    self.assertEqual(frags[0]['dirfrag'], "10000000000.0*")
    2017-08-02T19:23:27.490 INFO:tasks.cephfs_test_runner:AssertionError: u'0x10000000000.0*' != '10000000000.0*'
    2017-08-02T19:23:27.490 INFO:tasks.cephfs_test_runner:

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agotest/encoding/readable.sh: clean up all tmpfiles/dirs 16773/head
Dan Mick [Thu, 3 Aug 2017 04:11:09 +0000 (21:11 -0700)]
test/encoding/readable.sh: clean up all tmpfiles/dirs

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agorun-make-check.sh: set ulimit -n (because no one else does)
Dan Mick [Thu, 3 Aug 2017 03:00:07 +0000 (20:00 -0700)]
run-make-check.sh: set ulimit -n (because no one else does)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #16678 from mychoxin/yuanxin_make_print_informative
Gregory Farnum [Thu, 3 Aug 2017 02:59:50 +0000 (19:59 -0700)]
Merge pull request #16678 from mychoxin/yuanxin_make_print_informative

print more information when run ceph-osd cmd with 'check options'

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge PR #16713 into master
Patrick Donnelly [Thu, 3 Aug 2017 02:41:42 +0000 (19:41 -0700)]
Merge PR #16713 into master

* refs/remotes/upstream/pull/16713/head:
qa: ignore failed MDS message during upgrade

7 years agoMerge PR #16691 into master
Patrick Donnelly [Thu, 3 Aug 2017 01:42:37 +0000 (18:42 -0700)]
Merge PR #16691 into master

* refs/remotes/upstream/pull/16691/head:
doc: update client.admin key refs to "mds 'allow'"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #16714 into master
Patrick Donnelly [Thu, 3 Aug 2017 01:41:12 +0000 (18:41 -0700)]
Merge PR #16714 into master

* refs/remotes/upstream/pull/16714/head:
qa: test export_pin is correct in dumped subtree
mds: print export_pin for dumped subtree

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
7 years agoqa: fix whitelist error message
Patrick Donnelly [Wed, 2 Aug 2017 23:52:30 +0000 (16:52 -0700)]
qa: fix whitelist error message

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa: fix log whitelist string 16768/head
Patrick Donnelly [Wed, 2 Aug 2017 23:32:19 +0000 (16:32 -0700)]
qa: fix log whitelist string

Fixes: http://tracker.ceph.com/issues/20889
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #16732 from Abhishekvrshny/fix-rgw-mp-races
Matt Benjamin [Wed, 2 Aug 2017 20:06:08 +0000 (16:06 -0400)]
Merge pull request #16732 from Abhishekvrshny/fix-rgw-mp-races

rgw : fix race in RGWCompleteMultipart

7 years agodoc/rados/configuration: document bluestore
Sage Weil [Wed, 2 Aug 2017 19:48:36 +0000 (15:48 -0400)]
doc/rados/configuration: document bluestore

Initial pass here.  Not yet complete.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/release-notes: cleanup 16764/head
Sage Weil [Wed, 2 Aug 2017 19:16:54 +0000 (15:16 -0400)]
doc/release-notes: cleanup

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agorgw : fix race in RGWCompleteMultipart 16732/head
Abhishek Varshney [Tue, 1 Aug 2017 14:46:52 +0000 (14:46 +0000)]
rgw : fix race in RGWCompleteMultipart

Fixes : http://tracker.ceph.com/issues/20861

Signed-off-by: Abhishek Varshney <abhishek.varshney@flipkart.com>
7 years agoMerge pull request #16377 from theanalyst/doc/release-notes/12.1.1
Sage Weil [Wed, 2 Aug 2017 16:02:59 +0000 (11:02 -0500)]
Merge pull request #16377 from theanalyst/doc/release-notes/12.1.1

doc: 12.1.1 & 12.1.2 release notes

7 years agoMerge pull request #16308 from joscollin/wip-rbd-nbd-return-values
Yuri Weinstein [Wed, 2 Aug 2017 16:01:27 +0000 (09:01 -0700)]
Merge pull request #16308 from joscollin/wip-rbd-nbd-return-values

tools/rbd, rgw: Removed unreachable returns

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>