]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomgr/dashboard: Fix "merge" audit warning 24681/head
Tiago Melo [Mon, 5 Nov 2018 12:13:18 +0000 (12:13 +0000)]
mgr/dashboard: Fix "merge" audit warning

Fixes: https://tracker.ceph.com/issues/36702
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Remove unit tests warnings
Tiago Melo [Mon, 5 Nov 2018 10:59:13 +0000 (10:59 +0000)]
mgr/dashboard: Remove unit tests warnings

Recent Angular update is causing a warning to be shown when you call
"router.navigate" outside an angular zone.

This is not affecting the code itself, just the unit tests.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update remaining packages
Tiago Melo [Fri, 19 Oct 2018 17:27:09 +0000 (18:27 +0100)]
mgr/dashboard: Update remaining packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update Angular packages
Tiago Melo [Fri, 19 Oct 2018 16:59:37 +0000 (17:59 +0100)]
mgr/dashboard: Update Angular packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update rxjs and ngx-bootstrap packages
Tiago Melo [Fri, 19 Oct 2018 16:42:39 +0000 (17:42 +0100)]
mgr/dashboard: Update rxjs and ngx-bootstrap packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update prettier package
Tiago Melo [Thu, 18 Oct 2018 16:49:24 +0000 (17:49 +0100)]
mgr/dashboard: Update prettier package

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #24766 from familyuu/crush
Lenz Grimmer [Tue, 6 Nov 2018 08:09:21 +0000 (09:09 +0100)]
Merge pull request #24766 from familyuu/crush

mgr/dashboard: CRUSH map viewer

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 CRUSH map viewer 24766/head
guodan1 [Mon, 29 Oct 2018 03:04:28 +0000 (11:04 +0800)]
mgr/dashboard: Add CRUSH map viewer

Fixes: http://tracker.ceph.com/issues/35684
Signed-off-by: familyuu <guodan1@lenovo.com>
6 years agoMerge pull request #24920 from wjwithagen/wjw-fix-build-symbolic
Kefu Chai [Tue, 6 Nov 2018 01:15:48 +0000 (17:15 -0800)]
Merge pull request #24920 from wjwithagen/wjw-fix-build-symbolic

cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #24814 into master
Sage Weil [Mon, 5 Nov 2018 21:51:14 +0000 (15:51 -0600)]
Merge PR #24814 into master

* refs/pull/24814/head:
Merge PR #24804 into nautilus
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: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #24891 from iridescent-rsy/fix-return-value
Jason Dillaman [Mon, 5 Nov 2018 17:17:06 +0000 (12:17 -0500)]
Merge pull request #24891 from iridescent-rsy/fix-return-value

rbd: make sure the return-value 'r' will be returned

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24893 from iridescent-rsy/need-to-return
Jason Dillaman [Mon, 5 Nov 2018 17:16:07 +0000 (12:16 -0500)]
Merge pull request #24893 from iridescent-rsy/need-to-return

rbd: return error code when the source and distination namespace are different

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24823 from Devp00l/wip-issue-36615
Lenz Grimmer [Mon, 5 Nov 2018 16:12:54 +0000 (17:12 +0100)]
Merge pull request #24823 from Devp00l/wip-issue-36615

[RFC] mgr/dashboard: Cleanup of OSD list methods

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #24475 from votdev/feature_36193
Lenz Grimmer [Mon, 5 Nov 2018 12:52:09 +0000 (13:52 +0100)]
Merge pull request #24475 from votdev/feature_36193

mgr/dashboard: Audit REST API calls

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #24856 from leseb/spec-rbd-mirror
Jason Dillaman [Mon, 5 Nov 2018 12:23:42 +0000 (07:23 -0500)]
Merge pull request #24856 from leseb/spec-rbd-mirror

spec: add missing rbd mirror bootstrap directory

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24892 from p-na/pna-cleanup-pool-form-simpl
Lenz Grimmer [Mon, 5 Nov 2018 12:11:38 +0000 (13:11 +0100)]
Merge pull request #24892 from p-na/pna-cleanup-pool-form-simpl

mgr/dashboard: Simplification of PoolForm method

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agocmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD 24920/head
Willem Jan Withagen [Sun, 4 Nov 2018 11:25:34 +0000 (12:25 +0100)]
cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agospec: add missing rbd mirror bootstrap directory 24856/head
Sébastien Han [Wed, 31 Oct 2018 14:07:42 +0000 (15:07 +0100)]
spec: add missing rbd mirror bootstrap directory

Currently /var/lib/ceph/bootstrap-rbd-mirror is absent, which means we
need to create it manually in order to pool the
client.bootstrap-rbd-mirror key.

Signed-off-by: Sébastien Han <seb@redhat.com>
6 years agomgr/dashboard: Audit REST API calls 24475/head
Volker Theile [Mon, 8 Oct 2018 07:28:57 +0000 (09:28 +0200)]
mgr/dashboard: Audit REST API calls

Fixes: https://tracker.ceph.com/issues/36193
Enable API auditing with 'ceph dashboard set-audit-api-enabled true' (default is false). If you do not want to log the request payload, then disable it via 'set-audit-api-log-payload false' (default is true).

Example output:
2018-10-08 10:25:21.850994 mgr.x [INF] [DASHBOARD] from='https://[::1]:44410' path='/api/auth' method='POST' user='None' params='{"username": "admin", "password": "***", "stay_signed_in": false}'

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23190 from maxcuttins/master
Jason Dillaman [Sat, 3 Nov 2018 12:48:30 +0000 (08:48 -0400)]
Merge pull request #23190 from maxcuttins/master

doc: rewrote the iscsi-target-cli installation

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.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 agodoc: rewrote the iscsi-target-cli installation 23190/head
Massimiliano Cuttini [Mon, 23 Jul 2018 18:57:06 +0000 (20:57 +0200)]
doc: rewrote the iscsi-target-cli installation

Rewrote the documentation in a step-by-step style, reformatted using RST's
titles instead of bolds, added installation of GIT if needed, added
installation of compilers needed for tcmu-runner

Signed-off-by: Massimiliano Cuttini <massimiliano.cuttini@phoenixweb.it>
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 agorbd: return error code when the source and distination namespace are different. 24893/head
Shiyang Ruan [Fri, 2 Nov 2018 09:51:41 +0000 (17:51 +0800)]
rbd: return error code when the source and distination namespace are different.

Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
6 years agomgr/dashboard: Simplification of PoolForm method 24892/head
Patrick Nawracay [Fri, 2 Nov 2018 07:21:32 +0000 (08:21 +0100)]
mgr/dashboard: Simplification of PoolForm method

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agorbd: make sure the return-value 'r' will be returned. 24891/head
Shiyang Ruan [Fri, 2 Nov 2018 05:44:57 +0000 (13:44 +0800)]
rbd: make sure the return-value 'r' will be returned.

Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.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 agomgr/dashboard: Cleanup of OSD list methods 24823/head
Stephan Müller [Mon, 29 Oct 2018 15:43:38 +0000 (16:43 +0100)]
mgr/dashboard: Cleanup of OSD list methods

Some test changes were required, too.

Fixes: https://tracker.ceph.com/issues/36615
Signed-off-by: Stephan Müller <smueller@suse.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>