]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 1 May 2018 12:00:10 +0000 (07:00 -0500)]
qa/suites/upgarde/luminous-x/stress-split: 8 osds (not 6)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 1 May 2018 11:58:52 +0000 (06:58 -0500)]
qa/suites/upgrade/stress-split/4-workloads/radosbench: use less disk space
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 30 Apr 2018 16:18:11 +0000 (11:18 -0500)]
Merge pull request #21702 from theanalyst/wip-std-mutex
osdc/Objector: use std::shared_mutex instead of boost::shared_mutex
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Patrick Donnelly [Mon, 30 Apr 2018 16:16:48 +0000 (09:16 -0700)]
Merge PR #21731 into master
* refs/pull/21731/head:
client: drop function _get_inodeno
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Mon, 30 Apr 2018 15:33:36 +0000 (10:33 -0500)]
Merge pull request #21743 from yuriw/wip-yuriw-crontab
qa/tests: removed rest suite from the mix
Mykola Golub [Mon, 30 Apr 2018 15:25:35 +0000 (18:25 +0300)]
Merge pull request #21697 from dillaman/wip-18753-1
rbd-mirror: additional thrasher testing
Reviewed-by: Mykola Golub <mgolub@suse.com>
Yuri Weinstein [Mon, 30 Apr 2018 15:20:06 +0000 (08:20 -0700)]
qa/tests: removed rest suite from the mix
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Ken Dreyer [Mon, 30 Apr 2018 15:15:21 +0000 (09:15 -0600)]
Merge pull request #21716 from smithfarm/wip-drop-obs-kludge
build/ops: rpm: Revert "ceph.spec: work around build.opensuse.org"
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Sage Weil [Mon, 30 Apr 2018 14:55:10 +0000 (09:55 -0500)]
Merge pull request #21739 from tchaikov/wip-23922
qa/suites/rados/thrash-old-clients: ms_type=simple
Reviewed-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Mon, 30 Apr 2018 14:52:50 +0000 (14:52 +0000)]
Merge pull request #21685 from alfredodeza/wip-rm23874
ceph-volume failed ceph-osd --mkfs command doesn't halt the OSD creation process
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Kefu Chai [Mon, 30 Apr 2018 13:57:19 +0000 (21:57 +0800)]
Merge pull request #21708 from dalgaaf/wip-da-SCA-
20180425
Various fixes for SCA issues
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 30 Apr 2018 13:53:34 +0000 (21:53 +0800)]
Merge pull request #21690 from xiexingguo/wip-pr-20304
mon, osd: add create-time for pool
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 30 Apr 2018 13:48:37 +0000 (21:48 +0800)]
Merge pull request #21659 from yangDL/master
pybind/ceph_argparse.py:'timeout' must in kwargs when call run_in_thread
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 30 Apr 2018 13:01:02 +0000 (21:01 +0800)]
qa/suites/rados/thrash-old-clients: ms_type=simple
hammer does not support async messenger, so set ms_type to "simple" for
hammer client.
Fixes: http://tracker.ceph.com/issues/23922
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Mon, 30 Apr 2018 12:55:12 +0000 (08:55 -0400)]
Merge pull request #21733 from trociny/wip-23938
qa/workunits/rbd: potential race in mirror disconnect test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Mon, 30 Apr 2018 11:42:18 +0000 (12:42 +0100)]
Merge pull request #21671 from jan--f/mgr-module-config-doc
doc/mgr/plugins: add note about distinction between config and kv store
Reviewed-by: John Spray <john.spray@redhat.com>
Mykola Golub [Sun, 29 Apr 2018 17:07:38 +0000 (20:07 +0300)]
qa/workunits/rbd: potential race in mirror disconnect test
(due to a typo in get_image_id command arg)
Fixes: http://tracker.ceph.com/issues/23938
Signed-off-by: Mykola Golub <mgolub@suse.com>
Jos Collin [Mon, 30 Apr 2018 04:33:55 +0000 (10:03 +0530)]
client: drop function _get_inodeno
Drop _get_inodeno() as per the comment in https://github.com/ceph/ceph/pull/21554.
Signed-off-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Sun, 29 Apr 2018 18:05:33 +0000 (11:05 -0700)]
Merge PR #21554 into master
* refs/pull/21554/head:
client: avoid second lock on client_lock
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Sun, 29 Apr 2018 18:05:27 +0000 (11:05 -0700)]
Merge PR #21592 into master
* refs/pull/21592/head:
mds: filter out blacklisted clients when importing caps
mds: don't add blacklisted clients to reconnect gather set
mds: combine MDCache::{cap_exports,cap_export_targets}
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sun, 29 Apr 2018 18:05:22 +0000 (11:05 -0700)]
Merge PR #21593 into master
* refs/pull/21593/head:
mds: properly check auth subtree count in MDCache::shutdown_pass()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sun, 29 Apr 2018 18:05:16 +0000 (11:05 -0700)]
Merge PR #21601 into master
* refs/pull/21601/head:
mds: don't discover inode/dirfrag when mds is in 'starting' state
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sun, 29 Apr 2018 18:05:11 +0000 (11:05 -0700)]
Merge PR #21610 into master
* refs/pull/21610/head:
cephfs-journal-tool: wait prezero ops before destroying journal
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sun, 29 Apr 2018 18:05:06 +0000 (11:05 -0700)]
Merge PR #21625 into master
* refs/pull/21625/head:
qa: remove racy/buggy test_purge_queue_op_rate
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Sun, 29 Apr 2018 18:04:55 +0000 (11:04 -0700)]
Merge PR #21664 into master
* refs/pull/21664/head:
mds: properly trim log segments after scrub repairs something
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Sun, 29 Apr 2018 15:10:31 +0000 (10:10 -0500)]
Merge pull request #21728 from yuriw/wip-yuriw-crontab
qa/tests: fixed typo
Yuri Weinstein [Sun, 29 Apr 2018 14:57:27 +0000 (07:57 -0700)]
qa/tests: fixed typo
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Nathan Cutler [Sat, 28 Apr 2018 19:23:01 +0000 (21:23 +0200)]
Revert "ceph.spec: work around build.opensuse.org"
This reverts commit
21d941e83b168fa297aed58e27b4c11193468293 which introduced a
"kludge" to make 32-bit x86 builds work in the openSUSE Build Service (OBS).
The OBS no longer uses i386 in RPM_OPT_FLAGS when the i586 build target is
specified. The current value of RPM_OPT_FLAGS for i586 is:
-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g
(Side note: we are not currently building Ceph for any 32-bit architectures
in the OBS, and there are no plans to start doing so. That doesn't mean it
won't ever happen, but even if it does, this "kludge" will not be needed.)
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Conflicts:
ceph.spec.in
Sage Weil [Sat, 28 Apr 2018 18:19:12 +0000 (13:19 -0500)]
Merge pull request #21583 from yanghonggang/disable-cache
kv/RocksDBStore: fix rocksdb error when block cache is disabled
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Sage Weil [Sat, 28 Apr 2018 18:17:36 +0000 (13:17 -0500)]
Merge pull request #21670 from xiexingguo/wip-23878
osd/OSDMap: more pg upmap fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 28 Apr 2018 18:17:04 +0000 (13:17 -0500)]
Merge pull request #21709 from liewegas/wip-23917
ceph_test_rados_api_aio: fix race with full pool and osdmap
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sat, 28 Apr 2018 14:49:40 +0000 (22:49 +0800)]
Merge pull request #21641 from zy751713126/total_size_format
tools: correct total size formatting
Reviewed-by: Kefu Chai <kchai@redhat.com>
yangdeliu [Sat, 28 Apr 2018 09:56:06 +0000 (17:56 +0800)]
pybind/ceph_argparse.py: argument 'target' change to func
'run_in_thread' first argument named 'target'.
It is confusing with cluster.mon_command last argument 'target=None'.
So change 'run_in_thread' and RadosThread 'target' to 'func'
Signed-off-by: yangdeliu <yangdeliu@szsandstone.com>
Josh Durgin [Sat, 28 Apr 2018 01:30:11 +0000 (18:30 -0700)]
Merge pull request #21710 from neha-ojha/wip-cosbench-workloads
qa: add cosbench workloads and override teuthology default settings
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
xie xingguo [Mon, 5 Feb 2018 02:55:21 +0000 (10:55 +0800)]
mon, osd: add create-time for pool
We want to know how old the pools currently are, on which mgr/balancer
can make some time-related smart decisions based.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Neha Ojha [Fri, 27 Apr 2018 23:10:13 +0000 (16:10 -0700)]
qa/suites/perf-basic: add cosbench write workload
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 27 Apr 2018 23:07:11 +0000 (16:07 -0700)]
qa/suites/perf-basic: override default teuthology settings
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 27 Apr 2018 21:49:41 +0000 (14:49 -0700)]
qa/suites/rados/perf: add cosbench workloads
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 27 Apr 2018 22:32:38 +0000 (17:32 -0500)]
ceph_test_rados_api_aio: fix race with full pool and osdmap
We send ops until we get a EDQUOT, and then assert our next op to
a different object also gets EDQUOT. However, if the second osd
doesn't have as new a map it may succeed. Make sure the client has
the latest (mon) map, and thus the one marking the pool full, before
we send the second op. That ensures the second OSD also has that
newer map and also returns EDQUOT.
Fixes: http://tracker.ceph.com/issues/23917
Signed-off-by: Sage Weil <sage@redhat.com>
Danny Al-Gaaf [Fri, 27 Apr 2018 21:52:37 +0000 (23:52 +0200)]
test/perf_local.cc: reduce scope of some variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Fri, 27 Apr 2018 21:51:56 +0000 (23:51 +0200)]
client/Client.cc: reduce scope of variable 'r'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Jason Dillaman [Fri, 27 Apr 2018 21:35:58 +0000 (17:35 -0400)]
Merge pull request #21704 from liewegas/wip-rados-old-clients
qa/suites/rados/thrash-old-clients: add rbd tests
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Fri, 27 Apr 2018 21:22:35 +0000 (14:22 -0700)]
Merge pull request #21339 from guzhongyan/tp-cleanup
osd: drop unused osd_disk_tp related options
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 27 Apr 2018 21:21:52 +0000 (14:21 -0700)]
Merge pull request #21630 from neha-ojha/wip-rgw-pools
qa: modify rgw default pool names
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Danny Al-Gaaf [Fri, 27 Apr 2018 21:07:12 +0000 (23:07 +0200)]
common/TrackedOp: fix 'warned' handling
Fix for this cppcheck issue:
[src/common/TrackedOp.cc:385]: (style) The scope of the variable
'warned' can be reduced.
Actually it seems that warned was not set correctly anymore
after rewrite of the code. Set 'warned' in with_slow_ops_in_flight()
as already done with number of slow iops.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Sage Weil [Thu, 26 Apr 2018 19:25:56 +0000 (14:25 -0500)]
qa/suites/rados/thrash-old-clients: add cls_rbd, rbd api tests
Signed-off-by: Sage Weil <sage@redhat.com>
Neha Ojha [Fri, 27 Apr 2018 19:04:00 +0000 (12:04 -0700)]
qa/suites/rados/perf: override default teuthology settings
Signed-off-by: Neha Ojha <nojha@redhat.com>
Yang Honggang [Sat, 21 Apr 2018 15:39:21 +0000 (15:39 +0000)]
kv/RocksDBStore: fix rocksdb error when block cache is disabled
Fixes: http://tracker.ceph.com/issues/23816
Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
Sage Weil [Fri, 27 Apr 2018 17:25:48 +0000 (12:25 -0500)]
Merge pull request #21703 from liewegas/wip-rados-old-clients
qa/suites/rados/thrash-old-clients: add hammer clients
Sage Weil [Fri, 27 Apr 2018 16:11:42 +0000 (11:11 -0500)]
qa/suites/rados/thrash-old-clients: add hammer
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Apr 2018 16:30:39 +0000 (11:30 -0500)]
Merge pull request #21679 from liewegas/wip-rados-old-clients
qa/suites/rados/thrash-old-clients: do some thrashing with jewel and luminous clients
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 27 Apr 2018 16:13:56 +0000 (11:13 -0500)]
Merge pull request #21605 from liewegas/wip-osdmap-encode
mon: cache reencoded osdmaps
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
Sage Weil [Thu, 26 Apr 2018 15:31:34 +0000 (10:31 -0500)]
messages/MOSDMap: fix compat_version for MOSDMap
Jewel clients see
will not decode message of type 41 version 4 because compat_version 4 > supported version 3
The problem is when compat_version == 0 and head_version != 0, we
interpret compat_version == head_version. From Message::encode,
// if the encoder didn't specify past compatibility, we assume it
// is incompatible.
if (header.compat_version == 0)
header.compat_version = header.version;
Broken by
49833c3bb264949b8126796997a95a95b50af411 for the
head_version=4 case (compat_version needs to be 3).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 24 Apr 2018 14:16:52 +0000 (09:16 -0500)]
crush/CrushWrapper: clean up member init
Signed-off-by: Sage Weil <sage@redhat.com>
Xiaoxi CHEN [Mon, 23 Apr 2018 17:58:11 +0000 (12:58 -0500)]
messages/MOSDMap: significant feature bits.
1. MOSDMap go with features indicating the features
this map encoded for.
2. Only reencode if significant bits mismatch between
target features and my features.
also update mon/OSDMonitor and osd/OSDService to adopt this change.
Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
Xiaoxi CHEN [Mon, 23 Apr 2018 17:57:52 +0000 (12:57 -0500)]
mon/OSDMonitor: add feature into osdmap cache key.
Change the cache from
SimpleLRU<version_t, bufferlist> inc_osd_cache;
to
SimpleLRU<pair<version_t, uint64_t>, bufferlist> inc_osd_cache;
By doing this , we can cache several encoded osdmap for different
features, not necessary to re-encoding for each client.
Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
Abhishek Lekshmanan [Fri, 27 Apr 2018 08:40:59 +0000 (10:40 +0200)]
osdc/Objector: use std::shared_mutex instead of boost::shared_mutex
Since boost::threads support interruption by default locking over
boost::shared_mutexes may throw if the thread is interrupted. Replacing this by
std:: variant
Fixes: http://tracker.ceph.com/issues/23910
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Ricardo Dias [Fri, 27 Apr 2018 13:28:02 +0000 (14:28 +0100)]
Merge pull request #21693 from LenzGr/mgr-dashboard-documentation
doc: Updated dashboard feature list.
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Jason Dillaman [Fri, 27 Apr 2018 12:37:24 +0000 (08:37 -0400)]
Merge pull request #21586 from trociny/wip-deep-copy-fixes
librbd: skip head object map update when deep copying object beyond image size
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 Apr 2018 13:00:18 +0000 (09:00 -0400)]
qa/suites/rbd: rbd-mirror fsx stress test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 25 Apr 2018 23:45:01 +0000 (19:45 -0400)]
rbd-mirror: clean up ENOENT error message
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 25 Apr 2018 01:09:23 +0000 (21:09 -0400)]
rbd-mirror: move state machine transition debug messages to higher priority
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 Apr 2018 16:05:21 +0000 (12:05 -0400)]
test/librbd/fsx: add support for cluster and client id optionals
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Fri, 27 Apr 2018 12:17:58 +0000 (14:17 +0200)]
doc: Updated dashboard feature list.
Updated the dashboard documentation and added recently merged
RBD management features (flatten, clone, copy)
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Lenz Grimmer [Fri, 27 Apr 2018 09:35:27 +0000 (11:35 +0200)]
Merge pull request #21681 from Devp00l/wip-rbd-form-type-error-fix
mgr/dashboard: Fixes type error in RBD form
Reviewed-by: Volker Theile <vtheile@suse.com>
Mykola Golub [Fri, 27 Apr 2018 08:52:26 +0000 (11:52 +0300)]
Merge pull request #21682 from dillaman/wip-23888
rbd-mirror: rename asok hook to match image name when not replaying
Reviewed-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 27 Apr 2018 08:51:27 +0000 (11:51 +0300)]
Merge pull request #21657 from dillaman/wip-23876
rbd-mirror: properly translate remote tag mirror uuid for local mirror
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Fri, 27 Apr 2018 06:20:17 +0000 (14:20 +0800)]
Merge pull request #21662 from tchaikov/wip-cmake
cmake: enable new policies to silence cmake warnings
Review-by: Casey Bodley <cbodley@redhat.com>
xiexingguo [Thu, 26 Apr 2018 13:08:15 +0000 (21:08 +0800)]
osd/OSDMap: check pending pg upmap changes too
Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
xiexingguo [Thu, 26 Apr 2018 11:47:35 +0000 (19:47 +0800)]
osd/OSDMap: check against crush-tree changing
pg_upmap/pg_upmap_items should not bring osds which
no longer belong to a specific crush-tree in.
Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
xiexingguo [Thu, 26 Apr 2018 11:41:47 +0000 (19:41 +0800)]
osd/OSDMap: more sanity checks before applying pg_upmap[_items]
Fixes: http://tracker.ceph.com/issues/23878
Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
xiexingguo [Thu, 26 Apr 2018 10:48:21 +0000 (18:48 +0800)]
osd/OSDMap: refactor maybe_remove_pg_upmaps()
There is too much code redundancy..
Signed-off-by: xiexingguo <xie.xingguo@gmail.com>
Kefu Chai [Fri, 27 Apr 2018 00:55:42 +0000 (08:55 +0800)]
Merge pull request #21649 from dillaman/wip-23872
osdc/Objecter: prevent double-invocation of linger op callback
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Fri, 27 Apr 2018 00:38:27 +0000 (17:38 -0700)]
Merge pull request #21656 from neha-ojha/wip-integrate-cosbench
qa/tasks: run cosbench using the CBT task
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Neha Ojha [Wed, 25 Apr 2018 23:00:11 +0000 (16:00 -0700)]
qa/tasks: run cosbench using the CBT task
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Thu, 26 Apr 2018 22:22:40 +0000 (17:22 -0500)]
Merge pull request #21676 from liewegas/wip-23871
osd/PrimaryLogPG: clear data digest on WRITEFULL if skip_data_digest
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 26 Apr 2018 21:52:59 +0000 (14:52 -0700)]
Merge pull request #21686 from jdurgin/wip-ec-backend-comment
osd/ECBackend: update misleading comment about EIO handling
Reviewed-by: David Zafman <dzafman@redhat.com>
Josh Durgin [Thu, 26 Apr 2018 21:51:59 +0000 (14:51 -0700)]
Merge pull request #21653 from liewegas/wip-23364
osd/PrimaryLogPG: avoid infinite loop when flush collides with write lock
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 26 Apr 2018 21:48:08 +0000 (14:48 -0700)]
Merge pull request #21222 from bmflynn/pybind-alignment
pybind/rados: add alignment getter to IoCtx
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Alfredo Deza [Thu, 26 Apr 2018 20:35:45 +0000 (16:35 -0400)]
ceph-volume tests mkfs bluestore fails on non-zero exit status
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Danny Al-Gaaf [Thu, 26 Apr 2018 20:34:31 +0000 (22:34 +0200)]
common/buffer.cc: prefer ++operators for non-primitive types
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Alfredo Deza [Thu, 26 Apr 2018 20:26:30 +0000 (16:26 -0400)]
ceph-volume util.prepare raise on non-zero exit status
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 26 Apr 2018 20:25:46 +0000 (16:25 -0400)]
ceph-volume tests allow setting return values on stubbed process.call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 26 Apr 2018 20:24:57 +0000 (16:24 -0400)]
ceph-volume tests mkfs filestore fails on non-zero exit status
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Danny Al-Gaaf [Thu, 26 Apr 2018 20:13:33 +0000 (22:13 +0200)]
src/rgw/rgw_file.cc: fix lock_guard usage
Fix for:
[src/rgw/rgw_file.cc:255]: (style) Instance of 'lock_guard' object
is destroyed immediately.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Josh Durgin [Thu, 26 Apr 2018 18:49:01 +0000 (14:49 -0400)]
osd/ECBackend: update misleading comment about EIO handling
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 26 Apr 2018 17:39:51 +0000 (12:39 -0500)]
Merge pull request #21061 from jan--f/jan-prometheus-file-sd-command
pybind/mgr/prometheus: add file_sd_config command
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Thu, 26 Apr 2018 17:39:23 +0000 (12:39 -0500)]
Merge pull request #21646 from liewegas/wip-rados-api-tests
qa/suites/rados/verify/tasks/rados_api_tests: whitelist OBJECT_MISPLACED
Jason Dillaman [Thu, 26 Apr 2018 16:24:27 +0000 (12:24 -0400)]
rbd-mirror: rename asok hook to match image name when not replaying
Fixes: http://tracker.ceph.com/issues/23888
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Stephan Müller [Thu, 26 Apr 2018 13:24:15 +0000 (15:24 +0200)]
mgr/dashboard: Fixes type error in RBD form
The form validation function wasn't a 'ValidatorFn' because it didn't
return something, now it's returning null in order to be valid for
type checking engines that also type check functions that are returned
by other functions.
Signed-off-by: Stephan Müller <smueller@suse.com>
Yuri Weinstein [Thu, 26 Apr 2018 15:42:30 +0000 (08:42 -0700)]
Merge pull request #19509 from cooboos/wip-cephdencoder-additem
ceph-dencoder: add missing begin_iter & end_iter item for RGWObjManifest
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Thu, 26 Apr 2018 15:40:02 +0000 (08:40 -0700)]
Merge pull request #20835 from croit/fix-mon-crash-on-bad-snap-rm
mon: handle bad snapshot removal reqs gracefully
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Thu, 26 Apr 2018 15:38:32 +0000 (08:38 -0700)]
Merge pull request #21093 from guzhongyan/mgr-ov
mgr/DaemonServer: add overrides value to 'config show'
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Thu, 26 Apr 2018 15:37:36 +0000 (08:37 -0700)]
Merge pull request #21585 from xxhdx1985126/wip-23807
msgr/simple: set Pipe::out_seq to in_seq of the connecting side
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 Apr 2018 14:15:50 +0000 (09:15 -0500)]
osd/PrimaryLogPG: clear data digest on WRITEFULL if skip_data_digest
If we detect we are on bluestore and should skip the data digest, we
need to clear any old digest on WRITEFULL. This aligns us with the
WRITE behavior, which is also either an update or a clear (but never
neither!).
Fixes: https://tracker.ceph.com/issues/23871
Signed-off-by: Sage Weil <sage@redhat.com>
Ricardo Dias [Thu, 26 Apr 2018 14:04:34 +0000 (15:04 +0100)]
Merge pull request #21667 from ricardoasmarques/wip-fix-delete-modal
mgr/dashboard: Fix missing $event on deletion modal
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Orit Wasserman [Thu, 26 Apr 2018 10:29:13 +0000 (13:29 +0300)]
Merge pull request #21584 from oritwas/wip-rgw-resharding-versioning
rgw: Fix infinite call for bi list when resharding a bucket
Ricardo Marques [Thu, 26 Apr 2018 10:27:16 +0000 (11:27 +0100)]
mgr/dashboard: Fix missing $event on deletion modal
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Danny Al-Gaaf [Thu, 26 Apr 2018 08:12:00 +0000 (10:12 +0200)]
hypertable/CephBroker.cc: use int64_t instead of uint64_t
The usage of uint64_t to get the return value of ceph_lseek() will
lead to loss of the error code returned from the function. This will
break error case detection. Use a signed variable and cast before
offset returned instead.
Fix for:
[src/client/hypertable/CephBroker.cc:209]: (style) Checking if
unsigned variable 'offset=ceph_lseek(cmount,fdata->fd,0,SEEK_CUR)' is less
than zero.
[src/client/hypertable/CephBroker.cc:244]: (style) Checking if
unsigned variable 'offset=(uint64_t)ceph_lseek(cmount,fdata->fd,0,SEEK_CUR)'
is less than zero.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 26 Apr 2018 08:11:29 +0000 (10:11 +0200)]
librbd/Journal.cc: use static_cast instead of c-style
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>