Commit Graph

90431 Commits

Author SHA1 Message Date
Mykola Golub
ecdf8cd6b2 rbd: add config commands
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-20 10:35:18 +03:00
Mykola Golub
595147963e librbd: API for listing pool and image level config overrides
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-20 10:35:18 +03:00
Mykola Golub
b251534cfb librbd: API to manipulate pool metadata
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-20 10:35:18 +03:00
Xie Xingguo
03abaf98e3
Merge pull request #24004 from xiexingguo/wip-yet-more-async-fixes
osd/PG: async-recovery should respect historical missing objects

Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-09-20 14:49:31 +08:00
Kefu Chai
a778cc701f
Merge pull request #24130 from tchaikov/wip-gcc-7.3
rpm: bump up required GCC version to 7.3.1

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-20 12:25:57 +08:00
Ricardo Marques
20cfc0212a
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>
2018-09-19 20:51:41 +01:00
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
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
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