Commit Graph

90449 Commits

Author SHA1 Message Date
Patrick Donnelly
7e91c8b5aa
msg: set O_NONBLOCK on file status flags
There is no NONBLOCK file **descriptor** flag.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-20 08:06:08 -07:00
Patrick Donnelly
e606e21746
Merge PR #24185 into master
* refs/pull/24185/head:
	qa: install build dependencies for cfuse_workunit_kernel_untar_build.yaml

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-20 08:02:48 -07:00
Sage Weil
1bf449cdba Merge PR #23415 into master
* refs/pull/23415/head:
	msgr/async: huge refactoring of protocol V1
	msgr/async: fix forward declaration of DispatchQueue

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-20 09:30:41 -05:00
Xie Xingguo
a3e58900bb
Merge pull request #24175 from xiaomanh/master
doc: Fix Spelling Error In File dynamicresharding.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-20 22:03:14 +08:00
Casey Bodley
52054cedc5
Merge pull request #23429 from joke-lee/wip-website-rule-num-limit
rgw: website routing rules num limit

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-09-20 08:50:06 -04:00
Ricardo Marques
7871dc4ee5
Merge pull request #24028 from votdev/fix_rgw_status
mgr/dashboard: Catch LookupError when checking the RGW status

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-09-20 13:44:24 +01:00
Jason Dillaman
98e5354d95
Merge pull request #23823 from dillaman/wip-namespace-osd-check
librbd: prevent use of namespaces on pre-nautilus OSDs

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-09-20 08:07:21 -04:00
Jason Dillaman
fc809e6969
Merge pull request #22579 from dillaman/wip-pybind-rados
pybind/rados: new methods for manipulating self-managed snapshots

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-09-20 08:06:32 -04:00
Kefu Chai
f03dd73df2
Merge pull request #22739 from majianpeng/osd-shardthread-do-bluestore-oncommits
os/bluestore: make osd shard-thread do oncommits

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-20 16:47:07 +08:00
Jianpeng Ma
6c583fe756 osd/OSD: choose a fixed thread do oncommits callback function
Now bluestore oncommit callback exec by osd op threads.
If there are multi threads of shard, it will cause out-of order.
For example, threads_per_shard=2
              Thread1                                 Thread2
    swap_oncommits(op1_oncommit)
                                            swap_oncommits(op2_oncommit)
    OpQueueItem.run(Op3)
                                            op2_oncommit.complete();
    op1_oncommit.complete()

This make oncommits out of order.
To avoiding this, we choose a fixed thread which has the smallest
thread_index of shard to do oncommit callback function.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-09-20 22:10:20 +08:00
Jianpeng Ma
754f3aa445 common/Finisher: only queue empty only wake up waiter.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-09-20 21:53:47 +08:00
Jianpeng Ma
d7ca34e12f common/Finisher: only queue empty only wake up waiter.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-09-20 21:52:53 +08: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
yuliyang
3275dffa45 rgw: website routing rules num limit
According to AWS S3 , an website routing rules can
have up to 50 rules.

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2018-09-20 08:50:32 +08:00
Neha Ojha
38ef3da8d2 qa: install build dependencies for cfuse_workunit_kernel_untar_build.yaml
Fixes: https://tracker.ceph.com/issues/36076
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-09-19 15:22:16 -07: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