]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #28118 from tspmelo/wip-on-push
Lenz Grimmer [Wed, 29 May 2019 15:29:43 +0000 (17:29 +0200)]
Merge pull request #28118 from tspmelo/wip-on-push

mgr/dashboard: Reduce the number of renders on the tables

6 years agomgr/dashboard: Add multi root support in CRUSH map (#28047)
Lenz Grimmer [Wed, 29 May 2019 15:28:04 +0000 (17:28 +0200)]
mgr/dashboard: Add multi root support in CRUSH map (#28047)

mgr/dashboard: Add multi root support in CRUSH map

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #28179 from trociny/wip-39980
Jason Dillaman [Wed, 29 May 2019 14:58:52 +0000 (10:58 -0400)]
Merge pull request #28179 from trociny/wip-39980

rbd-mirror: don't overwrite status error returned by replay

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #28240 from trociny/wip-journal-overflow
Jason Dillaman [Wed, 29 May 2019 14:58:12 +0000 (10:58 -0400)]
Merge pull request #28240 from trociny/wip-journal-overflow

journal: optimize object overflow detection

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #28275 from tchaikov/wip-cmake-asan
Casey Bodley [Wed, 29 May 2019 14:44:13 +0000 (10:44 -0400)]
Merge pull request #28275 from tchaikov/wip-cmake-asan

ceph.in: do not preload libasan if it is found

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge pull request #28269 from NTmatter/patch-1
Kefu Chai [Wed, 29 May 2019 14:23:10 +0000 (22:23 +0800)]
Merge pull request #28269 from NTmatter/patch-1

install-deps.sh: fix typo for krb5 on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27978 from votdev/add_snmp_oids_to_prometheus_alerts
Lenz Grimmer [Wed, 29 May 2019 13:58:23 +0000 (15:58 +0200)]
Merge pull request #27978 from votdev/add_snmp_oids_to_prometheus_alerts

monitoring: SNMP OID per every Prometheus alert rule

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
6 years agoMerge pull request #28225 from sebastian-philipp/script-run-mypy-sort-groups
Sebastian Wagner [Wed, 29 May 2019 13:21:17 +0000 (15:21 +0200)]
Merge pull request #28225 from sebastian-philipp/script-run-mypy-sort-groups

script/run_mypy: Sort groups

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge pull request #28002 from smithfarm/wip-39323-ext
Nathan Cutler [Wed, 29 May 2019 11:39:32 +0000 (13:39 +0200)]
Merge pull request #28002 from smithfarm/wip-39323-ext

pybind/tox: handle possible WITH_PYTHON3 values other than "3"

Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Use serial RGW Admin OPS API calls (#28223) 28307/head
Lenz Grimmer [Wed, 29 May 2019 09:23:42 +0000 (11:23 +0200)]
mgr/dashboard: Use serial RGW Admin OPS API calls (#28223)

mgr/dashboard: Use serial RGW Admin OPS API calls

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #28174 from votdev/issue_39964
Lenz Grimmer [Wed, 29 May 2019 08:31:09 +0000 (10:31 +0200)]
Merge pull request #28174 from votdev/issue_39964

mgr/dashboard: Fix RGW user/bucket quota issues

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #28168 from votdev/fix_create_key_title
Lenz Grimmer [Wed, 29 May 2019 08:28:07 +0000 (10:28 +0200)]
Merge pull request #28168 from votdev/fix_create_key_title

mgr/dashboard: Display correct dialog title

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: PG scrub configuration (#27072)
Lenz Grimmer [Wed, 29 May 2019 08:24:22 +0000 (10:24 +0200)]
mgr/dashboard: PG scrub configuration (#27072)

mgr/dashboard: PG scrub configuration

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoceph.in: do not preload libasan if it is not found 28275/head
Kefu Chai [Wed, 29 May 2019 01:45:57 +0000 (09:45 +0800)]
ceph.in: do not preload libasan if it is not found

before this change, `asan_lib_path` could be `None` when we check it to
see if it ends with `NOTFOUND`. this happens if WITH_SEASTAR=OFF or
WITH_ASAN=OFF, as in that case, find_package(Sanitizers) is not called,
hence `ASAN_LIBRARY` won't be set.

in this change, libasan is only preloaded if

- (WITH_SEASTAR=ON and CMAKE_BUILD_TYPE=Debug and ASAN_LIBRARY is found)
  or
- (WITH_ASAN)

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoinstall-deps.sh: Typo for krb5 on FreeBSD 28269/head
Thomas Johnson [Tue, 28 May 2019 18:05:16 +0000 (20:05 +0200)]
install-deps.sh: Typo for krb5 on FreeBSD

The FreeBSD dependency install specifies devel/kbr5 instead of devel/krb5

Fixes: https://tracker.ceph.com/issues/40050
Signed-off-by: Thomas Johnson <NTmatter@gmail.com>
6 years agoMerge PR #28058 into master
Sage Weil [Tue, 28 May 2019 18:01:56 +0000 (13:01 -0500)]
Merge PR #28058 into master

* refs/pull/28058/head:
mgr/zabbix: Fix raw_bytes_used key name

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26967 from qwren/qat-accel-doc
Casey Bodley [Tue, 28 May 2019 17:08:32 +0000 (13:08 -0400)]
Merge pull request #26967 from qwren/qat-accel-doc

doc: QAT Acceleration for Encryption and Compression

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #28099 from tchaikov/wip-blobhash
Kefu Chai [Tue, 28 May 2019 15:28:50 +0000 (23:28 +0800)]
Merge pull request #28099 from tchaikov/wip-blobhash

blobhash: do not use cast for unaligned access

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #28247 from tchaikov/wip-disable-asan-if-notfound
Kefu Chai [Tue, 28 May 2019 15:14:31 +0000 (23:14 +0800)]
Merge pull request #28247 from tchaikov/wip-disable-asan-if-notfound

ceph.in: disable ASAN if libasan is not found

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agomgr/dashboard: Display correct dialog title 28168/head
Volker Theile [Mon, 20 May 2019 08:22:44 +0000 (10:22 +0200)]
mgr/dashboard: Display correct dialog title

The dialog to create a new S3 key shows the title 'Show S3 key' instead of 'Create S3 key'.

Fixes: https://tracker.ceph.com/issues/40047
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Consider user permissions 27072/head
Tatjana Dehler [Wed, 3 Apr 2019 14:24:11 +0000 (16:24 +0200)]
mgr/dashboard: Consider user permissions

Consider user permissions when showing advanced table actions and hide
all buttons requiring missing permissions from the user.
Also consider user permissions when showing submit buttons.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Add PG scrub configuration form
Tatjana Dehler [Fri, 1 Mar 2019 15:11:53 +0000 (16:11 +0100)]
mgr/dashboard: Add PG scrub configuration form

The commit adapts two different parts:

1. It adds all frontend related changes around the PG scrub
   configuration form
2. It also adds an API test case to check the existence of
   all hard-coded config options in the frontend

Fixes: https://tracker.ceph.com/issues/38211
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Add config option component
Tatjana Dehler [Wed, 6 Mar 2019 15:42:28 +0000 (16:42 +0100)]
mgr/dashboard: Add config option component

This commit adds an initial config option component in order to move
the HTML template and the config option types related code to an own
centralized place to be re-usable by other components

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Add config filter and delete routes
Tatjana Dehler [Wed, 13 Mar 2019 13:51:43 +0000 (14:51 +0100)]
mgr/dashboard: Add config filter and delete routes

Add a filter route to the configurations endpoint to get a subset of
config options in one request.
Add a delete route to the configurations endpoint to delete a
specific config option value.

The commit contains the frontend and backend related changes.

It also adds the missing '/' to `ConfigurationService.bulkCreate` and
unit test.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Optimize iSCSI target edition (#27272)
Lenz Grimmer [Tue, 28 May 2019 13:35:50 +0000 (15:35 +0200)]
mgr/dashboard: Optimize iSCSI target edition (#27272)

mgr/dashboard: Optimize iSCSI target edition

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoblobhash: do not use cast for unaligned access 28099/head
Kefu Chai [Wed, 15 May 2019 04:46:10 +0000 (12:46 +0800)]
blobhash: do not use cast for unaligned access

* remove the uncorrect comment. as std::hash<> does not apply to a
  customized type. see https://en.cppreference.com/w/cpp/utility/hash
* do not use cast for accessing an uint32_t by dereferencing (void *)
  or (char *) pointer. because the alignment requirement of `uint32_t`
  is stricter than that of `void*` or `char *`. we need to do an
  explicit memcpy() for accessing the uint32_t pointed by the pointer.
  see also https://www.kernel.org/doc/Documentation/unaligned-memory-access.txt
* instead of using a loop for mixing the last few bytes. use a switch-
  case. so GCC-9 won't complain with
```
../src/include/blobhash.h:38:10: warning: iteration 4 invokes undefined
behavior [-Waggressive-loop-optimizations]
   38 |       sh += 8;
      |       ~~~^~~~
../src/include/blobhash.h:36:12: note: within this loop
   36 |     while (len) {
      |            ^~~
```
  at seeing `sh += 8;`
* instead of mixing the last bits repeatly by derefencing `p` using
  `uint32_t`, while move it forwards with step size of `1`, mix
  the bits byte-wise.
* include <cstdint>. this header file is supposed to be self-contained.
* use `std::uint32_t` instead of using `uint32_t`. we cannot assume
  somebody is `using namespace std` or `using std::uint32_t` for us.
* mark the operator() `const noexcept`. see
  https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c89-make-a-hash-noexcept
  for the rationale behind this

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27569 from batrick/gcc-9-wrn
Kefu Chai [Tue, 28 May 2019 11:21:46 +0000 (19:21 +0800)]
Merge pull request #27569 from batrick/gcc-9-wrn

CMakeLists: add std::move warnings in gcc9

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Add clients tab to NFS details (#28193)
Lenz Grimmer [Tue, 28 May 2019 10:51:26 +0000 (12:51 +0200)]
mgr/dashboard: Add clients tab to NFS details (#28193)

mgr/dashboard: Add clients tab to NFS details

Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoscript/run_mypy: Sort groups 28225/head
Sebastian Wagner [Thu, 23 May 2019 13:48:15 +0000 (15:48 +0200)]
script/run_mypy: Sort groups

Workaround for https://github.com/python/mypy/issues/2144

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/zabbix: Fix raw_bytes_used key name 28058/head
Dmitriy Rabotjagov [Fri, 10 May 2019 12:18:58 +0000 (15:18 +0300)]
mgr/zabbix: Fix raw_bytes_used key name

This patch fixes raw_bytes_used key which was renamed to stored_raw.
Also added key percent_used and fixed zabbix template to be fully
compatible with zabbix 3.0

Fixes: https://tracker.ceph.com/issues/39644
Signed-off-by: Dmitriy Rabotjagov <noonedeadpunk@ya.ru>
6 years agomgr/dashboard: Unify remaining action labels (#28162)
Lenz Grimmer [Tue, 28 May 2019 09:28:12 +0000 (11:28 +0200)]
mgr/dashboard: Unify remaining action labels (#28162)

mgr/dashboard: Unify remaining action labels

Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agomonitoring: SNMP OID per every Prometheus alert rule 27978/head
Volker Theile [Mon, 6 May 2019 14:26:37 +0000 (16:26 +0200)]
monitoring: SNMP OID per every Prometheus alert rule

Use the Ceph enterprise OID 50495 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers) and create OIDs for every Prometheus alert rule according to the schema at https://github.com/SUSE/prometheus-webhook-snmp/blob/master/README.md.

Example OID:
1.3.6.1.4.1.50495.15.1.2.2.1

All alert rule OIDs are located below the object identifier 15 (15 for p which is the first character of prometheus). Check out the MIB at https://github.com/SUSE/prometheus-webhook-snmp/blob/master/PROMETHEUS-ALERT-CEPH-MIB.txt for more details.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #27436 from simon-rock/simon_work
Yan, Zheng [Tue, 28 May 2019 07:30:31 +0000 (15:30 +0800)]
Merge pull request #27436 from simon-rock/simon_work

mds: avoid sending too many osd requests at once after mds restarts

6 years agoMerge pull request #28224 from jan--f/pool-ls-detail-ec-profile
Kefu Chai [Tue, 28 May 2019 03:28:00 +0000 (05:28 +0200)]
Merge pull request #28224 from jan--f/pool-ls-detail-ec-profile

osd_types: add ec profile to plain text osd pool ls detail output

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28159 from batrick/i39599
Kefu Chai [Tue, 28 May 2019 03:26:27 +0000 (05:26 +0200)]
Merge pull request #28159 from batrick/i39599

common: fix parse_env nullptr deref

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28057 from wido/zabbix-pg-state
Kefu Chai [Tue, 28 May 2019 03:24:09 +0000 (05:24 +0200)]
Merge pull request #28057 from wido/zabbix-pg-state

mgr/zabbix: Fix typo in key name for PGs in backfill_wait state

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #28025 from markhpc/wip-bs-aio-preadv
Kefu Chai [Tue, 28 May 2019 03:22:24 +0000 (05:22 +0200)]
Merge pull request #28025 from markhpc/wip-bs-aio-preadv

os/bluestore: Unify on preadv for io_uring and future refactor.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28010 from ifed01/wip-ifed-dump-large-onode
Kefu Chai [Tue, 28 May 2019 03:16:21 +0000 (05:16 +0200)]
Merge pull request #28010 from ifed01/wip-ifed-dump-large-onode

os/bluestore: dump onode that has too many spanning blobs

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #26341 from sebastian-philipp/dashboard-merge-orchclient
Kefu Chai [Tue, 28 May 2019 03:11:13 +0000 (05:11 +0200)]
Merge pull request #26341 from sebastian-philipp/dashboard-merge-orchclient

mgr/dashboard: Fix iSCSI + Rook issues

Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agomds: avoid sending too many osd requests at once after mds restarts 27436/head
simon gao [Tue, 28 May 2019 02:36:32 +0000 (22:36 -0400)]
mds: avoid sending too many osd requests at once after mds restarts
Fixes: http://tracker.ceph.com/issues/40028
Signed-off-by: simon gao <simon29rock@gmail.com>
6 years agomgr/dashboard: Fixing RGW user user/bucket quota info 28174/head
Volker Theile [Mon, 27 May 2019 09:39:29 +0000 (11:39 +0200)]
mgr/dashboard: Fixing RGW user user/bucket quota info

Display '-' if user/bucket quota is disabled instead of displaying the current set values.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Fix RGW user/bucket quota issues
Volker Theile [Mon, 20 May 2019 09:03:23 +0000 (11:03 +0200)]
mgr/dashboard: Fix RGW user/bucket quota issues

* RGW user/bucket "max. size" should be hidden when "user/bucket quota" is not enabled
* Only execute validators if necessary

Fixes: https://tracker.ceph.com/issues/39964
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Use serial RGW Admin OPS API calls 28223/head
Volker Theile [Thu, 23 May 2019 10:00:38 +0000 (12:00 +0200)]
mgr/dashboard: Use serial RGW Admin OPS API calls

This PR takes care that changes done to a RGW user are submitted (via RGW Admin OPS API) in serial and NOT in parallel.

Fixes: https://tracker.ceph.com/issues/40015
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Subscribe to changes when RequiredIf is used (#28231)
Lenz Grimmer [Mon, 27 May 2019 13:09:41 +0000 (15:09 +0200)]
mgr/dashboard: Subscribe to changes when RequiredIf is used (#28231)

mgr/dashboard: Subscribe to changes when RequiredIf is used

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #28078 from sebastian-philipp/kubejacker-fix-mgr-plugins
Sebastian Wagner [Mon, 27 May 2019 08:14:45 +0000 (10:14 +0200)]
Merge pull request #28078 from sebastian-philipp/kubejacker-fix-mgr-plugins

scripts/kubejacker: Fix mgr_plugins target for centos

Reviewed-by: Tim Serong <tserong@suse.com>
6 years agoceph.in: disable ASAN if libasan is not found 28247/head
Kefu Chai [Mon, 27 May 2019 03:07:12 +0000 (11:07 +0800)]
ceph.in: disable ASAN if libasan is not found

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agojournal: optimize object overflow detection 28240/head
Mykola Golub [Fri, 24 May 2019 06:07:51 +0000 (07:07 +0100)]
journal: optimize object overflow detection

Previously to detect overflow we were sending journal append
requests until -EOVERFLOW is returned by osd. This means that we
had at least one waste (rejected) request per object set (though
there may be more if the number of in-flight appends is not
limited).

We can easily predict when the osd will start to return
-EOVERFLOW and avoid such additional requests.

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #28155 from alimaredia/wip-remove-mon-valgrind-check-in-rgw-suite
Matt Benjamin [Fri, 24 May 2019 16:04:51 +0000 (12:04 -0400)]
Merge pull request #28155 from alimaredia/wip-remove-mon-valgrind-check-in-rgw-suite

qa: remove mon valgrind check in rgw verfiy suite

6 years agomgr/dashboard: Subscribe to changes when RequiredIf is used 28231/head
Tiago Melo [Thu, 23 May 2019 16:18:22 +0000 (16:18 +0000)]
mgr/dashboard: Subscribe to changes when RequiredIf is used

FormControls that use 'requiredIf' validators depend on the state of other
controls.
To prevent that some of the state changes are not tracked, we now automatically
subscribe to the prerequsited controls and update the validation of the parent
control.

Fixes: https://tracker.ceph.com/issues/40017
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoosd_types: add ec profile to plain text osd pool ls detail output 28224/head
Jan Fajerski [Thu, 23 May 2019 12:13:12 +0000 (14:13 +0200)]
osd_types: add ec profile to plain text osd pool ls detail output

Fixes: http://tracker.ceph.com/issues/40009
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
6 years agomgr/dashboard: Unify the labels on all table actions objects 28162/head
Tiago Melo [Fri, 17 May 2019 10:55:43 +0000 (10:55 +0000)]
mgr/dashboard: Unify the labels on all table actions objects

Fixes: http://tracker.ceph.com/issues/39102
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Unify action naming for NFS
Tiago Melo [Thu, 16 May 2019 23:19:31 +0000 (23:19 +0000)]
mgr/dashboard: Unify action naming for NFS

Fixes: http://tracker.ceph.com/issues/39102
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Bug Fix Error on Mgr Dashboard NFS (#28075)
Lenz Grimmer [Thu, 23 May 2019 08:47:55 +0000 (10:47 +0200)]
mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS (#28075)

mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agocommon: fix parse_env nullptr deref 28159/head
Patrick Donnelly [Thu, 16 May 2019 18:20:50 +0000 (11:20 -0700)]
common: fix parse_env nullptr deref

Fixes: https://tracker.ceph.com/issues/39599
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agotest: add test for parse_env
Patrick Donnelly [Mon, 20 May 2019 09:40:10 +0000 (02:40 -0700)]
test: add test for parse_env

Test for https://tracker.ceph.com/issues/39599

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28169 from bk201/wip-39971
Lenz Grimmer [Wed, 22 May 2019 16:23:34 +0000 (18:23 +0200)]
Merge pull request #28169 from bk201/wip-39971

mgr/dashboard: fix some performance data are not displayed

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
6 years agoMerge pull request #28181 from smithfarm/wip-39981
Nathan Cutler [Wed, 22 May 2019 16:02:45 +0000 (18:02 +0200)]
Merge pull request #28181 from smithfarm/wip-39981

do_cmake.sh: use bash

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #28093 from dillaman/wip-39703
Mykola Golub [Tue, 21 May 2019 18:52:59 +0000 (21:52 +0300)]
Merge pull request #28093 from dillaman/wip-39703

librbd: use custom allocator for aligned boost::lockfree::queue

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agomgr/rook: Raise proper exception in `describe_service` 26341/head
Sebastian Wagner [Mon, 13 May 2019 09:46:57 +0000 (11:46 +0200)]
mgr/rook: Raise proper exception in `describe_service`

`describe_service` is called often and raising
  assertions will pollute the log file with tracebacks.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/dashboard: Load iSCSI config from local store and orchestrator
Sebastian Wagner [Mon, 13 May 2019 09:44:46 +0000 (11:44 +0200)]
mgr/dashboard: Load iSCSI config from local store and orchestrator

As iSCSI is not supported by Rook, users need a way to manage
  ceph-iscsi without Rook knowledge

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/dashboard: Reduce number of triggers when search not empty 28118/head
Tiago Melo [Wed, 8 May 2019 15:50:36 +0000 (15:50 +0000)]
mgr/dashboard: Reduce number of triggers when search not empty

Fixes: http://tracker.ceph.com/issues/39944
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Set changeDetection to Push on Table Component
Tiago Melo [Tue, 7 May 2019 15:53:02 +0000 (15:53 +0000)]
mgr/dashboard: Set changeDetection to Push on Table Component

This will limit the number of times angular checks for changes to only once
when a new data object is pushed to the table component.

It will also remove the event of rendering the table when we hover a row.

Fixes: http://tracker.ceph.com/issues/39944
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Merge OrchClient with OrchestratorClientMixin
Sebastian Wagner [Fri, 8 Feb 2019 17:45:22 +0000 (18:45 +0100)]
mgr/dashboard: Merge OrchClient with OrchestratorClientMixin

Fixed missing error propagation from
  the orchestrator to the dashboard

Adapted orchestrator integration in NFS

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge pull request #28147 from bk201/wip-39933
Lenz Grimmer [Tue, 21 May 2019 12:00:54 +0000 (14:00 +0200)]
Merge pull request #28147 from bk201/wip-39933

mgr/dashboard: fix backend error when updating RBD interlocked features

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Add clients tab to NFS details 28193/head
Tiago Melo [Tue, 21 May 2019 10:03:38 +0000 (10:03 +0000)]
mgr/dashboard: Add clients tab to NFS details

Fixes: https://tracker.ceph.com/issues/39963
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Fix tcmu-runner perf counters page (#28154)
Lenz Grimmer [Tue, 21 May 2019 09:28:02 +0000 (11:28 +0200)]
mgr/dashboard: Fix tcmu-runner perf counters page (#28154)

mgr/dashboard: Fix tcmu-runner perf counters page

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #26518 from linuxbox2/wip-rgw-lc-prefix-2
Matt Benjamin [Tue, 21 May 2019 07:38:56 +0000 (03:38 -0400)]
Merge pull request #26518 from linuxbox2/wip-rgw-lc-prefix-2

rgw: lifecycle: alternate solution to prefix_map conflict

6 years agorgw: lifecycle: fix object iteration for >1 same-prefix rules 26518/head
Matt Benjamin [Thu, 28 Feb 2019 04:08:54 +0000 (23:08 -0500)]
rgw: lifecycle: fix object iteration for >1 same-prefix rules

Rules of like-prefix must visit every matching object.  A next
logical step is to combine tag checking for rules of like-prefix.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agorgw: lifecycle: fix RGWLifecycleConfiguration::valid()
Matt Benjamin [Mon, 25 Feb 2019 20:36:07 +0000 (15:36 -0500)]
rgw: lifecycle: fix RGWLifecycleConfiguration::valid()

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agorgw: lifecycle: alternate solution to prefix_map conflict
Matt Benjamin [Tue, 19 Feb 2019 18:29:03 +0000 (13:29 -0500)]
rgw: lifecycle: alternate solution to prefix_map conflict

A rule containing a tag filter but no constraining prefix is
legal, as is a sequence of >1 such rules.

As currently designed, enforcement requires rules to be
installed in prefix_map as well as rule_map, though only the
latter is encoded.

Fixes: http://tracker.ceph.com/issues/37879
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agodo_cmake.sh: use bash 28181/head
Nathan Cutler [Mon, 20 May 2019 15:01:40 +0000 (17:01 +0200)]
do_cmake.sh: use bash

Fixes: http://tracker.ceph.com/issues/39981
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agorbd-mirror: don't overwrite status error returned by replay 28179/head
Mykola Golub [Mon, 20 May 2019 13:59:23 +0000 (14:59 +0100)]
rbd-mirror: don't overwrite status error returned by replay

Fixes: https://tracker.ceph.com/issues/39980
Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #27996 from jan--f/package-prometheus-alerts-suse
Nathan Cutler [Mon, 20 May 2019 10:25:44 +0000 (12:25 +0200)]
Merge pull request #27996 from jan--f/package-prometheus-alerts-suse

ceph.spec.in: package prometheus default alerts for SUSE

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agomgr/dashboard: fix some performance data are not displayed 28169/head
Kiefer Chang [Mon, 20 May 2019 06:18:32 +0000 (14:18 +0800)]
mgr/dashboard: fix some performance data are not displayed

Several Grafana dashboards were updated and their uids are changed.
Update corresponding uids in angular templates. Also fix that when a user
clicks performance details of an OSD, wrong OSD metrics are displayed.

Fixes: http://tracker.ceph.com/issues/39971
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
6 years agoMerge pull request #28094 from tchaikov/wip-install-deps-gcc-8
Kefu Chai [Sun, 19 May 2019 21:44:01 +0000 (23:44 +0200)]
Merge pull request #28094 from tchaikov/wip-install-deps-gcc-8

install-deps.sh: use gcc-8 on xenial and trusty

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #28079 from tchaikov/wip-crimson-rados-cleanup
Kefu Chai [Sun, 19 May 2019 21:41:58 +0000 (23:41 +0200)]
Merge pull request #28079 from tchaikov/wip-crimson-rados-cleanup

crimson: support pgnls and delete op

Reviewed-off-by: Samuel Just <sjust@redhat.com>
6 years agoqa: remove mon valgrind check in rgw verfiy suite 28155/head
Ali Maredia [Thu, 16 May 2019 16:03:20 +0000 (12:03 -0400)]
qa: remove mon valgrind check in rgw verfiy suite

memory leaks in the monitor are causing a significant
percentage of jobs run in the rgw verify suite to
fail even though the jobs succeeded before hand.

See: http://tracker.ceph.com/issues/38827 for
root cause

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agoMerge pull request #27653 from tspmelo/wip-nfs-pseudo
Ricardo Marques [Fri, 17 May 2019 14:15:10 +0000 (15:15 +0100)]
Merge pull request #27653 from tspmelo/wip-nfs-pseudo

mgr/dashboard: Improve NFS Pseudo pattern message

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #28023 from rjfd/wip-fix-ceph-mgr-systemd
Nathan Cutler [Fri, 17 May 2019 13:57:28 +0000 (15:57 +0200)]
Merge pull request #28023 from rjfd/wip-fix-ceph-mgr-systemd

systemd: ceph-mgr: set MemoryDenyWriteExecute to false

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #28044 from dillaman/wip-librbd-io-perf
Mykola Golub [Fri, 17 May 2019 06:03:13 +0000 (09:03 +0300)]
Merge pull request #28044 from dillaman/wip-librbd-io-perf

librbd: tweaks to increase IOPS and reduce CPU usage

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28067 from yuriw/wip-yuriw-crontab-master
Yuri Weinstein [Thu, 16 May 2019 20:14:53 +0000 (13:14 -0700)]
Merge pull request #28067 from yuriw/wip-yuriw-crontab-master

qa/tests: added new client-upgrade-*-nautilus suites for jewel, luminous, mimic

6 years agomgr/dashboard: Fix tcmu-runner perf counters page 28154/head
Ricardo Marques [Thu, 16 May 2019 15:48:39 +0000 (16:48 +0100)]
mgr/dashboard: Fix tcmu-runner perf counters page

Fixes: https://tracker.ceph.com/issues/39954
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #27681 from tspmelo/wip-charts
Ricardo Marques [Thu, 16 May 2019 15:55:18 +0000 (16:55 +0100)]
Merge pull request #27681 from tspmelo/wip-charts

mgr/dashboard: Unify the look of dashboard charts

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #28113 from hjwsm1989/fix-krb-compile-error
Kefu Chai [Thu, 16 May 2019 15:32:32 +0000 (23:32 +0800)]
Merge pull request #28113 from hjwsm1989/fix-krb-compile-error

auth/krb: fix Kerberos compile error

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: fix backend error when updating RBD interlocked features 28147/head
Kiefer Chang [Thu, 16 May 2019 07:53:35 +0000 (15:53 +0800)]
mgr/dashboard: fix backend error when updating RBD interlocked features

Now object-map and fast-diff features are interlocked. Allow
enabling/disabling these two features together without raising an already
enabled/disabled error.

Fixes: http://tracker.ceph.com/issues/39933
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
6 years agomgr/dashboard: Bug Fix Error on Mgr Dashboard NFS 28075/head
Nur Faizin [Mon, 13 May 2019 03:42:25 +0000 (10:42 +0700)]
mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS

This change fixes error on NFS Ganesha management dashboard that throws an error when request daemon list.

Fixes: https://tracker.ceph.com/issues/39709
Signed-off-by: Nur Faizin <nur.faizin91@gmail.com>
6 years agoauth/krb: fix Kerberos compile error 28113/head
huangjun [Wed, 15 May 2019 15:59:08 +0000 (23:59 +0800)]
auth/krb: fix Kerberos compile error

Fixes: http://tracker.ceph.com/issues/39948
Signed-off-by: huangjun <huangjun@xsky.com>
6 years agoMerge PR #28080 into master
Patrick Donnelly [Wed, 15 May 2019 22:48:15 +0000 (15:48 -0700)]
Merge PR #28080 into master

* refs/pull/28080/head:
cephfs-shell: Remove whitespace after '('
cephfs-shell: Remove unused 'flag' variable
cephfs-shell: Fix flake8 invalid escape sequence warning
cephfs-shell: Remove unnecessary empty lines
cephfs-shell: Fix flake8 bare 'except' warnings

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27822 into master
Patrick Donnelly [Wed, 15 May 2019 22:46:39 +0000 (15:46 -0700)]
Merge PR #27822 into master

* refs/pull/27822/head:
cephfs-shell: Fix mkdir relative path error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa/tests: added new client-upgrade-*-nautilus suites for jewel, luminous, mimic 28067/head
Yuri Weinstein [Fri, 10 May 2019 16:28:56 +0000 (09:28 -0700)]
qa/tests: added new client-upgrade-*-nautilus suites for jewel, luminous, mimic

NOTE:

!!!! three suites below MUST use --suite-branch jewel, luminous, mimic (see https://tracker.ceph.com/issues/24021)
ref: https://github.com/ceph/ceph/pull/27983; https://github.com/ceph/ceph/pull/27934; https://github.com/ceph/ceph/pull/28027
--filter "ubuntu_16.04,centos_7.6,rhel_7.6" - test ONLY supported distro BEFORE mimic
--filter "ubuntu_16.04,ubuntu_18.04,centos_7.6,rhel_7.6" - test ONLY supported distro AFTER mimic

Merge after https://github.com/ceph/ceph/pull/28027

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agolibrbd: use custom allocator for aligned boost::lockfree::queue 28093/head
Jason Dillaman [Tue, 14 May 2019 13:34:04 +0000 (09:34 -0400)]
librbd: use custom allocator for aligned boost::lockfree::queue

If tcmalloc is in-use as the allocator and its version is less than 2.6.2,
it might be missing support for 'aligned_alloc'. This can result in the
glibc version of 'aligned_alloc' being used to allocate memory that is
then freed by tcmalloc -- resulting in a crash.

Fixes: http://tracker.ceph.com/issues/39703
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: Unify the look of dashboard charts 27681/head
Tiago Melo [Thu, 18 Apr 2019 15:09:07 +0000 (15:09 +0000)]
mgr/dashboard: Unify the look of dashboard charts

Fixes: http://tracker.ceph.com/issues/39384
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #28092 from tchaikov/wip-dashboard-package
Kefu Chai [Wed, 15 May 2019 10:58:31 +0000 (18:58 +0800)]
Merge pull request #28092 from tchaikov/wip-dashboard-package

mgr/dashboard: Update tar to v4.4.8

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #28043 from jan--f/update-grafana-dashboards
Laura Paduano [Wed, 15 May 2019 08:09:18 +0000 (10:09 +0200)]
Merge pull request #28043 from jan--f/update-grafana-dashboards

Update grafana dashboards

Reviewed-by: kmurarka@redhat.com
Reviewed-by: epuertat@redhat.com
6 years agoMerge PR #27377 into master
Patrick Donnelly [Tue, 14 May 2019 20:14:21 +0000 (13:14 -0700)]
Merge PR #27377 into master

* refs/pull/27377/head:
qa: fs Ignore getfattr errors for ceph.dir.pin

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27594 into master
Patrick Donnelly [Tue, 14 May 2019 20:07:49 +0000 (13:07 -0700)]
Merge PR #27594 into master

* refs/pull/27594/head:
mgr/volumes: allow creation/deletion of FS subvolume group snapshots
mgr/volumes: allow creation/deletion of FS subvolume groups
mgr/volumes: allow creation/deletion of snapshots of FS subvolumes
mgr/volumes: allow fetching path of FS subvolumes
mgr/volumes: use the fs_subvolume module
mgr/volumes: add fs_subvolume module

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27483 into master
Patrick Donnelly [Tue, 14 May 2019 19:52:54 +0000 (12:52 -0700)]
Merge PR #27483 into master

* refs/pull/27483/head:
cephfs-shell: add quota management

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27753 into master
Patrick Donnelly [Tue, 14 May 2019 19:51:45 +0000 (12:51 -0700)]
Merge PR #27753 into master

* refs/pull/27753/head:
cephfs-shell: Add stat command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27872 into master
Patrick Donnelly [Tue, 14 May 2019 19:50:28 +0000 (12:50 -0700)]
Merge PR #27872 into master

* refs/pull/27872/head:
cephfs-shell: teuthology tests

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoinstall-deps.sh: use gcc-8 on xenial and trusty 28094/head
Kefu Chai [Tue, 14 May 2019 14:37:00 +0000 (22:37 +0800)]
install-deps.sh: use gcc-8 on xenial and trusty

to be consistent with #27183 and https://github.com/ceph/ceph-build/pull/1286

Signed-off-by: Kefu Chai <kchai@redhat.com>