]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agomgr/dashboard: fix the version of all frontend dependencies 22712/head
Tiago Melo [Tue, 26 Jun 2018 09:37:22 +0000 (10:37 +0100)]
mgr/dashboard: fix the version of all frontend dependencies

This will reduce unexpected errors when building dashboard frontend.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22694 from dillaman/wip-test-rbd-mirror
Mykola Golub [Tue, 26 Jun 2018 07:24:25 +0000 (10:24 +0300)]
Merge pull request #22694 from dillaman/wip-test-rbd-mirror

test/rbd-mirror: disable use of gtest-parallel

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #22591 from tchaikov/wip-gcc-8.1
Kefu Chai [Tue, 26 Jun 2018 04:41:57 +0000 (12:41 +0800)]
Merge pull request #22591 from tchaikov/wip-gcc-8.1

cmake: disable -Werror-stringop-truncation for rocksdb

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #22691 into master
Sage Weil [Tue, 26 Jun 2018 02:21:17 +0000 (21:21 -0500)]
Merge PR #22691 into master

* refs/pull/22691/head:
os/bluestore: fix minor issues in bitmap logging output
os/bluestore: fix overlappedd allocation returned by bitmap allocator

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22682 from wwformat/fix-centos-install-deps
Kefu Chai [Tue, 26 Jun 2018 01:26:49 +0000 (09:26 +0800)]
Merge pull request #22682 from wwformat/fix-centos-install-deps

install-deps: check the exit status for the $builddepcmd

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22532 into master
Patrick Donnelly [Mon, 25 Jun 2018 22:48:34 +0000 (15:48 -0700)]
Merge PR #22532 into master

* refs/pull/22532/head:
qa/suites: Add supported-random-distro$ links.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22626 into master
Patrick Donnelly [Mon, 25 Jun 2018 20:07:39 +0000 (13:07 -0700)]
Merge PR #22626 into master

* refs/pull/22626/head:
scripts: add ceph-common-dbg to debug packages

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoscripts: add ceph-common-dbg to debug packages 22626/head
Patrick Donnelly [Mon, 25 Jun 2018 20:06:02 +0000 (13:06 -0700)]
scripts: add ceph-common-dbg to debug packages

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agotest/rbd-mirror: disable use of gtest-parallel 22694/head
Jason Dillaman [Mon, 25 Jun 2018 19:32:15 +0000 (15:32 -0400)]
test/rbd-mirror: disable use of gtest-parallel

This test repeatedly deadlocks when run under in parallel.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22693 from tspmelo/fix-lint-codelyzer
Kefu Chai [Mon, 25 Jun 2018 17:42:07 +0000 (01:42 +0800)]
Merge pull request #22693 from tspmelo/fix-lint-codelyzer

mgr/dashboard: fix lint error caused by codelyzer update

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: fix lint error caused by codelyzer update 22693/head
Tiago Melo [Mon, 25 Jun 2018 16:23:00 +0000 (17:23 +0100)]
mgr/dashboard: fix lint error caused by codelyzer update

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22544 from ifed01/wip-ifed-alloc-bench-fix
Igor Fedotov [Mon, 25 Jun 2018 16:17:28 +0000 (19:17 +0300)]
Merge pull request #22544 from ifed01/wip-ifed-alloc-bench-fix

test/objectstore: fix random generator in allocator_bench.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
7 years agoos/bluestore: fix minor issues in bitmap logging output 22691/head
Igor Fedotov [Mon, 25 Jun 2018 14:49:49 +0000 (17:49 +0300)]
os/bluestore: fix minor issues in bitmap logging output

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoos/bluestore: fix overlappedd allocation returned by bitmap allocator
Igor Fedotov [Mon, 25 Jun 2018 14:42:41 +0000 (17:42 +0300)]
os/bluestore: fix overlappedd allocation returned by bitmap allocator

Fixes: https://tracker.ceph.com/issues/24598
Signed-off-by: Igor Fedotov <ifedotov@suse.som>
7 years agoinstall-deps: check the exit status for the $builddepcmd 22682/head
Yunchuan Wen [Sun, 24 Jun 2018 01:48:50 +0000 (09:48 +0800)]
install-deps: check the exit status for the $builddepcmd

in some case, the $builddepcmd will failed without any "error:" output.
so we should check the exit status to handle it.

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
7 years agoMerge PR #22479 into master
Sage Weil [Sat, 23 Jun 2018 22:05:51 +0000 (17:05 -0500)]
Merge PR #22479 into master

* refs/pull/22479/head:
mgr/devicehealth: add self-test
mgr/devicehealth: make config options instance attributes
mgr/devicehealth: active -> enable_monitoring
mgr/mgr_module: update docstring for get()
mgr/devicehealth: fix 'device get-health-metrics' when no metrics are stored
mgr/devicehealth: add some scraping infrastructure
osd: optionally query smart for a single devid
mgr/ActivePyModules: add get for 'device <devid>'
osd: key smart results by unique device id
mgr: enable devicehealth by default
mgr/devicehealth: rename old smart module to devicehealth

7 years agoMerge PR #22572 into master
Sage Weil [Sat, 23 Jun 2018 22:05:45 +0000 (17:05 -0500)]
Merge PR #22572 into master

* refs/pull/22572/head:
osd: update clone_overlap even the clone have been evicted

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22576 into master
Sage Weil [Sat, 23 Jun 2018 22:05:40 +0000 (17:05 -0500)]
Merge PR #22576 into master

* refs/pull/22576/head:
common/obj_bencher.cc: faster object name generation

Reviewed-by: Erwan Velu <erwan@redhat.com>
7 years agoMerge PR #22588 into master
Sage Weil [Sat, 23 Jun 2018 22:05:35 +0000 (17:05 -0500)]
Merge PR #22588 into master

* refs/pull/22588/head:
mgr/iostat: column_width should be int not float

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Mohamad Gebai <mgebai@suse.com>
7 years agogithubmap: update contributors
Sage Weil [Sat, 23 Jun 2018 22:05:34 +0000 (17:05 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22615 into master
Sage Weil [Sat, 23 Jun 2018 22:04:46 +0000 (17:04 -0500)]
Merge PR #22615 into master

* refs/pull/22615/head:
common: fix enum redeclaration

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22620 into master
Sage Weil [Sat, 23 Jun 2018 22:04:41 +0000 (17:04 -0500)]
Merge PR #22620 into master

* refs/pull/22620/head:
common/WorkQueue: Before set_ioprio it must do create/try_create.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoMerge PR #22634 into master
Sage Weil [Sat, 23 Jun 2018 22:04:36 +0000 (17:04 -0500)]
Merge PR #22634 into master

* refs/pull/22634/head:
mgr, pybind/mgr: pass inbuf (ceph -i <file>) to modules

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/devicehealth: add self-test 22479/head
Sage Weil [Tue, 19 Jun 2018 17:56:45 +0000 (12:56 -0500)]
mgr/devicehealth: add self-test

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/devicehealth: make config options instance attributes
Sage Weil [Tue, 19 Jun 2018 15:59:47 +0000 (10:59 -0500)]
mgr/devicehealth: make config options instance attributes

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/devicehealth: active -> enable_monitoring
Sage Weil [Tue, 19 Jun 2018 15:55:20 +0000 (10:55 -0500)]
mgr/devicehealth: active -> enable_monitoring

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/mgr_module: update docstring for get()
Sage Weil [Mon, 11 Jun 2018 18:34:54 +0000 (13:34 -0500)]
mgr/mgr_module: update docstring for get()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/devicehealth: fix 'device get-health-metrics' when no metrics are stored
Sage Weil [Mon, 11 Jun 2018 12:10:08 +0000 (07:10 -0500)]
mgr/devicehealth: fix 'device get-health-metrics' when no metrics are stored

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/devicehealth: add some scraping infrastructure
Sage Weil [Fri, 8 Jun 2018 19:59:34 +0000 (14:59 -0500)]
mgr/devicehealth: add some scraping infrastructure

- command to fetch smart info
- command to scrape a device and store the metrics
- command to scrape all devices (and store)
- command to dump stored metrics
- purging of old metrics

This is based on code originally written by Yaarit.

Signed-off-by: Yaarit Hatuka yaarithatuka@gmail.com
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: optionally query smart for a single devid
Sage Weil [Fri, 8 Jun 2018 22:45:43 +0000 (17:45 -0500)]
osd: optionally query smart for a single devid

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/ActivePyModules: add get for 'device <devid>'
Sage Weil [Fri, 8 Jun 2018 22:45:25 +0000 (17:45 -0500)]
mgr/ActivePyModules: add get for 'device <devid>'

This is slightly different than the usual pattern because it is
parameterized.  I want to avoid fetching *all* devices if we don't need
it.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: key smart results by unique device id
Sage Weil [Fri, 8 Jun 2018 14:21:36 +0000 (09:21 -0500)]
osd: key smart results by unique device id

This is more useful than the current local device name.

Clean up some formatting.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr: enable devicehealth by default
Sage Weil [Fri, 8 Jun 2018 14:01:34 +0000 (09:01 -0500)]
mgr: enable devicehealth by default

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/devicehealth: rename old smart module to devicehealth
Sage Weil [Fri, 8 Jun 2018 14:01:27 +0000 (09:01 -0500)]
mgr/devicehealth: rename old smart module to devicehealth

Let's avoid "SMART" since it's misleading (it refers specifically to ATA).

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22676 from trociny/wip-24637
Jason Dillaman [Sat, 23 Jun 2018 13:38:11 +0000 (09:38 -0400)]
Merge pull request #22676 from trociny/wip-24637

librbd: fix crash when opening nonexistent snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22636 from tchaikov/wip-cmake-add_npm_command
Kefu Chai [Sat, 23 Jun 2018 01:18:16 +0000 (09:18 +0800)]
Merge pull request #22636 from tchaikov/wip-cmake-add_npm_command

cmake: add "add_npm_command()" command

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge PR #22486 into master
Patrick Donnelly [Fri, 22 Jun 2018 23:21:49 +0000 (16:21 -0700)]
Merge PR #22486 into master

* refs/pull/22486/head:
mds: avoid traversing all dirfrags when trying to get wrlocks

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agomgr, pybind/mgr: pass inbuf (ceph -i <file>) to modules 22634/head
Dan Mick [Wed, 20 Jun 2018 03:36:08 +0000 (20:36 -0700)]
mgr, pybind/mgr: pass inbuf (ceph -i <file>) to modules

Modules may wish to receive bulk data; allow it

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #22674 from yuriw/wip-yuriw-perf-distro-master
Yuri Weinstein [Fri, 22 Jun 2018 19:24:57 +0000 (12:24 -0700)]
Merge pull request #22674 from yuriw/wip-yuriw-perf-distro-master

qa/tests - added all supported distro to the mix, …

7 years agolibrbd: fix crash when opening nonexistent snapshot 22676/head
Mykola Golub [Fri, 22 Jun 2018 17:50:51 +0000 (20:50 +0300)]
librbd: fix crash when opening nonexistent snapshot

Fixes: http://tracker.ceph.com/issues/24637
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge PR #22578 into master
Sage Weil [Fri, 22 Jun 2018 18:00:59 +0000 (13:00 -0500)]
Merge PR #22578 into master

* refs/pull/22578/head:
os/bluestore: provide a rough estimate for bitmap allocator

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
7 years agogithubmap: update contributors
Sage Weil [Fri, 22 Jun 2018 18:00:58 +0000 (13:00 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22586 into master
Sage Weil [Fri, 22 Jun 2018 18:00:35 +0000 (13:00 -0500)]
Merge PR #22586 into master

* refs/pull/22586/head:
global/signal_handler: one less frame of context
global/signal_handler: write crash dumps to /var/lib/ceph/crash/$uuid/
common/ceph_context: add "assert" and "abort" asok commands
common/assert: record assert info in g_assert_* globals
common: add crash_dir option
common/assert: get rid of duplicate log dump from assert handler
common/BackTrace: add dump()
log: do not discard recent after dumping it
debian,rpm: /var/lib/ceph/crash

7 years agoMerge PR #22610 into master
Sage Weil [Fri, 22 Jun 2018 18:00:30 +0000 (13:00 -0500)]
Merge PR #22610 into master

* refs/pull/22610/head:
os/bluestore: fix length overflow.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge PR #22630 into master
Sage Weil [Fri, 22 Jun 2018 18:00:25 +0000 (13:00 -0500)]
Merge PR #22630 into master

* refs/pull/22630/head:
osd/OSDMap.cc: move sanity checks to the proper place
osd/OSDMap.cc: remove pg_upmap/pg_upmap_items too if osd is gone

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22661 into master
Sage Weil [Fri, 22 Jun 2018 18:00:20 +0000 (13:00 -0500)]
Merge PR #22661 into master

* refs/pull/22661/head:
mgr: remove unused [get|set]_store_json fns

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
7 years agogithubmap: update contributors
Sage Weil [Fri, 22 Jun 2018 18:00:19 +0000 (13:00 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/tests - added all supported distro to the mix, so we can track stats across diff... 22674/head
Yuri Weinstein [Fri, 22 Jun 2018 16:13:11 +0000 (09:13 -0700)]
qa/tests - added all supported distro to the mix, so we can track stats across diff OSes

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoosd: update clone_overlap even the clone have been evicted 22572/head
Yunchuan Wen [Fri, 15 Jun 2018 05:59:30 +0000 (13:59 +0800)]
osd: update clone_overlap even the clone have been evicted

the clone_overlap is difference of range between head and clones.
if the clone have been evicted, the clone_overlap is still exist in the
snapset, so we should update the clone_overlap to make it sense.

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
7 years agoMerge pull request #22665 from idryomov/wip-krbd-lvcreate-args
Ilya Dryomov [Fri, 22 Jun 2018 13:51:20 +0000 (15:51 +0200)]
Merge pull request #22665 from idryomov/wip-krbd-lvcreate-args

qa: krbd_msgr_segments.t: filter lvcreate output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #22217 from tianshan/fix_dir_suggest_changes
Casey Bodley [Fri, 22 Jun 2018 13:48:41 +0000 (09:48 -0400)]
Merge pull request #22217 from tianshan/fix_dir_suggest_changes

rgw: fix index update in dir_suggest_changes

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #22344 from neurodrone/add_usage_log_entry_dencoder
Casey Bodley [Fri, 22 Jun 2018 13:47:36 +0000 (09:47 -0400)]
Merge pull request #22344 from neurodrone/add_usage_log_entry_dencoder

cls/rgw: ready rgw_usage_log_entry for extraction via ceph-dencoder

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #22410 from mkogan1/wip-rgw-t23379
Casey Bodley [Fri, 22 Jun 2018 13:46:31 +0000 (09:46 -0400)]
Merge pull request #22410 from mkogan1/wip-rgw-t23379

rgw: remove expired entries from the cache

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #22440 from yehudasa/wip-24117
Casey Bodley [Fri, 22 Jun 2018 13:44:58 +0000 (09:44 -0400)]
Merge pull request #22440 from yehudasa/wip-24117

cls/rgw: don't assert in decode_list_index_key()

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #22249 from cbodley/wip-qa-rgw-verify-tasks
Casey Bodley [Fri, 22 Jun 2018 13:43:25 +0000 (09:43 -0400)]
Merge pull request #22249 from cbodley/wip-qa-rgw-verify-tasks

qa/rgw: reorganize verify tasks

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22601 from tspmelo/wip-confirmation-modal
Lenz Grimmer [Fri, 22 Jun 2018 11:54:24 +0000 (13:54 +0200)]
Merge pull request #22601 from tspmelo/wip-confirmation-modal

mgr/dashboard: Add shared Confirmation Modal

Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22639 from tspmelo/wip-node-version
Lenz Grimmer [Fri, 22 Jun 2018 11:50:48 +0000 (13:50 +0200)]
Merge pull request #22639 from tspmelo/wip-node-version

mgr/dashboard: Update node version

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22654 from dmick/wip-mgr-store-doc
John Spray [Fri, 22 Jun 2018 08:44:21 +0000 (09:44 +0100)]
Merge pull request #22654 from dmick/wip-mgr-store-doc

mgr/mgr_module.py: fix doc for set_store/set_store_json

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #22666 from yuriw/wip-yuriw-crontab
Josh Durgin [Fri, 22 Jun 2018 00:02:36 +0000 (17:02 -0700)]
Merge pull request #22666 from yuriw/wip-yuriw-crontab

qa/tests - added luminous-p2p suite to the schedule

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tests - added luminous-p2p suite to the schedule 22666/head
Yuri Weinstein [Thu, 21 Jun 2018 20:28:26 +0000 (13:28 -0700)]
qa/tests - added luminous-p2p suite to the schedule
(Merge after https://github.com/ceph/ceph/pull/22474 is merged)

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #22536 from yuriw/wip-yuriw-distros-master
Sage Weil [Thu, 21 Jun 2018 22:08:12 +0000 (17:08 -0500)]
Merge pull request #22536 from yuriw/wip-yuriw-distros-master

qa/tests: changed disto symlink to point to new way using supported OS'es

7 years agomgr/mgr_module.py: add 'delete a key' doc comment for set_store 22654/head
Dan Mick [Wed, 20 Jun 2018 04:39:57 +0000 (21:39 -0700)]
mgr/mgr_module.py: add 'delete a key' doc comment for set_store

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #22664 from neha-ojha/wip-fix-choose-acting
Josh Durgin [Thu, 21 Jun 2018 20:57:47 +0000 (13:57 -0700)]
Merge pull request #22664 from neha-ojha/wip-fix-choose-acting

osd/PG: restrict async_recovery_targets to up osds

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #22432 from tianshan/fix_RGWSyncTraceNode_crash
Casey Bodley [Thu, 21 Jun 2018 19:51:27 +0000 (15:51 -0400)]
Merge pull request #22432 from tianshan/fix_RGWSyncTraceNode_crash

rgw: fix RGWSyncTraceNode crash in reload

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoqa: krbd_msgr_segments.t: filter lvcreate output 22665/head
Ilya Dryomov [Thu, 21 Jun 2018 15:27:59 +0000 (17:27 +0200)]
qa: krbd_msgr_segments.t: filter lvcreate output

Some versions of lvm emit a log message

  Using default stripesize 64.00 KiB.

which fails the test.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoosd/PG: restrict async_recovery_targets to up osds 22664/head
Neha Ojha [Wed, 20 Jun 2018 17:20:58 +0000 (13:20 -0400)]
osd/PG: restrict async_recovery_targets to up osds

When an osd that is part of the acting set and not the up set, gets chosen
as an async_recovery_target, it gets removed from the acting set. Since this
osd is no longer in the up or acting set, it is classified as a stray in
the next peering cycle. This results in choose_acting() looping between two
proposed acting sets.

To avoid this, we will only choose up osds as async_recovery_targets.

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #22054 from theanalyst/wip-civetweb-url-fixes
Yehuda Sadeh [Thu, 21 Jun 2018 16:12:03 +0000 (09:12 -0700)]
Merge pull request #22054 from theanalyst/wip-civetweb-url-fixes

civetweb: update for url validation fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #22470 from votdev/feature_24436
Lenz Grimmer [Thu, 21 Jun 2018 13:34:01 +0000 (15:34 +0200)]
Merge pull request #22470 from votdev/feature_24436

mgr/dashboard: Replace RGW proxy controller

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge pull request #22658 from joscollin/wip-doc-dashboard-numbers
Lenz Grimmer [Thu, 21 Jun 2018 13:21:12 +0000 (15:21 +0200)]
Merge pull request #22658 from joscollin/wip-doc-dashboard-numbers

doc: Fixed the wrong numbers in mgr/dashboard.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #22657 from ceph/wip-doc-grafana-formatting
Lenz Grimmer [Thu, 21 Jun 2018 13:19:27 +0000 (15:19 +0200)]
Merge pull request #22657 from ceph/wip-doc-grafana-formatting

doc/dashboard: fix formatting on Grafana instructions

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomgr: remove unused [get|set]_store_json fns 22661/head
John Spray [Thu, 21 Jun 2018 13:13:36 +0000 (14:13 +0100)]
mgr: remove unused [get|set]_store_json fns

These were little used helpers, now totally unused!

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: Replace RGW proxy controller 22470/head
Volker Theile [Tue, 19 Jun 2018 11:19:10 +0000 (13:19 +0200)]
mgr/dashboard: Replace RGW proxy controller

Fixes: http://tracker.ceph.com/issues/24436
To fully support the role based authentication/authorization system it is necessary to replace the RGW proxy controller by separate controllers for RGW user and bucket.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agodoc: Fixed the wrong numbers in mgr/dashboard.rst 22658/head
Jos Collin [Thu, 21 Jun 2018 11:13:17 +0000 (16:43 +0530)]
doc: Fixed the wrong numbers in mgr/dashboard.rst

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agodoc/dashboard: fix formatting on Grafana instructions 22657/head
John Spray [Thu, 21 Jun 2018 10:31:19 +0000 (11:31 +0100)]
doc/dashboard: fix formatting on Grafana instructions

The whole list was in a code block, instead of just the snippets.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agocivetweb: update for url validation fixes 22054/head
Abhishek Lekshmanan [Thu, 17 May 2018 10:00:54 +0000 (12:00 +0200)]
civetweb: update for url validation fixes

The new civetweb 1.10 version in mimic and later is strict on control characters
being url encoded, making url validation more relaxed and passing these through
to rgw where the requisite url validation is done.

Fixes: http://tracker.ceph.com/issues/24158
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #22608 from dillaman/wip-24410
Mykola Golub [Thu, 21 Jun 2018 08:02:25 +0000 (11:02 +0300)]
Merge pull request #22608 from dillaman/wip-24410

librbd: namespace create/remove/list support

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #22628 from dmick/wip-cli-path
Dan Mick [Thu, 21 Jun 2018 02:10:25 +0000 (19:10 -0700)]
Merge pull request #22628 from dmick/wip-cli-path

src/ceph.in: dev mode: add build path to beginning of PATH, not end

7 years agoMerge PR #22585 into master
Sage Weil [Wed, 20 Jun 2018 20:07:19 +0000 (15:07 -0500)]
Merge PR #22585 into master

* refs/pull/22585/head:
osd: fix getting osd maps on initial osd startup

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22647 from yuriw/wip-yuriw-teuthology-master
Zack Cerza [Wed, 20 Jun 2018 19:52:34 +0000 (13:52 -0600)]
Merge pull request #22647 from yuriw/wip-yuriw-teuthology-master

qa/tests - added all supported distro

7 years agoMerge pull request #22648 from idryomov/wip-krbd-bump-lock-timeout
Ilya Dryomov [Wed, 20 Jun 2018 18:27:02 +0000 (20:27 +0200)]
Merge pull request #22648 from idryomov/wip-krbd-bump-lock-timeout

qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc/rbd: update man page 22608/head
Jason Dillaman [Wed, 20 Jun 2018 16:39:34 +0000 (12:39 -0400)]
doc/rbd: update man page

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #20094 from rjfd/wip-msgr2-docs
Sage Weil [Wed, 20 Jun 2018 16:23:55 +0000 (11:23 -0500)]
Merge pull request #20094 from rjfd/wip-msgr2-docs

doc/dev/msgr2.rst: update of the banner and authentication phases

7 years agoqa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds 22648/head
Ilya Dryomov [Wed, 20 Jun 2018 16:22:36 +0000 (18:22 +0200)]
qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds

Avoid sporadic failures in combination with msgr-failures/many.yaml,
where assert_locked() might take over 10 seconds.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoqa/tests - added all supported distro 22647/head
Yuri Weinstein [Wed, 20 Jun 2018 16:16:16 +0000 (09:16 -0700)]
qa/tests - added all supported distro

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agocmake: add "add_npm_command()" command 22636/head
Kefu Chai [Wed, 20 Jun 2018 03:43:49 +0000 (11:43 +0800)]
cmake: add "add_npm_command()" command

so we can use the npm installed otherwhere to preparing the node
asserts in an easier way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoglobal/signal_handler: one less frame of context 22586/head
Sage Weil [Sat, 16 Jun 2018 12:55:12 +0000 (07:55 -0500)]
global/signal_handler: one less frame of context

    "backtrace": [
        "(()+0x942e6e) [0x55859889ae6e]",
        "(()+0x11fc0) [0x7f955b1aafc0]",
        "(gsignal()+0x10b) [0x7f9559e91f2b]",
        "(abort()+0x12b) [0x7f9559e7c561]",
...

Drop one frame; it's not really helpful.  We could probably drop up through
gsignal(), but 1 seems safer across platforms.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoglobal/signal_handler: write crash dumps to /var/lib/ceph/crash/$uuid/
Sage Weil [Fri, 15 Jun 2018 20:54:02 +0000 (15:54 -0500)]
global/signal_handler: write crash dumps to /var/lib/ceph/crash/$uuid/

Include two files:

- meta, a JSON blob with everything interesting we can think of
- log, the dump_recent log events

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/ceph_context: add "assert" and "abort" asok commands
Sage Weil [Fri, 15 Jun 2018 22:29:11 +0000 (17:29 -0500)]
common/ceph_context: add "assert" and "abort" asok commands

Require 'debug_asok_assert_abort = true'

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: fix length overflow. 22610/head
Jianpeng Ma [Wed, 20 Jun 2018 12:22:38 +0000 (20:22 +0800)]
os/bluestore: fix length overflow.

In fact, length of 'struct interval_t' and 'struct bluestore_pextent_t'
is uint32_t. But len of AllocatorLevel02::_mark_allocated is uint64_t.
So it may cause data overflow which cause bug.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agomgr/dashboard: Add shared Confirmation Modal 22601/head
Tiago Melo [Mon, 18 Jun 2018 15:15:07 +0000 (16:15 +0100)]
mgr/dashboard: Add shared Confirmation Modal

Replaced 'FlattenConfirmationModalComponent' and
'RollbackConfirmationModalComponent' with the new generic modal.

Any new confirmation modals should use the new component.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22629 from dmick/master
John Spray [Wed, 20 Jun 2018 09:41:55 +0000 (10:41 +0100)]
Merge pull request #22629 from dmick/master

doc/mgr/plugins.rst: explain more about the plugin command protocol

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #22528 from rjfd/wip-dashboard-fix-rest-controller
Lenz Grimmer [Wed, 20 Jun 2018 09:30:10 +0000 (11:30 +0200)]
Merge pull request #22528 from rjfd/wip-dashboard-fix-rest-controller

mgr/dashboard: restcontroller: minor improvements and bug fixes

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Update node version 22639/head
Tiago Melo [Wed, 20 Jun 2018 09:25:24 +0000 (10:25 +0100)]
mgr/dashboard: Update node version

Updated node version to the latest LTS.

Updated 'HACKING.rst' to reflect the current node/npm version requirements.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agocommon: fix enum redeclaration 22615/head
Qiaowei Ren [Tue, 19 Jun 2018 03:12:21 +0000 (11:12 +0800)]
common: fix enum redeclaration

This patch fixes the error about enum redeclaration during compile time.

The error is from the enum declaration in src/common/perf_counters.h:

enum unit_t : uint8_t
{
  BYTES,
  NONE
};

When external library also includes similar declaratiron, the following
error will appear:
  error: redeclaration of enumerator 'NONE'
  error: previous definition of 'NONE' ...

Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
7 years agoMerge pull request #22609 from qwren/qat-decompress
Kefu Chai [Wed, 20 Jun 2018 02:06:28 +0000 (10:06 +0800)]
Merge pull request #22609 from qwren/qat-decompress

compressor: building error for QAT decompress

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/OSDMap.cc: move sanity checks to the proper place 22630/head
xie xingguo [Wed, 20 Jun 2018 01:27:46 +0000 (09:27 +0800)]
osd/OSDMap.cc: move sanity checks to the proper place

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoosd/OSDMap.cc: remove pg_upmap/pg_upmap_items too if osd is gone
xie xingguo [Wed, 20 Jun 2018 01:04:19 +0000 (09:04 +0800)]
osd/OSDMap.cc: remove pg_upmap/pg_upmap_items too if osd is gone

If an osd is gone or moved out from the specific crush rule,
we should cancel any pg_upmap/pg_upmap_items still bound to
that osd too.

The original code does not work for the above case because
get_parent_of_type() will fail if that osd does not belong
to the crush_rule passed in and hence hits the assert below:

```
src/osd/OSDMap.cc: 4078: FAILED assert(target > 0)
```

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agodoc/mgr/plugins.rst: explain more about the plugin command protocol 22629/head
Dan Mick [Tue, 19 Jun 2018 23:45:06 +0000 (16:45 -0700)]
doc/mgr/plugins.rst: explain more about the plugin command protocol

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agosrc/ceph.in: dev mode: add build path to beginning of PATH, not end 22628/head
Dan Mick [Tue, 19 Jun 2018 23:02:51 +0000 (16:02 -0700)]
src/ceph.in: dev mode: add build path to beginning of PATH, not end

The build/ executables go with the LD_LIBRARY_PATH and PYTHONPATH

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #21635 from yangdongsheng/qos_read_write
Jason Dillaman [Tue, 19 Jun 2018 21:32:15 +0000 (17:32 -0400)]
Merge pull request #21635 from yangdongsheng/qos_read_write

librbd: support bps throttle and throttle read and write seperately.

Reviewed-by: Jason Dillaman <dillaman@redhat.com>