Yuri Weinstein [Tue, 20 Nov 2018 22:01:41 +0000 (14:01 -0800)]
Merge pull request #14369 from rzarzynski/wip-rgw-19514
rgw: fix wrong debug related to user ACLs in rgw_build_bucket_policies()
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Tue, 20 Nov 2018 22:00:57 +0000 (14:00 -0800)]
Merge pull request #16658 from rzarzynski/wip-rgw-20795
rgw: Swift's TempURL can handle temp_url_expires written in ISO8601.
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Tue, 20 Nov 2018 22:00:41 +0000 (14:00 -0800)]
Merge pull request #19684 from taoCH/wip-librgw-symbolic-link
librgw: support symbolic link
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Robin H. Johnson [Tue, 20 Nov 2018 17:44:04 +0000 (09:44 -0800)]
Merge pull request #22599 from anthonyeleven/patch-2
doc: Tidy up description wording and spelling
Sage Weil [Tue, 20 Nov 2018 15:50:04 +0000 (09:50 -0600)]
Merge PR #24737 into master
* refs/pull/24737/head:
doc/ceph-bluestore-tool: add help for migrate and new DB/WAL commands.
Reviewed-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Tue, 20 Nov 2018 15:36:48 +0000 (16:36 +0100)]
Merge pull request #25010 from nathan-weinberg/breadcrumb-tests
mgr/dashboard: Added additional breadcrumb tests to Cluster
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Tue, 20 Nov 2018 15:34:59 +0000 (16:34 +0100)]
Merge pull request #25141 from rhcs-dashboard/wip-37293-master
mgr/dashboard: Fix Forbidden Error with some roles
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Tue, 20 Nov 2018 13:58:37 +0000 (21:58 +0800)]
Merge pull request #25176 from cyx1231st/wip-crimson-msgr-extract-states
crimson/net: encapsulate protocol implementations with states
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yingxin [Wed, 7 Nov 2018 11:58:24 +0000 (19:58 +0800)]
crimson/net: remove recursive call to handle_connect_reply()
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
Yingxin [Tue, 20 Nov 2018 14:07:57 +0000 (22:07 +0800)]
crimson/net: fix minor issue and add TODO for error-handling
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
Kefu Chai [Mon, 19 Nov 2018 08:09:53 +0000 (16:09 +0800)]
crimson/net: extract state transition out of repeat_connect()
and extract state transition out of repeat_handle_connect()
in this change, the connect/handle-connect loop is restructured, to
avoid ad-hoc state changes in helper functions. this pave the road to
explicit state transtion using named states.
also, exception is thrown instead in handle_connect_reply(), we should
not proceed in case of failures. and we need do error handling in the
named state in future.
currentl, `state` is set to `state_t::open` in `start_connect()` and
`start_accept()`, the next step is to set it in a named state.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Tue, 20 Nov 2018 13:33:42 +0000 (14:33 +0100)]
Merge pull request #25149 from p-na/pna-fix-safe-to-destroy
mgr/dashboard: Fix failing QA test: test_safe_to_destroy
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Kefu Chai [Mon, 19 Nov 2018 07:05:51 +0000 (15:05 +0800)]
crimson/net: define an alias of seastar::stop_iteration
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yingxin [Wed, 24 Oct 2018 14:49:30 +0000 (22:49 +0800)]
crimson/net: check short reads in `read_exactly()`
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
Sage Weil [Tue, 20 Nov 2018 12:51:29 +0000 (06:51 -0600)]
Merge PR #24844 into master
* refs/pull/24844/head:
osd: drop PGBackend::Listener::get_epoch().
osd: massively switch to get_osdmap_epoch().
osd: switch the return type of PG::get_osdmap().
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 20 Nov 2018 12:50:50 +0000 (06:50 -0600)]
Merge PR #24867 into master
* refs/pull/24867/head:
mon: compensate for not having STDLIB_MAP_SPLICING
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Sage Weil [Tue, 20 Nov 2018 12:50:33 +0000 (06:50 -0600)]
Merge PR #24929 into master
* refs/pull/24929/head:
osd: set lower bound+docs on osd_max_write_size
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Tue, 20 Nov 2018 12:50:17 +0000 (06:50 -0600)]
Merge PR #25058 into master
* refs/pull/25058/head:
mgr: Fixed devicehealth plugin resource leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 20 Nov 2018 12:49:54 +0000 (06:49 -0600)]
Merge PR #25125 into master
* refs/pull/25125/head:
mon: require keyring even if cephx is optional
Reviewed-by: Sage Weil <sage@redhat.com>
Yingxin [Wed, 17 Oct 2018 20:45:53 +0000 (04:45 +0800)]
crimson/net: connection closed during connecting
It is possible during `seastar::connect()`, the connection is marked
closed (when SocketConnection::socket is unavailable), then
`seastar::connect()` successfully returns a connected socket.
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
Lenz Grimmer [Tue, 20 Nov 2018 11:29:35 +0000 (12:29 +0100)]
Merge pull request #25121 from zmc/wip-dashboard-test-runner
mgr/dashboard: Small improvements for running teuthology tests
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Lenz Grimmer [Tue, 20 Nov 2018 09:21:04 +0000 (10:21 +0100)]
Merge pull request #24851 from rhcs-dashboard/grafana-roles
mgr/dashboard: Show/Hide Grafana tabs according to user role
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Abhishek L [Tue, 20 Nov 2018 08:40:59 +0000 (09:40 +0100)]
Merge pull request #24762 from tspmelo/wip-credits
credits.sh: Ignore package-lock.json and .xlf files
Reviewed-By: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Kefu Chai [Tue, 20 Nov 2018 07:54:34 +0000 (15:54 +0800)]
Merge pull request #25169 from tchaikov/wip-install-libboost-bionic
install-deps.sh: fix gcc detection and install pre-built libboost on bionic
Tested-by: Changcheng Liu <changcheng.liu@intel.com>
Reviewed-by: Changcheng Liu <changcheng.liu@intel.com>
Kefu Chai [Tue, 20 Nov 2018 04:43:34 +0000 (12:43 +0800)]
install-deps.sh: install prebuilt libboost dependencies for bionic also
* extract boost install function into a helper, so we don't need to
repeat it when adding support for new distros.
* install ceph-libboost-* for bionic build also. we check for the
existence in run-make-check.sh, so there is no need to update
the build script elsewhere.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Changcheng Liu [Fri, 26 Oct 2018 06:32:09 +0000 (14:32 +0800)]
install-deps.sh: correct gcc version info as major.minor.patch
On ubuntu 18.04, "gcc -dumpversion" output "7", it result in
that below check will return false:
dpkg --compare-versions 7 ge 7.0
Then, this script will install other gcc.
Actully, the full gcc version "gcc -dumpfullversion" output is
"7.3.0", than below check will turn true:
dpkg --compare-version 7.3.0 ge 7.0
So, there's no need to install other gcc.
In case of hitting error on ubuntu16.04, use below parameter:
gcc -dumpfullversion -dumpversion
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Sage Weil [Mon, 19 Nov 2018 23:31:17 +0000 (17:31 -0600)]
Merge PR #24874 into master
* refs/pull/24874/head:
os/filestore: collect partition/device metadata from journal
os/filestore: include journal in get_devices result
Reviewed-by: Rick Chen <rick.chen@prophetstor.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Mon, 19 Nov 2018 23:29:57 +0000 (17:29 -0600)]
Merge PR #25140 into master
* refs/pull/25140/head:
mon: by default, do NOT warn about misplaced objects
mon: add mon_warn_on_misplaced option
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Sage Weil [Mon, 19 Nov 2018 23:29:41 +0000 (17:29 -0600)]
Merge PR #25147 into master
* refs/pull/25147/head:
mgr/devicehealth: implement config_notify hook
mgr: call config_notify method when mgr's config has changed
mon/MonClient: add callback for (any) config change
common/config: fix debug output for config callbacks changes
Reviewed-by: Tim Serong <tserong@suse.com>
Patrick Donnelly [Mon, 19 Nov 2018 22:17:14 +0000 (14:17 -0800)]
Merge PR #25158 into master
* refs/pull/25158/head:
[doc] Fix typo in luminious release notes
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Mon, 19 Nov 2018 19:15:21 +0000 (13:15 -0600)]
Merge PR #25111 into master
* refs/pull/25111/head:
test: Add test for requested scrub priority
osd: Prioritize user specified scrubs
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Mon, 19 Nov 2018 16:49:06 +0000 (08:49 -0800)]
Merge pull request #23819 from dongbula/nf-add-bucket-option-in-usage
rgw: add bucket as option when show/trim usage
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Mon, 19 Nov 2018 16:47:27 +0000 (08:47 -0800)]
Merge pull request #23318 from theanalyst/wip-curl-errstring
rgw: http client: print curl error messages during curl failures
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Neha Ojha [Mon, 19 Nov 2018 16:46:43 +0000 (22:16 +0530)]
Merge pull request #25069 from markhpc/wip-memory-autotune-doc
doc/rados: Add bluestore memory autotuning docs.
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Mon, 19 Nov 2018 16:44:50 +0000 (08:44 -0800)]
Merge pull request #24492 from theanalyst/wip-rgw-es-attr-fixes
rgw: ES sync: be more restrictive on object system attrs
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Mon, 19 Nov 2018 16:44:10 +0000 (08:44 -0800)]
Merge pull request #24730 from pritha-srivastava/wip-rgw-role-fixes
rgw: Minor fixes to radosgw-admin commands for a role.
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Mon, 19 Nov 2018 16:43:10 +0000 (08:43 -0800)]
Merge pull request #24846 from taoCH/wip-fix-librgw-quota-check
rgw_file: not check max_objects when creating file
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Maxime [Mon, 19 Nov 2018 15:36:04 +0000 (16:36 +0100)]
[doc] Fix typo in luminious release notes
Signed-off-by: Maxime <maxime@root314.com>
Jason Dillaman [Mon, 19 Nov 2018 15:22:52 +0000 (20:52 +0530)]
Merge pull request #24935 from leseb/rbd-mirror-on-reboot
systemd: enable ceph-rbd-mirror.target
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sebastian Wagner [Mon, 19 Nov 2018 13:55:30 +0000 (14:55 +0100)]
Merge pull request #24863 from jtlayton/wip-orchestrator
mgr/orchestrator: Add support for "ceph orchestrator service ls"
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Patrick Nawracay [Sat, 17 Nov 2018 21:03:22 +0000 (22:03 +0100)]
mgr/dashboard: Fix failing QA test: test_safe_to_destroy
The behavior of `safe-to-destroy` has changed in
432f19435523d455ecd4f386e58ee1f033cf97e2 (PR#24799) and the backend
needs to be adapted accordingly.
Fixes: http://tracker.ceph.com/issues/37290
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Lenz Grimmer [Mon, 19 Nov 2018 12:16:28 +0000 (13:16 +0100)]
Merge pull request #24932 from tspmelo/wip-nodejs-update
mgr/dashboard: Update Node.js to current LTS
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Nathan Cutler [Mon, 19 Nov 2018 11:50:57 +0000 (12:50 +0100)]
Merge pull request #24779 from smithfarm/wip-luminous-release-notes
doc: Luminous v12.2.9 release notes
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Lenz Grimmer [Mon, 19 Nov 2018 10:48:35 +0000 (11:48 +0100)]
Merge pull request #25136 from Devp00l/wip-easy-e2e-dev
mgr/dashboard: npm run e2e:dev
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Mon, 19 Nov 2018 08:54:20 +0000 (16:54 +0800)]
Merge pull request #25139 from tchaikov/wip-xmlsec
test/dashboard: fix segfault when importing dm.xmlsec.binding
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Kanika Murarka [Mon, 19 Nov 2018 08:13:52 +0000 (13:43 +0530)]
mgr/dashboard: Show/Hide Grafana tabs according to user role
Fixes: http://tracker.ceph.com/issues/36655
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
Mykola Golub [Mon, 19 Nov 2018 07:59:03 +0000 (09:59 +0200)]
Merge pull request #25096 from dillaman/wip-rbd-mirror-peers
librbd: move mirror peer attribute handling from CLI to API
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sage Weil [Sun, 18 Nov 2018 13:04:40 +0000 (07:04 -0600)]
Merge PR #20665 into master
* refs/pull/20665/head:
mgr/balancer: add crush_compat_metrics param
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Nov 2018 13:15:36 +0000 (07:15 -0600)]
mgr/devicehealth: implement config_notify hook
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Nov 2018 13:15:19 +0000 (07:15 -0600)]
mgr: call config_notify method when mgr's config has changed
This provides a hook for the module to refresh any config values it has
cached in module-local variables.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Nov 2018 12:50:17 +0000 (06:50 -0600)]
mon/MonClient: add callback for (any) config change
This is a coarse "there was some config update". It's fired whether or
not it values are observed.
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 16 Nov 2018 19:23:39 +0000 (14:23 -0500)]
Merge pull request #25135 from cbodley/wip-test-log-garble
test: fix libc++ crash in Log.GarbleRecovery
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Ernesto Puerta [Fri, 16 Nov 2018 18:04:34 +0000 (19:04 +0100)]
mgr/dashboard: Fix Forbidden Error with some roles
Fixes: http://tracker.ceph.com/issues/37293
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Zack Cerza [Thu, 15 Nov 2018 18:47:30 +0000 (11:47 -0700)]
Remove any dashboard .pyc files before testing
Things like 'git rm' and 'git mv' don't clean up any .pyc files that
might have been generated previously, so if those aren't removed, we
might not be running the exact code that we intend to.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 15 Nov 2018 18:42:25 +0000 (11:42 -0700)]
When cloning teuthology, pass --depth 1
We don't need history, so we may as well save some time.
Signed-off-by: Zack Cerza <zack@redhat.com>
Kefu Chai [Fri, 16 Nov 2018 17:25:47 +0000 (01:25 +0800)]
test/dashboard: fix segfault when importing dm.xmlsec.binding
python-saml depends on dm.xmlsec.binding which is a python binding of
xmlsec C library. but without -DXMLSEC_NO_SIZE_T the compiled
dm.xmlsec.binding segfaults when `import dm.xmlsec.binding`. see
https://github.com/onelogin/python-saml/issues/30 and
https://github.com/4teamwork/ftw.saml2auth/issues/3 .
in long term, we might want to switch to python-saml, see
http://tracker.ceph.com/issues/37081
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 16 Nov 2018 17:03:37 +0000 (11:03 -0600)]
mon: by default, do NOT warn about misplaced objects
Misplaced objects are not something that puts the health or safety of
data in jeopardy. Don't warn about it by default.
Since this is a change in behavior, add a release note.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 16 Nov 2018 17:00:52 +0000 (11:00 -0600)]
mon: add mon_warn_on_misplaced option
Control whether we issue HEALTH_WARN due to misplaced objects.
Signed-off-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Fri, 16 Nov 2018 16:06:51 +0000 (08:06 -0800)]
Merge pull request #22613 from zhangsw/fix-rgw-copyobj-tailtag
rgw: Copying object data should generate new tail tag for the new object.
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Fri, 16 Nov 2018 16:06:23 +0000 (08:06 -0800)]
Merge pull request #23652 from theanalyst/rgw/awsv4/presign-slashes
rgw: s3: awsv4 drop special handling for x-amz-credential
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Fri, 16 Nov 2018 16:03:35 +0000 (08:03 -0800)]
Merge pull request #25003 from ivancich/wip-update-reshard-params
rgw: reshard improvements
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Fri, 16 Nov 2018 16:03:09 +0000 (08:03 -0800)]
Merge pull request #25102 from cbodley/wip-rgw-log-http-status
rgw: log http status with op prefix if available
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Stephan Müller [Fri, 16 Nov 2018 14:39:53 +0000 (15:39 +0100)]
mgr/dashboard: npm run e2e:dev
The new command introduced will make developing e2e tests faster, as
Protractor will attach to the running development server that was
previously started running 'npm start'.
Fixes: https://tracker.ceph.com/issues/37291
Signed-off-by: Stephan Müller <smueller@suse.com>
Casey Bodley [Fri, 16 Nov 2018 15:36:12 +0000 (10:36 -0500)]
test: fix libc++ crash in Log.GarbleRecovery
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Alfredo Deza [Fri, 16 Nov 2018 15:28:16 +0000 (10:28 -0500)]
Merge pull request #25007 from jan--f/c-v-dont-duplicated-rejected-reasons
ceph-volume: rename Device property valid to available
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Tiago Melo [Thu, 25 Oct 2018 15:56:54 +0000 (16:56 +0100)]
credits.sh: Ignore package-lock.json and .xlf files
package-lock.json: This file is modified automatically by npm any time we update
a frontend package, and can amount to large number of line changes.
For example, updating around 10 packages can result in 3k lines changed
in package-lock.json.
.xlf: They are used for the I18M of the dashboard and are automatically created
by Angular/transifex. Curretly each has around 5k lines and those lines should
not be credited to the commiter.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Nathan Weinberg [Fri, 16 Nov 2018 14:57:30 +0000 (09:57 -0500)]
mgr/dashboard: Added additional breadcrumb tests to Cluster
Fixes: https://tracker.ceph.com/issues/37088
Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
Casey Bodley [Fri, 16 Nov 2018 14:57:04 +0000 (09:57 -0500)]
Merge pull request #25002 from yehudasa/wip-rgw-svc-5
rgw: fix uninitialized access
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 16 Nov 2018 14:32:08 +0000 (22:32 +0800)]
Merge pull request #24967 from bi-shun/fix-brotli
compressor: Fix build of Brotli Compressor
Reviewed-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Fri, 16 Nov 2018 14:26:32 +0000 (15:26 +0100)]
Merge pull request #24803 from tspmelo/wip-i18n
mgr/dashboard: Add i18n support
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Sage Weil [Fri, 16 Nov 2018 13:11:44 +0000 (07:11 -0600)]
Merge PR #14092 into master
* refs/pull/14092/head:
mgr/DaemonServer: fix session leak
mon/MonClient: ignore new mon commands while stopping
mgr/DeviceState: fix DeviceState initial refcount
qa/suites: valgrind ceph-mgr too
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 16 Nov 2018 13:11:15 +0000 (07:11 -0600)]
Merge PR #25052 into master
* refs/pull/25052/head:
mgr: lock pg_map too for osd_pool_stats and notify_osdmap
mgr/DaemonServer: use with_osdmap_and_pgmap instead of nested calls
mgr/ClusterState: add with_osdmap_and_pgmap
Reviewed-by: Kefu Chai <kchai@redhat.com>
BI SHUN KE [Wed, 7 Nov 2018 08:14:22 +0000 (16:14 +0800)]
compressor: modify brotli compression plugin.
* add "common/ceph_context.h" header file to CompressionPluginBrotli.cc
* set the brotli v1.0.7 stable version for compressor plugin use.
Signed-off-by: BI SHUN KE <aionshun@livemail.tw>
Alfredo Deza [Fri, 16 Nov 2018 12:52:57 +0000 (07:52 -0500)]
Merge pull request #25092 from jan--f/c-v-inventory-doc
doc: add ceph-volume inventory sections
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Jason Dillaman [Wed, 14 Nov 2018 16:26:51 +0000 (21:56 +0530)]
rbd: switch to use new mirror peer attribute API methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 14 Nov 2018 15:40:26 +0000 (21:10 +0530)]
librbd: new API methods to get/set mirror peer attributes
The dashboard will need to manipulate the remote cluster mon_host and
key attributes. This logic should be re-used between the rbd CLI and
the dashboard.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Fri, 16 Nov 2018 11:59:37 +0000 (12:59 +0100)]
Merge pull request #25053 from rhcs-dashboard/pytest-faulthandler
mgr/dashboard: add pytest plugin: faulthandler
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Sage Weil [Fri, 16 Nov 2018 10:38:31 +0000 (04:38 -0600)]
common/config: fix debug output for config callbacks changes
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Nov 2018 22:27:18 +0000 (16:27 -0600)]
mgr: lock pg_map too for osd_pool_stats and notify_osdmap
Fixes: http://tracker.ceph.com/issues/36766
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 15 Nov 2018 22:28:34 +0000 (16:28 -0600)]
mgr/DaemonServer: use with_osdmap_and_pgmap instead of nested calls
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Nov 2018 10:34:24 +0000 (18:34 +0800)]
Merge pull request #25046 from tchaikov/wip-16500
tests: do not check for invalid k/m combinations
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Lenz Grimmer [Fri, 16 Nov 2018 10:16:42 +0000 (11:16 +0100)]
Merge pull request #25084 from s0nea/wip-dashboard-add-missing-test-suites
mgr/dashboard/qa: add missing dashboard suites
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Jan Fajerski [Fri, 16 Nov 2018 08:27:34 +0000 (09:27 +0100)]
c-v device test: rename valid to available
Update test to reflect
8a80990471108b0920d1d8aa1239733ae2b20e9c
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Fri, 16 Nov 2018 08:24:37 +0000 (09:24 +0100)]
inventory test: rename valid to available
Fixes test to reflect
8a80990471108b0920d1d8aa1239733ae2b20e9c
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Fri, 16 Nov 2018 08:22:06 +0000 (09:22 +0100)]
ceph-volume: rename Device property valid to available
This flag is used in the inventory reporting and available is deemed more
appropriate. Furthermore this fixes a bug where rejected_reasons
accumulated duplicate entries.
Fixes: http://tracker.ceph.com/issues/36701
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Jan Fajerski [Wed, 14 Nov 2018 13:09:37 +0000 (14:09 +0100)]
doc: add ceph-volume inventory sections
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
runsisi [Fri, 16 Nov 2018 06:56:39 +0000 (14:56 +0800)]
mon: require keyring even if cephx is optional
Signed-off-by: runsisi <luo.runbing@zte.com.cn>
Sage Weil [Fri, 16 Nov 2018 06:23:14 +0000 (00:23 -0600)]
Merge PR #24973 into master
* refs/pull/24973/head:
mgr: Separate diskprediction cloud plugin from the diskprediction plugin
Sage Weil [Fri, 16 Nov 2018 06:22:37 +0000 (00:22 -0600)]
Merge PR #20185 into master
* refs/pull/20185/head:
Common, log: Added functionality test for recovery after silenced (#20174)
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 16 Nov 2018 06:22:17 +0000 (00:22 -0600)]
Merge PR #19987 into master
* refs/pull/19987/head:
qa/tasks/ceph: ignore failure when chown ceph:ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
hsiang41 [Wed, 7 Nov 2018 14:05:35 +0000 (22:05 +0800)]
mgr: Separate diskprediction cloud plugin from the diskprediction plugin
Separate diskprediction local cloud from the diskprediction plugin.
Devicehealth invoke device prediction function related on the global
configuration "device_failure_prediction_mode".
Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
Sage Weil [Fri, 9 Nov 2018 03:30:09 +0000 (21:30 -0600)]
mgr/DaemonServer: fix session leak
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 9 Nov 2018 03:28:18 +0000 (21:28 -0600)]
mon/MonClient: ignore new mon commands while stopping
If one thread is stopping and another threads tries to send a new mon
command, just ignore it.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Nov 2018 05:22:16 +0000 (13:22 +0800)]
Merge pull request #20683 from Aran85/wip-rados-loadgen-align
tools: add offset-align option to "rados" load-gen
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 16 Nov 2018 05:21:07 +0000 (13:21 +0800)]
Merge pull request #24799 from xiexingguo/wip-js-safe-to-destroy
mgr/DaemonServer: add js-output for "ceph osd safe-to-destroy"
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 16 Nov 2018 05:19:53 +0000 (13:19 +0800)]
Merge pull request #24969 from joke-lee/doc-dump-journal-help-info
osd: add --dump-journal option in ceph-osd help info
Reviewed-by: Neha Ojha <nojha@redhat.com>
Jason Dillaman [Thu, 15 Nov 2018 06:49:37 +0000 (12:19 +0530)]
librbd: retry mirror disable if parent/clone ordering causes issues
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
hsiang41 [Mon, 12 Nov 2018 14:43:49 +0000 (22:43 +0800)]
mgr: Fixed devicehealth plugin resource leak
The devicehealth plugin not close rados connection at show device metrics
function.
Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
Sage Weil [Thu, 15 Nov 2018 22:26:48 +0000 (16:26 -0600)]
mgr/ClusterState: add with_osdmap_and_pgmap
Several call sites need to lock both
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Thu, 15 Nov 2018 19:01:17 +0000 (14:01 -0500)]
Merge pull request #24866 from linuxbox2/wip-rm-aclparser
rgw: remove rgw_aclparser.cc
Reviewed-by: Casey Bodley <cbodley@redhat.com>