Commit Graph

90609 Commits

Author SHA1 Message Date
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
Yuri Weinstein
eaca188733 qa/tests: removed knfs suite
Fixes: http://tracker.ceph.com/issues/36075
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-09-19 09:36:34 -07:00
alfonsomthd
a01cb974de mgr/dashboard: New Landing Page
get_client_perf method refactored for readability.

Fixes: https://tracker.ceph.com/issues/24573

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2018-09-19 18:25:24 +02: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
Stephan Müller
62b85cc9a2 mgr/dashboard: Use table actions component for roles
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 17:17:01 +02:00
Stephan Müller
9d9e093e1d mgr/dashboard: Use table actions component for users
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 17:17:00 +02:00
Stephan Müller
e5e47fb454 mgr/dashboard: Add HTML coverage reports
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 17:16:59 +02:00
Stephan Müller
f8a41efc59 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>
2018-09-19 17:16:58 +02:00
Stephan Müller
f4dc187191 mgr/dashboard: Use table actions component for RBD snapshots
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 17:16:57 +02:00
Stephan Müller
46a8ea6789 mgr/dashboard: Use table actions component for OSDs
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 17:16:56 +02: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
Stephan Müller
8b74ec78d9 mgr/dashboard: Use table actions component for RGW users
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 15:00:51 +02:00
Stephan Müller
980d7e951c mgr/dashboard: Use table actions component for RGW buckets
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 15:00:51 +02:00
Stephan Müller
d173446bb8 mgr/dashboard: Use table actions component for RBDs
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-09-19 15:00:51 +02:00
Stephan Müller
ef7a0de5cb 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>
2018-09-19 15:00:51 +02: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
Ricardo Dias
e6f043f7d2
msgr/async: huge refactoring of protocol V1
This huge commit extracts the protocol V1 logic from the AsyncConnection
class into its own class called ProtocolV1.
The new protocol class extends from a Protocol base class that defines
an interface to allow the implementation of different wire protocols
in the future, such as the msgr V2 protocol.

Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-09-19 13:47:48 +01:00
Ricardo Dias
fed335ff47
msgr/async: fix forward declaration of DispatchQueue
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-09-19 13:40:23 +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