]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomgr: move handle_pyerror() from MgrPyModules to MgrPyModule 14189/head
Kefu Chai [Fri, 21 Apr 2017 04:50:18 +0000 (12:50 +0800)]
mgr: move handle_pyerror() from MgrPyModules to MgrPyModule

so we can reuse it in a more sane way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomgr/MgrPyModule::handle_command: order stringstreams to match intent
Dan Mick [Wed, 12 Apr 2017 02:13:29 +0000 (19:13 -0700)]
mgr/MgrPyModule::handle_command: order stringstreams to match intent

ds is intended for command output (like stdout), to be shown/saved
when there's no error returned; ss is for error status (like stderr)
to further explain the error.  mgr Python tracebacks should go to
the latter.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agomgr/PyModules handle_pyerror: don't add extra newlines to tb
Dan Mick [Tue, 11 Apr 2017 23:27:33 +0000 (16:27 -0700)]
mgr/PyModules handle_pyerror: don't add extra newlines to tb

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agomgr/MgrPyModule.cc: get Python traceback in all CallMethod spots
Dan Mick [Tue, 11 Apr 2017 22:31:08 +0000 (15:31 -0700)]
mgr/MgrPyModule.cc: get Python traceback in all CallMethod spots

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agomgr: log module name before PyErr_Print()
Tim Serong [Fri, 24 Mar 2017 13:36:27 +0000 (14:36 +0100)]
mgr: log module name before PyErr_Print()

If an exception is raised in any of the python module functions
invoked by mgr (for example, ImportError if rest_framework isn't
available when serve() in called in the rest module), print the
module name along with the failed method name.

This commit also fixes what looks to me like a missed call to
PyGILState_Release() in the failure case in MgrPyModule::serve().

Signed-off-by: Tim Serong <tserong@suse.com>
8 years agomgr: redirect python stdout,stderr to ceph log
Kefu Chai [Tue, 28 Mar 2017 10:49:01 +0000 (18:49 +0800)]
mgr: redirect python stdout,stderr to ceph log

PyErr_Print() uses a file object "stderr" for printing messages.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13978 from trociny/wip-18787
Jason Dillaman [Fri, 21 Apr 2017 01:52:56 +0000 (21:52 -0400)]
Merge pull request #13978 from trociny/wip-18787

rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14647 from dzafman/wip-19698
David Zafman [Fri, 21 Apr 2017 01:18:16 +0000 (18:18 -0700)]
Merge pull request #14647 from dzafman/wip-19698

Fix full testing in cephtool/test.sh when used by rados suite
Replace using sleep with new wait_for_health() bash function

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agocephtool.yaml: Add "failsafe" osd error messages to whitelist 14647/head
David Zafman [Thu, 20 Apr 2017 19:57:43 +0000 (12:57 -0700)]
cephtool.yaml: Add "failsafe" osd error messages to whitelist

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoqa/workunits/ceph-helpers.sh: Improve test_mon_pg() by starting healthy
Willem Jan Withagen [Thu, 20 Apr 2017 15:49:41 +0000 (08:49 -0700)]
qa/workunits/ceph-helpers.sh: Improve test_mon_pg() by starting healthy

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoqa/workunits/ceph-helpers.sh: introduce (and use) wait_for_health
Willem Jan Withagen [Wed, 19 Apr 2017 09:35:38 +0000 (11:35 +0200)]
qa/workunits/ceph-helpers.sh: introduce (and use) wait_for_health

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agomon: Fix incorrect health output and test code to match
David Zafman [Thu, 20 Apr 2017 05:42:01 +0000 (22:42 -0700)]
mon: Fix incorrect health output and test code to match

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years ago/workunits/cephtool/test.sh: Improve testing of health-output.
David Zafman [Thu, 20 Apr 2017 06:20:22 +0000 (23:20 -0700)]
/workunits/cephtool/test.sh: Improve testing of health-output.

Instead of 9ff401e65b1a66a320953aeef8ab65b6f1fb6f10 use regex to handle:
       HEALTH_ERR 2 pgs stuck unclean; Full ratio(s) out of order

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agotest: Fix test_admin_heap_profiler() and enable it
David Zafman [Wed, 19 Apr 2017 23:54:07 +0000 (16:54 -0700)]
test: Fix test_admin_heap_profiler() and enable it

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agocephtool/test.sh: Get socket for whichever environment this test is running
David Zafman [Wed, 19 Apr 2017 23:30:58 +0000 (16:30 -0700)]
cephtool/test.sh: Get socket for whichever environment this test is running

Need sudo for qa suite runs

Fixes: http://tracker.ceph.com/issues/19698
Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #14689 from liewegas/wip-jewel-x
Sage Weil [Thu, 20 Apr 2017 22:27:29 +0000 (17:27 -0500)]
Merge pull request #14689 from liewegas/wip-jewel-x

qa/suites/upgrade/jewel-x: add mgr.x role

8 years agoMerge pull request #14423 from tchaikov/wip-cmake-crc32-cleanup
Sage Weil [Thu, 20 Apr 2017 20:13:40 +0000 (15:13 -0500)]
Merge pull request #14423 from tchaikov/wip-cmake-crc32-cleanup

cmake: should not compile crc32c_ppc.c on intel arch.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14434 from ifed01/wip-bluestore-params
Sage Weil [Thu, 20 Apr 2017 20:13:18 +0000 (15:13 -0500)]
Merge pull request #14434 from ifed01/wip-bluestore-params

os/bluestore: make bluestore_max_blob_size parameter hdd/ssd case dependant

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14448 from majianpeng/bluestore-kv-queued-lat
Sage Weil [Thu, 20 Apr 2017 20:12:58 +0000 (15:12 -0500)]
Merge pull request #14448 from majianpeng/bluestore-kv-queued-lat

os/bluestore: Record l_bluestore_state_kv_queued_lat for sync_submit_…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14549 from tchaikov/wip-kill-clang-warnings
Sage Weil [Thu, 20 Apr 2017 20:12:36 +0000 (15:12 -0500)]
Merge pull request #14549 from tchaikov/wip-kill-clang-warnings

misc: kill clang warnings

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #14557 from liewegas/wip-bluefs-balance-interval
Sage Weil [Thu, 20 Apr 2017 20:12:09 +0000 (15:12 -0500)]
Merge pull request #14557 from liewegas/wip-bluefs-balance-interval

os/bluestore: do not balance bluefs on every kv_sync_thread iteration

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoqa/suites/upgrade/jewel-x/point-to-point: no xenial 14689/head
Sage Weil [Thu, 20 Apr 2017 18:18:59 +0000 (14:18 -0400)]
qa/suites/upgrade/jewel-x/point-to-point: no xenial

Avoid conflict with upstream repo having a newer version
than what we're installing.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoupgrade/jewel-x/stress-split: not pg import/export tests during upgrade
Sage Weil [Thu, 20 Apr 2017 18:17:19 +0000 (14:17 -0400)]
upgrade/jewel-x/stress-split: not pg import/export tests during upgrade

These aren't meant to be run on a mixed-version cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11796 from linuxbox2/wip-bucket-size-ck
Matt Benjamin [Thu, 20 Apr 2017 17:42:03 +0000 (13:42 -0400)]
Merge pull request #11796 from linuxbox2/wip-bucket-size-ck

rgw: add bucket size limit check to radosgw-admin

8 years agoMerge pull request #14690 from ceph/luminous
Sage Weil [Thu, 20 Apr 2017 16:55:00 +0000 (11:55 -0500)]
Merge pull request #14690 from ceph/luminous

build/ops: add 12.0.1 release tag in master

8 years agoqa/suites/upgrade/jewel-x: add mgr.x role
Sage Weil [Sun, 9 Apr 2017 18:30:02 +0000 (14:30 -0400)]
qa/suites/upgrade/jewel-x: add mgr.x role

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorgw: add bucket size limit check to radosgw-admin 11796/head
Matt Benjamin [Sat, 5 Nov 2016 17:13:47 +0000 (13:13 -0400)]
rgw: add bucket size limit check to radosgw-admin

The change adds a new list of all buckets x all users, with
fields for bucket name, tenant name, current num_objects,
current num_shards, current objects per shard, and the
corresponding fill_status--the latter consisting of 'OK',
'WARN <n>%', or 'OVER <n>%.'

The warning check is relative to two new tunables.  The threshold
max objects per shard is set as rgw_bucket_safe_max_objects_per_shard,
which defaults to 100K.  The value rgw_bucket_warning_threshold is
a percent of the current safe max at which to warn (defaults to
90% of full).

From review:

* fix indentation (rgw_admin)
* if user a user_id is provided, check only buckets for that user
* update shard warn pct to be pct-of-fill (not 100 - pct-of-fill)
* print only buckets near or over per-shard limit, if --warnings-only
* s/bucket limitcheck/bucket limit check */
* sanity shard limit should be 90, not 10 (because that changed)
* fixes for memleaks and other points found by cbodley

Fixes: http://tracker.ceph.com/issues/17925
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #14447 from ukernel/wip-19450
John Spray [Thu, 20 Apr 2017 14:55:43 +0000 (15:55 +0100)]
Merge pull request #14447 from ukernel/wip-19450

mds: drop partial entry and adjust write_pos when opening PurgeQueue

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agorbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC 13978/head
Mykola Golub [Wed, 15 Mar 2017 09:47:00 +0000 (10:47 +0100)]
rbd-mirror A/A: proxy InstanceReplayer APIs via InstanceWatcher RPC

Fixes: http://tracker.ceph.com/issues/18787
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agotest/librados_test_stub: mock wrapper for aio_notify
Mykola Golub [Thu, 20 Apr 2017 09:51:55 +0000 (11:51 +0200)]
test/librados_test_stub: mock wrapper for aio_notify

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agorbd-mirror: possible lockdep false positive
Mykola Golub [Thu, 6 Apr 2017 06:49:51 +0000 (08:49 +0200)]
rbd-mirror: possible lockdep false positive

(when InstanceWatcher::remove_instance is called)

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agolibrbd: race between notify context completion and Notifier destroy
Mykola Golub [Sun, 2 Apr 2017 15:19:14 +0000 (17:19 +0200)]
librbd: race between notify context completion and Notifier destroy

The assert "m_pending_aio_notifies == 0" could fail in the destructor.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoqa/workunits/rbd: don't use deprecated syntax
Mykola Golub [Sun, 19 Mar 2017 11:58:29 +0000 (12:58 +0100)]
qa/workunits/rbd: don't use deprecated syntax

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agorbd-mirror: remove recently added public peer image types
Mykola Golub [Fri, 14 Apr 2017 07:03:20 +0000 (09:03 +0200)]
rbd-mirror: remove recently added public peer image types

They were supposed to be used to pass a list of peer images.
It has turned out unnecessary.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14638 from dillaman/wip-19692
Nathan Cutler [Thu, 20 Apr 2017 12:12:24 +0000 (14:12 +0200)]
Merge pull request #14638 from dillaman/wip-19692

test: rbd master/slave notify test should test active features

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #14197 from jcsp/wip-19395-counter
John Spray [Thu, 20 Apr 2017 08:40:37 +0000 (09:40 +0100)]
Merge pull request #14197 from jcsp/wip-19395-counter

mds: use same inode count in health check as in trim

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #14649 from hikycool/master
Kefu Chai [Thu, 20 Apr 2017 06:45:29 +0000 (14:45 +0800)]
Merge pull request #14649 from hikycool/master

doc: update packages mentioned by build-doc and related doc

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14650 from optimistyzy/420_1
Haomai Wang [Thu, 20 Apr 2017 06:29:10 +0000 (14:29 +0800)]
Merge pull request #14650 from optimistyzy/420_1

NVMEDevice: remove unnessary dpdk header file

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoNVMEDevice: remove unnessary dpdk header file 14650/head
optimistyzy [Thu, 20 Apr 2017 05:48:00 +0000 (13:48 +0800)]
NVMEDevice: remove unnessary dpdk header file

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
8 years agodoc: correct the package name in ceph/admin/build-doc 14649/head
Yu Shengzuo [Thu, 20 Apr 2017 05:14:29 +0000 (05:14 +0000)]
doc: correct the package name in ceph/admin/build-doc

In document, it is called 'libxml2-devel', one of the dependent
package of CentOS/RHEL7. But the 'build-doc' check 'libxml-devel'.
And it id also called 'libxml2-devel' in software of yum repo .
So correct the checked package name in ceph/admin/build-doc.

Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
8 years agodoc: update dependent packages links and remove a 'important' tip
Yu Shengzuo [Thu, 20 Apr 2017 03:39:29 +0000 (03:39 +0000)]
doc: update dependent packages links and remove a 'important' tip

Some links in document has been deprecated, such as:
http://rpmfind.net/linux/centos/7.0.1406/, So update it;
The 'fc21, fc24, fc26(newest)' rpm 'ditaa' can be used in
CentOS/RHEL7 to build doc. So remove the '...important' tip.

Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
8 years agoMerge pull request #14608 from tchaikov/wip-19594 14630/head
Kefu Chai [Thu, 20 Apr 2017 02:49:12 +0000 (10:49 +0800)]
Merge pull request #14608 from tchaikov/wip-19594

qa/tasks: assert on pg status with a timeout

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: use inc.modified as the ctime for MOSDPGCreate 14608/head
Kefu Chai [Wed, 19 Apr 2017 13:41:48 +0000 (21:41 +0800)]
mon/OSDMonitor: use inc.modified as the ctime for MOSDPGCreate

so the last_scrub_time of the newly created pg is consistent

Fixes: http://tracker.ceph.com/issues/19594
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/tasks: update tests with helper to wait for pg-stats
Kefu Chai [Wed, 19 Apr 2017 08:38:06 +0000 (16:38 +0800)]
qa/tasks: update tests with helper to wait for pg-stats

and remove unused helpers

Fixes: http://tracker.ceph.com/issues/19594
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/tasks/ceph_manager: add a "wait_for_pg_stats()" decorator
Kefu Chai [Wed, 19 Apr 2017 08:13:18 +0000 (16:13 +0800)]
qa/tasks/ceph_manager: add a "wait_for_pg_stats()" decorator

and accompany it with two helpers to access the pg stats in a more
natural way

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14496 from jdurgin/wip-ec-overwrites-cleanup
Josh Durgin [Thu, 20 Apr 2017 00:56:28 +0000 (17:56 -0700)]
Merge pull request #14496 from jdurgin/wip-ec-overwrites-cleanup

osd: make ec overwrites ready to use

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa: use bluestore for (k)rbd ec overwrites tests 14496/head
Josh Durgin [Wed, 19 Apr 2017 23:46:09 +0000 (16:46 -0700)]
qa: use bluestore for (k)rbd ec overwrites tests

Only bluestore supports ec overwrites

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa: use bluestore for cephfs cephtool tests
Josh Durgin [Wed, 19 Apr 2017 05:54:04 +0000 (22:54 -0700)]
qa: use bluestore for cephfs cephtool tests

This lets the tests enable ec overwrites

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa: use 4k stripe_width again for test_rados_tool.sh
Josh Durgin [Fri, 14 Apr 2017 00:31:02 +0000 (17:31 -0700)]
qa: use 4k stripe_width again for test_rados_tool.sh

The stripe_unit change altered the default stripe_width to depend on k.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa: move ec overwrites tests to a bluestore-only subsuite
Josh Durgin [Thu, 13 Apr 2017 19:04:10 +0000 (12:04 -0700)]
qa: move ec overwrites tests to a bluestore-only subsuite

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agodoc: update ec docs for overwrite support
Josh Durgin [Thu, 13 Apr 2017 02:39:22 +0000 (19:39 -0700)]
doc: update ec docs for overwrite support

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoPendingReleaseNotes: note about ec overwrites
Josh Durgin [Thu, 13 Apr 2017 00:59:57 +0000 (17:59 -0700)]
PendingReleaseNotes: note about ec overwrites

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoosd,OSDMonitor: try to protect against ec overwrites with filestore
Josh Durgin [Thu, 6 Apr 2017 18:40:41 +0000 (11:40 -0700)]
osd,OSDMonitor: try to protect against ec overwrites with filestore

This isn't perfect, but it's better than nothing. Prevent enabling the
allow_ec_overwrites flag if any of a sample of pgs in the pool map to
osds using filestore. This mainly protects filestore-only clusters
from enabling it.

If a filestore osd is started later, warn in the cluster log when it
gets a pg with ec overwrites enabled.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agotest/osd/osd-scrub-repair.sh: add ec overwrites test cases
Josh Durgin [Thu, 16 Feb 2017 08:30:00 +0000 (00:30 -0800)]
test/osd/osd-scrub-repair.sh: add ec overwrites test cases

Move pool and profile creation into a single function, and
add a 'allow_overwrites' parameter for it so each ec test
can be paramterized by it.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/tasks/rados: test sparse reads with ec overwrites
Josh Durgin [Wed, 15 Feb 2017 01:03:19 +0000 (17:03 -0800)]
qa/tasks/rados: test sparse reads with ec overwrites

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoosd, OSDMonitor, qa: mark ec overwrites non-experimental
Josh Durgin [Tue, 14 Feb 2017 08:04:12 +0000 (00:04 -0800)]
osd, OSDMonitor, qa: mark ec overwrites non-experimental

Keep the pool flag around so we can distinguish between a pool that
should maintain hashes for each chunk, and a missing one is a bug, vs
an overwrites pool where we rely on bluestore checksums for detecting
corruption.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoOSDMonitor: get stripe_width via stripe_unit in ec profile
Josh Durgin [Tue, 14 Feb 2017 01:42:33 +0000 (17:42 -0800)]
OSDMonitor: get stripe_width via stripe_unit in ec profile

With bluestore, making the smallest write match min_alloc_size avoids
write amplification. With EC pools this is the stripe unit, or
stripe_width / num_data_chunks. Rather than requiring people to divide
by k to get the smallest ec write, allow it to be specified directly
via stripe_unit. Store it in the ec profile so changing a monitor
config option isn't necessary to set it.

This is particularly important for ec overwrites since they allow random i/o
which should match bluestore's checksum granularity (aka min_alloc_size).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #14256 from dillaman/wip-19297
Sage Weil [Wed, 19 Apr 2017 22:08:35 +0000 (17:08 -0500)]
Merge pull request #14256 from dillaman/wip-19297

osd: new op for calculating an extent checksum

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14414 from Adirl/is_ready
Sage Weil [Wed, 19 Apr 2017 22:08:11 +0000 (17:08 -0500)]
Merge pull request #14414 from Adirl/is_ready

msg/async: Postpone bind if network stack is not ready

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #14486 from dachary/wip-multiweight
Sage Weil [Wed, 19 Apr 2017 22:07:19 +0000 (17:07 -0500)]
Merge pull request #14486 from dachary/wip-multiweight

crush: weight_set and id remapping

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14556 from liewegas/wip-pgupmap
Sage Weil [Wed, 19 Apr 2017 22:07:01 +0000 (17:07 -0500)]
Merge pull request #14556 from liewegas/wip-pgupmap

osd: pg-remap -> pg-upmap

Reviewed-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #14554 from ukernel/wip-19630
John Spray [Wed, 19 Apr 2017 18:24:01 +0000 (19:24 +0100)]
Merge pull request #14554 from ukernel/wip-19630

mds: fix stray creation/removal notification

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #14433 from cbodley/wip-rgw-multi-py
Yehuda Sadeh [Wed, 19 Apr 2017 17:22:40 +0000 (10:22 -0700)]
Merge pull request #14433 from cbodley/wip-rgw-multi-py

test/rgw: refactor test_multi.py for use in qa suite

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #14623 from liewegas/wip-bluestore-compression
Sage Weil [Wed, 19 Apr 2017 17:01:00 +0000 (12:01 -0500)]
Merge pull request #14623 from liewegas/wip-bluestore-compression

qa/objectstore: test bluestore with aggressive compression

8 years agoMerge pull request #14642 from linuxbox2/wip-rgw-poolcreate-erange
Matt Benjamin [Wed, 19 Apr 2017 15:52:52 +0000 (11:52 -0400)]
Merge pull request #14642 from linuxbox2/wip-rgw-poolcreate-erange

rgw: error more verbosely in RGWRados::create_pool

8 years agorgw: error more verbosely in RGWRados::create_pool 14642/head
Matt Benjamin [Wed, 19 Apr 2017 14:02:58 +0000 (10:02 -0400)]
rgw: error more verbosely in RGWRados::create_pool

Adds detail when pool creation fails with ERANGE, which can be
caused by pool settings.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #14637 from ovh/bp-test-osd-dup-warn-on-low-limit
Sage Weil [Wed, 19 Apr 2017 14:46:28 +0000 (09:46 -0500)]
Merge pull request #14637 from ovh/bp-test-osd-dup-warn-on-low-limit

test/osd/osd-dup.sh: warn on low open file limit

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotest: rbd master/slave notify test should test active features 14638/head
Jason Dillaman [Wed, 19 Apr 2017 13:26:31 +0000 (09:26 -0400)]
test: rbd master/slave notify test should test active features

Fixes: http://tracker.ceph.com/issues/19692
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoqa/suites: client-upgrade/jewel-client-x should test multiple features
Jason Dillaman [Wed, 19 Apr 2017 13:12:04 +0000 (09:12 -0400)]
qa/suites: client-upgrade/jewel-client-x should test multiple features

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14631 from idryomov/wip-krbd-data-pool-fix
Jason Dillaman [Wed, 19 Apr 2017 11:30:27 +0000 (07:30 -0400)]
Merge pull request #14631 from idryomov/wip-krbd-data-pool-fix

qa: krbd_data_pool.sh: account for rbd_info metadata object

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14385 from smithfarm/wip-release-script-strip-periods
Abhishek L [Wed, 19 Apr 2017 11:08:47 +0000 (13:08 +0200)]
Merge pull request #14385 from smithfarm/wip-release-script-strip-periods

tools: ceph-release-notes: strip trailing punctuation

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agotest/osd/osd-dup.sh: warn on low open file limit 14637/head
Piotr Dałek [Wed, 19 Apr 2017 10:57:38 +0000 (12:57 +0200)]
test/osd/osd-dup.sh: warn on low open file limit

This test fails badly when open file limit is low. Increasing to around
1536 seems to be doing the trick, so warn the user with appropriate
message and try to proceed anyway.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
8 years agoMerge pull request #14599 from smithfarm/wip-crushtool-mappings
Loic Dachary [Wed, 19 Apr 2017 09:42:37 +0000 (11:42 +0200)]
Merge pull request #14599 from smithfarm/wip-crushtool-mappings

doc: mention --show-mappings in crushtool manpage

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #14483 from wjwithagen/wip-wjw-freebsd-ceph-disk-list
Kefu Chai [Wed, 19 Apr 2017 01:23:32 +0000 (09:23 +0800)]
Merge pull request #14483 from wjwithagen/wip-wjw-freebsd-ceph-disk-list

src/ceph-disk/ceph_disk/main.py: Make 'ceph-disk list' work on FreeBSD

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest/rgw: rewrite test_multi.py in terms of rgw_multi 14433/head
Casey Bodley [Wed, 12 Apr 2017 17:43:32 +0000 (13:43 -0400)]
test/rgw: rewrite test_multi.py in terms of rgw_multi

logging changes inspired by Abhishek Lekshmanan <abhishek@suse.com>

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: add tests in rgw_multi/tests.py based on multisite.py
Casey Bodley [Wed, 12 Apr 2017 17:41:48 +0000 (13:41 -0400)]
test/rgw: add tests in rgw_multi/tests.py based on multisite.py

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: add rgw_multi/multisite.py
Casey Bodley [Wed, 12 Apr 2017 17:40:28 +0000 (13:40 -0400)]
test/rgw: add rgw_multi/multisite.py

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14614 from wjwithagen/wip-wjw-cephtool-test-mon.sh
Sage Weil [Tue, 18 Apr 2017 21:56:37 +0000 (16:56 -0500)]
Merge pull request #14614 from wjwithagen/wip-wjw-cephtool-test-mon.sh

qa/workunits/cephtool/test.sh: Be more liberal in testing health-output.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14106 from theanalyst/release/12.0.1
Abhishek L [Tue, 18 Apr 2017 21:14:18 +0000 (23:14 +0200)]
Merge pull request #14106 from theanalyst/release/12.0.1

doc: add 12.0.1 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/objecstore/bluestore-comp: test bluestore with compression on 14623/head
Sage Weil [Tue, 18 Apr 2017 20:53:58 +0000 (16:53 -0400)]
qa/objecstore/bluestore-comp: test bluestore with compression on

Enable aggressive compression.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/objectstore/bluestore: drop old option
Sage Weil [Tue, 18 Apr 2017 20:53:41 +0000 (16:53 -0400)]
qa/objectstore/bluestore: drop old option

This test code has been removed.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa: krbd_data_pool.sh: account for rbd_info metadata object 14631/head
Ilya Dryomov [Tue, 18 Apr 2017 19:20:31 +0000 (21:20 +0200)]
qa: krbd_data_pool.sh: account for rbd_info metadata object

... added in commit a16beba78435 ("librbd: image create validates that
pool supports overwrites").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agotest/rgw: add skeleton rgw_multi module
Casey Bodley [Wed, 12 Apr 2017 17:38:34 +0000 (13:38 -0400)]
test/rgw: add skeleton rgw_multi module

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: update and fixes for test-rgw-multisite.sh
Casey Bodley [Thu, 6 Apr 2017 23:10:33 +0000 (19:10 -0400)]
test/rgw: update and fixes for test-rgw-multisite.sh

the script was incomplete and unused, but it seems useful in itself
to bring up a simple multisite cluster without having to go through
test_multi.py. it's also a good test for functions in the other
test-rgw-*.sh scripts

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agotest/rgw: test_multi.py uses cluster_id for calls
Casey Bodley [Thu, 6 Apr 2017 23:05:28 +0000 (19:05 -0400)]
test/rgw: test_multi.py uses cluster_id for calls

this makes the underlying scripts more flexible, because they don't
depend on having a cluster name in the zgX-cY format

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14619 from cbodley/wip-rgw-encryption-build-fix
Sage Weil [Tue, 18 Apr 2017 18:17:52 +0000 (13:17 -0500)]
Merge pull request #14619 from cbodley/wip-rgw-encryption-build-fix

rgw: remove extra RGWMPObj in rgw_multi.h

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw: remove extra RGWMPObj in rgw_multi.h 14619/head
Casey Bodley [Tue, 18 Apr 2017 18:08:53 +0000 (14:08 -0400)]
rgw: remove extra RGWMPObj in rgw_multi.h

two separate PRs had done refactoring around RGWMPObj, and it ended up
in two different places. remove the one in rgw_multi.h, because
rgw_rados.h now depends on its definition

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14418 from songbaisen/m20
Sage Weil [Tue, 18 Apr 2017 17:43:28 +0000 (12:43 -0500)]
Merge pull request #14418 from songbaisen/m20

mon: fix synchronise pgmap with others

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14436 from dachary/wip-19513-ceph-disk-device-class
Sage Weil [Tue, 18 Apr 2017 17:43:04 +0000 (12:43 -0500)]
Merge pull request #14436 from dachary/wip-19513-ceph-disk-device-class

ceph-disk,osd: add support for crush device classes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14464 from ceph/wip-systemd
Zack Cerza [Tue, 18 Apr 2017 17:34:27 +0000 (11:34 -0600)]
Merge pull request #14464 from ceph/wip-systemd

qa/tasks: use sudo to check ceph health for systemd test

8 years agoMerge pull request #14615 from dillaman/wip-19636
Mykola Golub [Tue, 18 Apr 2017 17:28:01 +0000 (20:28 +0300)]
Merge pull request #14615 from dillaman/wip-19636

librbd: corrected resize RPC message backwards compatibility

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14381 from joscollin/wip-cleanup-osdmap-rangefor
Yuri Weinstein [Tue, 18 Apr 2017 17:08:41 +0000 (10:08 -0700)]
Merge pull request #14381 from joscollin/wip-cleanup-osdmap-rangefor

osd: Cleanup-Updated OSDMap.cc with C++11 style range-for loops

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14431 from liewegas/wip-mgrclient-leak
Yuri Weinstein [Tue, 18 Apr 2017 17:04:50 +0000 (10:04 -0700)]
Merge pull request #14431 from liewegas/wip-mgrclient-leak

mgr/MgrClient: fix reconnect event leak

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14507 from tchaikov/wip-19590
Yuri Weinstein [Tue, 18 Apr 2017 17:01:47 +0000 (10:01 -0700)]
Merge pull request #14507 from tchaikov/wip-19590

mgr: always free allocated MgrPyModule

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoosd: pg-remap -> pg-upmap 14556/head
Sage Weil [Tue, 18 Apr 2017 16:59:40 +0000 (12:59 -0400)]
osd: pg-remap -> pg-upmap

'remap' is to non-specific a name.  In particular, it
sounds like it is related to the 'remapped' PG state
but in reality it is not related.

'upmap' or 'pg-upmap' is more specific: it maps a pgid
to the 'up' set value (or item)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13597 from cbodley/wip-s3tests-crypto
Casey Bodley [Tue, 18 Apr 2017 16:28:37 +0000 (12:28 -0400)]
Merge pull request #13597 from cbodley/wip-s3tests-crypto

qa/rgw: add configuration for server-side encryption tests

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #13483 from ceph/wip-rgw-encryption-doc
Casey Bodley [Tue, 18 Apr 2017 16:27:27 +0000 (12:27 -0400)]
Merge pull request #13483 from ceph/wip-rgw-encryption-doc

doc: rgw server-side encryption and barbican

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
8 years agoMerge pull request #11049 from aclamk/wip-rgw-s3-crypto-sse-kms-plugin
Casey Bodley [Tue, 18 Apr 2017 16:25:09 +0000 (12:25 -0400)]
Merge pull request #11049 from aclamk/wip-rgw-s3-crypto-sse-kms-plugin

rgw: s3 server-side encryption (SSE-C, SSE-KMS)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #14415 from smithfarm/wip-19556
Kefu Chai [Tue, 18 Apr 2017 15:18:35 +0000 (23:18 +0800)]
Merge pull request #14415 from smithfarm/wip-19556

tests: Thrasher: handle "OSD has the store locked" gracefully

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14456 from tchaikov/wip-rocksdb-freebsd-build
Kefu Chai [Tue, 18 Apr 2017 15:17:03 +0000 (23:17 +0800)]
Merge pull request #14456 from tchaikov/wip-rocksdb-freebsd-build

rocksdb: sync with upstream

Reviewed-by: Nathan Cutler <ncutler@suse.com>