]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agorbd: show info about mirror instance in image mirror status output 24717/head
Mykola Golub [Thu, 25 Oct 2018 10:14:07 +0000 (13:14 +0300)]
rbd: show info about mirror instance in image mirror status output

It is particularly useful when running multiple rbd-mirror instances
in Active-Passive or Active-Active mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agorbd-mirror: provide instance_id for `ceph service status`
Mykola Golub [Wed, 24 Oct 2018 10:11:48 +0000 (13:11 +0300)]
rbd-mirror: provide instance_id for `ceph service status`

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agolibrbd: API to get info which rbd-mirror daemon is mirroring image
Mykola Golub [Thu, 25 Oct 2018 08:19:36 +0000 (11:19 +0300)]
librbd: API to get info which rbd-mirror daemon is mirroring image

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agocls/rbd: new methods to get image mirror instance info
Mykola Golub [Sat, 27 Oct 2018 16:25:36 +0000 (19:25 +0300)]
cls/rbd: new methods to get image mirror instance info

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #24870 into master
Patrick Donnelly [Fri, 2 Nov 2018 23:59:13 +0000 (16:59 -0700)]
Merge PR #24870 into master

* refs/pull/24870/head:
client: request next osdmap for blacklisted client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #24895 from votdev/feature_36681
Casey Bodley [Fri, 2 Nov 2018 20:28:26 +0000 (16:28 -0400)]
Merge pull request #24895 from votdev/feature_36681

rgw: Return tenant field in bucket_stats function

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24864 from dillaman/wip-36659
Mykola Golub [Fri, 2 Nov 2018 20:10:01 +0000 (22:10 +0200)]
Merge pull request #24864 from dillaman/wip-36659

rbd-mirror: update mirror status when stopping

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24836 from dillaman/wip-26951
Mykola Golub [Fri, 2 Nov 2018 20:06:53 +0000 (22:06 +0200)]
Merge pull request #24836 from dillaman/wip-26951

rbd: support namespaces for image migration

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24812 from gregsfortytwo/wip-readable-fails-on-empty
Gregory Farnum [Fri, 2 Nov 2018 20:02:17 +0000 (13:02 -0700)]
Merge pull request #24812 from gregsfortytwo/wip-readable-fails-on-empty

test: make readable.sh fail if it doesn't run anything

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #22923 from ceph/wip-fix-latest-distro
Yuri Weinstein [Fri, 2 Nov 2018 19:30:41 +0000 (12:30 -0700)]
Merge pull request #22923 from ceph/wip-fix-latest-distro

qa/tests: update links for centos latest to point to 7.5

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #24897 from trociny/wip-36683
Jason Dillaman [Fri, 2 Nov 2018 18:34:53 +0000 (14:34 -0400)]
Merge pull request #24897 from trociny/wip-36683

test/rbd_mirror: race in TestMockImageMap.AddInstancePingPongImageTest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agotest/rbd_mirror: race in TestMockImageMap.AddInstancePingPongImageTest 24897/head
Mykola Golub [Fri, 2 Nov 2018 17:41:02 +0000 (19:41 +0200)]
test/rbd_mirror: race in TestMockImageMap.AddInstancePingPongImageTest

Remove a context from peer_ack_ctxs before completing to avoid a race
with a listener inserting a new one.

Fixes: http://tracker.ceph.com/issues/36683
Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agorgw: Return tenant field in bucket_stats function 24895/head
Volker Theile [Fri, 2 Nov 2018 12:10:40 +0000 (13:10 +0100)]
rgw: Return tenant field in bucket_stats function

Fixes: https://tracker.ceph.com/issues/36681
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24616 from tchaikov/wip-wip-librados-3
Kefu Chai [Fri, 2 Nov 2018 02:44:04 +0000 (10:44 +0800)]
Merge pull request #24616 from tchaikov/wip-wip-librados-3

librados: split C++ and C APIs into different source files

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge PR #24555 into master
Patrick Donnelly [Thu, 1 Nov 2018 21:58:23 +0000 (14:58 -0700)]
Merge PR #24555 into master

* refs/pull/24555/head:
doc: document optional timeout argument for `cache drop`
mds: make timeout parameter optional for "cache drop"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24747 into master
Patrick Donnelly [Thu, 1 Nov 2018 21:53:25 +0000 (14:53 -0700)]
Merge PR #24747 into master

* refs/pull/24747/head:
client: add new routine to get fscid from a ceph_mount

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #24868 from liewegas/wip-doc-fix
Josh Durgin [Thu, 1 Nov 2018 21:52:24 +0000 (14:52 -0700)]
Merge pull request #24868 from liewegas/wip-doc-fix

doc/rados/operations/crush-map-edits: fix 'take' syntax

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoqa/tests: update links for centos latest to point to 7.5 22923/head
Vasu Kulkarni [Fri, 6 Jul 2018 23:24:13 +0000 (16:24 -0700)]
qa/tests: update links for centos latest to point to 7.5

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
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 agorbd: support namespaces for image migration 24836/head
Jason Dillaman [Tue, 30 Oct 2018 18:11:22 +0000 (14:11 -0400)]
rbd: support namespaces for image migration

Fixes: http://tracker.ceph.com/issues/26951
Signed-off-by: Jason Dillaman <dillaman@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 agoclient: request next osdmap for blacklisted client 24870/head
Zhi Zhang [Thu, 1 Nov 2018 06:52:04 +0000 (14:52 +0800)]
client: request next osdmap for blacklisted client

When client became blacklisted, it did't subscribe next osdmap. So when
it was removed from blacklist by expiration or commandline, it didn't
get updated osdmap which is the only way for the client to reset its
blacklisted flag.

Fixes: http://tracker.ceph.com/issues/36668
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
6 years agodoc/rados/operations/crush-map-edits: fix 'take' syntax 24868/head
Remy Zandwijk [Wed, 31 Oct 2018 20:42:11 +0000 (15:42 -0500)]
doc/rados/operations/crush-map-edits: fix 'take' syntax

Fixes: https://tracker.ceph.com/issues/21496
Signed-off-by: Remy Zandwijk <remy@luckyhands.nl>
Signed-off-by: Sage Weil <sage@redhat.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 agorbd-mirror: update mirror status when stopping 24864/head
Jason Dillaman [Wed, 31 Oct 2018 18:30:05 +0000 (14:30 -0400)]
rbd-mirror: update mirror status when stopping

Fixes: http://tracker.ceph.com/issues/36659
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
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 agotest: make readable.sh fail if it doesn't run anything 24812/head
Greg Farnum [Mon, 29 Oct 2018 18:15:46 +0000 (11:15 -0700)]
test: make readable.sh fail if it doesn't run anything

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
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>