]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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 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 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 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>
6 years agoqa/suites/rbd: increase librbd debug level for mirror-thrash
Jason Dillaman [Tue, 22 May 2018 18:35:44 +0000 (14:35 -0400)]
qa/suites/rbd: increase librbd debug level for mirror-thrash

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: improve debug logging for create/clone state machines
Jason Dillaman [Tue, 22 May 2018 18:58:48 +0000 (14:58 -0400)]
librbd: improve debug logging for create/clone state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: always send image RPC messages via cluster
Jason Dillaman [Thu, 24 May 2018 14:02:27 +0000 (10:02 -0400)]
rbd-mirror: always send image RPC messages via cluster

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: permit better tracking between image replayer and bootstrap
Jason Dillaman [Tue, 22 May 2018 18:51:47 +0000 (14:51 -0400)]
rbd-mirror: permit better tracking between image replayer and bootstrap

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: re-generate new image id upon collision
Jason Dillaman [Wed, 16 May 2018 15:11:37 +0000 (11:11 -0400)]
rbd-mirror: re-generate new image id upon collision

Fixes: http://tracker.ceph.com/issues/24139
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agolibrbd: create image should return unique error code on id collision
Jason Dillaman [Wed, 16 May 2018 13:26:32 +0000 (09:26 -0400)]
librbd: create image should return unique error code on id collision

The image id is composed of the librados global instance id and a random
number. For long-lived clients that create multiple images (basically
only rbd-mirror daemon), it's more likely to hit a collision.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa: cleanup workunit dir for each unit 24252/head
Patrick Donnelly [Mon, 24 Sep 2018 18:29:10 +0000 (11:29 -0700)]
qa: cleanup workunit dir for each unit

This was wrongly dropped and moved to the finalizer.

Introduced-by: de824f74dd8ac909e47335ccd53d7a085e388e41
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa: use sudo to cleanup workspace
Patrick Donnelly [Mon, 24 Sep 2018 18:02:49 +0000 (11:02 -0700)]
qa: use sudo to cleanup workspace

Files in scratch_tmp may not be owned by ubuntu.

Fixes: http://tracker.ceph.com/issues/36165
Introduced-by: de824f74dd8ac909e47335ccd53d7a085e388e41
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume tests/functional/batch update tests to use 'test' cluster name
Alfredo Deza [Mon, 24 Sep 2018 16:52:50 +0000 (12:52 -0400)]
ceph-volume tests/functional/batch update tests to use 'test' cluster name

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional/lvm update tests to use 'test' cluster name
Alfredo Deza [Mon, 24 Sep 2018 16:52:33 +0000 (12:52 -0400)]
ceph-volume tests/functional/lvm update tests to use 'test' cluster name

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional update playbooks to use --cluster
Alfredo Deza [Mon, 24 Sep 2018 16:51:47 +0000 (12:51 -0400)]
ceph-volume tests/functional update playbooks to use --cluster

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agomon/config-key: increase max key entry size 24250/head
Joao Eduardo Luis [Mon, 24 Sep 2018 16:43:32 +0000 (17:43 +0100)]
mon/config-key: increase max key entry size

Turns out the dashboard requires more than 4K bytes on occasion. Instead
of forcing them to split entries, we can afford them a bit more of extra
size. We could go higher, but they tell us they don't need it.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
6 years agoceph-volume main move out the load_ceph_conf_path to the configuration module
Alfredo Deza [Mon, 24 Sep 2018 16:27:04 +0000 (12:27 -0400)]
ceph-volume main move out the load_ceph_conf_path to the configuration module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoosd/PG: fix not_ready_to_merge behavior for merge target 24226/head
Sage Weil [Sat, 22 Sep 2018 16:01:15 +0000 (11:01 -0500)]
osd/PG: fix not_ready_to_merge behavior for merge target

Track the *target* not being ready to merge independently from the source,
so that we do not have two PGs fighting over the state of
not_ready_ready_to_merge_source, and so that the map reflects the *source*
PGs readiness only.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24225 into master
Sage Weil [Mon, 24 Sep 2018 16:01:22 +0000 (11:01 -0500)]
Merge PR #24225 into master

* refs/pull/24225/head:
osd/ECBackend: suppress 'Error -2 reading object' if EC fast reads

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoqa/suites/rados/thrash-old-clients/workloads/rbd_cls.yaml: skip parents test 24234/head
Sage Weil [Mon, 24 Sep 2018 03:43:08 +0000 (22:43 -0500)]
qa/suites/rados/thrash-old-clients/workloads/rbd_cls.yaml: skip parents test

We can't (easily) build updated hammer packages, but all this sh script does
it run this one test binary with --gtest_filter arguments, so just do
it directly and skip the test explicitly here.  (Newer version of the .sh
understand the environemnt variable but the hammer version does not.)

Fixes: http://tracker.ceph.com/issues/36104
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoceph-volume tests.devices patch configuration.load to avoid raising non-existing...
Alfredo Deza [Mon, 24 Sep 2018 14:34:55 +0000 (10:34 -0400)]
ceph-volume tests.devices patch configuration.load to avoid raising non-existing ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests reset the cluster name after every unit test
Alfredo Deza [Mon, 24 Sep 2018 14:29:12 +0000 (10:29 -0400)]
ceph-volume tests reset the cluster name after every unit test

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional add custom cluster name to centos7-filestore-create
Alfredo Deza [Wed, 19 Sep 2018 17:23:19 +0000 (13:23 -0400)]
ceph-volume tests.functional add custom cluster name to centos7-filestore-create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.activate load the config always by reading the cluster name from...
Alfredo Deza [Wed, 19 Sep 2018 16:04:41 +0000 (12:04 -0400)]
ceph-volume lvm.activate load the config always by reading the cluster name from the LV

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume configuration be able to set conf.ceph
Alfredo Deza [Wed, 19 Sep 2018 16:04:17 +0000 (12:04 -0400)]
ceph-volume configuration be able to set conf.ceph

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc: ceph-iscsi-api ports should not be public facing 24248/head
Jason Dillaman [Mon, 24 Sep 2018 14:32:25 +0000 (10:32 -0400)]
doc: ceph-iscsi-api ports should not be public facing

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24078 from Songweibin/wip-rbd-trash-state
Jason Dillaman [Mon, 24 Sep 2018 14:19:13 +0000 (10:19 -0400)]
Merge pull request #24078 from Songweibin/wip-rbd-trash-state

rbd: not allowed to restore an image when it is being deleted

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23743 from trociny/wip-rbd-config-pool
Jason Dillaman [Mon, 24 Sep 2018 14:19:01 +0000 (10:19 -0400)]
Merge pull request #23743 from trociny/wip-rbd-config-pool

librbd: pool and image level config overrides

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23568 from rhcs-dashboard/wip-24573-landing-page
Lenz Grimmer [Mon, 24 Sep 2018 13:32:48 +0000 (15:32 +0200)]
Merge pull request #23568 from rhcs-dashboard/wip-24573-landing-page

mgr/dashboard: New Landing Page

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agotools: backport-create-issue: rate-limit to avoid seeming like a spammer 24243/head
Nathan Cutler [Mon, 24 Sep 2018 12:58:13 +0000 (14:58 +0200)]
tools: backport-create-issue: rate-limit to avoid seeming like a spammer

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #23570 from jcsp/wip-rook-api
John Spray [Mon, 24 Sep 2018 11:12:10 +0000 (12:12 +0100)]
Merge pull request #23570 from jcsp/wip-rook-api

mgr/rook: update for v1beta1 API

Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agorgw: fix max-size-kb REST quota parameter and add max-size 24062/head
Nick Erdmann [Mon, 24 Sep 2018 10:48:57 +0000 (12:48 +0200)]
rgw: fix max-size-kb REST quota parameter and add max-size

Signed-off-by: Nick Erdmann <n@nirf.de>
6 years agorgw/radosgw-admin: allow negative values for --max-size
Nick Erdmann [Wed, 12 Sep 2018 13:56:41 +0000 (15:56 +0200)]
rgw/radosgw-admin: allow negative values for --max-size

Fix regression in e664488e.

Signed-off-by: Nick Erdmann <n@nirf.de>
6 years agogithubmap: update contributors 24232/head
myoungwon oh [Mon, 24 Sep 2018 03:14:20 +0000 (12:14 +0900)]
githubmap: update contributors

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
6 years agoMerge PR #24133 into master
Sage Weil [Sun, 23 Sep 2018 16:17:03 +0000 (11:17 -0500)]
Merge PR #24133 into master

* refs/pull/24133/head:
common/Finisher: convert to ceph::mutex etc
common/ceph_mutex: ceph::{mutex,condition_variable,lock_guard}
common/mutex_debug: take const char * to ctor, and require a name
common/mutex_debug: add lockdep support for recursive_mutex_debug
common/mutex_debug: fix whitespace
common/mutex_debug: refactor to remove intermediate class
common/lockdep: add recursive flag for _will_lock
do_cmake.sh: default to Debug build
.gitignore: ignore build.*/

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomds/MDCache: fix mds internal op missing events time 24163/head
Yanhu Cao [Wed, 19 Sep 2018 02:32:48 +0000 (10:32 +0800)]
mds/MDCache: fix mds internal op missing events time

Fixes: http://tracker.ceph.com/issues/36114
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
6 years agoosd/ECBackend: suppress 'Error -2 reading object' if EC fast reads 24225/head
Sage Weil [Sat, 22 Sep 2018 15:42:20 +0000 (10:42 -0500)]
osd/ECBackend: suppress 'Error -2 reading object' if EC fast reads

When fast reads are enabled, it's possible for the ordering of a shard
read to not be enforced with respect to writes that come after because
the read completes on the primary before all shards reply.  This can lead
to an ENOENT on the non-primary, and an ERR message in the cluster log,
even though everything is fine.  (The reply will go back to the primary
with the error but it will be ignored since the read has completed.)

Suppress the error message so we don't see these ERR messages in the
cluster log during the normal course of events.

Fixes: http://tracker.ceph.com/issues/26972
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24202 into master
Sage Weil [Sat, 22 Sep 2018 15:28:39 +0000 (10:28 -0500)]
Merge PR #24202 into master

* refs/pull/24202/head:
mon/MonClient: fix wait for monmap+config is non-cephx case

Reviewed-by: Mark Nelson <mnelson@redhat.com>
6 years agoMerge PR #24217 into master
Sage Weil [Sat, 22 Sep 2018 15:27:41 +0000 (10:27 -0500)]
Merge PR #24217 into master

* refs/pull/24217/head:
osd/PG.cc: silence "-Wsign-compare" warnings

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #24220 into master
Sage Weil [Sat, 22 Sep 2018 15:26:53 +0000 (10:26 -0500)]
Merge PR #24220 into master

* refs/pull/24220/head:
test/objectstore: set pool for fsck test

Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #24157 into master 24223/head
Patrick Donnelly [Fri, 21 Sep 2018 20:01:14 +0000 (13:01 -0700)]
Merge PR #24157 into master

* refs/pull/24157/head:
qa: cleanup parallel execution of fsstress

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agogithubmap: update contributors
Patrick Donnelly [Fri, 21 Sep 2018 20:01:13 +0000 (13:01 -0700)]
githubmap: update contributors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24207 into master
Patrick Donnelly [Fri, 21 Sep 2018 18:55:42 +0000 (11:55 -0700)]
Merge PR #24207 into master

* refs/pull/24207/head:
script/ptl-tool.py: fix BASE_PATH

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa: cleanup parallel execution of fsstress 24157/head
Patrick Donnelly [Tue, 18 Sep 2018 21:57:05 +0000 (14:57 -0700)]
qa: cleanup parallel execution of fsstress

Two instances of fsstress clobber each other. Just build it in the local sandbox.

Fixes: http://tracker.ceph.com/issues/24177
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>