]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge PR #24191 into master
Sage Weil [Thu, 20 Sep 2018 22:30:42 +0000 (17:30 -0500)]
Merge PR #24191 into master

* refs/pull/24191/head:
src/include:fix unused parameter

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #23979 into master
Sage Weil [Thu, 20 Sep 2018 22:30:06 +0000 (17:30 -0500)]
Merge PR #23979 into master

* refs/pull/23979/head:
crush/CrushWrapper: fix crush tree json dumper

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #23978 into master
Sage Weil [Thu, 20 Sep 2018 22:29:47 +0000 (17:29 -0500)]
Merge PR #23978 into master

* refs/pull/23978/head:
mgr: add get_latest_counter() to C++ -> Python interface.
mgr: remove PerfCounterInstance::get_current()
mgr: remove PyFormatter copy constructor; shouldn't be called

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24150 from alfredodeza/wip-rm24794
Alfredo Deza [Thu, 20 Sep 2018 21:26:54 +0000 (17:26 -0400)]
Merge pull request #24150 from alfredodeza/wip-rm24794

ceph-volume: earlier detection for --journal and --filestore flag requirements

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #24107 into master
Sage Weil [Thu, 20 Sep 2018 19:29:55 +0000 (14:29 -0500)]
Merge PR #24107 into master

* refs/pull/24107/head:
common: Lock -> lock, Unlock -> lock, TryLock -> try_lock
common: Mutex::Locker -> std::lock_guard<Mutex>
common/Mutex: typedef lock_guard<Mutex> Locker
common/Mutex: Lock -> lock, Unlock -> unlock
common/Mutex: kill mutex_perf_counter

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #24181 from dillaman/wip-36084
Mykola Golub [Thu, 20 Sep 2018 19:26:11 +0000 (22:26 +0300)]
Merge pull request #24181 from dillaman/wip-36084

rbd-mirror: instantiate the status formatter before changing state

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23843 from cbodley/wip-rgw-dpp-datasync
Casey Bodley [Thu, 20 Sep 2018 18:03:19 +0000 (14:03 -0400)]
Merge pull request #23843 from cbodley/wip-rgw-dpp-datasync

rgw: log refactoring for data sync

Reviewed-by: Ali Maredia <amaredia@redhat.com>
6 years agoMerge PR #24197 into master
Sage Weil [Thu, 20 Sep 2018 17:16:05 +0000 (12:16 -0500)]
Merge PR #24197 into master

* refs/pull/24197/head:
doc: remove Calamari content from ceph-deploy

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24201 from alfredodeza/wip-rm36088
Andrew Schoen [Thu, 20 Sep 2018 16:53:14 +0000 (11:53 -0500)]
Merge pull request #24201 from alfredodeza/wip-rm36088

ceph-volume  batch: allow journal+block.db sizing on the CLI

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #24156 into master
Patrick Donnelly [Thu, 20 Sep 2018 16:31:50 +0000 (09:31 -0700)]
Merge PR #24156 into master

* refs/pull/24156/head:
qa/tests: removed knfs suite

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24153 into master
Patrick Donnelly [Thu, 20 Sep 2018 16:31:15 +0000 (09:31 -0700)]
Merge PR #24153 into master

* refs/pull/24153/head:
qa/tests: removed knfs from crontab

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23960 from votdev/feature_35695
Ricardo Marques [Thu, 20 Sep 2018 16:24:41 +0000 (17:24 +0100)]
Merge pull request #23960 from votdev/feature_35695

mgr/dashboard: Refactor role management

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #23829 from dillaman/wip-34534
Mykola Golub [Thu, 20 Sep 2018 15:52:57 +0000 (18:52 +0300)]
Merge pull request #23829 from dillaman/wip-34534

librbd: blacklisted client might not notice it lost the lock

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #24185 into master
Patrick Donnelly [Thu, 20 Sep 2018 15:02:48 +0000 (08:02 -0700)]
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>
6 years agodoc/man/ceph-volume update batch command with new sizing flags 24201/head
Alfredo Deza [Thu, 20 Sep 2018 15:01:21 +0000 (11:01 -0400)]
doc/man/ceph-volume update batch command with new sizing flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.devices update fixture to include new size flags for strategies
Alfredo Deza [Thu, 20 Sep 2018 14:54:12 +0000 (10:54 -0400)]
ceph-volume tests.devices update fixture to include new size flags for strategies

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.filestore consume --journal-size
Alfredo Deza [Wed, 19 Sep 2018 21:40:24 +0000 (17:40 -0400)]
ceph-volume lvm.batch.filestore consume --journal-size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.bluestore consume --block-db-size
Alfredo Deza [Wed, 19 Sep 2018 21:39:59 +0000 (17:39 -0400)]
ceph-volume lvm.batch.bluestore consume --block-db-size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge PR #23415 into master
Sage Weil [Thu, 20 Sep 2018 14:30:41 +0000 (09:30 -0500)]
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>
6 years agoMerge pull request #24175 from xiaomanh/master
Xie Xingguo [Thu, 20 Sep 2018 14:03:14 +0000 (22:03 +0800)]
Merge pull request #24175 from xiaomanh/master

doc: Fix Spelling Error In File dynamicresharding.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Increase usability of role management by enabling the user to check... 23960/head
Volker Theile [Fri, 7 Sep 2018 09:14:38 +0000 (11:14 +0200)]
mgr/dashboard: Increase usability of role management by enabling the user to check/uncheck all rows/columns of permissions

Fixes: https://tracker.ceph.com/issues/35695
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agocommon: Lock -> lock, Unlock -> lock, TryLock -> try_lock 24107/head
Sage Weil [Fri, 14 Sep 2018 16:26:25 +0000 (11:26 -0500)]
common: Lock -> lock, Unlock -> lock, TryLock -> try_lock

Use the Lockable convention.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon: Mutex::Locker -> std::lock_guard<Mutex>
Sage Weil [Fri, 14 Sep 2018 15:54:21 +0000 (10:54 -0500)]
common: Mutex::Locker -> std::lock_guard<Mutex>

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon/Mutex: typedef lock_guard<Mutex> Locker
Sage Weil [Fri, 14 Sep 2018 15:52:40 +0000 (10:52 -0500)]
common/Mutex: typedef lock_guard<Mutex> Locker

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon/Mutex: Lock -> lock, Unlock -> unlock
Sage Weil [Fri, 14 Sep 2018 16:25:51 +0000 (11:25 -0500)]
common/Mutex: Lock -> lock, Unlock -> unlock

This aligns us with the Lockable concept, which means we can use
lock_guard<>, unique_lock<>, etc.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon/Mutex: kill mutex_perf_counter
Sage Weil [Fri, 14 Sep 2018 16:04:00 +0000 (11:04 -0500)]
common/Mutex: kill mutex_perf_counter

This has a measurable overhead even when turned off, and we do not use it.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23429 from joke-lee/wip-website-rule-num-limit
Casey Bodley [Thu, 20 Sep 2018 12:50:06 +0000 (08:50 -0400)]
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>
6 years agoMerge pull request #24028 from votdev/fix_rgw_status
Ricardo Marques [Thu, 20 Sep 2018 12:44:24 +0000 (13:44 +0100)]
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>
6 years agodoc: remove Calamari content from ceph-deploy 24197/head
John Spray [Thu, 20 Sep 2018 12:11:53 +0000 (13:11 +0100)]
doc: remove Calamari content from ceph-deploy

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #23823 from dillaman/wip-namespace-osd-check
Jason Dillaman [Thu, 20 Sep 2018 12:07:21 +0000 (08:07 -0400)]
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>
6 years agoMerge pull request #22579 from dillaman/wip-pybind-rados
Jason Dillaman [Thu, 20 Sep 2018 12:06:32 +0000 (08:06 -0400)]
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>
6 years agoMerge pull request #22739 from majianpeng/osd-shardthread-do-bluestore-oncommits
Kefu Chai [Thu, 20 Sep 2018 08:47:07 +0000 (16:47 +0800)]
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>
6 years agoosd/OSD: choose a fixed thread do oncommits callback function 22739/head
Jianpeng Ma [Thu, 20 Sep 2018 14:10:20 +0000 (22:10 +0800)]
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>
6 years agocommon/Finisher: only queue empty only wake up waiter.
Jianpeng Ma [Thu, 20 Sep 2018 13:28:40 +0000 (21:28 +0800)]
common/Finisher: only queue empty only wake up waiter.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agocommon/Finisher: only queue empty only wake up waiter.
Jianpeng Ma [Thu, 20 Sep 2018 13:52:53 +0000 (21:52 +0800)]
common/Finisher: only queue empty only wake up waiter.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agoMerge pull request #24004 from xiexingguo/wip-yet-more-async-fixes
Xie Xingguo [Thu, 20 Sep 2018 06:49:31 +0000 (14:49 +0800)]
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>
6 years agosrc/include:fix unused parameter 24191/head
Mahati Chamarthy [Thu, 20 Sep 2018 04:34:22 +0000 (10:04 +0530)]
src/include:fix unused parameter

fixes unused parameter

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
6 years agoMerge pull request #24130 from tchaikov/wip-gcc-7.3
Kefu Chai [Thu, 20 Sep 2018 04:25:57 +0000 (12:25 +0800)]
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>
6 years agorgw: website routing rules num limit 23429/head
yuliyang [Sun, 5 Aug 2018 08:36:59 +0000 (16:36 +0800)]
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>
6 years agoqa: install build dependencies for cfuse_workunit_kernel_untar_build.yaml 24185/head
Neha Ojha [Tue, 18 Sep 2018 22:40:50 +0000 (15:40 -0700)]
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>
6 years agoceph-volume lvm.batch add sizing flags for journal and block.db LVs
Alfredo Deza [Wed, 19 Sep 2018 21:08:16 +0000 (17:08 -0400)]
ceph-volume lvm.batch add sizing flags for journal and block.db LVs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23779 from Devp00l/wip-table-actions-component
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>
6 years agolibrbd: use the correct error code when the exclusive lock isn't locked 23829/head
Jason Dillaman [Thu, 6 Sep 2018 21:08:12 +0000 (17:08 -0400)]
librbd: use the correct error code when the exclusive lock isn't locked

If the client is currently blacklisted, use -EBLACKLISTED, otherwise
use -EROFS.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: helper to retrieve the correct error code for read-only op
Jason Dillaman [Thu, 6 Sep 2018 21:15:50 +0000 (17:15 -0400)]
librbd: helper to retrieve the correct error code for read-only op

When the exclusive lock is unlocked, the error code should be
-EBLACKLISTED when the client is blacklisted, otherwise -EROFS.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: reacquire lock should properly handle failed watcher
Jason Dillaman [Thu, 6 Sep 2018 17:38:17 +0000 (13:38 -0400)]
librbd: reacquire lock should properly handle failed watcher

If the watch has been lost, assume the lock has been lost but attempt
to reacquire it if and when the watch is re-established.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: fix improper indentation of 'ceph_assert' statements
Jason Dillaman [Thu, 6 Sep 2018 14:08:41 +0000 (10:08 -0400)]
librbd: fix improper indentation of 'ceph_assert' statements

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: assume lock is unlocked if blacklisted or object deleted
Jason Dillaman [Thu, 30 Aug 2018 19:12:27 +0000 (15:12 -0400)]
librbd: assume lock is unlocked if blacklisted or object deleted

This will ensure that it's possible to potentially re-acquire the
lock should the blacklist expire before the image is closed.

Fixes: http://tracker.ceph.com/issues/34534
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: watcher should internally track blacklisted state
Jason Dillaman [Thu, 6 Sep 2018 13:44:59 +0000 (09:44 -0400)]
librbd: watcher should internally track blacklisted state

Since it will periodically attempt to re-acquire the watch,
it will know when the RADOS client has been blacklisted and
when the blacklist has been removed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: attempt to recover lost image watcher upon all failures
Jason Dillaman [Thu, 30 Aug 2018 20:51:10 +0000 (16:51 -0400)]
librbd: attempt to recover lost image watcher upon all failures

For example, if an image is blacklisted and the blacklist eventually
expires, the image should recover its watch.

Fixes: http://tracker.ceph.com/issues/34534
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24160 from jdurgin/wip-rados-lead
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>
6 years agorbd-mirror: instantiate the status formatter before changing state 24181/head
Jason Dillaman [Wed, 19 Sep 2018 18:24:31 +0000 (14:24 -0400)]
rbd-mirror: instantiate the status formatter before changing state

This will avoid a possible race between pre-queued status updates
firing between the time the state has been changed and the formatter
has been instantiated.

Fixes: http://tracker.ceph.com/issues/36084
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23662 from dillaman/wip-24412
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>
6 years agoMerge pull request #24059 from cbodley/wip-rgw-opstate-rm
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>
6 years agoqa/tests: removed knfs suite 24156/head
Yuri Weinstein [Tue, 18 Sep 2018 21:55:27 +0000 (14:55 -0700)]
qa/tests: removed knfs suite

Fixes: http://tracker.ceph.com/issues/36075
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge PR #24143 into master
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>
6 years agomgr/dashboard: Use table actions component for roles 23779/head
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>
6 years agomgr/dashboard: Use table actions component for users
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>
6 years agomgr/dashboard: Add HTML coverage reports
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>
6 years agomgr/dashboard: Fixes ts warning in RBD snapshot tests
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>
6 years agomgr/dashboard: Use table actions component for RBD snapshots
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>
6 years agomgr/dashboard: Use table actions component for OSDs
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>
6 years agoMerge pull request #24007 from tianshan/fix_35905
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>
6 years agoMerge pull request #23610 from XiangxiangMeng/fix-rgw-bucket-policy
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>
6 years agoMerge pull request #24128 from ricardoasmarques/wip-optional-user-password
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>
6 years agoMerge PR #24145 into master
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>
6 years agoMerge pull request #23544 from joke-lee/wip-multiobjdelete-num-limit
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>
6 years agoMerge pull request #24001 from joke-lee/doc_life_cycle
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>
6 years agoMerge pull request #24114 from robbat2/wip-35990
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>
6 years agoMerge pull request #24110 from cbodley/wip-35986
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>
6 years agocls: remove cls_statelog and tests 24059/head
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>
6 years agoosd: remove statelog from osd_class_load_list config
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>
6 years agocommon: remove config variables related to rgw opstate
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>
6 years agorgw: remove dependencies on cls_statelog
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>
6 years agorgw: remove RGWOpState and related classes
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>
6 years agoradosgw-admin: remove opstate commands
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>
6 years agotest/rgw: remove test for /admin/opstate rest apis
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>
6 years agorgw: remove rest handlers for /admin/opstate
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>
6 years agorgw: remove unused opstate params from copy/fetch/stat
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>
6 years agorgw: remove opstate tracking from fetch_remote_obj()
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>
6 years agoMerge pull request #18578 from gaosibei/wip-cleanup-duplicate-include
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>
6 years agoMerge pull request #23927 from joke-lee/WIP-RGW-x-amz-version-id
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>
6 years agomgr/dashboard: Use table actions component for RGW users
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>
6 years agomgr/dashboard: Use table actions component for RGW buckets
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>
6 years agomgr/dashboard: Use table actions component for RBDs
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>
6 years agomgr/dashboard: Add table actions component
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>
6 years agomgr/dashboard: User password should be optional 24128/head
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>
6 years agomsgr/async: huge refactoring of protocol V1 23415/head
Ricardo Dias [Thu, 28 Jun 2018 16:16:30 +0000 (17:16 +0100)]
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>
6 years agomsgr/async: fix forward declaration of DispatchQueue
Ricardo Dias [Wed, 27 Jun 2018 10:58:36 +0000 (11:58 +0100)]
msgr/async: fix forward declaration of DispatchQueue

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge PR #23092 into master
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>
6 years agoMerge PR #24109 into master
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>
6 years agoMerge pull request #24005 from p-na/refactor-deletion-modal-component
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>
6 years agoMerge PR #24149 into master
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>
6 years agogithubmap: update contributors
Sage Weil [Wed, 19 Sep 2018 12:31:35 +0000 (07:31 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/workunits/rbd: test clone v2 across namespaces 23662/head
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>
6 years agolibrbd: permit cross-namespace when using clone v2
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>
6 years agolibrbd: use helper method to create librados::IoCtxs
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>
6 years agolibrbd: replace librbd::ParentSpec with cls::rbd::ParentImageSpec
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>
6 years agolibrbd: invoke new parent class API methods
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>
6 years agolibrbd: replace existing attach parent calls with new state machine
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>
6 years agolibrbd: new attach parent state machine
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>