]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agorpm,deb: package libceph-common.so.* not libceph-common.so* 24616/head
Kefu Chai [Thu, 1 Nov 2018 03:52:07 +0000 (11:52 +0800)]
rpm,deb: package libceph-common.so.* not libceph-common.so*

be more explicit on what we are packaging. because only
libceph-common.so.${soversion} will be packaged, since libceph-common.so
won't be installed by cmake anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: do not create symlink for libceph-common.so.*
Kefu Chai [Thu, 1 Nov 2018 03:50:45 +0000 (11:50 +0800)]
cmake: do not create symlink for libceph-common.so.*

and bump up its soversion, so it won't conflict with libceph-common.so.0
offered by librados2.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoqa: add librados3 to exclude list of pre-nautilus install tasks
Kefu Chai [Thu, 1 Nov 2018 02:57:46 +0000 (10:57 +0800)]
qa: add librados3 to exclude list of pre-nautilus install tasks

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoqa: s/librados2/librados3/
Kefu Chai [Thu, 1 Nov 2018 02:57:16 +0000 (10:57 +0800)]
qa: s/librados2/librados3/

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: s/librados2/librados3/
Kefu Chai [Mon, 29 Oct 2018 11:33:32 +0000 (19:33 +0800)]
doc: s/librados2/librados3/

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodebian: s/librados2/librados3/
Kefu Chai [Mon, 29 Oct 2018 10:15:30 +0000 (18:15 +0800)]
debian: s/librados2/librados3/

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agorpm: s/librados2/librados3/
Kefu Chai [Mon, 29 Oct 2018 10:15:13 +0000 (18:15 +0800)]
rpm: s/librados2/librados3/

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: bump librados so version
Kefu Chai [Mon, 29 Oct 2018 10:08:36 +0000 (18:08 +0800)]
cmake: bump librados so version

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agolibrados: bump version number
Kefu Chai [Mon, 29 Oct 2018 09:49:26 +0000 (17:49 +0800)]
librados: bump version number

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoqa: update test_envlibrados_for_rocksdb.sh for libradospp split
Kefu Chai [Mon, 29 Oct 2018 07:34:52 +0000 (15:34 +0800)]
qa: update test_envlibrados_for_rocksdb.sh for libradospp split

include a patch so rocksdb can use libradospp instead of librados. will
upstream the patch and make it work for both pre-nautilus librados and
nautilus libradospp

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agorpm: add libradospp* packages
Kefu Chai [Tue, 23 Oct 2018 03:26:37 +0000 (11:26 +0800)]
rpm: add libradospp* packages

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodebian: add libradospp* packages
Kefu Chai [Tue, 23 Oct 2018 03:11:53 +0000 (11:11 +0800)]
debian: add libradospp* packages

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agolibrados: move C++ APIs into libradospp
Kefu Chai [Tue, 9 Jan 2018 09:19:28 +0000 (17:19 +0800)]
librados: move C++ APIs into libradospp

the goal is to decouple C++ API from C API, and to version them
differently, as they are targeting different consumers.

this allows us to change the C++ API and bumping up its soversion
without requiring consumer to recompile the librados client for
using the new librados. in this way, C++ API can move faster than
C API. for example, if bufferlist interface is changed for better
performance, and this breaks existing API/ABI, we can bump up
the C++ library's soversion, and and the C library's version unchanged
but ship the new librados's C binding. so the librados client linked
against librados's C library will be able to take advantage of
the improvement in C++ library. while the librados client
linked against C++ library won't break at runtime due to unresolved
symbol or changed structure layout.

this is massive change, the genereal idea is to

* split librados.cc into two source files: librados_c.cc and
  librados_cxx.cc, the former for implementing C APIs, the later
  for C++ APIs.
* extract the C++ API in librados into librados-cxx, the library
  name will be libradospp. but we can change it before nautilus
  is released.
* link these librados libraries with static libraries which it
  depends on, so "-Wl,--exclude-libs,ALL" link flags can help
  hide the non-public symbols.
* extract the tests exercising librados' C++ API into a different
  source file named *_cxx.cc. for instance, to move the C++ tests
  in aio.cc into aio_cxx.cc
* extract the shared helper functions which do not use any librados
  or librados-cxx APIs into test_shared{.cc,h}. the "shared" here
  means, *shared* by C++ and C tests.
* extract the test fixtures, i.e., the subclasses of testing::Test,
  for testing C++ APIs into testcase_cxx.cc.
* update qa/workunits/rados/test.sh accordingly to add the splitted
  tests
* update the consumers of librados to link against librados-cxx
  instead, if they are using the C++ API.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agolibrados: move get_inconsistent_pgs() into RadosClient
Kefu Chai [Wed, 24 Oct 2018 07:35:05 +0000 (15:35 +0800)]
librados: move get_inconsistent_pgs() into RadosClient

so we don't need parse the pg string and render it again for librados C
API.

the downside of this change is that, get_inconsistent_pgs() could be
implemented using RadosClient, instead be *in* it. but before we have
a place for the helper functions for these higher-level functions,
RadosClient is a good place for hosting them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24406 from ivancich/wip-rgw-renew-reshard-lock
Casey Bodley [Thu, 1 Nov 2018 16:06:11 +0000 (12:06 -0400)]
Merge pull request #24406 from ivancich/wip-rgw-renew-reshard-lock

rgw: renew resharding locks to prevent expiration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #20598 from rishabh-d-dave/fix-rbdfuse-look-for-ceph-conf
Jason Dillaman [Thu, 1 Nov 2018 13:55:58 +0000 (09:55 -0400)]
Merge pull request #20598 from rishabh-d-dave/fix-rbdfuse-look-for-ceph-conf

rbd-fuse: look for ceph.conf in standard locations

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24829 from p-na/pna-fix-docstring
Lenz Grimmer [Thu, 1 Nov 2018 13:04:39 +0000 (14:04 +0100)]
Merge pull request #24829 from p-na/pna-fix-docstring

mgr/dashboard: Fix links to external documentation

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #21767 from cfanz/wip-fix-rgw-race-condition
Matt Benjamin [Wed, 31 Oct 2018 18:56:29 +0000 (14:56 -0400)]
Merge pull request #21767 from cfanz/wip-fix-rgw-race-condition

rgw: avoid race condition in RGWHTTPClient::wait()

6 years agoMerge pull request #24810 from rhcs-dashboard/35691-landing-page-chart-improvements
Ricardo Marques [Wed, 31 Oct 2018 18:36:36 +0000 (18:36 +0000)]
Merge pull request #24810 from rhcs-dashboard/35691-landing-page-chart-improvements

mgr/dashboard: Landing Page: chart improvements

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #20794 from ghost/wip-nfs-doc-err
Matt Benjamin [Wed, 31 Oct 2018 18:30:02 +0000 (14:30 -0400)]
Merge pull request #20794 from ghost/wip-nfs-doc-err

doc: replace rgw_namespace_expire_secs with rgw_nfs_namespace_expire_secs

6 years agoMerge pull request #21599 from cfanz/wip-fix-rgw-build-error
Matt Benjamin [Wed, 31 Oct 2018 18:26:02 +0000 (14:26 -0400)]
Merge pull request #21599 from cfanz/wip-fix-rgw-build-error

rgw: fix radosgw-admin build error

6 years agoMerge pull request #19983 from gohighsec/validate_hitset
Joao Eduardo Luis [Wed, 31 Oct 2018 14:39:06 +0000 (14:39 +0000)]
Merge pull request #19983 from gohighsec/validate_hitset

mon:validate hit_set values before set

6 years agoMerge pull request #24848 from joke-lee/wip-doc-radosgw-admin
Casey Bodley [Wed, 31 Oct 2018 12:04:23 +0000 (08:04 -0400)]
Merge pull request #24848 from joke-lee/wip-doc-radosgw-admin

rgw: add --op-mask in radosgw-admin help info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24840 from ceph/wip-rm36648
Alfredo Deza [Wed, 31 Oct 2018 11:06:02 +0000 (07:06 -0400)]
Merge pull request #24840 from ceph/wip-rm36648

ceph-volume systemd import main so console_scripts work for executable

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agorgw: add --op-mask in radosgw-admin help info 24848/head
yuliyang [Wed, 31 Oct 2018 06:50:13 +0000 (14:50 +0800)]
rgw: add --op-mask in radosgw-admin help info

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
6 years agoMerge PR #19411 into master
Sage Weil [Tue, 30 Oct 2018 22:36:55 +0000 (17:36 -0500)]
Merge PR #19411 into master

* refs/pull/19411/head:
osd: Step down RecoveryCtx from class to struct

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #19288 into master
Sage Weil [Tue, 30 Oct 2018 22:32:25 +0000 (17:32 -0500)]
Merge PR #19288 into master

* refs/pull/19288/head:
bluestore/BlueRocksEnv: Object initialization after deletion

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
6 years agoMerge PR #19142 into master
Sage Weil [Tue, 30 Oct 2018 22:18:06 +0000 (17:18 -0500)]
Merge PR #19142 into master

* refs/pull/19142/head:
doc/dev/kernel-client-troubleshooting: Add kernel dynamic debuggin

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
6 years agoMerge PR #19146 into master
Sage Weil [Tue, 30 Oct 2018 22:17:36 +0000 (17:17 -0500)]
Merge PR #19146 into master

* refs/pull/19146/head:
doc/dev/logs: Removes non-existence file path

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #19726 into master
Sage Weil [Tue, 30 Oct 2018 21:09:06 +0000 (16:09 -0500)]
Merge PR #19726 into master

* refs/pull/19726/head:
osd: Sanity check, if too full or not

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #24809 into master
Sage Weil [Tue, 30 Oct 2018 20:09:45 +0000 (15:09 -0500)]
Merge PR #24809 into master

* refs/pull/24809/head:
os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
os/bluestore: improve error handling for migrate ops in
qa/standtalone/osd-bluefs-volume-ops: remove redundant code.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #21009 into master
Sage Weil [Tue, 30 Oct 2018 20:08:00 +0000 (15:08 -0500)]
Merge PR #21009 into master

* refs/pull/21009/head:
rados: fix error message for cache(-try)-flush-evict-all commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #24534 into master
Sage Weil [Tue, 30 Oct 2018 20:07:44 +0000 (15:07 -0500)]
Merge PR #24534 into master

* refs/pull/24534/head:
librados: Copy buffer on AIO read

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #24545 into master
Sage Weil [Tue, 30 Oct 2018 20:06:45 +0000 (15:06 -0500)]
Merge PR #24545 into master

* refs/pull/24545/head:
os/bluestore: debug_omit_block_device_write isn't always respected.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24548 into master
Sage Weil [Tue, 30 Oct 2018 20:06:25 +0000 (15:06 -0500)]
Merge PR #24548 into master

* refs/pull/24548/head:
Objecter: add ignore cache flag if got redirect reply

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24599 into master
Sage Weil [Tue, 30 Oct 2018 20:06:10 +0000 (15:06 -0500)]
Merge PR #24599 into master

* refs/pull/24599/head:
os/bluestore/KernelDevice: Honor discard_granularity

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24742 into master
Sage Weil [Tue, 30 Oct 2018 20:05:51 +0000 (15:05 -0500)]
Merge PR #24742 into master

* refs/pull/24742/head:
osd: slightly refactor PrimaryLogPG::do_op.
osd: avoid unnecessary map lookups in PrimaryLogPG::do_op.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoceph-volume systemd import main so console_scripts work for executable 24840/head
Alfredo Deza [Tue, 30 Oct 2018 19:50:28 +0000 (15:50 -0400)]
ceph-volume systemd import main so console_scripts work for executable

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #22132 from yehudasa/wip-menv
Yehuda Sadeh [Tue, 30 Oct 2018 16:00:19 +0000 (09:00 -0700)]
Merge pull request #22132 from yehudasa/wip-menv

ceph-menv: mrun shell environment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #24755 into master
Sage Weil [Tue, 30 Oct 2018 15:20:02 +0000 (10:20 -0500)]
Merge PR #24755 into master

* refs/pull/24755/head:
mgr/diskprediction: use global device_failure_prediction_mode setting

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24764 from tspmelo/wip-jest-ci
Lenz Grimmer [Tue, 30 Oct 2018 14:58:01 +0000 (15:58 +0100)]
Merge pull request #24764 from tspmelo/wip-jest-ci

mgr/dashboard: Reduce Jest logs in CI

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24633 from Devp00l/wip-issue-36467
Lenz Grimmer [Tue, 30 Oct 2018 14:50:31 +0000 (15:50 +0100)]
Merge pull request #24633 from Devp00l/wip-issue-36467

mgr/dashboard: Add a unit test form helper class

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Cleanup imports 24829/head
Patrick Nawracay [Tue, 30 Oct 2018 13:57:49 +0000 (14:57 +0100)]
mgr/dashboard: Cleanup imports

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: Fix links to documentations
Patrick Nawracay [Tue, 30 Oct 2018 13:41:20 +0000 (14:41 +0100)]
mgr/dashboard: Fix links to documentations

- Added anchor to Grafana in URL of OSD, Overall Performance
- Fixed URL in Object Gateway, Buckets

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge PR #24668 into master
Sage Weil [Tue, 30 Oct 2018 13:47:54 +0000 (08:47 -0500)]
Merge PR #24668 into master

* refs/pull/24668/head:
mgr/DaemonState: fix get_config_defaults locking
mgr: adjust DaemonState device index when daemon metadata is updated
mgr/DaemonState: clear devices in set_metadata

Reviewed-by: Tim Serong <tserong@suse.com>
6 years agoMerge pull request #24773 from sileht/no-scripts
Alfredo Deza [Tue, 30 Oct 2018 13:12:17 +0000 (09:12 -0400)]
Merge pull request #24773 from sileht/no-scripts

ceph-volume: use console_scripts

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agorbd-fuse: look for ceph.conf in standard locations 20598/head
Rishabh Dave [Thu, 25 Oct 2018 13:26:50 +0000 (13:26 +0000)]
rbd-fuse: look for ceph.conf in standard locations

Fixes: http://tracker.ceph.com/issues/12219
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: Renamed CdFormGroups inital test description 24633/head
Stephan Müller [Fri, 19 Oct 2018 15:29:13 +0000 (17:29 +0200)]
mgr/dashboard: Renamed CdFormGroups inital test description

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Use form helper in dashboard tests
Stephan Müller [Thu, 2 Aug 2018 10:48:52 +0000 (12:48 +0200)]
mgr/dashboard: Use form helper in dashboard tests

Using form helper in pool, RGW user, user and role form tests and
although in the cd-validator tests.

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24715 from ricardoasmarques/fix-36564
Lenz Grimmer [Tue, 30 Oct 2018 11:19:12 +0000 (12:19 +0100)]
Merge pull request #24715 from ricardoasmarques/fix-36564

mgr/dashboard: Fix ts error on iSCSI page

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Add a unit test form helper class
Stephan Müller [Thu, 2 Aug 2018 10:50:24 +0000 (12:50 +0200)]
mgr/dashboard: Add a unit test form helper class

This class helps testing forms, most methods were outsourced from the
pool form test suite.

Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24735 from b-ranto/wip-rpm-dashboards
Kefu Chai [Tue, 30 Oct 2018 10:57:12 +0000 (18:57 +0800)]
Merge pull request #24735 from b-ranto/wip-rpm-dashboards

build/ops: rpm: Package grafana dashboards

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23569 from jcsp/wip-kubejacker
John Spray [Tue, 30 Oct 2018 10:29:36 +0000 (10:29 +0000)]
Merge pull request #23569 from jcsp/wip-kubejacker

script/kubejacker: include cls libs

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #22833 from rjfd/wip-dashboard-jwt
Lenz Grimmer [Tue, 30 Oct 2018 09:50:20 +0000 (10:50 +0100)]
Merge pull request #22833 from rjfd/wip-dashboard-jwt

mgr/dashboard: JWT authentication

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Landing Page: chart improvements 24810/head
alfonsomthd [Mon, 29 Oct 2018 20:24:03 +0000 (21:24 +0100)]
mgr/dashboard: Landing Page: chart improvements
- Updated chart colors.
- Added border for chart slices (visual impairment help).
- Adjusted chart vertical centering.

Fixes: https://tracker.ceph.com/issues/35691
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
6 years agoMerge pull request #21243 from majianpeng/osd-misc-cleanup 21486/head
Josh Durgin [Tue, 30 Oct 2018 04:23:11 +0000 (21:23 -0700)]
Merge pull request #21243 from majianpeng/osd-misc-cleanup

osd/ReplicatedBackend: remove useless assert

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoosd/ReplicatedBackend: remove useless assert. 21243/head
Jianpeng Ma [Mon, 22 Oct 2018 10:09:02 +0000 (18:09 +0800)]
osd/ReplicatedBackend: remove useless assert.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agoMerge pull request #13925 from nvedant07/bug_fix_1
Gregory Farnum [Mon, 29 Oct 2018 22:16:29 +0000 (15:16 -0700)]
Merge pull request #13925 from nvedant07/bug_fix_1

osdmaptool/cleanup: Completed osdmaptool's usage

6 years agoMerge pull request #24791 from falcon78921/wip-docs-demodocs
Gregory Farnum [Mon, 29 Oct 2018 20:45:48 +0000 (13:45 -0700)]
Merge pull request #24791 from falcon78921/wip-docs-demodocs

doc: added demo document changes section

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoos/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if 24809/head
Igor Fedotov [Mon, 29 Oct 2018 18:14:32 +0000 (21:14 +0300)]
os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
needed.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agomgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization 22833/head
Ricardo Dias [Tue, 3 Jul 2018 15:57:06 +0000 (16:57 +0100)]
mgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: frontend: JWT authentication implementation
Ricardo Dias [Tue, 3 Jul 2018 10:34:11 +0000 (11:34 +0100)]
mgr/dashboard: frontend: JWT authentication implementation

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: run-backend-api-request.sh: support for JTW tokens
Ricardo Dias [Tue, 3 Jul 2018 10:33:33 +0000 (11:33 +0100)]
mgr/dashboard: run-backend-api-request.sh: support for JTW tokens

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: backend: JWT based authentication
Ricardo Dias [Tue, 3 Jul 2018 10:32:54 +0000 (11:32 +0100)]
mgr/dashboard: backend: JWT based authentication

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoos/bluestore: improve error handling for migrate ops in
Igor Fedotov [Mon, 29 Oct 2018 15:18:18 +0000 (18:18 +0300)]
os/bluestore: improve error handling for migrate ops in
ceph_bluestore-tool.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agomgr/dashboard: Fix ts error on iSCSI page 24715/head
Ricardo Marques [Tue, 23 Oct 2018 10:20:09 +0000 (11:20 +0100)]
mgr/dashboard: Fix ts error on iSCSI page

This error only happens until initiator is connected to the target.

Fixes: https://tracker.ceph.com/issues/36564
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge PR #24686 into master
Sage Weil [Mon, 29 Oct 2018 13:46:43 +0000 (08:46 -0500)]
Merge PR #24686 into master

* refs/pull/24686/head:
os/bluestore: show compress and buffered from WriteContext
os/bluestore: fix rename race with trim on replacement onode at old name

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agomgr/diskprediction: use global device_failure_prediction_mode setting 24755/head
Sage Weil [Thu, 25 Oct 2018 13:30:49 +0000 (08:30 -0500)]
mgr/diskprediction: use global device_failure_prediction_mode setting

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24229 into master
Sage Weil [Mon, 29 Oct 2018 13:42:48 +0000 (08:42 -0500)]
Merge PR #24229 into master

* refs/pull/24229/head:
common: drop BL_BACKWARD_COMPAT in bufferlist.
osd: OSDMap encoding uses bufferlist::contiguous_filler.
mds: encode_xattrs() uses buffer::list::contiguous_filler.
common: introduce contiguous_filler to optimize ENCODE_START.
common: optimize hole appending in bufferlist.
common: duplicate an encoding macro to suppress warnings.
common: drop backward iteration from bufferlist.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #24787 into master
Sage Weil [Mon, 29 Oct 2018 13:36:34 +0000 (08:36 -0500)]
Merge PR #24787 into master

* refs/pull/24787/head:
Merge PR #24796 into nautilus
osd: fix heartbeat_reset unlock
Merge PR #24780 into nautilus
Merge PR #24761 into nautilus
Merge PR #24651 into nautilus
osd: fix race between op_wq and context_queue
test: Make sure kill_daemons failure will be easy to find
test: Add flush_pg_stats to make test more deterministic

6 years agoqa/standtalone/osd-bluefs-volume-ops: remove redundant code.
Igor Fedotov [Mon, 29 Oct 2018 13:30:36 +0000 (16:30 +0300)]
qa/standtalone/osd-bluefs-volume-ops: remove redundant code.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #24763 from zmc/wip-36416
Lenz Grimmer [Mon, 29 Oct 2018 12:07:25 +0000 (13:07 +0100)]
Merge pull request #24763 from zmc/wip-36416

mgr/dashboard: Map dev 'releases' to master

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge PR #24796 into nautilus 24787/head
Sage Weil [Mon, 29 Oct 2018 02:25:55 +0000 (21:25 -0500)]
Merge PR #24796 into nautilus

* refs/pull/24796/head:
osd: fix heartbeat_reset unlock

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoosd: fix heartbeat_reset unlock 24796/head
Sage Weil [Mon, 29 Oct 2018 01:21:53 +0000 (20:21 -0500)]
osd: fix heartbeat_reset unlock

Fixes 51d8e2457d73c709bfa4f706793696b3ce704ff9, which moved to lock_guard
but didn't remove the unlock call on this exit path.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24774 into master
Sage Weil [Mon, 29 Oct 2018 01:11:10 +0000 (20:11 -0500)]
Merge PR #24774 into master

* refs/pull/24774/head:
cmake: update dpdk drivers/modules to accomodate dpdk submodule
spdk: update to latest v18.07

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #24666 into master
Sage Weil [Mon, 29 Oct 2018 01:08:32 +0000 (20:08 -0500)]
Merge PR #24666 into master

* refs/pull/24666/head:
include/types: fixed compile warning for signed/unsigned comparison
osd/PrimaryLogPG: uncommitted dup ops should respond with logged return code
osd/PrimaryLogPG: propagate error return codes on object copy_get ops
osd/PGLog: optionally record error return codes for extra_reqids
osd/osd_types: include PG log return codes in object copy data

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24688 into master
Sage Weil [Sun, 28 Oct 2018 14:41:31 +0000 (09:41 -0500)]
Merge PR #24688 into master

* refs/pull/24688/head:
common: make ceph_abort store same crash info as ceph_assert
global: store assert msg in global and dump to crash meta
pybind/mgr: make 'ceph crash ls' output sorted list
log: don't clear ring when dump_recent is called
ceph-crash: make clear to user that 'posted' should be directory

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24780 into nautilus
Sage Weil [Sun, 28 Oct 2018 14:41:01 +0000 (09:41 -0500)]
Merge PR #24780 into nautilus

* refs/pull/24780/head:
osd: take heartbeat_lock before checking for session

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24780 into master
Sage Weil [Sun, 28 Oct 2018 14:39:50 +0000 (09:39 -0500)]
Merge PR #24780 into master

* refs/pull/24780/head:
osd: take heartbeat_lock before checking for session
Merge PR #24725 into nautilus
qa/tasks/qemu: use unique clone directory to avoid race with workunit
mds: add missing mds_lock

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24778 into master
Sage Weil [Sun, 28 Oct 2018 14:39:34 +0000 (09:39 -0500)]
Merge PR #24778 into master

* refs/pull/24778/head:
rpm: use %license macro for packaging license file

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #24792 from falcon78921/wip-doc-grammar1
Kefu Chai [Sun, 28 Oct 2018 14:26:49 +0000 (22:26 +0800)]
Merge pull request #24792 from falcon78921/wip-doc-grammar1

doc: fixed typo in man page

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24702 from wjwithagen/wjw-fix-blkdev-serial-const
Kefu Chai [Sun, 28 Oct 2018 14:24:04 +0000 (22:24 +0800)]
Merge pull request #24702 from wjwithagen/wjw-fix-blkdev-serial-const

common: mark BlkDev::serial() const to match with its declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: fixed minor grammar error 24792/head
James McClune [Sun, 28 Oct 2018 06:02:59 +0000 (02:02 -0400)]
doc: fixed minor grammar error

Changed buchket to bucket

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agodoc: added demo document changes section 24791/head
James McClune [Sun, 28 Oct 2018 05:44:17 +0000 (01:44 -0400)]
doc: added demo document changes section

Added a brief section about how to demo Ceph documentation
changes.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoosd: slightly refactor PrimaryLogPG::do_op. 24742/head
Radoslaw Zarzynski [Sat, 27 Oct 2018 06:30:57 +0000 (08:30 +0200)]
osd: slightly refactor PrimaryLogPG::do_op.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #24785 from falcon78921/wip-docs-36605
Kefu Chai [Sat, 27 Oct 2018 05:07:21 +0000 (13:07 +0800)]
Merge pull request #24785 from falcon78921/wip-docs-36605

doc: purge subcommand link broken

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: used ceph osd command ref label 24785/head
James McClune [Fri, 26 Oct 2018 22:31:45 +0000 (18:31 -0400)]
doc: used ceph osd command ref label

Referenced purge subcommand info via ceph osd command label.
Fixes: https://tracker.ceph.com/issues/36605
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
6 years agoMerge PR #24761 into nautilus
Sage Weil [Sat, 27 Oct 2018 03:07:27 +0000 (22:07 -0500)]
Merge PR #24761 into nautilus

* refs/pull/24761/head:
osd: fix race between op_wq and context_queue

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agoMerge PR #24651 into nautilus
Sage Weil [Sat, 27 Oct 2018 02:07:09 +0000 (21:07 -0500)]
Merge PR #24651 into nautilus

* refs/pull/24651/head:
test: Make sure kill_daemons failure will be easy to find
test: Add flush_pg_stats to make test more deterministic

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #24743 from rzarzynski/wip-osd-avoid-osdmap-refcounting
Xie Xingguo [Sat, 27 Oct 2018 01:51:13 +0000 (09:51 +0800)]
Merge pull request #24743 from rzarzynski/wip-osd-avoid-osdmap-refcounting

 core: avoid unnecessary refcounting of OSDMap on OSD's hot paths

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #24657 from xiexingguo/wip-rm-device-class-fix
Xie Xingguo [Sat, 27 Oct 2018 01:49:57 +0000 (09:49 +0800)]
Merge pull request #24657 from xiexingguo/wip-rm-device-class-fix

mon/OSDMonitor: two "ceph osd crush class rm" fixes

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24585 into master
Patrick Donnelly [Fri, 26 Oct 2018 23:28:43 +0000 (16:28 -0700)]
Merge PR #24585 into master

* refs/pull/24585/head:
doc: add developer documentation on new cephfs reclaim interfaces

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge pull request #21094 from guzhongyan/dne-cleanup
Yuri Weinstein [Fri, 26 Oct 2018 19:25:04 +0000 (15:25 -0400)]
Merge pull request #21094 from guzhongyan/dne-cleanup

src: no 'dne' acronym in user cmd output

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #22633 from dongbula/add-dbstatistics-for-filestore
Yuri Weinstein [Fri, 26 Oct 2018 19:24:09 +0000 (15:24 -0400)]
Merge pull request #22633 from dongbula/add-dbstatistics-for-filestore

OSD: add impl for filestore to get dbstatistics

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23528 from jcsp/wip-osdmon-application
Yuri Weinstein [Fri, 26 Oct 2018 19:23:18 +0000 (15:23 -0400)]
Merge pull request #23528 from jcsp/wip-osdmon-application

mon: don't commit osdmap on no-op application ops

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agomgr/dashboard: Map dev 'releases' to master 24763/head
Zack Cerza [Thu, 25 Oct 2018 16:50:42 +0000 (10:50 -0600)]
mgr/dashboard: Map dev 'releases' to master

In CephReleaseNamePipe, we used to blindly return the "release name" portion of
the version string. This ends up e.g. returning 'nautilus' for master right
now, which causes us to link to nonexistent documentation on ceph.com.  This
change causes builds marked as 'dev' (as opposed to 'stable') to report
'master' as their release name.

Fixes: https://tracker.ceph.com/issues/36416
Signed-off-by: Zack Cerza <zack@redhat.com>
6 years agorgw: recover from incomplete reshard attempt 24406/head
J. Eric Ivancich [Wed, 17 Oct 2018 17:43:24 +0000 (13:43 -0400)]
rgw: recover from incomplete reshard attempt

In case a reshard attempt is left in an incomplete state, i.e., flags
still show resharding even though the bucket reshard lock isn't being
held, try to recover by taking the bucket reshard lock and clearing
flags associated with resharding.

This change requires access to an RGWBucketInfo object. So call stack
into this function should provide that to prevent unnecessary
work. Changes were made to provide this object.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoosd: take heartbeat_lock before checking for session 24780/head
Sage Weil [Fri, 26 Oct 2018 15:39:28 +0000 (10:39 -0500)]
osd: take heartbeat_lock before checking for session

When we open a connection, there is a short window before we attach
the session.  If a fault happens quickly, we won't get the reset, and
will persistently fail to send osd pings.

Move the lock up to avoid this.  Note that we should rarely really see
connections without sessions here anyway (except when this specific
race happens), so this should have no negative impact (by taking the lock
when we weren't before).

Fixes: http://tracker.ceph.com/issues/36602
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw: move RGWReshardBucket lock to its own separate class
J. Eric Ivancich [Tue, 16 Oct 2018 20:40:03 +0000 (16:40 -0400)]
rgw: move RGWReshardBucket lock to its own separate class

There are other processes beyond resharding that would need to take a
bucket reshard lock (e.g., correcting bucet resharding flags in event
of crash, tools to remove bucket shard information from earlier
versions of ceph). Pulling this logic outside of RGWReshardBucket
allows this code to be re-used.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge pull request #24504 from ErwanAliasr1/evelu-ceph-volume-choose_disk
Alfredo Deza [Fri, 26 Oct 2018 15:32:37 +0000 (11:32 -0400)]
Merge pull request #24504 from ErwanAliasr1/evelu-ceph-volume-choose_disk

Additional work on ceph-volume to add some choose_disk capabilities

Reviewed-by: Alfredo Deza <adeza@redhat.com>