]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
songweibin [Mon, 30 Jul 2018 08:23:36 +0000 (16:23 +0800)]
rbd: not allowed to restore an image when it is being deleted
Add a state for trash image.
Fixes: http://tracker.ceph.com/issues/25346
Signed-off-by: songweibin <song.weibin@zte.com.cn>
(cherry picked from commit
94140df624f33406c709dea270f07ed6ad6edac4 )
Ricardo Marques [Wed, 19 Sep 2018 19:51:41 +0000 (20:51 +0100)]
Merge pull request #23779 from Devp00l/wip-table-actions-component
mgr/dashboard: Add table actions component
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sage Weil [Wed, 19 Sep 2018 18:45:32 +0000 (13:45 -0500)]
Merge pull request #24160 from jdurgin/wip-rados-lead
doc/dev/index: update rados lead
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Wed, 19 Sep 2018 18:20:58 +0000 (21:20 +0300)]
Merge pull request #23662 from dillaman/wip-24412
librbd: support v2 cloning across namespaces
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: songweibin <song.weibin@zte.com.cn>
Casey Bodley [Wed, 19 Sep 2018 18:01:04 +0000 (14:01 -0400)]
Merge pull request #24059 from cbodley/wip-rgw-opstate-rm
rgw, cls: remove cls_statelog and rgw opstate tracking
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Wed, 19 Sep 2018 15:41:04 +0000 (10:41 -0500)]
Merge PR #24143 into master
* refs/pull/24143/head:
qa/workunits/cephtool/test_kvstore_tool.sh: run test in ., not /tmp
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Stephan Müller [Tue, 11 Sep 2018 09:01:13 +0000 (11:01 +0200)]
mgr/dashboard: Use table actions component for roles
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Mon, 10 Sep 2018 13:28:05 +0000 (15:28 +0200)]
mgr/dashboard: Use table actions component for users
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Fri, 31 Aug 2018 15:19:07 +0000 (17:19 +0200)]
mgr/dashboard: Add HTML coverage reports
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Tue, 11 Sep 2018 09:00:06 +0000 (11:00 +0200)]
mgr/dashboard: Fixes ts warning in RBD snapshot tests
Typescript has thrown an warning because a private method is called in the
RBD snapshot unit tests.
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Fri, 31 Aug 2018 12:46:42 +0000 (14:46 +0200)]
mgr/dashboard: Use table actions component for RBD snapshots
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Wed, 22 Aug 2018 06:45:08 +0000 (08:45 +0200)]
mgr/dashboard: Use table actions component for OSDs
Signed-off-by: Stephan Müller <smueller@suse.com>
Casey Bodley [Wed, 19 Sep 2018 14:50:06 +0000 (10:50 -0400)]
Merge pull request #24007 from tianshan/fix_35905
rgw: async sync_object and remove_object does not access coroutine me…
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 19 Sep 2018 14:47:42 +0000 (10:47 -0400)]
Merge pull request #23610 from XiangxiangMeng/fix-rgw-bucket-policy
rgw: policy: fix s3:x-amz-grant-read-acp keyword error
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Lenz Grimmer [Wed, 19 Sep 2018 14:44:51 +0000 (16:44 +0200)]
Merge pull request #24128 from ricardoasmarques/wip-optional-user-password
mgr/dashboard: User password should be optional
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Sage Weil [Wed, 19 Sep 2018 14:40:24 +0000 (09:40 -0500)]
Merge PR #24145 into master
* refs/pull/24145/head:
qa/workunits/mon/caps.sh: wait longer to time out
Reviewed-by: João Eduardo Luís <joao@suse.de>
Casey Bodley [Wed, 19 Sep 2018 14:37:38 +0000 (10:37 -0400)]
Merge pull request #23544 from joke-lee/wip-multiobjdelete-num-limit
rgw: delete multi object num limit
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Casey Bodley [Wed, 19 Sep 2018 14:36:58 +0000 (10:36 -0400)]
Merge pull request #24001 from joke-lee/doc_life_cycle
rgw: update cls_rgw.cc and cls_rgw_const.h
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 19 Sep 2018 14:35:57 +0000 (10:35 -0400)]
Merge pull request #24114 from robbat2/wip-35990
rgw: fix chunked-encoding for chunks >1MiB
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Wed, 19 Sep 2018 14:34:35 +0000 (10:34 -0400)]
Merge pull request #24110 from cbodley/wip-35986
rgw: abort_bucket_multiparts() ignores individual NoSuchUpload errors
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:42:40 +0000 (09:42 -0400)]
cls: remove cls_statelog and tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:32:32 +0000 (09:32 -0400)]
osd: remove statelog from osd_class_load_list config
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:19:13 +0000 (09:19 -0400)]
common: remove config variables related to rgw opstate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:21:28 +0000 (09:21 -0400)]
rgw: remove dependencies on cls_statelog
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:15:18 +0000 (09:15 -0400)]
rgw: remove RGWOpState and related classes
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:15:01 +0000 (09:15 -0400)]
radosgw-admin: remove opstate commands
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:30:20 +0000 (09:30 -0400)]
test/rgw: remove test for /admin/opstate rest apis
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:08:53 +0000 (09:08 -0400)]
rgw: remove rest handlers for /admin/opstate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 13:03:29 +0000 (09:03 -0400)]
rgw: remove unused opstate params from copy/fetch/stat
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 12 Sep 2018 12:25:17 +0000 (08:25 -0400)]
rgw: remove opstate tracking from fetch_remote_obj()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 19 Sep 2018 14:27:29 +0000 (10:27 -0400)]
Merge pull request #18578 from gaosibei/wip-cleanup-duplicate-include
RGW: remove duplicate include header files in rgw_rados.cc
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Casey Bodley [Wed, 19 Sep 2018 14:22:49 +0000 (10:22 -0400)]
Merge pull request #23927 from joke-lee/WIP-RGW-x-amz-version-id
rgw: return x-amz-version-id: null when delete obj in versioning suspended bucket
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Stephan Müller [Wed, 22 Aug 2018 05:51:16 +0000 (07:51 +0200)]
mgr/dashboard: Use table actions component for RGW users
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Tue, 21 Aug 2018 14:06:02 +0000 (16:06 +0200)]
mgr/dashboard: Use table actions component for RGW buckets
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Mon, 20 Aug 2018 12:01:08 +0000 (14:01 +0200)]
mgr/dashboard: Use table actions component for RBDs
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Tue, 3 Jul 2018 14:23:39 +0000 (16:23 +0200)]
mgr/dashboard: Add table actions component
With the help of this component it is easy to create all actions for a
table with the right permission for each table action with a simple
configuration.
Per default action button and action drop down list are shown. All
actions will be filtered depending on the permissions on
initialization. Per default all actions that have the permission
'update' or 'delete' are only enabled if an item is selected which
holds no running task.
You can use change the default behavior, to show actions only in a
named drop down.
For each item you can change it's default behaviors by using custom
functions to enable/disable an action or show/hide it
as action button or drop down item.
Please look at the tests to understand how to use it in practice.
Signed-off-by: Stephan Müller <smueller@suse.com>
Ricardo Marques [Mon, 17 Sep 2018 11:03:37 +0000 (12:03 +0100)]
mgr/dashboard: User password should be optional
Fixes: https://tracker.ceph.com/issues/36031
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Sage Weil [Wed, 19 Sep 2018 12:33:49 +0000 (07:33 -0500)]
Merge PR #23092 into master
* refs/pull/23092/head:
common: drop RefCountObject.cc and improve inlineability.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 19 Sep 2018 12:33:32 +0000 (07:33 -0500)]
Merge PR #24109 into master
* refs/pull/24109/head:
doc: update docs for device management
mgr: make devicehealth always-on
mgr/devicehealth: do not create metrics pool on get-device-metrics
mgr/devicehealth: converge OPTIONS and DEFAULTS
mgr/devicehealth: squelch health warnings for unused devices
mgr/devicehealth: show-health-metrics -> get-health-metrics
Reviewed-by: John Spray <john.spray@redhat.com>
Ricardo Marques [Wed, 19 Sep 2018 12:33:04 +0000 (13:33 +0100)]
Merge pull request #24005 from p-na/refactor-deletion-modal-component
mgr/dashboard: Refactoring of `DeletionModalComponent`
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Sage Weil [Wed, 19 Sep 2018 12:31:36 +0000 (07:31 -0500)]
Merge PR #24149 into master
* refs/pull/24149/head:
unittest_bufferlist: add unit test for sha1 from multiple raw buffers
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Reviewed-by: Myoungwon Oh <omwmw@sk.com>
Sage Weil [Wed, 19 Sep 2018 12:31:35 +0000 (07:31 -0500)]
githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Thu, 23 Aug 2018 13:50:55 +0000 (09:50 -0400)]
qa/workunits/rbd: test clone v2 across namespaces
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 20 Aug 2018 20:33:20 +0000 (16:33 -0400)]
librbd: permit cross-namespace when using clone v2
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 23 Aug 2018 18:36:45 +0000 (14:36 -0400)]
librbd: use helper method to create librados::IoCtxs
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 22 Aug 2018 18:27:48 +0000 (14:27 -0400)]
librbd: replace librbd::ParentSpec with cls::rbd::ParentImageSpec
The newer struct includes support for pool namespaces.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 21 Aug 2018 01:48:20 +0000 (21:48 -0400)]
librbd: invoke new parent class API methods
If the OSDs don't support the new methods, revert to the legacy
class API methods.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 4 Sep 2018 17:25:10 +0000 (13:25 -0400)]
librbd: replace existing attach parent calls with new state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 4 Sep 2018 16:54:46 +0000 (12:54 -0400)]
librbd: new attach parent state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 29 Aug 2018 17:03:59 +0000 (13:03 -0400)]
librbd: replace existing detach parent calls with new state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 29 Aug 2018 16:45:23 +0000 (12:45 -0400)]
librbd: new detach parent state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 22 Aug 2018 01:41:52 +0000 (21:41 -0400)]
librbd: refactor flatten state machine to new code style
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 20 Aug 2018 02:04:29 +0000 (22:04 -0400)]
librbd: add new namespace compatible parent image cls methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 20 Aug 2018 12:20:17 +0000 (08:20 -0400)]
librbd: break cls_rbd_snap on-disk struct backwards compatability
The cls methods are now storing normalized parent overlaps within the snapshot
if the OSDs are required to be Nautilus or later. Therefore, we can safely
break the on-disk format compatibility for those newer OSDs.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 4 Sep 2018 00:00:59 +0000 (20:00 -0400)]
librbd: migrate legacy snapshot on-disk format to normalized parent
The parent reference should be written once under the "parent" key,
so all updates to a snapshot should ensure the new normalized format
is used if Nautilus or later OSDs are required.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 31 Aug 2018 21:17:25 +0000 (17:17 -0400)]
librbd: cls_rbd_snap on-disk struct supports parent overlap
This is the first step to fix the denormalization of the parent
image spec references between the HEAD revision and the snapshot
revisions.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 20 Aug 2018 11:47:51 +0000 (07:47 -0400)]
librbd: cls_rbd_parent on-disk struct supports namespaces
If the OSDs are required to be Nautilus or later, it will automatically break
backwards compatibility of the structure to support pool namespaces.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 27 Jul 2018 14:44:41 +0000 (10:44 -0400)]
librbd: ChildImageSpec now optionally includes child pool namespace
It will break version compatibility if used against older OSDs that
don't support RBD pool namespace support.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 26 Jul 2018 16:20:46 +0000 (12:20 -0400)]
librbd: new ParentImageSpec type to support parent namespaces
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 27 Jul 2018 03:11:22 +0000 (23:11 -0400)]
librbd: break composite cls rbd helpers into individual helpers
With the forthcoming need to use new methods to retrieve a clone's parent,
use per-method helpers to invoke the correct method within the image
refresh state machine.
Also used this time to merge newer cls rbd methods that should be supported
by all non-EOLed OSDs.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 15 Aug 2018 15:07:09 +0000 (11:07 -0400)]
librbd: corrected namespace indentation within cls_client
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 4 Sep 2018 12:31:07 +0000 (08:31 -0400)]
test/librbd: not valid to have different parents between image snapshots
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 31 Aug 2018 18:17:51 +0000 (14:17 -0400)]
objclass: expose the required OSD release setting
This can be utilized to determine when it's safe to enable new
cls features.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 19 Sep 2018 10:03:21 +0000 (18:03 +0800)]
Merge pull request #24076 from ifed01/wip-ifed-fix-repairer
os/bluestore: fix bloom filter num entry miscalculation in repairer
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 19 Sep 2018 10:02:13 +0000 (18:02 +0800)]
Merge pull request #24085 from liewegas/wip-32731
osd/osd_types: fix pg_t::contains() to check pool id too
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 19 Sep 2018 10:01:06 +0000 (18:01 +0800)]
Merge pull request #23721 from batrick/log-entry-stack
log: avoid heap allocations for most log entries
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Wed, 19 Sep 2018 09:56:58 +0000 (17:56 +0800)]
Merge pull request #24111 from gregsfortytwo/wip-35987-connection-buffers
msg/async: clean up local buffers on dispatch
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Wed, 19 Sep 2018 09:55:51 +0000 (17:55 +0800)]
Merge pull request #24124 from tchaikov/wip-35969
rpm: use updated gperftools
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Josh Durgin [Tue, 18 Sep 2018 23:07:08 +0000 (16:07 -0700)]
doc/dev/index: update rados lead
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Laura Paduano [Wed, 19 Sep 2018 06:56:33 +0000 (08:56 +0200)]
Merge pull request #23754 from p-na/down-osd-raises-error
mgr/dashboard: Fix OSD down error display
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Sage Weil [Tue, 18 Sep 2018 22:24:12 +0000 (17:24 -0500)]
Merge PR #24098 into master
* refs/pull/24098/head:
Rename "include/assert.h"
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Tue, 18 Sep 2018 17:56:11 +0000 (12:56 -0500)]
unittest_bufferlist: add unit test for sha1 from multiple raw buffers
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Sep 2018 16:57:27 +0000 (11:57 -0500)]
Merge PR #24112 into master
* refs/pull/24112/head:
osd: avoid unncecessary ref-counting in OSD::enqueue_op.
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Sep 2018 13:57:25 +0000 (08:57 -0500)]
qa/workunits/mon/caps.sh: wait longer to time out
5s -> 5m to gives us more leeway for when the mons are thrashing.
Also, *only* set this timeout when we expect a timeout. If we don't,
wait forever.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 18 Sep 2018 13:21:41 +0000 (21:21 +0800)]
Merge pull request #24090 from cbodley/wip-crimson-concurrent-dispatch
crimson/net: concurrent dispatch for SocketMessenger
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 18 Sep 2018 12:38:59 +0000 (07:38 -0500)]
qa/workunits/cephtool/test_kvstore_tool.sh: run test in ., not /tmp
Notably, we can't make a bluestore store on a tmpfs.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Sep 2018 12:10:40 +0000 (07:10 -0500)]
Merge PR #24092 into master
* refs/pull/24092/head:
mgr: Change signature of PyString_AsString to match return
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 18 Sep 2018 12:10:21 +0000 (07:10 -0500)]
Merge PR #24057 into master
* refs/pull/24057/head:
src/common: add a unit test (bufferlist.sha1())
osd, src/common: return sha1 value if zero-length buffer.
src/common/buffer.cc: remove unnecessary copy in sha1()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Sep 2018 12:09:52 +0000 (07:09 -0500)]
Merge PR #24072 into master
* refs/pull/24072/head:
osd/PG: kill __queue_query__
osd/OSD: deprecate __project_pg_history__
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Sep 2018 12:08:05 +0000 (07:08 -0500)]
Merge PR #24104 into master
* refs/pull/24104/head:
mgr/diskprediction: add prototype diskprediction module
Reviewed-by: John Spray <john.spray@redhat.com>
Lenz Grimmer [Tue, 18 Sep 2018 11:40:54 +0000 (13:40 +0200)]
Merge pull request #24103 from b-ranto/wip-dashboard-http
mgr/dashboard: Do not require cert for http
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Tue, 18 Sep 2018 09:02:43 +0000 (11:02 +0200)]
Merge pull request #24015 from ricardoasmarques/wip-update-selection-on-refresh
mgr/dashboard: More configs for table `updateSelectionOnRefresh`
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Boris Ranto [Tue, 18 Sep 2018 07:33:22 +0000 (09:33 +0200)]
mgr/dashboard: Rename SSLCherryPyConfig
The class does not always set up SSL, dropping the SSL bit.
Fixes: http://tracker.ceph.com/issues/36069
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Fri, 14 Sep 2018 10:03:23 +0000 (12:03 +0200)]
mgr/dashboard: Do not require cert for http
The ceph dashboard currently requires a SSL certificate even if it is
not running in the SSL mode since it is always querying for the
certificate file/key pair.
This patch fixes the behaviour by querying for the certificate file/key
only if it is running in the SSL mode.
Fixes: http://tracker.ceph.com/issues/36069
Signed-off-by: Boris Ranto <branto@redhat.com>
Josh Durgin [Mon, 17 Sep 2018 20:48:41 +0000 (13:48 -0700)]
Merge pull request #24031 from rzarzynski/wip-common-bl-drop-0c
common: drop the unused zero-copy facilities in ceph::bufferlist
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Mon, 17 Sep 2018 18:10:15 +0000 (11:10 -0700)]
Merge PR #24120 into master
* refs/pull/24120/head:
doc: Fix Typos of Developer Guide
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Mykola Golub [Mon, 17 Sep 2018 17:31:36 +0000 (20:31 +0300)]
Merge pull request #24105 from dillaman/wip-24516
librbd: object map improperly flagged as invalidated
Reviewed-by: Mykola Golub <mgolub@suse.com>
Matt Benjamin [Mon, 17 Sep 2018 15:26:50 +0000 (11:26 -0400)]
Merge pull request #23981 from cbodley/wip-35830
rgw: raise debug level on redundant data sync error messages
Kefu Chai [Mon, 17 Sep 2018 14:35:43 +0000 (22:35 +0800)]
Merge pull request #24088 from dzafman/wip-35982
qa/standalone: Standalone test corrections
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Radoslaw Zarzynski [Thu, 13 Sep 2018 17:14:23 +0000 (19:14 +0200)]
common: get_data() of buffer_raw isn't virtual anymore.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:37:11 +0000 (13:37 +0200)]
common: make the get_data() of buffer_raw interface final.
This is just to ensure the just dropped buffer::raw_pipe
was the solely user of this facility. After successful
validation, we can drop `virtual` on the method entirely.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:21:50 +0000 (13:21 +0200)]
common: drop can_zero_copy() from ceph::buffer interfaces.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:20:23 +0000 (13:20 +0200)]
common: drop zero_copy_to_fd() from ceph::buffer interfaces.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 11 Sep 2018 11:16:28 +0000 (13:16 +0200)]
common: drop write_fd_zero_copy() from bufferlist.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 11 Sep 2018 10:11:24 +0000 (12:11 +0200)]
common: drop buffer::raw_pipe altogether with its factory method.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 11 Sep 2018 10:04:35 +0000 (12:04 +0200)]
common: drop buffer::list::read_fd_zero_copy.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 11 Sep 2018 09:59:54 +0000 (11:59 +0200)]
common, test: drop unit tests for 0c in ceph::bufferlist.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Rick Chen [Fri, 14 Sep 2018 17:42:27 +0000 (12:42 -0500)]
mgr/diskprediction: add prototype diskprediction module
This module is written by Rick Chen <rick.chen@prophetstor.com> and
provides both a built-in local predictor and a cloud mode that queries
a cloud service (provided by ProphetStor) to predict device failures.
Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 17 Sep 2018 07:55:10 +0000 (15:55 +0800)]
Merge pull request #24087 from rzarzynski/wip-common-buffer_raw-drop-page-align-getters
common: drop/mark-as-final getters of buffer::raw for palign.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 17 Sep 2018 07:52:49 +0000 (15:52 +0800)]
Merge pull request #24061 from liewegas/wip-35923
osd/PG: write pg epoch when resurrecting pg after delete vs merge race
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>