]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Casey Bodley [Tue, 19 Jun 2018 13:24:19 +0000 (09:24 -0400)]
Merge pull request #17414 from fangyuxiangGL/system
rgw: admin/user ops dump user 'system' flag
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Alfredo Deza [Tue, 19 Jun 2018 13:03:42 +0000 (09:03 -0400)]
Merge pull request #22604 from alfredodeza/wip-bluestore-config-ref
doc/bluestore: data doesn't use two partitions (ceph-disk era)
Reviewed-by: Sage Weil sage@redhat.com
Sage Weil [Tue, 19 Jun 2018 12:38:03 +0000 (07:38 -0500)]
Merge PR #22595 into master
* refs/pull/22595/head:
common/options: dump flags
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sage Weil [Tue, 19 Jun 2018 12:37:39 +0000 (07:37 -0500)]
Merge PR #22582 into master
* refs/pull/22582/head:
mon: destroy-new -> purge-new
mon/OSDMonitor: fix NEW flag adjustment in destroy[-new]
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Sage Weil [Tue, 19 Jun 2018 12:21:26 +0000 (07:21 -0500)]
Merge PR #22602 into master
* refs/pull/22602/head:
doc/releases/mimic: note lack of debian builds for mimic
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Sage Weil [Tue, 19 Jun 2018 12:21:25 +0000 (07:21 -0500)]
githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 19 Jun 2018 12:18:52 +0000 (07:18 -0500)]
Merge PR #22489 into master
* refs/pull/22489/head:
ceph-volume lvm.common use destroy-new, doesn't need admin keyring
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 19 Jun 2018 12:07:55 +0000 (07:07 -0500)]
Merge PR #22343 into master
* refs/pull/22343/head:
qa/standalone remove ceph-disk from activate_osd helper
cmake: remove subman.sh tests
test remove ceph-disk directory
debian: remove ceph_detect_init python files from base
qa/standalone remove virtualenv paths for ceph-disk and ceph-detect-init
debian: remove ceph-disk ceph-detect-init python files
rpm: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-osd and parttypeuuid udev rules
debian: remove ceph-osd and parttypeuuid udev rules
rpm: remove ceph-osd and parttypeuuid udev rules
ceph-helpers.sh: remove ceph-disk, set up osds directly
CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV
alpine: remove ceph-disk, add ceph-volume in APKBUILD.in
upstart: remove ceph-disk activation call
doc/install add anchor for manual osd deployment in freebsd guide
doc/dev remove ceph-disk from freebsd guide, link to manual reference
doc/dev/config-key remove ceph-disk references
doc/dev remove ceph-disk.rst
doc/dev: change ceph-disk suite examples for ceph-deploy
doc/man_index: remove ceph-disk, ceph-detect-init refs
doc/install: remove ceph-disk from freebsd examples
doc/rados remove ceph-disk from man references
doc/man remove ceph-disk ref from ceph-volume-systemd
doc/man: update reference from ceph-disk to ceph-volume
doc/man: remove ceph-disk, ceph-detect-init from cmake
doc/man/ceph-volume remove doc reference to ceph-disk
doc/man: remove ceph-disk, ceph-detect-init
qa/suites: remove ceph-disk
qa/run-standalone.sh: remove requirement for ceph-detect-init virtualenv
qa/workunits: remove ceph-detect-init from rbdmapfile test
qa/workunits: remove ceph-detect-init from ceph-helpers-root.sh
qa/workunits: remove ceph-disk
build: remove ceph-disk from freebsd script
cmake: remove ceph-disk, ceph-detect-init tox tests
init-ceph: remove ceph-disk
cmake: remove top-level entries for ceph-disk, ceph-detect-init
debian: remove ceph-detect-init references
debian: remove ceph-disk references
src: remove ceph-detect-init tool
rpm: remove ceph-disk, ceph-detect-init from spec file
test: remove subman script
script: remove subman script
udev: remove parttypeuuid rules for ceph-disk
tool remove ceph-disk from ps-ceph.pl
upstart: remove ceph-disk conf file
systemd: remove ceph-disk from CMakeLists
systemd: remove ceph-disk service
udev: remove ceph-disk rules
src: remove ceph-disk tool
John Spray [Tue, 19 Jun 2018 11:43:18 +0000 (12:43 +0100)]
Merge pull request #22622 from jcsp/wip-doc-mgr
doc/mgr: note need for module.py file in plugins
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Lenz Grimmer [Tue, 19 Jun 2018 10:37:20 +0000 (12:37 +0200)]
Merge pull request #22600 from votdev/issue_24525_improvements
mgr/dashboard: Fix more layout issues in UI
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
John Spray [Tue, 19 Jun 2018 09:18:05 +0000 (10:18 +0100)]
doc/mgr: note need for module.py file in plugins
This is kind of a kludgy thing but let's at least
document it!
Signed-off-by: John Spray <john.spray@redhat.com>
Volker Theile [Mon, 18 Jun 2018 16:15:10 +0000 (18:15 +0200)]
mgr/dashboard: Fix layout issues in UI
Improve the CSS3 selectors and use the margin-left values from 'btn-toolbar' Bootstrap.
Signed-off-by: Volker Theile <vtheile@suse.com>
David Zafman [Mon, 18 Jun 2018 22:15:18 +0000 (18:15 -0400)]
Merge pull request #22480 from dzafman/wip-standalone
Fixes for standalone tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
David Zafman [Fri, 8 Jun 2018 22:31:35 +0000 (15:31 -0700)]
test: run-standalone move aside cores found before testing starts
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 8 Jun 2018 22:27:06 +0000 (15:27 -0700)]
test: Fail immediately if some operations fail
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 8 Jun 2018 19:03:06 +0000 (12:03 -0700)]
test: Fix standalone main usage
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 8 Jun 2018 18:56:18 +0000 (11:56 -0700)]
test: Fix some function desciptions
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 8 Jun 2018 18:45:18 +0000 (11:45 -0700)]
test: Put files in private test directory
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Mon, 18 Jun 2018 19:14:03 +0000 (14:14 -0500)]
doc/releases/mimic: note lack of debian builds for mimic
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Mon, 18 Jun 2018 19:21:50 +0000 (15:21 -0400)]
doc/bluestore: data doesn't use two partitions (ceph-disk era)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Lenz Grimmer [Mon, 18 Jun 2018 15:22:01 +0000 (17:22 +0200)]
Merge pull request #22597 from votdev/bug_24525
mgr/dashboard: Fix layout issues in UI
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Mon, 18 Jun 2018 15:17:33 +0000 (17:17 +0200)]
Merge pull request #22416 from votdev/get_rgw_api_user_via_rest
mgr/dashboard: Get user ID via RGW Admin Ops API
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Alfredo Deza [Fri, 8 Jun 2018 19:36:17 +0000 (15:36 -0400)]
ceph-volume lvm.common use destroy-new, doesn't need admin keyring
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sage Weil [Mon, 18 Jun 2018 12:01:24 +0000 (07:01 -0500)]
common/options: dump flags
Also document.
Signed-off-by: Sage Weil <sage@redhat.com>
Volker Theile [Mon, 18 Jun 2018 10:19:55 +0000 (12:19 +0200)]
mgr/dashboard: Add missing blanks to fix layout issue of various texts.
This behaviour starts to occur after switching to Angular 6.
Signed-off-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Mon, 18 Jun 2018 08:48:41 +0000 (10:48 +0200)]
Merge pull request #22473 from Devp00l/wip-static-testbed-changes
mgr/dashboard: Removed unnecessary fake services from unit tests
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
John Spray [Mon, 18 Jun 2018 08:01:41 +0000 (09:01 +0100)]
Merge pull request #21850 from jan--f/add-monitoring-grafana-dash
add monitoring subdir and Grafana cluster dashboard
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Kefu Chai [Sun, 17 Jun 2018 05:07:47 +0000 (13:07 +0800)]
Merge pull request #22521 from tchaikov/wip-cmake-seastar-cleanup
cmake: only build extra boost libraries only if WITH_SEASTAR
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Fri, 15 Jun 2018 20:29:23 +0000 (15:29 -0500)]
Merge PR #22583 into master
* refs/pull/22583/head:
test/objectstore/CMakefiles: fix unittest_alloc_bench build
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Casey Bodley [Fri, 15 Jun 2018 19:54:34 +0000 (15:54 -0400)]
Merge pull request #21494 from theanalyst/rgw-reorder-auth
rgw: have a configurable authentication order
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 15 Jun 2018 19:22:01 +0000 (14:22 -0500)]
test/objectstore/CMakefiles: fix unittest_alloc_bench build
Broken by
434589a3206aafe94de5a3b95b67eddb2cfc3bdb . The add_ceph_unittest
helper does more than just add this to the list of tests--it also adjusts
linking and build options.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Jun 2018 19:05:20 +0000 (14:05 -0500)]
mon: destroy-new -> purge-new
What we actually want is a purge, not a destroy. Destroy leaves the OSD
ID in used and allows it to be recreated. What ceph-volume wants is to
purge all trace of the failed OSD setup.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Jun 2018 18:51:03 +0000 (13:51 -0500)]
mon/OSDMonitor: fix NEW flag adjustment in destroy[-new]
Only set the NEW flag if it isn't already set.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 15 Jun 2018 16:15:30 +0000 (00:15 +0800)]
Merge pull request #22577 from ErwanAliasr1/evelu-parallel
src/test: Using gtest-parallel to speedup unittests
Reviewed-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Fri, 15 Jun 2018 14:49:51 +0000 (16:49 +0200)]
Merge pull request #21998 from p-na/osd-flags-wip
mgr/dashboard: Add ability to list,set and unset cluster-wide OSD flags to the backend
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Patrick Donnelly [Fri, 15 Jun 2018 14:31:34 +0000 (07:31 -0700)]
Merge PR #22340 into master
* refs/pull/22340/head:
doc: update description of mount options for cephfs
Reviewed-by: Zheng Yan <zyan@redhat.com>
Volker Theile [Tue, 5 Jun 2018 10:03:16 +0000 (12:03 +0200)]
mgr/dashboard: Get user ID via RGW Admin Ops API.
The RGW API user id (set via 'ceph dashboard set-rgw-api-user-id <xxx>') is optional but the user ID is required internally for some situations. Because of that the user ID is requested via a RGW Admin Ops API call if it is not configured via CLI.
Signed-off-by: Volker Theile <vtheile@suse.com>
Patrick Donnelly [Fri, 15 Jun 2018 14:05:40 +0000 (07:05 -0700)]
Merge PR #22464 into master
* refs/pull/22464/head:
mds: print dir decay counters on hit
DecayCounter: removed unused velocity
DecayCounter: remove unnecessary delta member
mds: use monotonic time for DecayCounter
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 15 Jun 2018 14:05:36 +0000 (07:05 -0700)]
Merge PR #22512 into master
* refs/pull/22512/head:
client: fix bug #24491 _ll_drop_pins may access invalid iterator
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Sat, 9 Jun 2018 19:34:00 +0000 (12:34 -0700)]
mds: print dir decay counters on hit
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Sat, 9 Jun 2018 04:15:58 +0000 (21:15 -0700)]
DecayCounter: removed unused velocity
It's not actually used anywhere and it's not accurate.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jun 2018 22:02:17 +0000 (15:02 -0700)]
DecayCounter: remove unnecessary delta member
We can just add/sub to val directly (especially now that decay can be called on
a const DecayCounter).
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jun 2018 03:40:33 +0000 (20:40 -0700)]
mds: use monotonic time for DecayCounter
This commit has a few side-effects:
- Decaying the DecayCounter is more accurate, we do not need to "skip" decaying
the counter if it's been less than a second since the last decay. The time
delta is now at the granularity of the monotonic clock.
- Any check of the DecayCounter results in updating the current value, even
const checks.
- DecayRate is now established when the DecayCounter is created. There's no longer
a need to pass the DecayRate whenever interacting with the counter.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Jun 2018 14:02:02 +0000 (07:02 -0700)]
Merge PR #22357 into master
* refs/pull/22357/head:
common/DecayCounter: set last_decay to current time when decoding decay counter
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Fri, 15 Jun 2018 14:01:57 +0000 (07:01 -0700)]
Merge PR #22289 into master
* refs/pull/22289/head:
mds: put Capability in map container
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Jun 2018 14:01:52 +0000 (07:01 -0700)]
Merge PR #22266 into master
* refs/pull/22266/head:
client: update inode fields according to issued caps
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 15 Jun 2018 14:01:48 +0000 (07:01 -0700)]
Merge PR #22234 into master
* refs/pull/22234/head:
mds: add magic to header of open file table
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Erwan Velu [Fri, 15 Jun 2018 13:57:05 +0000 (15:57 +0200)]
ctest: Removing unittest_alloc_bench
unittest_alloc_bench is very cpu consuming and can take up to 20mn to
run. As per a discussion with the original author of this code, this
test is only about testing the performance while there is no validation
code in it.
To save time from people doing make check often or even the CI itself,
removing this test will save a lot of time while not reducing the test
coverage.
This commit is only removing the test from the make check but keep the
binary being compiled for those who want to run it manually.
Signed-off-by: Erwan Velu <erwan@redhat.com>
Kefu Chai [Fri, 15 Jun 2018 06:00:46 +0000 (14:00 +0800)]
run-make-check: enable WITH_GTEST_PARALLEL
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 15 Jun 2018 05:54:31 +0000 (13:54 +0800)]
cmake: add WITH_GTEST_PARALLEL option
and remove src/test/gtest-parallel submodule, because gtest-parallel is
only useful for running tests. and not all end-users are interested in
running test not to mention running them in parallel. so, to avoid
including gtest-parallel scripts in the dist tarball. it'd be better to
make it optional, and an external project.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Erwan Velu [Thu, 14 Jun 2018 13:24:07 +0000 (15:24 +0200)]
src/test: Using gtest-parallel to speedup unittests
Unittests are run sequentially and could take a long while to run.
This commit is about using gtest-parallel on some of them which are
known to be very slow due to this sequentiality.
To enable the parallel features, the 'parallel' argument just have to be
added to the add_ceph_unittest() call like in :
-add_ceph_unittest(unittest_throttle)
+add_ceph_unittest(unittest_throttle parallel)
This commit impact the following tests :
Test name Before After (in seconds)
unittest_erasure_code_shec_all: 212 43
unittest_throttle 15 5
unittest_crush 9 6
unittest_rbd_mirror 79 21
Total 315 75
This commit saves 240 seconds (4 minutes) per build.
Note it exist several other long tests but can't be parallelized since
there is explicit dependencies in the order to run the subtests.
Those stay sequential.
Signed-off-by: Erwan Velu <erwan@redhat.com>
Stephan Müller [Tue, 5 Jun 2018 10:16:26 +0000 (12:16 +0200)]
mgr/dashboard: Remove unnecessary fake services
Removed unnecessary fake services.
Signed-off-by: Stephan Müller <smueller@suse.com>
Orit Wasserman [Fri, 15 Jun 2018 09:21:41 +0000 (12:21 +0300)]
Merge pull request #22390 from votdev/rgw_metadata_self
rgw: Get the user metadata of the user used to sign the request
Patrick Nawracay [Wed, 30 May 2018 14:00:40 +0000 (16:00 +0200)]
mgr/dashboard: Extend dev scripts for API testing
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Patrick Nawracay [Tue, 15 May 2018 08:00:45 +0000 (10:00 +0200)]
mgr/dashboard: Make noise when AuthRequired used incorrectly
Don't fail silently when AuthRequired is used incorrectly, namely
without parentheses.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Patrick Nawracay [Wed, 30 May 2018 13:59:24 +0000 (15:59 +0200)]
mgr/dashboard: Extend `RestController.bulk_set` test
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Patrick Nawracay [Tue, 15 May 2018 07:47:19 +0000 (09:47 +0200)]
mgr/dashboard/backend: Enable get/set of cluster-wide OSD settings
Add ability to list, set and unset cluster-wide OSD flags.
Flags can be listed and changed through the `/api/osd/flags` API
resource. By using a GET request, the list is retrieved. By using a PUT
request, the flags are updated (all at once). Flags not contained in the
data of the PUT are removed, additional once are added. Note that the
PUT requests require a JSON body with the data contained as value of the
'flags' key like so:
{"flags": ["flag1", "flag2", ...]}
Fixes: http://tracker.ceph.com/issues/24056
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Lenz Grimmer [Fri, 15 Jun 2018 07:44:46 +0000 (09:44 +0200)]
Merge pull request #22459 from p-na/grafana-token-auth
mgr/dashboard: Add token authentication to Grafana proxy
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Fri, 15 Jun 2018 07:40:17 +0000 (09:40 +0200)]
Merge pull request #22014 from Devp00l/wip-task-wrapper
mgr/dashboard: Task wrapper service
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Fri, 15 Jun 2018 02:08:20 +0000 (10:08 +0800)]
Merge pull request #22524 from tchaikov/wip-history-les-bound
osd/PG: unset history_les_bound if local-les is used
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Fri, 15 Jun 2018 02:07:12 +0000 (10:07 +0800)]
Merge pull request #22472 from majianpeng/bluestore-misc-cleanup
os/bluestore: misc cleanup
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 15 Jun 2018 01:24:19 +0000 (09:24 +0800)]
Merge pull request #22538 from alimaredia/wip-vstart-cmake-cls-opt
cmake: Add cls_opt for vstart target
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ali Maredia [Thu, 14 Jun 2018 18:40:07 +0000 (14:40 -0400)]
cmake: Add cls_opt for vstart target
Adding a dependency on cls_opt for the radosgw so
that when the vstart target is made, `radosgw-admin
mfa` commands work.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Sage Weil [Thu, 14 Jun 2018 18:04:56 +0000 (13:04 -0500)]
Merge PR #22554 into master
* refs/pull/22554/head:
qa/standalone/ceph-helpers.sh: Fixing comment for wait_for_health()
tests: Protecting rados bench against endless loop
qa/standalone/ceph-helpers.sh: Defining custom timeout for wait_for_clean()
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Thu, 14 Jun 2018 15:24:42 +0000 (23:24 +0800)]
Merge pull request #22491 from tchaikov/wip-seastar-msgr
crimson: port messenger to seastar
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Thu, 14 Jun 2018 15:23:01 +0000 (23:23 +0800)]
Merge pull request #22547 from tchaikov/wip-spdk
spdk: update to latest spdk-18.05 branch
Tested-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Stephan Müller [Mon, 4 Jun 2018 14:27:16 +0000 (16:27 +0200)]
mgr/dashboard: Executing messages for tasks
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Wed, 30 May 2018 13:22:31 +0000 (15:22 +0200)]
mgr/dashboard: Use task wrapper in RBD list
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Wed, 30 May 2018 11:46:29 +0000 (13:46 +0200)]
mgr/dashboard: Use task wrapper in RBD form
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Tue, 15 May 2018 14:45:25 +0000 (16:45 +0200)]
mgr/dashboard: Task wrapper service
Has a method to wrap an API call into a task.
Fixes: https://tracker.ceph.com/issues/24134
Signed-off-by: Stephan Müller <smueller@suse.com>
Lenz Grimmer [Thu, 14 Jun 2018 13:56:39 +0000 (15:56 +0200)]
Merge pull request #22303 from ricardoasmarques/wip-help-menu
mgr/dashboard: Add help menu entry
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Patrick Nawracay [Thu, 7 Jun 2018 16:09:42 +0000 (18:09 +0200)]
mgr/dashboard/cleanup: Remove unnecessary parentheses
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Patrick Nawracay [Fri, 18 May 2018 07:38:20 +0000 (09:38 +0200)]
mgr/dashboard: Add token authentication to Grafana proxy
Enables token authentication for the Grafana proxy as additional option
to username/password authentication. The authentication method has to be
set, too.
$ ceph dashboard set-grafana-api-token <token> # default: ''
$ ceph dashboard set-grafana-api-auth-method <method> # default: ''
Possible values for the authentication method are 'password' and
'token'.
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Lenz Grimmer [Thu, 14 Jun 2018 10:59:47 +0000 (12:59 +0200)]
Merge pull request #21460 from s0nea/wip-dashboard-config-options
mgr/dashboard: Config options integration (read-only) depends on #22422
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Kefu Chai [Thu, 14 Jun 2018 09:17:31 +0000 (17:17 +0800)]
Merge pull request #22557 from tchaikov/wip-rbd-ggate
rbd-ggate: tag "level" with need_dynamic
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Erwan Velu [Wed, 13 Jun 2018 12:59:02 +0000 (14:59 +0200)]
qa/standalone/ceph-helpers.sh: Fixing comment for wait_for_health()
wait_for_health doesn't check if the cluster is making progress. So
let's adjust the comment accordingly.
Signed-off-by: Erwan Velu <erwan@redhat.com>
Erwan Velu [Wed, 13 Jun 2018 12:48:35 +0000 (14:48 +0200)]
tests: Protecting rados bench against endless loop
If the cluster dies during the rados bench, the maximum running time is
no more considered and all emitted aios are pending.
rados bench never quits and the global testing timeout (3600 sec : 1
hour) have to be reach to get a failure.
This situation is dramatic for a background test or a CI run as it locks
the whole job for too long for an event that will never occurs.
This ideal solution would be having 'rados bench' considering a failure
once the timeout is reached when aios are pending.
A possible workaround here is to put use the system command 'timeout'
before calling rados bench and fail if rados didn't completed on time.
To avoid side effects, this patch is doubling rados timeout. If rados
didn't completed after twice the expected time, it have to fail to avoid
locking the whole testing job.
Please find below the way it worked on a real test case.
We can see no IO after t>2 but despite timeout=4 the bench continue.
Thanks to this patch, the bench is stopped at t=8 and return 1.
5: /home/erwan/ceph/src/test/smoke.sh:55: TEST_multimon: timeout 8 rados -p foo bench 4 write -b 4096 --no-cleanup
5: hints = 1
5: Maintaining 16 concurrent writes of 4096 bytes to objects of size 4096 for up to 4 seconds or 0 objects
5: Object prefix: benchmark_data_mr-meeseeks_184960
5: sec Cur ops started finished avg MB/s cur MB/s last lat(s) avg lat(s)
5: 0 0 0 0 0 0 - 0
5: 1 16 1144 1128 4.40538 4.40625 0.
00412965 0.
0141116
5: 2 16 2147 2131 4.16134 3.91797 0.
00985654 0.
0109079
5: 3 16 2147 2131 2.77424 0 - 0.
0109079
5: 4 16 2147 2131 2.0807 0 - 0.
0109079
5: 5 16 2147 2131 1.66456 0 - 0.
0109079
5: 6 16 2147 2131 1.38714 0 - 0.
0109079
5: 7 16 2147 2131 1.18897 0 - 0.
0109079
5: /home/erwan/ceph/src/test/smoke.sh:55: TEST_multimon: return 1
5: /home/erwan/ceph/src/test/smoke.sh:18: run: return 1
Signed-off-by: Erwan Velu <erwan@redhat.com>
Erwan Velu [Wed, 13 Jun 2018 12:25:04 +0000 (14:25 +0200)]
qa/standalone/ceph-helpers.sh: Defining custom timeout for wait_for_clean()
The wait_for_clean() is using the default timeout aka 300sec = 5mn.
wait_for_clean() is trying to find a clean status within that timeout
_or_ reset its counter if any progress got made in between loops.
In a case where the cluster is sane, the recovery should be made in
shorter than 5mn but it the cluster died, waiting for 5mn for nothing is
unefficient.
This patch is about defining a custom timeout for a wait_for_clean() not
to wait much more that 1m30 (90sec). If no progress is made in that
period, there is very few chance this will read the a valid state
anyhow.
Signed-off-by: Erwan Velu <erwan@redhat.com>
Lenz Grimmer [Thu, 14 Jun 2018 09:05:26 +0000 (11:05 +0200)]
Merge pull request #22526 from Devp00l/wip-new-validators
mgr/dashboard: Added new validators
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Thu, 14 Jun 2018 02:39:51 +0000 (10:39 +0800)]
rbd-ggate: tag "level" with need_dynamic
otherwise compiler will fail to figure out the right should_gather()
variant to use.
see also
1a3e9357
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 14 Jun 2018 01:32:08 +0000 (09:32 +0800)]
cmake: update BuildSPDK for spdk-18.05
in spdk v18.05, libuuid is linked by libspdk_util.a, in which,
it is used by lib/util/uuid.c. and libspdk_vol.a uses the wrapper
function exposed by libspdk_util.a, so update the CMakefile script to
reflect the change.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Jun 2018 13:35:24 +0000 (21:35 +0800)]
spdk: update to latest spdk-18.05 branch
also bump dpdk to to spdk-18.05 branch. this should fix the build
failure on Fedora 28
Signed-off-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Wed, 13 Jun 2018 20:57:57 +0000 (16:57 -0400)]
Merge pull request #22500 from thinkercui/bugfix
osd: fix memory leak in EC fast and error read
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Jason Dillaman [Wed, 13 Jun 2018 20:22:04 +0000 (16:22 -0400)]
Merge pull request #21969 from zhongyimao/interlock_fast-diff/object-map
rbd: interlock object-map/fast-diff features together
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 13 Jun 2018 20:21:12 +0000 (16:21 -0400)]
Merge pull request #22304 from vshankar/wip-scheduled-rebalancer
rbd-mirror: schedule rebalancer to level-load instances
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Alfredo Deza [Tue, 12 Jun 2018 13:42:33 +0000 (09:42 -0400)]
qa/standalone remove ceph-disk from activate_osd helper
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 22:21:22 +0000 (18:21 -0400)]
cmake: remove subman.sh tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 21:16:28 +0000 (17:16 -0400)]
test remove ceph-disk directory
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 21:16:00 +0000 (17:16 -0400)]
debian: remove ceph_detect_init python files from base
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 21:15:15 +0000 (17:15 -0400)]
qa/standalone remove virtualenv paths for ceph-disk and ceph-detect-init
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 20:09:14 +0000 (16:09 -0400)]
debian: remove ceph-disk ceph-detect-init python files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 20:09:02 +0000 (16:09 -0400)]
rpm: remove ceph-disk ceph-detect-init python files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 20:08:43 +0000 (16:08 -0400)]
alpine: remove ceph-disk ceph-detect-init python files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 18:35:16 +0000 (14:35 -0400)]
alpine: remove ceph-osd and parttypeuuid udev rules
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 18:35:04 +0000 (14:35 -0400)]
debian: remove ceph-osd and parttypeuuid udev rules
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 5 Jun 2018 18:34:39 +0000 (14:34 -0400)]
rpm: remove ceph-osd and parttypeuuid udev rules
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Dan Mick [Tue, 5 Jun 2018 18:03:43 +0000 (11:03 -0700)]
ceph-helpers.sh: remove ceph-disk, set up osds directly
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Tue, 5 Jun 2018 18:05:33 +0000 (11:05 -0700)]
CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV
Still used for pybind/mgr/dashboard
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Alfredo Deza [Thu, 31 May 2018 13:26:52 +0000 (09:26 -0400)]
alpine: remove ceph-disk, add ceph-volume in APKBUILD.in
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 30 May 2018 19:55:12 +0000 (15:55 -0400)]
upstart: remove ceph-disk activation call
Signed-off-by: Alfredo Deza <adeza@redhat.com>