Commit Graph

90412 Commits

Author SHA1 Message Date
Sage Weil
41c67ab1be
Merge pull request #24160 from jdurgin/wip-rados-lead
doc/dev/index: update rados lead

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-19 13:45:32 -05:00
Mykola Golub
ce6e35a81e
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>
2018-09-19 21:20:58 +03:00
Casey Bodley
bd6d3f61e1
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>
2018-09-19 14:01:04 -04:00
Sage Weil
fe14970768 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>
2018-09-19 10:41:04 -05:00
Casey Bodley
eac80144c8
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>
2018-09-19 10:50:06 -04:00
Casey Bodley
7219d19280
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>
2018-09-19 10:47:42 -04:00
Lenz Grimmer
01c2ea52c1
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>
2018-09-19 16:44:51 +02:00
Sage Weil
b567d183d5 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>
2018-09-19 09:40:24 -05:00
Casey Bodley
c7a8daf0a9
Merge pull request #23544 from joke-lee/wip-multiobjdelete-num-limit
rgw: delete multi object num limit

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-09-19 10:37:38 -04:00
Casey Bodley
8d69e90531
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>
2018-09-19 10:36:58 -04:00
Casey Bodley
f54d8e33ba
Merge pull request #24114 from robbat2/wip-35990
rgw: fix chunked-encoding for chunks >1MiB

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-09-19 10:35:57 -04:00
Casey Bodley
740c522e94
Merge pull request #24110 from cbodley/wip-35986
rgw: abort_bucket_multiparts() ignores individual NoSuchUpload errors

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-09-19 10:34:35 -04:00
Casey Bodley
dd5e9cde27 cls: remove cls_statelog and tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Casey Bodley
d897b92878 osd: remove statelog from osd_class_load_list config
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Casey Bodley
4cf38b90d3 common: remove config variables related to rgw opstate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Casey Bodley
8203e42181 rgw: remove dependencies on cls_statelog
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Casey Bodley
b1bff84a33 rgw: remove RGWOpState and related classes
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Casey Bodley
5cb54ecf87 radosgw-admin: remove opstate commands
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Casey Bodley
efec3c0edd test/rgw: remove test for /admin/opstate rest apis
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Casey Bodley
0b55393c5d rgw: remove rest handlers for /admin/opstate
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:52 -04:00
Casey Bodley
2760e44002 rgw: remove unused opstate params from copy/fetch/stat
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:36 -04:00
Casey Bodley
d170e35b3b rgw: remove opstate tracking from fetch_remote_obj()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:36 -04:00
Casey Bodley
d32266100a
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>
2018-09-19 10:27:29 -04:00
Casey Bodley
cfc3d64a4c
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>
2018-09-19 10:22:49 -04:00
Ricardo Marques
49ba4a7b84 mgr/dashboard: User password should be optional
Fixes: https://tracker.ceph.com/issues/36031

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-09-19 13:49:22 +01:00
Sage Weil
b5647864c1 Merge PR #23092 into master
* refs/pull/23092/head:
	common: drop RefCountObject.cc and improve inlineability.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-19 07:33:49 -05:00
Sage Weil
3aa8005050 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>
2018-09-19 07:33:32 -05:00
Ricardo Marques
6adab6d15e
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>
2018-09-19 13:33:04 +01:00
Sage Weil
39ec4d684d 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>
2018-09-19 07:31:52 -05:00
Sage Weil
a3a631fcb0 githubmap: update contributors
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-19 07:31:35 -05:00
Jason Dillaman
d4c7ce3c0a qa/workunits/rbd: test clone v2 across namespaces
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:29 -04:00
Jason Dillaman
c5697d3c69 librbd: permit cross-namespace when using clone v2
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:29 -04:00
Jason Dillaman
8209789dc3 librbd: use helper method to create librados::IoCtxs
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:29 -04:00
Jason Dillaman
625ac30e69 librbd: replace librbd::ParentSpec with cls::rbd::ParentImageSpec
The newer struct includes support for pool namespaces.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:29 -04:00
Jason Dillaman
4c6132b676 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>
2018-09-19 08:05:29 -04:00
Jason Dillaman
6141039a7a librbd: replace existing attach parent calls with new state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:29 -04:00
Jason Dillaman
ab6f5437fc librbd: new attach parent state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:29 -04:00
Jason Dillaman
6949adba21 librbd: replace existing detach parent calls with new state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:29 -04:00
Jason Dillaman
ff4a9c581a librbd: new detach parent state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:05:28 -04:00
Jason Dillaman
82b296e349 librbd: refactor flatten state machine to new code style
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:04:12 -04:00
Jason Dillaman
b2cfe353c4 librbd: add new namespace compatible parent image cls methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:04:12 -04:00
Jason Dillaman
32b14ed1a4 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>
2018-09-19 08:04:12 -04:00
Jason Dillaman
95b02b9460 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>
2018-09-19 08:04:12 -04:00
Jason Dillaman
9163112989 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>
2018-09-19 08:04:12 -04:00
Jason Dillaman
9d83bfd64d 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>
2018-09-19 08:04:12 -04:00
Jason Dillaman
70ae1cbc46 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>
2018-09-19 08:04:12 -04:00
Jason Dillaman
aa08323409 librbd: new ParentImageSpec type to support parent namespaces
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:04:12 -04:00
Jason Dillaman
f76df32666 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>
2018-09-19 08:04:12 -04:00
Jason Dillaman
e339bb763f librbd: corrected namespace indentation within cls_client
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:04:12 -04:00
Jason Dillaman
3b8f4f136b test/librbd: not valid to have different parents between image snapshots
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-19 08:04:12 -04:00