]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoceph-volume lvm.activate pass no_systemd args when detecting objectstore 24355/head
Alfredo Deza [Mon, 1 Oct 2018 15:54:19 +0000 (11:54 -0400)]
ceph-volume lvm.activate pass no_systemd args when detecting objectstore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.lvm verify activate works with --auto-detect-objectstore
Alfredo Deza [Mon, 1 Oct 2018 15:53:37 +0000 (11:53 -0400)]
ceph-volume tests.lvm verify activate works with --auto-detect-objectstore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24073 from AntonOks/master
Casey Bodley [Mon, 1 Oct 2018 13:39:08 +0000 (09:39 -0400)]
Merge pull request #24073 from AntonOks/master

doc: added some Civetweb configuration options

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24343 from jecluis/wip-dashboard-fix-oa
Lenz Grimmer [Mon, 1 Oct 2018 13:01:30 +0000 (15:01 +0200)]
Merge pull request #24343 from jecluis/wip-dashboard-fix-oa

mgr/dashboard: fix reference to oA

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24237 from votdev/ignore_idea_dir
Lenz Grimmer [Mon, 1 Oct 2018 10:52:18 +0000 (12:52 +0200)]
Merge pull request #24237 from votdev/ignore_idea_dir

.gitignore: Ignore .idea directory

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: fix reference to oA 24343/head
Joao Eduardo Luis [Mon, 1 Oct 2018 00:00:45 +0000 (01:00 +0100)]
mgr/dashboard: fix reference to oA

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
6 years agoMerge pull request #24302 from hydro-b/fix-rbd-nbd-docu
Jason Dillaman [Sat, 29 Sep 2018 19:57:38 +0000 (15:57 -0400)]
Merge pull request #24302 from hydro-b/fix-rbd-nbd-docu

doc: add "--timeout" option to rbd-nbd

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: songweibin <song.weibin@zte.com.cn>
6 years agoMerge pull request #24289 from ukernel/wip-msg-clear-payload
Kefu Chai [Sat, 29 Sep 2018 16:10:18 +0000 (00:10 +0800)]
Merge pull request #24289 from ukernel/wip-msg-clear-payload

msg: clear message middle when clearing encoded message buffer

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24301 from tchaikov/wip-async-connect-timeout
Kefu Chai [Sat, 29 Sep 2018 16:09:33 +0000 (00:09 +0800)]
Merge pull request #24301 from tchaikov/wip-async-connect-timeout

msg/async: keep connection alive only actually sending

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #24278 from wjwithagen/wjw-fix-inline_variant
Kefu Chai [Sat, 29 Sep 2018 16:09:04 +0000 (00:09 +0800)]
Merge pull request #24278 from wjwithagen/wjw-fix-inline_variant

common: fix missing include boost/noncopyable.hpp

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24263 from tchaikov/wip-drop-lock-policy
Kefu Chai [Sat, 29 Sep 2018 16:08:33 +0000 (00:08 +0800)]
Merge pull request #24263 from tchaikov/wip-drop-lock-policy

auth,common: use ceph::mutex instead of LockMutex

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24336 from alfredodeza/wip-rm36251
Alfredo Deza [Fri, 28 Sep 2018 18:16:54 +0000 (14:16 -0400)]
Merge pull request #24336 from alfredodeza/wip-rm36251

ceph-volume add new ceph-handlers role from ceph-ansible

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agodoc: add "--timeout" option to rbd-nbd 24302/head
Stefan Kooman [Thu, 27 Sep 2018 12:11:05 +0000 (14:11 +0200)]
doc: add "--timeout" option to rbd-nbd

Fixes: https://tracker.ceph.com/issues/22333
Signed-off-by: Stefan Kooman <stefan@bit.nl>
6 years agoceph-volume tests.functional add new ceph-handlers role from ceph-ansible 24336/head
Alfredo Deza [Fri, 28 Sep 2018 16:40:09 +0000 (12:40 -0400)]
ceph-volume tests.functional add new ceph-handlers role from ceph-ansible

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24330 from alfredodeza/wip-rm36098
Andrew Schoen [Fri, 28 Sep 2018 14:54:55 +0000 (09:54 -0500)]
Merge pull request #24330 from alfredodeza/wip-rm36098

ceph-volume:  lsblk can fail to find PARTLABEL, must fallback to blkid

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #24315 from tchaikov/wip-jenkins-does-not-read-package-desc
Kefu Chai [Fri, 28 Sep 2018 13:53:22 +0000 (21:53 +0800)]
Merge pull request #24315 from tchaikov/wip-jenkins-does-not-read-package-desc

install-deps: do not specify unknown options

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoinstall-deps: do not specify unknown options 24315/head
Kefu Chai [Fri, 28 Sep 2018 03:45:03 +0000 (11:45 +0800)]
install-deps: do not specify unknown options

per apt.conf(5), and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550564,
"Acquire::Translation" is not documented and will be deprecated. it
would be better to use "Acquire::Languages" solely. and it's consistent
with https://github.com/ceph/ceph-build/pull/1137 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-volume simple.scan better detection for ceph-disk data devices 24330/head
Alfredo Deza [Thu, 27 Sep 2018 20:17:29 +0000 (16:17 -0400)]
ceph-volume simple.scan better detection for ceph-disk data devices

Uses the new ``CephDiskDevice`` to look into PARTLABEL from both lsblk
(the default) falling back to blkid, which in some cases has the right
value when lsblk fails.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.util verify CephDiskDevice behavior
Alfredo Deza [Thu, 27 Sep 2018 20:15:26 +0000 (16:15 -0400)]
ceph-volume tests.util verify CephDiskDevice behavior

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.conftest add blkid patching to device_info fixture
Alfredo Deza [Thu, 27 Sep 2018 20:15:00 +0000 (16:15 -0400)]
ceph-volume tests.conftest add blkid patching to device_info fixture

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util.device add a ceph-disk device object to detect types
Alfredo Deza [Thu, 27 Sep 2018 20:14:28 +0000 (16:14 -0400)]
ceph-volume util.device add a ceph-disk device object to detect types

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24300 from trociny/wip-36236
Jason Dillaman [Thu, 27 Sep 2018 19:56:58 +0000 (15:56 -0400)]
Merge pull request #24300 from trociny/wip-36236

test/rbd_mirror: race in WaitingOnLeaderReleaseLeader

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23950 from ceph/wip-rgw-dpp-metasync
Casey Bodley [Thu, 27 Sep 2018 19:33:44 +0000 (15:33 -0400)]
Merge pull request #23950 from ceph/wip-rgw-dpp-metasync

rgw: log refactoring for meta sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoauth: switch from Mutex to ceph::mutex 24263/head
Kefu Chai [Tue, 25 Sep 2018 08:47:57 +0000 (16:47 +0800)]
auth: switch from Mutex to ceph::mutex

to be aligned with our direction to use std::mutex or its wrapper. see
https://trello.com/c/aUSezBRH/365-cephmutex-etc-for-release-builds

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoauth,common: switch to ceph::mutex, etc
Kefu Chai [Tue, 25 Sep 2018 07:42:25 +0000 (15:42 +0800)]
auth,common: switch to ceph::mutex, etc

in this change, along with LockPolicy, src/common/lock_* are completely
removed.

instead of using LockPolicy based template specialization of LockMutex,
etc, it would be simpler if we can just rely on WITH_SEASTAR
preprocessor macro to tell if we are compiling code for crimson or not.
but please bear in mind, we cannot link against the plain libceph-common
in crimson anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocommon/ceph_mutex: add shared_mutex to `ceph` namespace
Kefu Chai [Tue, 25 Sep 2018 08:12:24 +0000 (16:12 +0800)]
common/ceph_mutex: add shared_mutex to `ceph` namespace

for the sake of completeness, also pave the road to ditch
SharedMutex<LockPolicy>. please note, in code used by crimson, we are
not using shared_mutex or SharedMutex yet. so we are not adding
the dummy shared_mutex for WITH_SEASTAR.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomsg/async: keep connection alive only actually sending 24301/head
Kefu Chai [Thu, 27 Sep 2018 12:40:22 +0000 (20:40 +0800)]
msg/async: keep connection alive only actually sending

When connection stuck into odd state, we need to let connection timeout.
If send_message could update last_active, it won't play the role as
expected.
So we move last_active updated to the place actually should.

Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agotest/rbd_mirror: race in WaitingOnLeaderReleaseLeader 24300/head
Mykola Golub [Thu, 27 Sep 2018 11:32:30 +0000 (14:32 +0300)]
test/rbd_mirror: race in WaitingOnLeaderReleaseLeader

Fixes: http://tracker.ceph.com/issues/36236
Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24193 from rhcs-dashboard/coverage-disabled-in-api-tests
Lenz Grimmer [Thu, 27 Sep 2018 10:24:01 +0000 (12:24 +0200)]
Merge pull request #24193 from rhcs-dashboard/coverage-disabled-in-api-tests

mgr/dashboard: disable backend tests coverage

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #24250 from jecluis/wip-mon-increase-ck-default
Kefu Chai [Thu, 27 Sep 2018 10:14:17 +0000 (18:14 +0800)]
Merge pull request #24250 from jecluis/wip-mon-increase-ck-default

mon/config-key: increase max key entry size

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24200 from jecluis/wip-dashboard-fix-ac
Lenz Grimmer [Thu, 27 Sep 2018 09:19:37 +0000 (11:19 +0200)]
Merge pull request #24200 from jecluis/wip-dashboard-fix-ac

mgr/dashboard: no side-effects on failed user creation

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23351 from tspmelo/wip-rbd-trash
Lenz Grimmer [Thu, 27 Sep 2018 09:04:46 +0000 (11:04 +0200)]
Merge pull request #23351 from tspmelo/wip-rbd-trash

mgr/dashboard: Add support for RBD Trash

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24293 from dillaman/wip-36220
Mykola Golub [Thu, 27 Sep 2018 06:02:00 +0000 (09:02 +0300)]
Merge pull request #24293 from dillaman/wip-36220

librbd: object copy state machine might dereference a deleted object

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #22659 from theanalyst/cmake-pybind-ssl
Kefu Chai [Thu, 27 Sep 2018 02:55:16 +0000 (10:55 +0800)]
Merge pull request #22659 from theanalyst/cmake-pybind-ssl

build: mgr: check for python's ssl version linkage

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24243 from smithfarm/wip-bci-rate-limit
Nathan Cutler [Wed, 26 Sep 2018 22:18:49 +0000 (00:18 +0200)]
Merge pull request #24243 from smithfarm/wip-bci-rate-limit

tools: backport-create-issue: rate-limit to avoid seeming like a spammer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #23131 from smithfarm/wip-15100
Nathan Cutler [Wed, 26 Sep 2018 22:17:48 +0000 (00:17 +0200)]
Merge pull request #23131 from smithfarm/wip-15100

qa: add test that builds example librados programs

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
6 years agorgw: no DoutPrefixProvider as arg for RGWRemoteDataLog::init 23950/head
Ali Maredia [Tue, 25 Sep 2018 19:54:58 +0000 (15:54 -0400)]
rgw: no DoutPrefixProvider as arg for RGWRemoteDataLog::init

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agorgw: pass DoutPrefixProvider into the entrypoints for trim
Ali Maredia [Fri, 21 Sep 2018 13:57:01 +0000 (09:57 -0400)]
rgw: pass DoutPrefixProvider into the entrypoints for trim

Also add a DoutPrefixProvider to all of the
cascading classes that need one as a result

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agorgw: add global prefix provider for radosgw-admin
Casey Bodley [Mon, 27 Aug 2018 23:55:14 +0000 (19:55 -0400)]
rgw: add global prefix provider for radosgw-admin

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 9a5dbc81b774d0be4b51f39e37bcfa15f3b36db8)

6 years agorgw: remove unused variable RGWRados *store
Ali Maredia [Thu, 6 Sep 2018 14:07:52 +0000 (10:07 -0400)]
rgw: remove unused variable RGWRados *store

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agorgw: replace ldout with ldpp_dout in coroutine classes
Ali Maredia [Thu, 6 Sep 2018 04:33:13 +0000 (00:33 -0400)]
rgw: replace ldout with ldpp_dout in coroutine classes

The only classes in rgw_sync.cc that remain
with ldouts are:
- RGWBackoffControlCR
- RGWShardCollectCR
- RGWAsyncMetaStoreEntry
- RGWAsyncMetaRemoveEntry
- PurgePeriodLogsCR
- take_min_status
- MetaMasterTrimShardCollectCR
- MetaMasterStatusCollectCR
- MetaMasterTrimCR
- MetaPeerTrimCR
- MetaTrimPollCR

These classes do not have RGWMetaSyncEnv members.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agorgw: replace ldouts with ldpp_dout in RGWRemoteMetaLog
Ali Maredia [Thu, 6 Sep 2018 04:32:36 +0000 (00:32 -0400)]
rgw: replace ldouts with ldpp_dout in RGWRemoteMetaLog

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agorgw: MetaSyncStatusManager implements DoutPrefixProvider
Ali Maredia [Thu, 6 Sep 2018 04:29:47 +0000 (00:29 -0400)]
rgw: MetaSyncStatusManager implements DoutPrefixProvider

There are no member functions of RGWMetaSyncStatusManager
with ldouts to replace with ldpp_dout.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agolibrbd: object copy state machine might dereference a deleted object 24293/head
Jason Dillaman [Wed, 26 Sep 2018 18:39:25 +0000 (14:39 -0400)]
librbd: object copy state machine might dereference a deleted object

Fixes: http://tracker.ceph.com/issues/36220
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #22043 from dillaman/wip-24139
Mykola Golub [Wed, 26 Sep 2018 19:49:02 +0000 (22:49 +0300)]
Merge pull request #22043 from dillaman/wip-24139

rbd-mirror: bootstrap needs to handle local image id collision

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24253 from dillaman/wip-24516
Mykola Golub [Wed, 26 Sep 2018 19:48:29 +0000 (22:48 +0300)]
Merge pull request #24253 from dillaman/wip-24516

librbd: potential object map race with copyup state machine

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23625 from XiangxiangMeng/fix-rgw-bucket-policy-not
Yuri Weinstein [Wed, 26 Sep 2018 16:02:36 +0000 (09:02 -0700)]
Merge pull request #23625 from XiangxiangMeng/fix-rgw-bucket-policy-not

rgw: policy: fix NotAction, NotPricipal, NotResource does not take effect

Reviewed-by: Adam Emerson <aemerson@redhat.com>
6 years agoMerge pull request #24062 from nrdmn/fix-quota
Yuri Weinstein [Wed, 26 Sep 2018 16:00:26 +0000 (09:00 -0700)]
Merge pull request #24062 from nrdmn/fix-quota

rgw: fix max-size in radosgw-admin and REST Admin API

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24177 from cbodley/wip-24595
Yuri Weinstein [Wed, 26 Sep 2018 15:59:51 +0000 (08:59 -0700)]
Merge pull request #24177 from cbodley/wip-24595

rgw: apply quota config to users created via external auth

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agoMerge pull request #24199 from aclamk/fio-rados-manual
Kefu Chai [Wed, 26 Sep 2018 13:57:18 +0000 (21:57 +0800)]
Merge pull request #24199 from aclamk/fio-rados-manual

test/fio: Added tips for compilation of fio with 'rados' engine.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24273 from tspmelo/wip-html-linter
Lenz Grimmer [Wed, 26 Sep 2018 13:45:52 +0000 (15:45 +0200)]
Merge pull request #24273 from tspmelo/wip-html-linter

mgr/dashboard: Add html-linter

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23534 from cbodley/wip-26897
Casey Bodley [Wed, 26 Sep 2018 13:28:30 +0000 (09:28 -0400)]
Merge pull request #23534 from cbodley/wip-26897

rgw multisite: enforce spawn_window for data full sync

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agolibrbd: keep IO blocked until after snapshot object map created 24253/head
Jason Dillaman [Mon, 24 Sep 2018 19:07:15 +0000 (15:07 -0400)]
librbd: keep IO blocked until after snapshot object map created

The IO was being unblocked before object map was created, allowing
a potential copyup request to fail to update a still-to-be-created
object map.

Fixes: http://tracker.ceph.com/issues/24516
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: do not invalidate object map if update races with copyup
Jason Dillaman [Mon, 24 Sep 2018 18:45:09 +0000 (14:45 -0400)]
librbd: do not invalidate object map if update races with copyup

The copyup state machine needs to iterate over all object maps to update
the existence for the object. If an snapshot is being removed concurrently,
it's possible to invalidate the object map for the image.

Fixes: http://tracker.ceph.com/issues/24516
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: Update frontend linting scripts and documentation 24273/head
Tiago Melo [Tue, 25 Sep 2018 17:02:01 +0000 (18:02 +0100)]
mgr/dashboard: Update frontend linting scripts and documentation

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add html linter and fix lint errors
Tiago Melo [Tue, 25 Sep 2018 14:43:35 +0000 (15:43 +0100)]
mgr/dashboard: Add html linter and fix lint errors

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomsg: clear message middle when clearing encoded message buffer 24289/head
Yan, Zheng [Wed, 26 Sep 2018 10:50:22 +0000 (18:50 +0800)]
msg: clear message middle when clearing encoded message buffer

Otherwise it may trigger ceph_assert(middle.length() == 0) in
Message::encode()

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
6 years agocommon: fix missing include boost/noncopyable.hpp 24278/head
Willem Jan Withagen [Tue, 25 Sep 2018 21:36:30 +0000 (23:36 +0200)]
common: fix missing include boost/noncopyable.hpp

Clang complains:
```
In file included from /home/jenkins/workspace/ceph-master/src/osd/ReplicatedBackend.cc:15:
In file included from /home/jenkins/workspace/ceph-master/src/osd/ReplicatedBackend.h:18:
In file included from /home/jenkins/workspace/ceph-master/src/osd/PGBackend.h:27:
In file included from /home/jenkins/workspace/ceph-master/src/osd/PGTransaction.h:25:
/home/jenkins/workspace/ceph-master/src/common/inline_variant.h:88:64: error: expected class name
struct generic_visitor : boost::static_visitor<Result>, boost::noncopyable
                                                               ^
1 error generated.
gmake[2]: *** [src/osd/CMakeFiles/osd.dir/build.make:141: src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
```

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge PR #24203 into master
Patrick Donnelly [Tue, 25 Sep 2018 23:01:33 +0000 (16:01 -0700)]
Merge PR #24203 into master

* refs/pull/24203/head:
ceph-fuse: add to selinux profile

Reviewed-by: Boris Ranto <branto@redhat.com>
6 years agoMerge pull request #24221 from cbodley/wip-36034
Yehuda Sadeh [Tue, 25 Sep 2018 22:02:01 +0000 (15:02 -0700)]
Merge pull request #24221 from cbodley/wip-36034

rgw multisite: uses local DataChangesLog to track active buckets for trim

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #23988 from cbodley/wip-35851
Yehuda Sadeh [Tue, 25 Sep 2018 20:43:17 +0000 (13:43 -0700)]
Merge pull request #23988 from cbodley/wip-35851

rgw: dont access rgw_http_req_data::client of canceled request

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #23986 from cbodley/wip-35715
Casey Bodley [Tue, 25 Sep 2018 20:40:52 +0000 (16:40 -0400)]
Merge pull request #23986 from cbodley/wip-35715

rgw: fix leak of curl handle on shutdown

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #24011 from cbodley/wip-qa-rgw-multisite-speedup
Casey Bodley [Tue, 25 Sep 2018 20:39:51 +0000 (16:39 -0400)]
Merge pull request #24011 from cbodley/wip-qa-rgw-multisite-speedup

qa/rgw: reduce number of multisite log shards

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #23987 from cbodley/wip-35812
Yehuda Sadeh [Tue, 25 Sep 2018 20:20:59 +0000 (13:20 -0700)]
Merge pull request #23987 from cbodley/wip-35812

rgw: RGWAsyncGetBucketInstanceInfo does not access coroutine memory

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoqa/tasks/rbd_mirror_thrash: let daemon gracefully shut down if possible 22043/head
Jason Dillaman [Tue, 18 Sep 2018 15:28:57 +0000 (11:28 -0400)]
qa/tasks/rbd_mirror_thrash: let daemon gracefully shut down if possible

Otherwise, try to capture a core dump to discover what was blocking the
shutdown process.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa/workunits/rbd: wait max 2 hrs for all stress images to sync
Jason Dillaman [Mon, 17 Sep 2018 20:20:57 +0000 (16:20 -0400)]
qa/workunits/rbd: wait max 2 hrs for all stress images to sync

Sporadically the rbd-mirror fsx stress test would fail due to very
slow sync times due to overloaded clusters. Attempt to wait for all
images to be replicated before proceeding with the comparison.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa/workunits/rbd: exclude rbd-mirror sync-point snaps from comparison
Jason Dillaman [Tue, 25 Sep 2018 20:08:25 +0000 (16:08 -0400)]
qa/workunits/rbd: exclude rbd-mirror sync-point snaps from comparison

This is a temporary workaround to tracker ticket issue #36185

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoceph-volume tests.util verify new blkid API calls
Alfredo Deza [Tue, 25 Sep 2018 19:27:47 +0000 (15:27 -0400)]
ceph-volume tests.util verify new blkid API calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24274 from ceph/wip-batch-report-fix
Alfredo Deza [Tue, 25 Sep 2018 19:26:04 +0000 (15:26 -0400)]
Merge pull request #24274 from ceph/wip-batch-report-fix

ceph-volume: fix journal and filestore data size in `lvm batch --report`

6 years agoceph-volume util.disk expand blkid's API calls
Alfredo Deza [Tue, 25 Sep 2018 19:25:13 +0000 (15:25 -0400)]
ceph-volume util.disk expand blkid's API calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24251 from alfredodeza/wip-rm27210
Andrew Schoen [Tue, 25 Sep 2018 18:13:50 +0000 (13:13 -0500)]
Merge pull request #24251 from alfredodeza/wip-rm27210

ceph-volume custom cluster names fail on filestore trigger

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: only run ceph-common once during tests 24274/head
Andrew Schoen [Tue, 25 Sep 2018 17:09:15 +0000 (12:09 -0500)]
ceph-volume: only run ceph-common once during tests

Using import_role we can have just one play and avoid rerunning
ceph-common over and over again in daemon specific plays.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #24020 into master
Patrick Donnelly [Tue, 25 Sep 2018 16:20:22 +0000 (09:20 -0700)]
Merge PR #24020 into master

* refs/pull/24020/head:
*: set missing CLOEXEC on opened fds
msg: set O_NONBLOCK on file status flags

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24163 into master
Patrick Donnelly [Tue, 25 Sep 2018 14:47:04 +0000 (07:47 -0700)]
Merge PR #24163 into master

* refs/pull/24163/head:
mds/MDCache: fix mds internal op missing events time

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24252 into master
Patrick Donnelly [Tue, 25 Sep 2018 14:36:16 +0000 (07:36 -0700)]
Merge PR #24252 into master

* refs/pull/24252/head:
qa: cleanup workunit dir for each unit
qa: use sudo to cleanup workspace

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge PR #24232 into master
Patrick Donnelly [Tue, 25 Sep 2018 14:16:20 +0000 (07:16 -0700)]
Merge PR #24232 into master

* refs/pull/24232/head:
githubmap: update contributors

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: Add UI for RBD Trash Purge 23351/head
Tiago Melo [Tue, 3 Jul 2018 09:59:03 +0000 (10:59 +0100)]
mgr/dashboard: Add UI for RBD Trash Purge

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add UI for RBD Trash Delete
Tiago Melo [Tue, 3 Jul 2018 09:58:03 +0000 (10:58 +0100)]
mgr/dashboard: Add UI for RBD Trash Delete

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add UI for RBD Trash Restore
Tiago Melo [Fri, 31 Aug 2018 15:44:12 +0000 (16:44 +0100)]
mgr/dashboard: Add UI for RBD Trash Restore

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add UI for RBD Trash List
Tiago Melo [Tue, 19 Jun 2018 14:09:23 +0000 (15:09 +0100)]
mgr/dashboard: Add UI for RBD Trash List

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add UI for RBD Trash Move
Tiago Melo [Tue, 31 Jul 2018 16:00:16 +0000 (17:00 +0100)]
mgr/dashboard: Add UI for RBD Trash Move

Fixes: http://tracker.ceph.com/issues/24272
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add RBD Trash endpoints
Tiago Melo [Tue, 19 Jun 2018 13:33:41 +0000 (14:33 +0100)]
mgr/dashboard: Add RBD Trash endpoints

Fixes: http://tracker.ceph.com/issues/24272
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Replace current delete icons with "fa-times"
Tiago Melo [Tue, 31 Jul 2018 15:58:11 +0000 (16:58 +0100)]
mgr/dashboard: Replace current delete icons with "fa-times"

This will allow us to better differentiate a actual delete from a move to trash.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoqa/workunits/rbd: image compare should print byte offset of any deltas
Jason Dillaman [Mon, 17 Sep 2018 19:07:15 +0000 (15:07 -0400)]
qa/workunits/rbd: image compare should print byte offset of any deltas

This will assist in debugging any mirroring issues.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24248 from dillaman/wip-rbd-iscsi-docs
Jason Dillaman [Tue, 25 Sep 2018 12:36:31 +0000 (08:36 -0400)]
Merge pull request #24248 from dillaman/wip-rbd-iscsi-docs

doc: ceph-iscsi-api ports should not be public facing

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agocommon/ceph_mutex: add dummy mutex for WITH_SEASTAR
Kefu Chai [Tue, 25 Sep 2018 07:44:43 +0000 (15:44 +0800)]
common/ceph_mutex: add dummy mutex for WITH_SEASTAR

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: no side-effects on failed user creation 24200/head
Joao Eduardo Luis [Thu, 20 Sep 2018 14:20:50 +0000 (15:20 +0100)]
mgr/dashboard: no side-effects on failed user creation

Read operations go first, operations with side-effects go last.
Otherwise, something like

1) create user A with non-existent role R1; fails due to R1 DNE
2) create user B with existent role R2; success

will result in both A and B being created; B will have a R2 assigned, A
will have no roles.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
6 years agoqa: add test that builds example librados programs 23131/head
Nathan Cutler [Thu, 19 Jul 2018 15:59:04 +0000 (17:59 +0200)]
qa: add test that builds example librados programs

Fixes: http://tracker.ceph.com/issues/15100
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agomgr/dashboard: Ignore .idea directory (created by PyCharm for example) 24237/head
Volker Theile [Mon, 24 Sep 2018 06:12:29 +0000 (08:12 +0200)]
mgr/dashboard: Ignore .idea directory (created by PyCharm for example)

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge PR #24226 into master
Sage Weil [Tue, 25 Sep 2018 04:14:15 +0000 (23:14 -0500)]
Merge PR #24226 into master

* refs/pull/24226/head:
osd/PG: fix not_ready_to_merge behavior for merge target

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #24194 into master
Patrick Donnelly [Mon, 24 Sep 2018 22:01:52 +0000 (15:01 -0700)]
Merge PR #24194 into master

* refs/pull/24194/head:
mds: fix mds damaged due to unexpected journal length

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #24170 into master
Patrick Donnelly [Mon, 24 Sep 2018 21:50:04 +0000 (14:50 -0700)]
Merge PR #24170 into master

* refs/pull/24170/head:
libcephfs: expose CEPH_SETATTR_MTIME_NOW and CEPH_SETATTR_ATIME_NOW

Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge PR #23187 into master
Patrick Donnelly [Mon, 24 Sep 2018 21:46:14 +0000 (14:46 -0700)]
Merge PR #23187 into master

* refs/pull/23187/head:
test: make rank argument mandatory when running journal_tool
cephfs-journal-tool: make "--rank" argument mandatory
cephfs-journal-tool: pass local arg vector for Journal actions
cephfs-journal-tool: dump to per rank output file wherever necessary

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #23530 into master
Patrick Donnelly [Mon, 24 Sep 2018 21:41:59 +0000 (14:41 -0700)]
Merge PR #23530 into master

* refs/pull/23530/head:
qa/vstart_runner: fix daemons list
PendingReleaseNotes: note multifs support in libcephfs
test/cephfs: add pybind test for mount_root
pybind/cephfs: enable passing filesystem name to mount
libcephfs: add ceph_select_filesystem
common: add doc strings to client_mds_namespace
client: allow passing fs name to mount()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Conflicts:
    PendingReleaseNotes

6 years agoceph-volume: fail fast during tests
Andrew Schoen [Mon, 24 Sep 2018 21:41:37 +0000 (16:41 -0500)]
ceph-volume: fail fast during tests

This also rsyncs the ceph-volume code to the testing vms before
a ceph.conf is generated because ceph-volume is needed now for this
to figure out the number of osds when you're using 'lvm batch'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #24125 into master
Patrick Donnelly [Mon, 24 Sep 2018 21:40:34 +0000 (14:40 -0700)]
Merge PR #24125 into master

* refs/pull/24125/head:
mon: fix fs add_data_pool setting wrong pool metadata

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24158 into master
Patrick Donnelly [Mon, 24 Sep 2018 21:39:45 +0000 (14:39 -0700)]
Merge PR #24158 into master

* refs/pull/24158/head:
cephfs: remove vestiges of mds deactivate

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
6 years agoceph-volume: when using batch --report return journal/data size as ints
Andrew Schoen [Mon, 24 Sep 2018 21:37:35 +0000 (16:37 -0500)]
ceph-volume: when using batch --report return journal/data size as ints

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #24234 into master
Sage Weil [Mon, 24 Sep 2018 20:15:52 +0000 (15:15 -0500)]
Merge PR #24234 into master

* refs/pull/24234/head:
qa/suites/rados/thrash-old-clients/workloads/rbd_cls.yaml: skip parents test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoceph-volume tests/functional update dmcrypt test playbooks to use --cluster 24251/head
Alfredo Deza [Mon, 24 Sep 2018 18:44:31 +0000 (14:44 -0400)]
ceph-volume tests/functional update dmcrypt test playbooks to use --cluster

Signed-off-by: Alfredo Deza <adeza@redhat.com>