]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agotools: Add pg log trim command to ceph-objectstore-tool 20786/head
Josh Durgin [Tue, 6 Mar 2018 01:04:10 +0000 (20:04 -0500)]
tools: Add pg log trim command to ceph-objectstore-tool

Add test script that verifies the command in qa/standalone/osd

Fixes: http://tracker.ceph.com/issues/23242
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20648 from trociny/wip-snap_set_diff-empty_snapset
Jason Dillaman [Thu, 1 Mar 2018 20:35:40 +0000 (15:35 -0500)]
Merge pull request #20648 from trociny/wip-snap_set_diff-empty_snapset

librados/snap_set_diff: don't assert on empty snapset

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20613 from Songweibin/wip-23038
Jason Dillaman [Thu, 1 Mar 2018 20:35:23 +0000 (15:35 -0500)]
Merge pull request #20613 from Songweibin/wip-23038

rbd: import with option --export-format 2 fails to protect snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20608 from Songweibin/wip-rbd-snap-purge
Jason Dillaman [Thu, 1 Mar 2018 20:35:02 +0000 (15:35 -0500)]
Merge pull request #20608 from Songweibin/wip-rbd-snap-purge

rbd: allow remove all unprotected snapshots

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20578 from trociny/wip-pybind-group
Jason Dillaman [Thu, 1 Mar 2018 20:34:26 +0000 (15:34 -0500)]
Merge pull request #20578 from trociny/wip-pybind-group

librbd: small cleanup for recently merged code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20621 from cbodley/wip-rgw-data_lock
Casey Bodley [Thu, 1 Mar 2018 20:05:50 +0000 (15:05 -0500)]
Merge pull request #20621 from cbodley/wip-rgw-data_lock

rgw: don't hold data_lock over frontend io

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #20449 from cbodley/wip-rgw-beast-coroutine
Casey Bodley [Thu, 1 Mar 2018 20:04:59 +0000 (15:04 -0500)]
Merge pull request #20449 from cbodley/wip-rgw-beast-coroutine

rgw: switch beast frontend back to stackful coroutine

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #20546 from yehudasa/wip-rgw-gc-aio
Casey Bodley [Thu, 1 Mar 2018 18:54:11 +0000 (13:54 -0500)]
Merge pull request #20546 from yehudasa/wip-rgw-gc-aio

rgw: gc use aio

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
7 years agoMerge PR #20643 into master
Patrick Donnelly [Thu, 1 Mar 2018 16:48:30 +0000 (08:48 -0800)]
Merge PR #20643 into master

* refs/pull/20643/head:
ceph-volume-client: fix command argument order

Reviewed-by: Ramana Raja <rraja@redhat.com>
7 years agoMerge pull request #20650 from ceph/wip-rm22841
Andrew Schoen [Thu, 1 Mar 2018 15:42:38 +0000 (16:42 +0100)]
Merge pull request #20650 from ceph/wip-rm22841

ceph-volume be resilient to $PATH issues

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20656 from yaozongyou/rbd-fix-return
Jason Dillaman [Thu, 1 Mar 2018 13:45:03 +0000 (08:45 -0500)]
Merge pull request #20656 from yaozongyou/rbd-fix-return

librbd: fix missing return in NotifyMessage::get_notify_op

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: allow remove all unprotected snapshots 20608/head
songweibin [Thu, 1 Mar 2018 12:28:12 +0000 (20:28 +0800)]
rbd: allow remove all unprotected snapshots

allow remove all unprotected snapshots when exiting
protected snapshots in the same image.
Fixes: http://tracker.ceph.com/issues/23126
Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agorbd: import with option --export-format fails to protect snapshot 20613/head
songweibin [Tue, 27 Feb 2018 09:33:54 +0000 (17:33 +0800)]
rbd: import with option --export-format fails to protect snapshot

Fixes: http://tracker.ceph.com/issues/23038
Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoMerge pull request #20640 from tchaikov/wip-async-dpdk-temp-str
Kefu Chai [Thu, 1 Mar 2018 11:19:01 +0000 (19:19 +0800)]
Merge pull request #20640 from tchaikov/wip-async-dpdk-temp-str

msg/async: avoid referencing the temporary string

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #20531 from xiexingguo/wip-ec-scrub-sleep
Kefu Chai [Thu, 1 Mar 2018 11:17:26 +0000 (19:17 +0800)]
Merge pull request #20531 from xiexingguo/wip-ec-scrub-sleep

osd/ECBackend: inject sleep during deep scrub

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20630 from joscollin/wip-doc-monitoring
Jos Collin [Thu, 1 Mar 2018 06:16:34 +0000 (11:46 +0530)]
Merge pull request #20630 from joscollin/wip-doc-monitoring

doc: Update monitoring.rst

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
7 years agodoc: Update monitoring.rst 20630/head
Jos Collin [Wed, 28 Feb 2018 06:16:45 +0000 (11:46 +0530)]
doc: Update monitoring.rst

Updated monitoring.rst with
* Latest command output
* misc doc fixes

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agorbd: fix return is missing in NotifyMessage::get_notify_op 20656/head
Yao Zongyou [Thu, 1 Mar 2018 03:15:44 +0000 (11:15 +0800)]
rbd: fix return is missing in NotifyMessage::get_notify_op

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agoceph-volume process always try to expand the executable 20650/head
Alfredo Deza [Wed, 28 Feb 2018 16:59:35 +0000 (11:59 -0500)]
ceph-volume process always try to expand the executable

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.util ensure behavior of new which utility
Alfredo Deza [Mon, 26 Feb 2018 21:27:38 +0000 (16:27 -0500)]
ceph-volume tests.util ensure behavior of new which utility

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util.system add a helper to find system executables
Alfredo Deza [Mon, 26 Feb 2018 21:17:12 +0000 (16:17 -0500)]
ceph-volume util.system add a helper to find system executables

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20646 from tchaikov/wip-qa/run-standalone.sh/python-path
Kefu Chai [Wed, 28 Feb 2018 16:03:28 +0000 (00:03 +0800)]
Merge pull request #20646 from tchaikov/wip-qa/run-standalone.sh/python-path

qa/run-standalone.sh: set PYTHONPATH for FreeBSD also

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #20634 from tchaikov/wip-delete-pool-in-standalone-test
Kefu Chai [Wed, 28 Feb 2018 15:47:39 +0000 (23:47 +0800)]
Merge pull request #20634 from tchaikov/wip-delete-pool-in-standalone-test

qa/standalone: extract delete_pool()

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20619 from theanalyst/doc/release-notes/12.2.4
Abhishek L [Wed, 28 Feb 2018 15:42:12 +0000 (16:42 +0100)]
Merge pull request #20619 from theanalyst/doc/release-notes/12.2.4

doc: 12.2.4 release notes

Reviewed-By: Alfredo Deza <adeza@redhat.com>
Reviewed-By: Lenz Grimmer <lgrimmer@suse.com>
7 years agolibrados/snap_set_diff: don't assert on empty snapset 20648/head
Mykola Golub [Mon, 19 Feb 2018 11:17:29 +0000 (13:17 +0200)]
librados/snap_set_diff: don't assert on empty snapset

Instead treat the diff as a full-object delta.

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoqa/run-standalone.sh: set PYTHONPATH for FreeBSD also 20646/head
Kefu Chai [Wed, 28 Feb 2018 14:22:03 +0000 (22:22 +0800)]
qa/run-standalone.sh: set PYTHONPATH for FreeBSD also

do not set PYTHONPATH=/usr/lib/python2.7/dist-packages anymore, it will
be overridden later on anyway.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19015 from hansbogert/master
Yuri Weinstein [Wed, 28 Feb 2018 14:25:31 +0000 (06:25 -0800)]
Merge pull request #19015 from hansbogert/master

mon: Add `ceph osd get-require-min-compat-client` command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #20607 from shangfufei/test_stack
Kefu Chai [Wed, 28 Feb 2018 14:02:02 +0000 (22:02 +0800)]
Merge pull request #20607 from shangfufei/test_stack

msg/async:fix the incoming parameter type of EventCenter::process_events()

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20509 from liewegas/wip-less-filestore-idempotent
Kefu Chai [Wed, 28 Feb 2018 13:59:24 +0000 (21:59 +0800)]
Merge pull request #20509 from liewegas/wip-less-filestore-idempotent

qa/tasks/filestore_idempotent: shorter test

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20498 from liewegas/wip-22616
Kefu Chai [Wed, 28 Feb 2018 13:58:14 +0000 (21:58 +0800)]
Merge pull request #20498 from liewegas/wip-22616

os/bluestore: trim cache every 50ms (instead of 200ms)

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #20616 from tchaikov/wip-cmake
Kefu Chai [Wed, 28 Feb 2018 13:53:23 +0000 (21:53 +0800)]
Merge pull request #20616 from tchaikov/wip-cmake

cmake/BuildBoost: fixes to ready seastar

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20636 from tchaikov/wip-23169
Kefu Chai [Wed, 28 Feb 2018 13:50:46 +0000 (21:50 +0800)]
Merge pull request #20636 from tchaikov/wip-23169

Revert "core: hint the dout()'s message crafting as a cold code."

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
7 years agoMerge pull request #20631 from tchaikov/wip-cmake-systemd
Kefu Chai [Wed, 28 Feb 2018 13:49:36 +0000 (21:49 +0800)]
Merge pull request #20631 from tchaikov/wip-cmake-systemd

cmake: s/sysconf/sysconfig/

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agoceph-volume-client: fix command argument order 20643/head
Patrick Donnelly [Tue, 27 Feb 2018 11:35:00 +0000 (03:35 -0800)]
ceph-volume-client: fix command argument order

Fixes: http://tracker.ceph.com/issues/22038
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomsg/async: avoid referencing the temporary string 20640/head
Kefu Chai [Wed, 28 Feb 2018 11:15:19 +0000 (19:15 +0800)]
msg/async: avoid referencing the temporary string

* get_val<std::string>(...) returns a temporary std::string, so we cannot
  keep a reference to it after evaluating this method. so convert it to
  an integer right away in the same expression.
* use std::stoull() with base = 16, so we can parse a hex string
  representing up to 64 bits.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #15849 from theanalyst/wip-doc-es
Abhishek L [Wed, 28 Feb 2018 09:44:43 +0000 (10:44 +0100)]
Merge pull request #15849 from theanalyst/wip-doc-es

doc: rgw add some basic documentation for sync plugins & ES

Reviewed-By: Yehuda Sadeh <yehuda@redhat.com>
7 years agodoc: 12.2.4 release notes 20619/head
Abhishek Lekshmanan [Tue, 27 Feb 2018 17:46:41 +0000 (18:46 +0100)]
doc: 12.2.4 release notes

And updating the release table

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoRevert "core: hint the dout()'s message crafting as a cold code." 20636/head
Kefu Chai [Wed, 28 Feb 2018 08:24:16 +0000 (16:24 +0800)]
Revert "core: hint the dout()'s message crafting as a cold code."

This reverts commit b265ed2955570c17b954270e6a1449637790e9b8.

with b265ed29, we cannot use `dout(10) << __func__ << ...` anymore for
logging the name of the inner most function. what we will have is
always `operator()`, because the lambda closure will be the inner most
function with the the hinting change.

Fixes: http://tracker.ceph.com/issues/23169
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/standalone: extract delete_pool() 20634/head
Kefu Chai [Wed, 28 Feb 2018 07:40:25 +0000 (15:40 +0800)]
qa/standalone: extract delete_pool()

some tests, like osd-backfill-stats.sh are using delete_pool(), but
they don't have this function defined. and this function is defined
in standalone tests separately, so would be simpler if we can
consolidate them in ceph-helper.sh.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20411 from majianpeng/sync-nvml-submodule
Kefu Chai [Wed, 28 Feb 2018 07:19:09 +0000 (15:19 +0800)]
Merge pull request #20411 from majianpeng/sync-nvml-submodule

cmake: sync nvml submodule to latest code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoos/bluestore: make PMEMDevice work based on latest pmdk. 20411/head
Jianpeng Ma [Wed, 28 Feb 2018 09:58:16 +0000 (17:58 +0800)]
os/bluestore: make PMEMDevice work based on latest pmdk.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agocmake: sync nvml submodule
Jianpeng Ma [Tue, 27 Feb 2018 11:49:59 +0000 (19:49 +0800)]
cmake: sync nvml submodule

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agocmake: s/sysconf/sysconfig/ 20631/head
Kefu Chai [Wed, 28 Feb 2018 06:49:43 +0000 (14:49 +0800)]
cmake: s/sysconf/sysconfig/

it's a regression caused by 638aadf

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20618 from tchaikov/wip-systemd-deb-env
Kefu Chai [Wed, 28 Feb 2018 06:42:34 +0000 (14:42 +0800)]
Merge pull request #20618 from tchaikov/wip-systemd-deb-env

cmake,deb: install system units using cmake

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20602 from gregsfortytwo/wip-23141-rotational
Kefu Chai [Wed, 28 Feb 2018 01:35:17 +0000 (09:35 +0800)]
Merge pull request #20602 from gregsfortytwo/wip-23141-rotational

os/bluestore: correctly check all block devices to decide if journal is_rotational

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #20595 from jcsp/wip-23037
Kefu Chai [Wed, 28 Feb 2018 01:33:33 +0000 (09:33 +0800)]
Merge pull request #20595 from jcsp/wip-23037

mgr: die on bind() failure

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20593 from tchaikov/wip-23121
Kefu Chai [Wed, 28 Feb 2018 01:31:07 +0000 (09:31 +0800)]
Merge pull request #20593 from tchaikov/wip-23121

ceph-objectstore-tool: don't destroy SnapMapper until the txn is completed

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #20540 from ovh/bp-optracker-cleanup
Kefu Chai [Wed, 28 Feb 2018 01:29:10 +0000 (09:29 +0800)]
Merge pull request #20540 from ovh/bp-optracker-cleanup

common/OpHistory: move insert/cleanup into separate thread

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20539 from zeichenanonym/mgr-prometheus-fix-metadata-does-not...
Kefu Chai [Wed, 28 Feb 2018 01:27:53 +0000 (09:27 +0800)]
Merge pull request #20539 from zeichenanonym/mgr-prometheus-fix-metadata-does-not-exist

mgr: prometheus: Don't crash on OSDs without metadata

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20530 from wido/issue-23078
Kefu Chai [Wed, 28 Feb 2018 01:25:16 +0000 (09:25 +0800)]
Merge pull request #20530 from wido/issue-23078

common/dns_resolv.cc: Query for AAAA-record if ms_bind_ipv6 is True

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20394 from liewegas/wip-pg-log-size
Kefu Chai [Wed, 28 Feb 2018 01:24:08 +0000 (09:24 +0800)]
Merge pull request #20394 from liewegas/wip-pg-log-size

osd: min_pg_log_entries == max == pg_log_dups_tracked

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20290 from rzarzynski/wip-common-subsystemmap
Kefu Chai [Wed, 28 Feb 2018 01:23:01 +0000 (09:23 +0800)]
Merge pull request #20290 from rzarzynski/wip-common-subsystemmap

core: make the main dout() paths faster and more maintanable

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20273 from adamemerson/wip-any-singleton-will-do
Kefu Chai [Wed, 28 Feb 2018 01:21:41 +0000 (09:21 +0800)]
Merge pull request #20273 from adamemerson/wip-any-singleton-will-do

common: Switch singletons to use immobile_any and cleanups

Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20528 from tchaikov/wip-22462
Kefu Chai [Wed, 28 Feb 2018 01:18:36 +0000 (09:18 +0800)]
Merge pull request #20528 from tchaikov/wip-22462

mon: add MMonHealth back

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20415 from wumingqiao/wip-fallocate
Kefu Chai [Wed, 28 Feb 2018 01:17:36 +0000 (09:17 +0800)]
Merge pull request #20415 from wumingqiao/wip-fallocate

filestore: include <linux/falloc.h>

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20620 from ceph/wip-rm23140
Alfredo Deza [Tue, 27 Feb 2018 21:42:47 +0000 (16:42 -0500)]
Merge pull request #20620 from ceph/wip-rm23140

ceph-volume: adds raw device support to 'lvm list'

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agolibrbd: normalization for group C API 20578/head
Mykola Golub [Tue, 27 Feb 2018 14:49:49 +0000 (16:49 +0200)]
librbd: normalization for group C API

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20599 from dillaman/wip-librbd-devstack-tempest
Mykola Golub [Tue, 27 Feb 2018 18:43:36 +0000 (20:43 +0200)]
Merge pull request #20599 from dillaman/wip-librbd-devstack-tempest

qa/workunits/rbd: switch devstack tempest to 17.2.0 tag

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agorgw: don't hold data_lock over frontend io 20621/head
Casey Bodley [Tue, 27 Feb 2018 18:20:32 +0000 (13:20 -0500)]
rgw: don't hold data_lock over frontend io

get_obj_data::data_lock protects access to the read_list, which the
librados finisher thread appends to on completions

locking isn't needed over calls to d->client_cb->handle_data() in
get_obj_iterate_cb(), because this callback is called synchronously
from the frontend/process_request() thread - no other thread will
be submitting io to the d->client_cb callback

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20612 from fangyuxiangGL/com
Casey Bodley [Tue, 27 Feb 2018 18:32:01 +0000 (13:32 -0500)]
Merge pull request #20612 from fangyuxiangGL/com

rgw: download object might fail for local invariable uninitialized

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19845 from fangyuxiangGL/escape
Yuri Weinstein [Tue, 27 Feb 2018 17:49:12 +0000 (09:49 -0800)]
Merge pull request #19845 from fangyuxiangGL/escape

rgw: rework json/xml escape usage follow #19806

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20352 from yehudasa/wip-22928
Yuri Weinstein [Tue, 27 Feb 2018 17:48:16 +0000 (09:48 -0800)]
Merge pull request #20352 from yehudasa/wip-22928

rgw: use explicit index pool placement

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #20440 from cbodley/wip-qa-rgw-beast
Yuri Weinstein [Tue, 27 Feb 2018 17:47:05 +0000 (09:47 -0800)]
Merge pull request #20440 from cbodley/wip-qa-rgw-beast

qa/rgw: remove some civetweb overrides for beast testing

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #20471 from mdw-at-linuxbox/wip-master-swacldel
Yuri Weinstein [Tue, 27 Feb 2018 17:46:30 +0000 (09:46 -0800)]
Merge pull request #20471 from mdw-at-linuxbox/wip-master-swacldel

rgw: Allow swift acls to be deleted.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agorgw: download object might fail for local invariable uninitialized 20612/head
fang yuxiang [Tue, 27 Feb 2018 17:05:22 +0000 (01:05 +0800)]
rgw: download object might fail for local invariable uninitialized

This is an omission in #20226

Fixes: http://tracker.ceph.com/issues/23146
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
7 years agoMerge pull request #20234 from smithfarm/wip-run-make-check
Nathan Cutler [Tue, 27 Feb 2018 16:33:14 +0000 (17:33 +0100)]
Merge pull request #20234 from smithfarm/wip-run-make-check

build/ops: run-make-check.sh: fix SUSE support

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocmake,deb: set EnvironmentFile using cmake 20618/head
Kefu Chai [Tue, 27 Feb 2018 08:42:48 +0000 (16:42 +0800)]
cmake,deb: set EnvironmentFile using cmake

this change also fix the EnvironmentFile specified in rbdmap.service.
without this change EnvironmentFile in rbdmap.service is always
/etc/sysconfig/ceph even on debian derived distros. after this change,
this variable is /etc/default/ceph in rbdmap.service shipped by the deb
packages.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agodebian: install system units using cmake
Kefu Chai [Tue, 27 Feb 2018 07:27:18 +0000 (15:27 +0800)]
debian: install system units using cmake

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-volume: if using lvm list on a device with many lvs, show them all 20620/head
Andrew Schoen [Tue, 27 Feb 2018 15:02:12 +0000 (09:02 -0600)]
ceph-volume: if using lvm list on a device with many lvs, show them all

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #20436 from smithfarm/wip-22999
Nathan Cutler [Tue, 27 Feb 2018 15:19:36 +0000 (16:19 +0100)]
Merge pull request #20436 from smithfarm/wip-22999

install-deps.sh: set python2 %bcond by environment

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agolibrbd: fix exit tracepoint leaks
Mykola Golub [Tue, 27 Feb 2018 14:47:12 +0000 (16:47 +0200)]
librbd: fix exit tracepoint leaks

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agotest/librbd: add empty directory rbd_list test
Mykola Golub [Tue, 27 Feb 2018 14:44:26 +0000 (16:44 +0200)]
test/librbd: add empty directory rbd_list test

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: leaking image close if remove failed due to operations disabled
Mykola Golub [Mon, 26 Feb 2018 11:20:55 +0000 (13:20 +0200)]
librbd: leaking image close if remove failed due to operations disabled

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agopybind/rbd: pool id in rbd_group_image_info_t should be int64_t
Mykola Golub [Sat, 24 Feb 2018 08:58:58 +0000 (10:58 +0200)]
pybind/rbd: pool id in rbd_group_image_info_t should be int64_t

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #20611 from Leeshine/wip-rgw-22080-1
Casey Bodley [Tue, 27 Feb 2018 14:23:09 +0000 (09:23 -0500)]
Merge pull request #20611 from Leeshine/wip-rgw-22080-1

rgw: create sync-module instance when radosgw-admin sync run

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20397 from tdb/fix/perms-ocf-rbd
Nathan Cutler [Tue, 27 Feb 2018 13:59:46 +0000 (14:59 +0100)]
Merge pull request #20397 from tdb/fix/perms-ocf-rbd

rbd: resource agent needs to be executable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20577 from Songweibin/wip-group-rename
Jason Dillaman [Tue, 27 Feb 2018 13:25:33 +0000 (08:25 -0500)]
Merge pull request #20577 from Songweibin/wip-group-rename

rbd: add group rename methods

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agocmake: add implicit dependencies between boost libs 20616/head
Kefu Chai [Tue, 27 Feb 2018 13:11:10 +0000 (21:11 +0800)]
cmake: add implicit dependencies between boost libs

so the dependencies can be included when linking against the one which
depends on them. for example, libboost_filesystem depends on
libboost_system, if we don't link against the latter, linker will bail
out when linking an executable using Boost::filesystem.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: add an alias for unit_test_framework
Kefu Chai [Fri, 23 Feb 2018 06:43:00 +0000 (14:43 +0800)]
cmake: add an alias for unit_test_framework

should pass --with-test for building Boost::unit_test_framework

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: skip boost dependency on ALIAS targets
Casey Bodley [Sat, 27 Jan 2018 17:24:12 +0000 (12:24 -0500)]
cmake: skip boost dependency on ALIAS targets

the boost override for add_library() does not work for ALIAS targets:

CMake Error at cmake/modules/BuildBoost.cmake:227 (add_dependencies):
  Cannot add target-level dependencies to alias target "Seastar::seastar".

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoinstall-deps.sh: set python2 %bcond by environment 20436/head
Nathan Cutler [Wed, 14 Feb 2018 11:51:09 +0000 (12:51 +0100)]
install-deps.sh: set python2 %bcond by environment

If there is no /usr/bin/python2 we need to set %bcond_with python2.

Fixes: http://tracker.ceph.com/issues/22999
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20434 from smithfarm/wip-22998
Nathan Cutler [Tue, 27 Feb 2018 13:09:33 +0000 (14:09 +0100)]
Merge pull request #20434 from smithfarm/wip-22998

build/ops: install-deps.sh: pass --no-recommends to zypper

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #20404 from smithfarm/wip-cmake-with-systemd
Nathan Cutler [Tue, 27 Feb 2018 13:03:30 +0000 (14:03 +0100)]
Merge pull request #20404 from smithfarm/wip-cmake-with-systemd

build/ops: change WITH_SYSTEMD default to ON

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agobuild/ops: run-make-check.sh: fix SUSE support 20234/head
Nathan Cutler [Thu, 1 Feb 2018 14:53:15 +0000 (15:53 +0100)]
build/ops: run-make-check.sh: fix SUSE support

Get /usr/bin/which from the right RPM.

Fixes: http://tracker.ceph.com/issues/22875
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #20245 from smithfarm/wip-p2p-ripout
Nathan Cutler [Tue, 27 Feb 2018 12:53:17 +0000 (13:53 +0100)]
Merge pull request #20245 from smithfarm/wip-p2p-ripout

tests: cleanup: drop upgrade/jewel-x/point-to-point-x

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20138 from smithfarm/wip-recommend-chrony
Nathan Cutler [Tue, 27 Feb 2018 12:48:52 +0000 (13:48 +0100)]
Merge pull request #20138 from smithfarm/wip-recommend-chrony

build/ops: rpm: recommend chrony instead of ntp-daemon

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agoMerge pull request #20551 from shun-s/wip-add-notify-name-print
Jason Dillaman [Tue, 27 Feb 2018 12:47:05 +0000 (07:47 -0500)]
Merge pull request #20551 from shun-s/wip-add-notify-name-print

rbd: output notifyOp request name when watching

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agolog: prohibit negative values for debug_* configurables. 20290/head
Radoslaw Zarzynski [Tue, 13 Feb 2018 15:09:55 +0000 (16:09 +0100)]
log: prohibit negative values for debug_* configurables.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agolog: remove SubsystemMap::m_max_name_len.
Radoslaw Zarzynski [Tue, 13 Feb 2018 14:26:24 +0000 (15:26 +0100)]
log: remove SubsystemMap::m_max_name_len.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoceph: switch to SubsystemMap::should_gather<SubV, LvlV>().
Radoslaw Zarzynski [Mon, 12 Feb 2018 19:17:14 +0000 (20:17 +0100)]
ceph: switch to SubsystemMap::should_gather<SubV, LvlV>().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: resurrect the old check on dout's levels where possible.
Radoslaw Zarzynski [Mon, 12 Feb 2018 18:58:51 +0000 (19:58 +0100)]
core: resurrect the old check on dout's levels where possible.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: hint the dout()'s message crafting as a cold code.
Radoslaw Zarzynski [Fri, 9 Feb 2018 15:19:10 +0000 (16:19 +0100)]
core: hint the dout()'s message crafting as a cold code.

The idea is to:
  1. Do not put the dout()'s crafting stuff on the hot, fall-through
     path. Cheapest branches are those that are forward and never taken.
  2. Move it to separated sections placed far away from the main path
     to be more friendly to ICache and ITLB. That is, dout_impl constructs
     a function now.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: make SubsystemMap more statical and optimize should_gather().
Radoslaw Zarzynski [Sat, 3 Feb 2018 18:13:13 +0000 (19:13 +0100)]
core: make SubsystemMap more statical and optimize should_gather().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoosd: remove the PGLog::prefix_provider as it's always nullptr.
Radoslaw Zarzynski [Sat, 3 Feb 2018 16:12:48 +0000 (17:12 +0100)]
osd: remove the PGLog::prefix_provider as it's always nullptr.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocommon: move subsys-dependant types to a dedicated header.
Radoslaw Zarzynski [Sat, 3 Feb 2018 16:08:54 +0000 (17:08 +0100)]
common: move subsys-dependant types to a dedicated header.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agocore: dout checks ceph_subsys_* in compile time if possible.
Radoslaw Zarzynski [Sat, 3 Feb 2018 03:37:55 +0000 (04:37 +0100)]
core: dout checks ceph_subsys_* in compile time if possible.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge PR #19471 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:45 +0000 (02:22 -0800)]
Merge PR #19471 into master

* refs/pull/19471/head:
cephfs-journal-tool: support purge queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20412 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:38 +0000 (02:22 -0800)]
Merge PR #20412 into master

* refs/pull/20412/head:
mds/CDir: cleanup in the lookup_exact_snap()
mds/cdir: add CDir missing state

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20468 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:31 +0000 (02:22 -0800)]
Merge PR #20468 into master

* refs/pull/20468/head:
mds: fix check of underwater dentries

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #20489 into master
Patrick Donnelly [Tue, 27 Feb 2018 10:22:25 +0000 (02:22 -0800)]
Merge PR #20489 into master

* refs/pull/20489/head:
common: omit short option for id in help for clients

Reviewed-by: Jos Collin <jcollin@redhat.com>