]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Patrick Donnelly [Wed, 19 Jun 2019 03:38:26 +0000 (20:38 -0700)]
pybind/cephfs: avoid unicode check
py3 does not have the unicode built-in. Instead, simply try to do the encoding
and catch failures appropriately. If it quacks like a duck...
(Note that cython apparently cheats and allows the unicode check but this is
simpler.)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 20 Jun 2019 13:08:47 +0000 (06:08 -0700)]
Merge PR #28638 into master
* refs/pull/28638/head:
qa: elide python version config
cephfs-shell: assert python3
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Kefu Chai [Thu, 20 Jun 2019 09:30:17 +0000 (17:30 +0800)]
Merge pull request #28498 from kamoltat/wip-mgr-progress-add-event-osd-marked-in
mgr/progress: Add recovery event when OSD marked in
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Thu, 20 Jun 2019 09:26:30 +0000 (17:26 +0800)]
Merge pull request #28564 from ceph/store_statfs-log
log: fix store_statfs log line
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Thu, 20 Jun 2019 09:21:38 +0000 (17:21 +0800)]
Merge pull request #28621 from Aran85/fix-ec-rf
osd: accident of rollforward may need to mark pglog dirty
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Thu, 20 Jun 2019 09:19:09 +0000 (17:19 +0800)]
Merge pull request #28656 from dvanders/zstd-upgrade
zstd: upgrade to v1.4.0
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Thu, 20 Jun 2019 03:15:44 +0000 (11:15 +0800)]
Merge pull request #28570 from xiexingguo/wip-objecter-direct-spgid
osdc/Objecter: _calc_target - inline spgid
Reviewed-by: Sage Weil <sage@redhat.com>
Xie Xingguo [Thu, 20 Jun 2019 02:41:21 +0000 (10:41 +0800)]
Merge pull request #28568 from xiexingguo/wip-off-by-one-max-osd
mon/OSDMonitor: fix off-by-one when updating new_last_in_change
Reviewed-by: Sage Weil <sage@redhat.com>
Xie Xingguo [Thu, 20 Jun 2019 02:40:40 +0000 (10:40 +0800)]
Merge pull request #28629 from xiexingguo/wip-osd-df-by-pool-name
mgr, osd: 'osd df' by pool
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 18 Jun 2019 22:14:22 +0000 (15:14 -0700)]
qa: elide python version config
This test doesn't actually use the config and cephfs-shell is py3 only.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 18 Jun 2019 22:11:58 +0000 (15:11 -0700)]
cephfs-shell: assert python3
There's little reason to support this new tool with python2.
Fixes: http://tracker.ceph.com/issues/40418
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Thu, 20 Jun 2019 00:21:37 +0000 (20:21 -0400)]
Merge pull request #28553 from trociny/wip-40071
librbd: mirror image enable/disable should enable/disable journaling
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 19 Jun 2019 20:58:44 +0000 (16:58 -0400)]
Merge pull request #28627 from trociny/wip-40409
journal: properly advance read offset after skipping invalid range
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 19 Jun 2019 16:36:53 +0000 (00:36 +0800)]
Merge pull request #28460 from tchaikov/wip-cmake-detect-libnl
cmake: rewrite Findgenl to support components argument
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Dan van der Ster [Wed, 19 Jun 2019 14:57:13 +0000 (16:57 +0200)]
zstd: compat with v1.4.0
In zstd
d8e215cbee03b038fffe74aebad63b625c42f23c
ZSTD_compress_generic() is renamed to ZSTD_compressStream2().
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Dan van der Ster [Wed, 19 Jun 2019 13:58:13 +0000 (15:58 +0200)]
zstd: upgrade to v1.4.0
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Casey Bodley [Wed, 19 Jun 2019 13:32:18 +0000 (09:32 -0400)]
Merge pull request #28631 from cbodley/wip-17882
qa/rgw: extra s3tests tasks use rgw endpoint configuration
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 9 Jun 2019 09:33:19 +0000 (17:33 +0800)]
debian/control: remove "libnl-3-dev" from build dependencies
what we need is "libnl-genl-3-dev", libnl-3-dev should be a dependency
of "libnl-genl-3-dev". the only reason we would have added it, is if
the package maintainer of "libnl-genl-3-dev" fails to do so. and
the packages of "libnl-genl-3-dev" on both debian and ubuntu just look
correct in this perspective.
so let's remove this.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 9 Jun 2019 09:12:27 +0000 (17:12 +0800)]
cmake: rewrite Findgenl to support components argument
* rename genl to nl:
"genl" is not very specific without more context. and libnl is actually
a library suite. so it would be better if we can rename the library to
be found to "libnl", and by following the naming convention of CMake,
in this change, Findgenl.cmake is renamed to Findnl.cmake
* Findnl.cmake: support the component argument, in our specific case,
what we want is "libnl-genl" library, which is one of the libraries
offered by libnl. so let's just make it a component.
* Findnl.cmake: should pass the names of the required variables instead of
their values to `find_package_handle_standard_args()`. before this
change, we pass `GENL_LIBRARIES` to this function. it was correct at the
first glance. but it is not able to handle the case where case where
libnl-genl is not installed. so the fix is to pass all the names of
required library paths to this function. in this change, their name
are concatenated to a single variable -- `nl_LIBRARIES`, and the
value of this variable is passed to
`find_package_handle_standard_args()`. and the error message would
be more specific this way if libnl-genl is not found:
Could NOT find nl (missing: nl_genl_LIBRARY)
* Findnl.cmake: add nl::<component> as imported library, it helps the
consumer of these libraries to import them -- no need to
specify the `target_include_directories()` separately anymore.
* move the find_package() code to where it is used. it helps to improve
the readability.
* remove `HAVE_GENL` variable: it's not used anywhere.
* drop the messages of "Not using foobar", they do not help.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Wed, 19 Jun 2019 13:07:39 +0000 (15:07 +0200)]
mgr/dashboard: Ensure E2E tests can be run independently (#28592)
mgr/dashboard: Ensure E2E tests can be run independently
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nathan Weinberg <nweinber@redhat.com>
Reviewed-by: Rafael Quintero <rquinter@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Sage Weil [Wed, 19 Jun 2019 12:59:45 +0000 (07:59 -0500)]
Merge PR #28453 into master
* refs/pull/28453/head:
qa/valgrind.supp: be slightly less specific on suppression
msg/async, v2: make the reset_recv_state() unconditional.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 19 Jun 2019 12:15:18 +0000 (20:15 +0800)]
Merge pull request #28566 from liewegas/wip-40377
osd: copy (don't move) pg list when sending beacon
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 18 Jun 2019 16:44:19 +0000 (12:44 -0400)]
qa/rgw: update default port in perl workunits
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 18 Jun 2019 13:07:33 +0000 (09:07 -0400)]
qa/rgw: extra s3tests tasks use rgw endpoint configuration
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Tue, 18 Jun 2019 09:24:28 +0000 (12:24 +0300)]
journal: properly advance read offset after skipping invalid range
Fixes: https://tracker.ceph.com/issues/40409
Signed-off-by: Mykola Golub <mgolub@suse.com>
Patrick Donnelly [Wed, 19 Jun 2019 01:31:29 +0000 (18:31 -0700)]
Merge PR #28212 into master
* refs/pull/28212/head:
mds: trim cache during standby replay
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Wed, 19 Jun 2019 01:30:25 +0000 (18:30 -0700)]
Merge PR #28551 into master
* refs/pull/28551/head:
mds: don't mark cap NEEDSNAPFLUSH if client has no pending capsnap
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 19 Jun 2019 01:28:51 +0000 (18:28 -0700)]
Merge PR #28545 into master
* refs/pull/28545/head:
client: set snapdir's link count to 1
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Kefu Chai [Tue, 18 Jun 2019 15:31:40 +0000 (23:31 +0800)]
Merge pull request #28496 from ifed01/wip-ifed-fix-40080
os/bluestore: fix duplicate allocations in bmap allocator
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 18 Jun 2019 15:31:13 +0000 (23:31 +0800)]
Merge pull request #28509 from tchaikov/wip-mon_clean_pg_upmaps_per_chunk
common/options: make mon_clean_pg_upmaps_per_chunk unsigned
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 18 Jun 2019 15:29:42 +0000 (23:29 +0800)]
Merge pull request #28418 from xiexingguo/wip-kick-recovery-priority
osd: give recovery ops initialized by client op a higher priority
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 18 Jun 2019 15:12:35 +0000 (23:12 +0800)]
Merge pull request #25395 from rzarzynski/wip-build-compiletest_cxx11_client
tests: introduce compiletest_cxx11_client for C++11 conformity.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 18 Jun 2019 15:02:40 +0000 (10:02 -0500)]
Merge PR #28229 into master
* refs/pull/28229/head:
os/bluestore: do garbage collection if blob count is too high.
common/perf_conters: make dump_formatted_xxx funcs as const.
os/bluestore: store extents for GC within WriteContext.
os/bluestore: GC class, make some members local.
os/bluestore: vector -> interval set in GC to track extents to collect.
tests/store_test: many-many spanning blobs test case
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Jun 2019 14:58:22 +0000 (09:58 -0500)]
Merge PR #28630 into master
* refs/pull/28630/head:
os/bluestore: fix duplicative and misleading debug in KernelDevice::open().
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Patrick Nawracay [Mon, 17 Jun 2019 09:36:53 +0000 (11:36 +0200)]
mgr/dashboard: Ensure E2E tests can be run independently
Introduces the PageHelper.
- Reads class attributes from Helpers to reduce boilerplace code for
navigation.
- The PageHelper is supposed to be the new class for code that's reused
across all Helpers for page related code.
- The Helper class is by now meant to be used for non-page specific
helper code, like used in the `checkConsole` method.
- The Helper class will act as central registry to enable all other
tests to use helper functions of all derived PageHelper tests.
Example:
`Helper.pools.create('foobar', ...);`
Fixes: http://tracker.ceph.com/issues/40397
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Radoslaw Zarzynski [Tue, 18 Jun 2019 12:36:30 +0000 (14:36 +0200)]
os/bluestore: fix duplicative and misleading debug in KernelDevice::open().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
xie xingguo [Tue, 18 Jun 2019 12:05:31 +0000 (20:05 +0800)]
mgr, osd: 'ceph osd df' by pool
Our test admin has been asking for this for the past few years:-)
Besides, this is also useful for operating on large Ceph clusters with
mutliple storage pools possibly spanning over all osds.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Lenz Grimmer [Tue, 18 Jun 2019 11:20:20 +0000 (13:20 +0200)]
mgr/dashboard: Update translations (#28059)
mgr/dashboard: Update translations
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Mykola Golub [Tue, 18 Jun 2019 11:04:59 +0000 (12:04 +0100)]
qa/workunits/rbd: tweak mirror tests
(after "image mirror disable" started to disable journaling)
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 14 Jun 2019 12:49:36 +0000 (13:49 +0100)]
librbd: mirror image enable/disable should enable/disable journaling
Fixes: https://tracker.ceph.com/issues/40071
Signed-off-by: Mykola Golub <mgolub@suse.com>
Lenz Grimmer [Tue, 18 Jun 2019 10:16:23 +0000 (12:16 +0200)]
Merge pull request #28377 from p-na/wip-pna-message-xlf-opt
mgr/dashboard: Improve hints shown when message.xlf is invalid
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Tue, 18 Jun 2019 10:14:09 +0000 (12:14 +0200)]
mgr/dashboard: Log's time from UTC to local (#27777)
mgr/dashboard: Log's time from UTC to local
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
xie xingguo [Tue, 18 Jun 2019 08:06:52 +0000 (16:06 +0800)]
osd/OSDMap: pass filter directly to the OSDUtilizationDumper
This makes the code easy to maintain and especially to extend,
e.g., adding per pool filters.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sebastian Wagner [Tue, 18 Jun 2019 07:09:06 +0000 (09:09 +0200)]
Merge pull request #28264 from rhcs-dashboard/mypy-config-to-file
src/script: extract mypy config to mypy.ini
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Zengran Zhang [Tue, 18 Jun 2019 03:32:33 +0000 (11:32 +0800)]
osd: accident of rollforward may need to mark pglog dirty
refers: https://github.com/ceph/ceph/pull/27015/files#r294114392
Fixes: http://tracker.ceph.com/issues/40403
Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
Yuri Weinstein [Mon, 17 Jun 2019 20:22:49 +0000 (13:22 -0700)]
Merge pull request #28605 from cbodley/wip-40304
qa/rgw: fix import error in tasks/swift.py
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Casey Bodley [Mon, 17 Jun 2019 15:54:36 +0000 (11:54 -0400)]
qa/rgw: fix import error in tasks/swift.py
> ImportError: No module named packaging
replaces packaging.version.Version with distutils.version.LooseVersion
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Lenz Grimmer [Mon, 17 Jun 2019 13:28:48 +0000 (15:28 +0200)]
Merge pull request #28095 from Devp00l/wip-39702
mgr/dashboard: OSD custom action button removal
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Jason Dillaman [Mon, 17 Jun 2019 13:02:58 +0000 (09:02 -0400)]
Merge pull request #27670 from trociny/wip-rbd-mirror-fetch-autotune
rbd-mirror: adjust journal fetch properties based on memory target
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 17 Jun 2019 13:02:40 +0000 (09:02 -0400)]
Merge pull request #28524 from trociny/wip-qa-rbd-mirror-compare
qa/workunits/rbd: fix compare_images and compare_image_snapshots
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 17 Jun 2019 13:01:04 +0000 (09:01 -0400)]
Merge pull request #28529 from trociny/wip-journal-in_flight_advance_sets
journal: wait for in flight advance sets on stopping recorder
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Mon, 17 Jun 2019 11:29:00 +0000 (13:29 +0200)]
mgr/dashboard: Add QA tests for RBD configuration (#27774)
mgr/dashboard: Add QA tests for RBD configuration
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Patrick Nawracay [Mon, 17 Jun 2019 11:01:33 +0000 (13:01 +0200)]
mgr/dashboard: Cleanup HACKING.rst
Rephrase explanations on how to write E2E tests with Protractor.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Kefu Chai [Mon, 17 Jun 2019 09:57:16 +0000 (17:57 +0800)]
Merge pull request #28586 from aclamk/fix-vstart-extra-conf
vstart.sh: Fix problem that all extra_conf got merged into single line.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Adam Kupczyk [Mon, 17 Jun 2019 07:43:44 +0000 (09:43 +0200)]
vstart.sh: Fix problem that all extra_conf got merged into single line.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
Mohamad Gebai [Sun, 16 Jun 2019 14:09:52 +0000 (10:09 -0400)]
log: fix store_statfs log line
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
Mykola Golub [Sat, 15 Jun 2019 08:34:34 +0000 (11:34 +0300)]
Merge pull request #28559 from dillaman/wip-40368
librbd: avoid dereferencing an empty container during deep-copy
Reviewed-by: Mykola Golub <mgolub@suse.com>
xie xingguo [Sat, 15 Jun 2019 06:24:29 +0000 (14:24 +0800)]
osdc/Objecter: _calc_target - inline spgid
A follow-up of https://github.com/ceph/ceph/pull/28487.
For erasure pools this can save us an obviously redundant call
of do_crush and other things.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Xie Xingguo [Sat, 15 Jun 2019 05:31:02 +0000 (13:31 +0800)]
Merge pull request #28487 from xiexingguo/wip-objecter-pg-mapping-cache
osdc/Objecter: pg-mapping cache
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Sat, 15 Jun 2019 03:08:39 +0000 (11:08 +0800)]
mon/OSDMonitor: fix off-by-one when updating new_last_in_change
E.g., osdmap.osd_weight[osdmap.max_osd] does not exist.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Patrick Donnelly [Fri, 14 Jun 2019 21:51:07 +0000 (14:51 -0700)]
Merge PR #28082 into master
* refs/pull/28082/head:
mgr / volumes: improve error handling
py / cephfs: invoke base class Error::__init__() from OSError::__init__()
mgr / volumes: carve out subvolume operations as a separate class
mgr / volumes: introduce subvolume specification class
mgr / volumes: carve of volume as a separate class
Sage Weil [Fri, 14 Jun 2019 21:23:21 +0000 (16:23 -0500)]
osd: copy (don't move) pg list when sending beacon
If we move the list, then a second beacon sent before the pg list refreshes
will be empty.
Fixes: http://tracker.ceph.com/issues/40377
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Fri, 14 Jun 2019 18:44:17 +0000 (11:44 -0700)]
Merge PR #28198 into master
* refs/pull/28198/head:
qa/tasks: upgrade command arguments checks in vstart_runner.py
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Fri, 14 Jun 2019 17:34:24 +0000 (13:34 -0400)]
librbd: avoid dereferencing an empty container during deep-copy
While updating the image copy progress, a 'while' loop will pop the
last item from the queue and then deference the empty queue.
Fixes: http://tracker.ceph.com/issues/40368
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 17:20:51 +0000 (01:20 +0800)]
Merge pull request #27773 from istudko/patch-1
doc/releases/nautilus: Correct a systemctl command in an upgrade guide
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 17:19:26 +0000 (01:19 +0800)]
Merge pull request #27201 from bstillwell/bootstrap-keyring-caps-doc-fix
doc: Add missing mgr cap for the bootstrap keyring
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 17:07:24 +0000 (01:07 +0800)]
Merge pull request #28526 from Osa1989/patch-1
doc/releases/nautilus.rst: fix command to check min_compat_client
Reviewed-by: Kefu Chai <kchai@redhat.com>
Neha Ojha [Fri, 14 Jun 2019 16:34:57 +0000 (09:34 -0700)]
Merge pull request #28522 from neha-ojha/wip-add-client-endpoints
qa/tasks/cbt.py: add support for client_endpoints
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Mykola Golub [Fri, 14 Jun 2019 15:19:31 +0000 (18:19 +0300)]
Merge pull request #28346 from smithfarm/wip-39447-alt
qa/rbd: add cram-based snap diff test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Stephan Müller [Wed, 17 Apr 2019 12:17:44 +0000 (14:17 +0200)]
mgr/dashboard: OSD custom action button removal
Now the custom action dropdown is removed from the OSD component. It was
nearly a clone of the table actions button component, but it had a
different behavior as it did not show the main action inside the dropdown.
Fixes: https://tracker.ceph.com/issues/39702
Signed-off-by: Stephan Müller <smueller@suse.com>
Yuri Weinstein [Fri, 14 Jun 2019 15:16:32 +0000 (08:16 -0700)]
Merge pull request #28532 from cbodley/wip-40304
qa/rgw: skip swift tests on rhel 7.6+
Kamoltat (Junior) Sirivadhna [Fri, 14 Jun 2019 14:36:19 +0000 (10:36 -0400)]
mgr/progress: Add recovery event when OSD marked in
Added the check for osd_id to account for
the acting set of both the old and new maps
to cover both osd marked out and in
respectively
Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Osa1989 [Thu, 13 Jun 2019 08:31:02 +0000 (10:31 +0200)]
doc/releases/nautilus.rst: fix command to check min_compat_client
Command should be "ceph osd dump | grep min_compat_client"
Signed-off-by: Osama Elswah <osama.ibrahim.89@gmail.com>
Igor Fedotov [Fri, 14 Jun 2019 10:43:49 +0000 (13:43 +0300)]
Merge pull request #27951 from ifed01/wip-ifed-fix-slowop-log
os/bluestore: fix origin reference in logging slow ops.
Kefu Chai [Fri, 14 Jun 2019 10:29:38 +0000 (18:29 +0800)]
Merge pull request #28490 from xiexingguo/wip-40193
mon/OSDMonitor: report pg[pgp]_num_target instead of pg[pgp]_num
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 10:27:44 +0000 (18:27 +0800)]
Merge pull request #28322 from liewegas/wip-preextend
os/bluestore: bluefs_preextend_wal_files=true
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Laura Paduano [Fri, 14 Jun 2019 10:02:02 +0000 (12:02 +0200)]
Merge pull request #28260 from s0nea/wip-dashboard-pool-delete-flag
mgr/dashboard: consider 'mon_allow_pool_delete' flag
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Yan, Zheng [Fri, 14 Jun 2019 09:32:42 +0000 (17:32 +0800)]
mds: don't mark cap NEEDSNAPFLUSH if client has no pending capsnap
This avoid getting wrlocks and setup client_snap_caps on snap inode.
Because there is no further snapflush that triggers releasing these
wrlocks.
Fixes: https://tracker.ceph.com/issues/40361
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 09:34:42 +0000 (17:34 +0800)]
Merge pull request #28534 from tchaikov/wip-crimson-mkkey
crimson/osd: add --mkkey support
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 09:14:43 +0000 (17:14 +0800)]
Merge pull request #28464 from majianpeng/fio-ceph-messenger-multi-client
test/fio/fio_ceph_messenger: make exec multi client on the same host.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 08:37:33 +0000 (16:37 +0800)]
Merge pull request #28404 from xiexingguo/wip-osd-noup-stall
osd/OSD: keep synchronizing with mon if stuck at booting
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 06:57:55 +0000 (14:57 +0800)]
crimson/osd: ignore exception when stopping osd
OSD::stop() is a top-level method in the sense that it will be called
directly when engine stops. so it should not throw any exceptions.
instead, we will print out the error and ignore the exception if any.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 13 Jun 2019 14:48:48 +0000 (22:48 +0800)]
crimson/osd: add --mkkey support
see qa/tasks/ceph.py for how it is used, and why we need it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 13 Jun 2019 14:44:16 +0000 (22:44 +0800)]
crimson/os: use buffer::write_file() helper
instead of using the blocking calls
so we can write to file without blocking the reactor
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 03:49:47 +0000 (11:49 +0800)]
crimson: add buffer_io helpers
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 14 Jun 2019 07:43:41 +0000 (15:43 +0800)]
Merge pull request #28507 from tchaikov/wip-cmake-dpdk-boost
cmake: update SPDK to build with GCC-9
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Nathan Cutler [Fri, 31 May 2019 10:57:15 +0000 (12:57 +0200)]
qa/rbd: add cram-based snap diff test
Fixes: http://tracker.ceph.com/issues/39447
Signed-off-by: Shyukri Shyukriev <shshyukriev@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Thu, 13 Jun 2019 14:38:02 +0000 (22:38 +0800)]
auth/KeyRing: remove KeyRing::create_empty()
it never fails unless out of memory. and it would be simpler to just
allocate it on stack.
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Thu, 6 Jun 2019 08:12:27 +0000 (16:12 +0800)]
osdc/Objecter: pg-mapping cache
The CRUSH-based addressing is some kind of CPU intensive task
and hence should be avoid whenever possible.
The patch introduces a per objecter pg-mapping cache, which as
a result can saved us 10%+ CPU (fio, 4k randow read, 24k IOPS):
Was:
$ top -Hp 415864
top - 14:45:39 up 6 days, 5:45, 3 users, load average: 9.67, 8.66, 8.45
Threads: 23 total, 3 running, 20 sleeping, 0 stopped, 0 zombie
%Cpu(s): 21.6 us, 14.5 sy, 0.0 ni, 59.6 id, 1.4 wa, 0.0 hi, 3.0 si, 0.0 st
KiB Mem :
19616576 +total,
12773412 +free,
50964508 used,
17467128 buff/cache
KiB Swap:
4194300 total,
4194300 free, 0 used.
14352892 +avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
415942 root 20 0
1957800 492820 123880 R 80.0 0.3 0:13.75 tp_librbd
Now:
$ top -Hp 475779
top - 10:22:05 up 1:18, 4 users, load average: 2.65, 1.44, 1.60
Threads: 23 total, 2 running, 21 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6.1 us, 2.2 sy, 0.0 ni, 91.4 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st
KiB Mem :
19616576 +total,
13919555 +free,
27280820 used,
29689392 buff/cache
KiB Swap:
4194300 total,
4194300 free, 0 used.
16798102 +avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
476231 root 20 0
1957808 491712 123836 S 71.1 0.3 0:41.47 tp_librbd
And below is a more detailed report from the perf tool:
Was:
$ perf report -g graph
Children Self Command Shared Object Symbol
+ 29.33% 0.03% tp_librbd librados.so.2.0.0 [.] Objecter::op_submit
+ 28.83% 0.09% tp_librbd librados.so.2.0.0 [.] Objecter::_op_submit_with_budget
+ 27.12% 0.17% tp_librbd librados.so.2.0.0 [.] Objecter::_op_submit
+ 16.47% 0.26% tp_librbd librados.so.2.0.0 [.] Objecter::_calc_target
+ 15.04% 0.10% tp_librbd libceph-common.so.0 [.] OSDMap::_pg_to_up_acting_osds
+ 13.52% 0.16% tp_librbd libceph-common.so.0 [.] OSDMap::_pg_to_raw_osds
Now:
$ perf report -g graph
Children Self Command Shared Object Symbol
+ 17.84% 0.04% tp_librbd librados.so.2.0.0 [.] Objecter::op_submit
+ 17.34% 0.06% tp_librbd librados.so.2.0.0 [.] Objecter::_op_submit_with_budget
+ 15.80% 0.17% tp_librbd librados.so.2.0.0 [.] Objecter::_op_submit
+ 6.11% 2.02% tp_librbd librados.so.2.0.0 [.] Objecter::_calc_target
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 14 Jun 2019 05:27:45 +0000 (13:27 +0800)]
Merge pull request #28535 from tchaikov/wip-crimson-packaging
debian/: use ceph-osd for packaging crimson-osd
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Venky Shankar [Sun, 19 May 2019 17:34:57 +0000 (13:34 -0400)]
mgr / volumes: improve error handling
This cleans up lots of return-fu statements and make the source
look much more pythonic. Functions should raise an instance of
VolumeException() class wherever necessary (error handling).
Fixes: http://tracker.ceph.com/issues/39969
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Sun, 19 May 2019 17:20:51 +0000 (13:20 -0400)]
py / cephfs: invoke base class Error::__init__() from OSError::__init__()
This will allow access to `args` when catching `Error`.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Fri, 17 May 2019 05:40:37 +0000 (01:40 -0400)]
mgr / volumes: carve out subvolume operations as a separate class
Move (and refactor) subvolume specific operations from main module
source to SubVolume class in a new subvolume source. Also, provide
hooks in VolumeClient to forward subvolume specific opertaions to
this class.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Thu, 16 May 2019 05:54:12 +0000 (01:54 -0400)]
mgr / volumes: introduce subvolume specification class
Specifications class that represents a unique subvolume
identified by (subvolume-id, group-id) tuple. Provide
heleper functions for fetching various subvolume specific
attributes such as subvolume path, group path etc.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 13 May 2019 12:15:35 +0000 (17:45 +0530)]
mgr / volumes: carve of volume as a separate class
Move volume operations (create/delete) from main module source
to VolumeClient class in new volume source.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Yan, Zheng [Fri, 14 Jun 2019 04:01:31 +0000 (12:01 +0800)]
client: set snapdir's link count to 1
Otherwise nfs-ganesha treats snapdir as stale.
Fixes: https://tracker.ceph.com/issues/40101
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Kamoltat (Junior) Sirivadhna [Thu, 13 Jun 2019 20:22:01 +0000 (16:22 -0400)]
mgr/progress: Add recovery event when OSD marked in
Combine the functions _osd_in and _osd_out in
to a single function call _osd_in_out, which
has a parameter called marked (string) that
will indicate if the event is when an osd is
marked in or out. Consider only the 'acting'
set of an osd for both when 'in' and 'out'
event of the osd to calculate affected PGs
Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Patrick Donnelly [Thu, 13 Jun 2019 19:22:05 +0000 (12:22 -0700)]
Merge PR #28456 into master
* refs/pull/28456/head:
mds: ignore sessionmap version mismatch if mds_wipe_sessions is set
mds: fix corner case of replaying open sessions
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Thu, 13 Jun 2019 19:00:21 +0000 (15:00 -0400)]
Merge pull request #28521 from alimaredia/wip-qa-rgw-ssl
qa: use curl in wait_for_radosgw() in util/rgw.py
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Thu, 13 Jun 2019 17:57:25 +0000 (13:57 -0400)]
Merge pull request #28415 from linuxbox2/wip-full-odsock
rgw/OutputDataSocket: actually discard data on full buffer