]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Thu, 10 Aug 2017 19:15:31 +0000 (14:15 -0500)]
Merge pull request #16918 from liewegas/wip-doc-bluestore-migration
doc/rados/operations/bluestore-migration: document bluestore migration process
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Sage Weil [Tue, 8 Aug 2017 19:09:50 +0000 (15:09 -0400)]
doc/rados/operations/bluestore-migration: document bluestore migration process
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Aug 2017 18:30:05 +0000 (13:30 -0500)]
Merge pull request #16975 from theanalyst/doc-12-1-3-release-notes
doc: 12.1.3 release notes
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Aug 2017 18:29:25 +0000 (13:29 -0500)]
Merge pull request #16974 from liewegas/wip-release-notes
doc/release-notes: remove mention of crush weight optimization
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Abhishek Lekshmanan [Thu, 10 Aug 2017 18:00:19 +0000 (20:00 +0200)]
doc: 12.1.3 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Sage Weil [Thu, 10 Aug 2017 17:36:51 +0000 (13:36 -0400)]
doc/release-notes: remove mention of crush weight optimization
It's not there yet.
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 10 Aug 2017 17:32:27 +0000 (13:32 -0400)]
Merge pull request #15330 from guihecheng/rgw_file-fsid-mount
rgw_file: introduce new fsid and rgw_mount
Sage Weil [Thu, 10 Aug 2017 16:19:24 +0000 (11:19 -0500)]
Merge pull request #16648 from ovh/bp-kill-str-conv
osdc, class_api: kill implicit string conversions
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Sage Weil [Thu, 10 Aug 2017 16:17:32 +0000 (11:17 -0500)]
Merge pull request #16850 from liewegas/wip-bluestore-dirty-range
os/bluestore: fix dirty_shard off-by-one
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Sage Weil [Thu, 10 Aug 2017 16:15:38 +0000 (11:15 -0500)]
Merge pull request #16872 from markhpc/wip-bluestore-faster_gncb
os/bluestore: clearer comments, not slower code.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Aug 2017 16:14:54 +0000 (11:14 -0500)]
Merge pull request #16941 from jcsp/wip-20956
osd: include front_iface+back_iface in metadata
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Aug 2017 16:12:43 +0000 (11:12 -0500)]
Merge pull request #16944 from liewegas/wip-kraken-x
mon/Elector: force election epoch bump on start
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Thu, 10 Aug 2017 16:12:22 +0000 (11:12 -0500)]
Merge pull request #16953 from neha-ojha/wip-20798
test/librados: create unique lock names
Reviewed-by: Sage Weil <sage@redhat.com>
Andrew Schoen [Thu, 10 Aug 2017 15:07:27 +0000 (10:07 -0500)]
Merge pull request #16962 from ceph/wip-bz1479797
ceph-volume: tests add tests for the is_mounted utility
Reviewed-by: Andrew Schoen aschoen@redhat.com
Yuri Weinstein [Thu, 10 Aug 2017 14:45:11 +0000 (07:45 -0700)]
Merge pull request #16618 from adamemerson/wip-throttle
common/Throttle: Clean up
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Thu, 10 Aug 2017 14:43:30 +0000 (07:43 -0700)]
Merge pull request #16702 from hjwsm1989/wip-recover-timeout-expired
osd: do not forget pg_stat acks which failed to send
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Yuri Weinstein [Thu, 10 Aug 2017 14:42:00 +0000 (07:42 -0700)]
Merge pull request #16928 from amitkumar50/cov-messages-7
messages: Initializing members in MOSDPGUpdateLogMissing
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sage Weil [Thu, 10 Aug 2017 14:35:51 +0000 (10:35 -0400)]
doc/release-notes: fix link typo
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Thu, 10 Aug 2017 14:08:58 +0000 (16:08 +0200)]
Merge pull request #16966 from idryomov/wip-krbd-unmap-tests-pool
qa: fix POOL_APP_NOT_ENABLED warning in krbd:unmap suite
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Aug 2017 13:51:29 +0000 (09:51 -0400)]
Revert "qa/suites/upgrade/jewel-x/parallel: thrash layout"
This reverts commit
435777dbffc77c93d06476caf83be141359a5778 .
This test combination is not yet stable.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 10 Aug 2017 13:32:12 +0000 (08:32 -0500)]
Merge pull request #16950 from liewegas/wip-20959
osd/PG: force rebuild of missing set on jewel upgrade
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Alfredo Deza [Thu, 10 Aug 2017 13:11:58 +0000 (09:11 -0400)]
ceph-volume: is_mounted should use a bytes->string util to compare strings
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 10 Aug 2017 13:11:27 +0000 (09:11 -0400)]
ceph-volume: create a utf-8 string decoder for py3 compat
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Haomai Wang [Thu, 10 Aug 2017 11:38:10 +0000 (19:38 +0800)]
Merge pull request #16945 from liupan1111/wip-fix-spdk-compile
bluestore: fixed compilation error when enable spdk with gcc 4.8.5
Reviewed-by: Haomai Wang <haomai@xsky.com>
Alfredo Deza [Wed, 9 Aug 2017 19:56:53 +0000 (15:56 -0400)]
ceph-volume: tests add tests for the is_mounted utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Ilya Dryomov [Thu, 10 Aug 2017 09:54:53 +0000 (11:54 +0200)]
qa: fix POOL_APP_NOT_ENABLED warning in krbd:unmap suite
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Abhishek L [Thu, 10 Aug 2017 08:51:25 +0000 (10:51 +0200)]
Merge pull request #16956 from theanalyst/doc-changelog-v11.2.1
doc: add changelog for v11.2.1
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Abhishek Lekshmanan [Thu, 10 Aug 2017 08:11:05 +0000 (10:11 +0200)]
doc: add changelog for v11.2.1
Generated as::
git log v11.2.0..v11.2.1 --after="Thu Jan 19 13:08:40 2017 +0000" > doc/changelog/v11.2.1.txt
In order to avoid qe suite merges before this date
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Haomai Wang [Thu, 10 Aug 2017 06:40:44 +0000 (14:40 +0800)]
Merge pull request #16893 from yuyuyu101/wip-fix-multicct-ib
msg/async/rdma: fix multi cephcontext confllicting
Sage Weil [Thu, 10 Aug 2017 02:21:51 +0000 (21:21 -0500)]
Merge pull request #16905 from liewegas/wip-upgrade-sloppy-flush
qa/tasks/ceph.py: tolerate flush pg stats exception
Sage Weil [Wed, 9 Aug 2017 20:40:43 +0000 (16:40 -0400)]
qa/suites/upgrade/jewel-x/parallel: thrash layout
We can't kill and restart osds because that will interfere with
the upgrade process. We can, however, thrash the layout by
tweaking osd weights and so on. This will exercise osd recovery
paths during the upgrade that aren't normally exercised (outside
of stress-split..which doesn't upgrade individual osds while they
are non-clean).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Aug 2017 16:50:57 +0000 (12:50 -0400)]
osd/PG: force rebuild of missing set on jewel upgrade
Previously we were detecting the need to rebuild missing based on
whether the "divergent_priors" omap key was present. Unfortunately,
jewel does not always set this, so it is not a reliable indicator.
(It only gets set if you actually have a divergent prior at some
point in the PG's life time on that OSD.)
Fix by using the info_struct_v on the PG to detect whether we need
to do the conversion. We didn't bump the value when we adding
the missing persistence, but the fastinfo was also added during
the same period between jewel and kraken, so it will work just as
well.
Fixes: http://tracker.ceph.com/issues/20958
Signed-off-by: Sage Weil <sage@redhat.com>
Haomai Wang [Thu, 10 Aug 2017 02:05:05 +0000 (10:05 +0800)]
Merge pull request #16006 from shangfufei/wip_modify_connect_logic
Optimization for connection establishment.
Reviewed-by: Haomai Wang <haomai@xsky.com>
Jos Collin [Thu, 10 Aug 2017 01:48:05 +0000 (01:48 +0000)]
Merge pull request #16382 from PCzhangPC/bug2
common: bench test fall into dead loop when <seconds>=0
Reviewed-by: Jos Collin <jcollin@redhat.com>
Jos Collin [Thu, 10 Aug 2017 01:43:30 +0000 (01:43 +0000)]
Merge pull request #16396 from amitkumar50/branch20604
core: remove startsync
Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Jos Collin [Thu, 10 Aug 2017 01:29:06 +0000 (01:29 +0000)]
Merge pull request #16886 from liupan1111/wip-add-size
os/bluestore: move size and block_size to the base class BlockDevice
Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
Jos Collin [Thu, 10 Aug 2017 01:16:54 +0000 (01:16 +0000)]
Merge pull request #16888 from gmayyyha/osd-ms-verify-auth
osd/OSD.cc: add 'isvalid=false' when failed to parse caps
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Yuri Weinstein [Wed, 9 Aug 2017 23:37:04 +0000 (16:37 -0700)]
Merge pull request #16829 from ivancich/wip-dup-ops-cleanup-1
osd: clean up dup index logic; maintain index flag logic in fewer places
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Wed, 9 Aug 2017 23:34:55 +0000 (16:34 -0700)]
Merge pull request #16887 from xiexingguo/wip-mon-count
mon: fix wrong mon-num counting logic of 'ceph features' command
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Wed, 9 Aug 2017 23:34:38 +0000 (16:34 -0700)]
Merge pull request #16892 from xiexingguo/wip-clean-pg-temp
mon/OSDMonitor: fix 'osd pg temp' unable to cleanup pg-temp
Reviewed-by: Sage Weil <sage@redhat.com>
Gregory Farnum [Wed, 9 Aug 2017 22:37:18 +0000 (15:37 -0700)]
Merge pull request #16897 from amitkumar50/cov-MDentryLink-1
messages: Initialization of is_primary
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Alfredo Deza [Wed, 9 Aug 2017 22:09:39 +0000 (18:09 -0400)]
Merge pull request #16919 from ceph/wip-volume-tests
ceph-volume: adds functional CI testing
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Neha Ojha [Wed, 9 Aug 2017 21:14:21 +0000 (14:14 -0700)]
test/librados: create unique lock names
Signed-off-by: Neha Ojha <nojha@redhat.com>
Alfredo Deza [Wed, 9 Aug 2017 19:24:15 +0000 (15:24 -0400)]
ceph-volume: lvm activate should check if the device is mounted to prevent errors from mount
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 9 Aug 2017 19:10:18 +0000 (15:10 -0400)]
ceph-volume util add a helper to check if a device is mounted
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Matt Benjamin [Wed, 9 Aug 2017 18:24:01 +0000 (14:24 -0400)]
Merge pull request #16834 from mdw-at-linuxbox/policy
radosgw: usage: fix bytes_sent bug.
Sage Weil [Tue, 8 Aug 2017 22:43:22 +0000 (18:43 -0400)]
mon/Elector: force election epoch bump on start
We are generally careful when bumping the epoch so that we can join
existing rounds. However, if we restart in the middle of an election,
and change versions, we need to be certain that our previous ACK (as
$version - 1) isn't accepted as truth for the restarted daemon (running
$version) keeping the same epoch.
The conservatism with bumping is to avoid spurious election cycles, but
mon restarts are more rare, and we need them here.
Fixes: http://tracker.ceph.com/issues/20949
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Aug 2017 13:11:05 +0000 (09:11 -0400)]
qa/suites/upgrade/kraken-x/stress-split: more whitelisting
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 9 Aug 2017 17:46:17 +0000 (12:46 -0500)]
Merge pull request #16828 from liewegas/wip-18209
common/LogClient: assign seq and queue atomically
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Sage Weil [Wed, 9 Aug 2017 17:45:54 +0000 (12:45 -0500)]
Merge pull request #16920 from liewegas/wip-osd-crush-ls
mon/OSDMonitor: implement 'osd crush ls <node>'
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Wed, 9 Aug 2017 17:45:29 +0000 (12:45 -0500)]
Merge pull request #16923 from liewegas/wip-20738
qa/suites/rados/objectstore: logs
Mykola Golub [Wed, 9 Aug 2017 16:41:42 +0000 (19:41 +0300)]
Merge pull request #16737 from dillaman/wip-rbd-config
rbd: switched from legacy to new-style configuration options
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Yuri Weinstein [Wed, 9 Aug 2017 15:57:47 +0000 (08:57 -0700)]
Merge pull request #16796 from rzarzynski/wip-rgw-20897
rgw: honor the tenant part of rgw_bucket during comparisons.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 9 Aug 2017 15:57:18 +0000 (08:57 -0700)]
Merge pull request #16874 from rzarzynski/wip-rgw-drop-init_anon_user
rgw: drop the unused function init_anon_user()
Reviewed-by: Jos Collin <jcollin@redhat.com>
Jason Dillaman [Wed, 9 Aug 2017 15:41:36 +0000 (11:41 -0400)]
Merge pull request #16938 from javacruft/32bit-compat-fixes
tools: Align use of uint64_t in service_daemon::AttributeType
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jos Collin [Wed, 9 Aug 2017 15:26:07 +0000 (15:26 +0000)]
Merge pull request #16840 from mychoxin/yuanxin_writing_mistake
os/ObjectStore.h: fix mistake in comment TRANSACTION ISOLATION
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sage Weil [Wed, 9 Aug 2017 14:56:15 +0000 (09:56 -0500)]
Merge pull request #16947 from liewegas/wip-jewel-x
qa/suites/upgarde/jewel-x/point-to-point-x: disable app warnings
Jason Dillaman [Wed, 9 Aug 2017 14:06:41 +0000 (10:06 -0400)]
Merge pull request #16917 from trociny/wip-qa-admin-sock
qa/workunits/rbd: use command line option to specify watcher asok
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 1 Aug 2017 19:03:57 +0000 (15:03 -0400)]
rbd: switched from legacy to new-style configuration options
Fixes: http://tracker.ceph.com/issues/20737
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Wed, 9 Aug 2017 13:18:54 +0000 (09:18 -0400)]
qa/suites/upgarde/jewel-x/point-to-point-x: disable app warnings
Signed-off-by: Sage Weil <sage@redhat.com>
Pan Liu [Wed, 9 Aug 2017 13:16:54 +0000 (21:16 +0800)]
bluestore: fixed compilation error when enable spdk with gcc 4.8.5
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Orit Wasserman [Wed, 9 Aug 2017 12:51:52 +0000 (15:51 +0300)]
Merge pull request #16889 from oritwas/wip-rgw-20177
rgw: Use namespace for lc_pool and roles_pool
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Alfredo Deza [Wed, 9 Aug 2017 12:20:33 +0000 (08:20 -0400)]
ceph-volume: lvm activate should not ignore exit status codes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
John Spray [Wed, 9 Aug 2017 11:09:55 +0000 (07:09 -0400)]
osd: include front_iface+back_iface in metadata
Fixes: http://tracker.ceph.com/issues/20956
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 9 Aug 2017 11:08:58 +0000 (07:08 -0400)]
common: return iface instead of addr from ipaddr.cc helpers
So that we can use the same helper functions to look
up interface names that we use to look up addresses.
Signed-off-by: John Spray <john.spray@redhat.com>
mychoxin [Sat, 5 Aug 2017 13:30:09 +0000 (21:30 +0800)]
os/ObjectStore: correct mistake in writing
Signed-off-by: mychoxin <mychoxin@gmail.com>
amitkuma [Wed, 9 Aug 2017 10:11:59 +0000 (15:41 +0530)]
messages: Initializing members in MOSDPGUpdateLogMissing
Fixes the coverity issues:
**
1355242 Uninitialized scalar field
2. uninit_member: Non-static class member map_epoch is not initialized
in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member min_epoch is not initialized
in this constructor nor in any functions that it calls.
CID
1355242 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member rep_tid is not initialized
in this constructor nor in any functions that it calls.
**
1355243 Uninitialized scalar field
2. uninit_member: Non-static class member map_epoch is not initialized
in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member min_epoch is not initialized
in this constructor nor in any functions that it calls.
CID
1355243 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member rep_tid is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Amit Kumar amitkuma@redhat.com
James Page [Wed, 9 Aug 2017 09:04:37 +0000 (10:04 +0100)]
Align use of uint64_t in service_daemon::AttributeType
size_t on a 32-bit architecture is a 32 bit unsigned int which
created ambiguity when casting to bool, uint64_t or std::string
(which are boost::variants for service_daemon::AttributeType).
Align to use of uint64_t to resolve compilation failures in
all 32-bit architectures.
Signed-off-by: James Page <james.page@ubuntu.com>
Mykola Golub [Tue, 8 Aug 2017 18:50:47 +0000 (20:50 +0200)]
qa/workunits/rbd: use command line option to specify watcher asok
The previous method to get the watcher admin socket was fragile
and had started to fail after the recent changes to vstart ceph.conf.
Fixes: http://tracker.ceph.com/issues/20954
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Haomai Wang [Wed, 9 Aug 2017 05:38:08 +0000 (13:38 +0800)]
Merge pull request #16927 from optimistyzy/89_ext
bluestore/NVMeDevice: update NVMeDevice code due to SPDK upgrade
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
Yanhu Cao [Tue, 8 Aug 2017 10:52:31 +0000 (18:52 +0800)]
osd/OSD: add 'isvalid=false' when failed to parse caps
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
Ziye Yang [Wed, 9 Aug 2017 03:50:45 +0000 (11:50 +0800)]
bluestore,NVMeDevice: update NVMeDevice code due to SPDK upgrade
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Adam C. Emerson [Thu, 27 Jul 2017 04:55:36 +0000 (00:55 -0400)]
throttle: Do not destroy condition variables with waiters
Destroying a condition variable on which someone is waiting is Undefined
Behavior. it's bad and terrible and awful. On some machines it makes
the destructor just outright hang.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Wed, 26 Jul 2017 22:11:19 +0000 (18:11 -0400)]
common: Automatic reference to PerfCounters
PerfCountersRef is a unique_ptr using a deleter that unregisters the
managed PerfCounters on deletion.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Wed, 26 Jul 2017 22:09:27 +0000 (18:09 -0400)]
scope_guard: Support in-place construction and one-shots
Kefu Chai just pointed out this exists so I just rolled the in-place variants of the
'ward' function I'd written into it.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Wed, 26 Jul 2017 22:08:32 +0000 (18:08 -0400)]
common: Add in_place_t/in_place_type_t from C++17
To better signal in-place construction among other overloads.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Wed, 26 Jul 2017 22:08:05 +0000 (18:08 -0400)]
{os,mds,common}: Disambiguate std::max and ceph::max
There will be a more thorough reckoning regarding namespaces later.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Wed, 4 May 2016 20:39:13 +0000 (16:39 -0400)]
common: Add locking template functions and macros
These infer the type of the unique/shared/shunique lock from the type of
the mutex.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Sage Weil [Wed, 9 Aug 2017 02:33:55 +0000 (21:33 -0500)]
Merge pull request #16900 from liewegas/wip-20925-b
os/bluestore: Revert "os/bluestore: allow multiple DeferredBatches in flight at once"
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Wed, 9 Aug 2017 02:29:01 +0000 (21:29 -0500)]
Merge pull request #16902 from liewegas/wip-health-deprecation
mon: add mon_health_preluminous_compat_warning
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Wed, 9 Aug 2017 02:27:52 +0000 (21:27 -0500)]
Merge pull request #16916 from jcsp/wip-scrub-logging
mon, osd: turn down non-error scrub message severity
Reviewed-by: Sage Weil <sage@redhat.com>
Marcus Watts [Sat, 5 Aug 2017 00:01:32 +0000 (20:01 -0400)]
Test bytes_sent bugs.
Rearrange logic to make it easier to measure accumulation.
Instrument the boto request/response loop to count bytes in and out.
Accumulate byte counts in usage like structure.
Compare actual usage reported by ceph against local usage measured.
Report and assert if there are any short-comings.
Remove zone placement rule that was newly added at end: tests should be rerunable.
Nit: the logic to wait for "delete_obj" is not quite right.
Fixes: http://tracker.ceph.com/issues/19870
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Marcus Watts [Sun, 18 Jun 2017 22:18:39 +0000 (18:18 -0400)]
Fix bytes_sent bugs.
log bytes sent/received.
add cct to bufferingfilter
add cct to RGWRestfulIO
AccountingFilter - save cct for debugging output
implement AccountingFilter::complete_request() - account for bytes reported here.
BufferingFilter<T>::complete_request() - ignore counts from send_content_length() complete_header();
Code quality note:
this patch makes "cct" available for a lot of newly added debug
statements. The debug statements are mostly not very useful (and should
go away in the future) - *But* the "cct" logic should be redone and
incorporated into some base class (such RestfulClient) so that it is
possible to easily add in debug statements such as these in the future.
Fixes: http://tracker.ceph.com/issues/19870
Signed-off-by: Marcus Watts <mwatts@redhat.com>
Sage Weil [Mon, 7 Aug 2017 16:10:03 +0000 (12:10 -0400)]
qa/suites/rados/objectstore: logs
Hunting http://tracker.ceph.com/issues/20738
Signed-off-by: Sage Weil <sage@redhat.com>
Gregory Farnum [Tue, 8 Aug 2017 21:27:28 +0000 (14:27 -0700)]
Merge pull request #16755 from ivancich/wip-pull-new-dmclock
osd: bring in dmclock library changes
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Tue, 8 Aug 2017 20:55:38 +0000 (15:55 -0500)]
Merge pull request #16546 from asomers/openstack_shebang2
qa: Fix shebangs on openstack scripts
Reviewed-by: Amik Kumar <amitkuma@redhat.com>
Jason Dillaman [Tue, 8 Aug 2017 20:54:22 +0000 (16:54 -0400)]
Merge pull request #15579 from ovh/bp-parallel-rbd-lsl
rbd: parallelize "rbd ls -l"
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 4 Aug 2017 21:18:17 +0000 (17:18 -0400)]
common/LogClient: make last_log non-atomic
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 4 Aug 2017 17:59:38 +0000 (13:59 -0400)]
common/LogClient: fix indentation
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 4 Aug 2017 17:58:17 +0000 (13:58 -0400)]
common/LogClient: assign seq and queue atomically
The _get_mon_log_message() assumes that log_last and log_queue
are in sync, but it was previously possible to increment log_last
setting e.seq in do_log(), and only later queue it. If a racing
thread ran get_mon_log_message() in the meantime it would fail
an assertion.
Fix by assigning the seq and queueing it atomically. If the
cluster log is not enabled, use the get_next_seq() helper so that
graylog or syslog messages still have a seq assigned.
Fixes: http://tracker.ceph.com/issues/18209
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 8 Aug 2017 19:56:18 +0000 (15:56 -0400)]
mon/OSDMonitor: implement 'osd crush ls <node>'
Signed-off-by: Sage Weil <sage@redhat.com>
Abhishek L [Tue, 8 Aug 2017 19:07:35 +0000 (21:07 +0200)]
Merge pull request #16861 from wido/docs-mgr-zabbix-enable
doc: Update mgr doc on how to enable Zabbix module
Reviewed-By: John Spray <jcsp@redhat.com>
John Spray [Tue, 8 Aug 2017 18:53:11 +0000 (19:53 +0100)]
osd: downgrade (ok) PG scrub messages to debug
Otherwise someone watching the log at INFO level gets
pelted with potentially millions of log messages
while the system is scrubbing.
Fixes: http://tracker.ceph.com/issues/20947
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 8 Aug 2017 18:36:03 +0000 (19:36 +0100)]
mon: downgrade "scrub ok" message to debug.
This hides lines like:
[INF] scrub ok on 0,1,2: ScrubResult(keys {pgmap_pg=13} crc {pgmap_pg=
2458062599 })
from the normal cluster log views.
Fixes: http://tracker.ceph.com/issues/20947
Signed-off-by: John Spray <john.spray@redhat.com>
amitkuma [Tue, 8 Aug 2017 18:28:06 +0000 (23:58 +0530)]
messages: Initialization of is_primary
Fixes the coverity issue:
** 717269 Uninitialized scalar field
CID 717269 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member is_primary is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Amit Kumar amitkuma@redhat.com
Sage Weil [Tue, 8 Aug 2017 17:48:17 +0000 (12:48 -0500)]
Merge pull request #16908 from dillaman/wip-20701
doc: update rbd-mirroring documentation
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 8 Aug 2017 17:46:21 +0000 (12:46 -0500)]
Merge pull request #16910 from liewegas/wip-iana
doc/dev/iana: document our official IANA numbers
Sage Weil [Tue, 8 Aug 2017 17:44:56 +0000 (12:44 -0500)]
Merge pull request #16911 from liewegas/wip-lead
doc/dev/index: update rados lead
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Andrew Schoen [Tue, 8 Aug 2017 17:43:53 +0000 (12:43 -0500)]
ceph-volume: remove unused config from vagrant_variables.yml files
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sage Weil [Tue, 8 Aug 2017 17:41:06 +0000 (12:41 -0500)]
Merge pull request #16879 from smithfarm/wip-release-notes-11-2-1
doc: release-notes.rst: add Kraken v11.2.1 and update releases.rst
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>