Commit Graph

90375 Commits

Author SHA1 Message Date
Brad Hubbard
d109015436 doc/releases: Mark Mimic first release as June
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-09-14 15:05:52 +10:00
Brad Hubbard
5009d9ecc6 Rename "include/assert.h"
This conflicts with the system assert.h so rename and change includes to
reflect the new name.

Fixes: http://tracker.ceph.com/issues/35682

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-09-14 14:22:00 +10:00
Xie Xingguo
4e5ee667ce
Merge pull request #24094 from libingyang-zte/master
doc: Fix Typos of Developer Guide

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-14 10:46:48 +08:00
李丙洋 10208981
d1a38aa1ae doc: Fix Typos of Developer Guide
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-14 09:23:22 +08:00
Brad Hubbard
b29c65623f mgr: Change signature of PyString_AsString to match return
PyUnicode_AsUTF8 now returns 'const char*'

Fixes: http://tracker.ceph.com/issues/35984

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-09-14 10:10:40 +10:00
Radoslaw Zarzynski
99e2c431f1 common: drop RefCountObject.cc and improve inlineability.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-09-14 00:50:07 +02:00
Radoslaw Zarzynski
e8221ceb32 common: drop is_page_aligned() of buffer::raw entirely.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-09-13 22:54:24 +02:00
David Zafman
ef6940fbb6 test: osd-backfill-stats.sh: Fix subtests to get primary which can change
Fixes: http://tracker.ceph.com/issues/35982

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-13 13:19:23 -07:00
David Zafman
6d53e2c380 test: Fix for error message changed in ceph-objectstore-tool
Fixes: http://tracker.ceph.com/issues/35982

Caused by: 6bd682f53d

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-13 13:19:11 -07:00
Radoslaw Zarzynski
3be42db16e common: drop/mark-as-final getters of buffer::raw for palign.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-09-13 22:01:36 +02:00
Sage Weil
0bd2546eac osd/osd_types: fix pg_t::contains() to check pool id too
This is used by bluestore fsck to ensure we're looking at the right
collection.  It needs to validate both that the pool id matches the
object (including the temp objects) and that the hash matches; we were
only checking the hash before.

Fixes: http://tracker.ceph.com/issues/32731
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-13 13:31:40 -05:00
Mykola Golub
ad9fc49776
Merge pull request #23896 from Songweibin/wip-group-snap-rollback
rbd: add group snap rollback method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-09-13 19:35:10 +03:00
Andrew Schoen
641ff5e7c7
Merge pull request #24077 from alfredodeza/wip-rm35970
ceph-volume  fix zap not working with LVs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-13 10:29:54 -05:00
Igor Fedotov
50919813a1 os/bluestore: fix bloom filter num entry miscalculation in the repairer
This could  cause an assertion due to an access to uninitialized bloom
filter. This happened  when detecting errors involving physical extents close to the end of a large partition.
E.g. it was observed in http://tracker.ceph.com/issues/25001 while trying to repair an OSD.

Fixes: https://tracker.ceph.com/issues/35971

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-09-13 17:24:26 +03:00
Alfredo Deza
11858c74a1 ceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-13 10:03:06 -04:00
Alfredo Deza
87af815691 ceph-volume tests.functional use --destroy when zapping lvs in bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-13 10:00:37 -04:00
Jason Dillaman
d3a1a831ac qa/workunits/rbd: new test for rbd-mirror peer config-key secrets
Fixes: http://tracker.ceph.com/issues/24688
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-13 09:58:34 -04:00
Jason Dillaman
900e30d1bb doc/rbd: update mirroring to include new peer secret config-key actions
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-13 09:58:34 -04:00
Jason Dillaman
5e768d5d18 mon: added bootstrap-rbd-mirror/rbd-mirror mon profiles
The rbd-mirror daemon will require permission to read config-keys
from the "rbd/mirror/" prefix. These new profiles (and the new
associated bootstrap-rbd-mirror user) provide the required
permissions.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-13 09:58:34 -04:00
Jason Dillaman
58bddd6212 rbd: mirror pool peer commands now support mon_host/key overrides
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-13 09:58:33 -04:00
Kefu Chai
59e6fbbe70
Merge pull request #24024 from p-na/fix-flaky-qa-tests
mgr/dashboard: Fix flaky QA tests

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-09-13 21:52:35 +08:00
Alfredo Deza
036683fde7 ceph-volume lvm.zap use remove_pv only for physical devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-13 09:34:54 -04:00
Casey Bodley
39f8375aee
Merge pull request #23660 from falcon78921/wip-multisite-docs
doc: updated multisite documentation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-13 08:53:59 -04:00
Kefu Chai
b61afd73e4
Merge pull request #23995 from tchaikov/wip-add-ceph-libboost-repo
install-deps,run-make-check: use ceph-libboost repo

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
2018-09-13 19:40:26 +08:00
myoungwon oh
6ca2789a80 src/common: add a unit test (bufferlist.sha1())
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-09-13 17:07:45 +09:00
Xie Xingguo
d53dd387af
Merge pull request #24067 from libingyang-zte/master
doc: Fix typos in Developer Guide

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-13 12:12:47 +08:00
myoungwon oh
b8685d8552 osd, src/common: return sha1 value if zero-length buffer.
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-09-13 11:34:15 +09:00
李丙洋 10208981
da96cc919c doc: Fix Spelling Error in Developer Guide
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-13 09:17:46 +08:00
Kefu Chai
3f93c42727
Merge pull request #23919 from adamemerson/wip-end-to-warnings
Clean up warnings

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-13 09:04:15 +08:00
David Zafman
7f83a24553
Merge pull request #24018 from dzafman/wip-35912
qa/standalone: Minor test improvements

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-12 13:15:44 -07:00
Andrew Schoen
4a46abd901
Merge pull request #24060 from alfredodeza/wip-rm35913
ceph-volume batch: allow --osds-per-device, default it to 1

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-12 14:55:11 -05:00
Patrick Donnelly
644a535ee6
qa: extend timeout for SessionMap flush
Fixes: https://tracker.ceph.com/issues/24129

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-12 12:52:00 -07:00
Alfredo Deza
d1d68eade5 ceph-volume tests.lvm.strategies initial filestore validation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-12 14:58:52 -04:00
Alfredo Deza
9f14db4323 ceph-volume lvm.tests conftest fixtures for custom vgs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-12 14:58:51 -04:00
Alfredo Deza
2ced05a2bc ceph-volume tests.devices.lvm add bluestore strategy cases
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-12 14:58:51 -04:00
Alfredo Deza
9167f76c2a ceph-volume tests verify strategy validators for minimum size
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-12 14:58:51 -04:00
Alfredo Deza
66947537b5 ceph-volume lvm.batch.filestore allow osds-per-device
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-12 14:58:51 -04:00
Jason Dillaman
a7fd06637a rbd-mirror: connect to remote cluster using optional mon_host/key values
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-12 14:25:02 -04:00
Jason Dillaman
f1eb1c1992 rbd-mirror: prevent creation of clones when parents are syncing
This will prevent a possible race condition where a thrashing rbd-mirror
daemon in mid-sync with a parent image would result in the deletion of
all snapshots when it restarts the sync.

Fixes: http://tracker.ceph.com/issues/24140
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-12 14:04:49 -04:00
Adam C. Emerson
89ed654391 cls_cas: Fix format string warning
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 13:02:18 -04:00
Sage Weil
4591f134c8 Merge PR #24025 into master
* refs/pull/24025/head:
	mon/OSDMonitor: reject pg_num -> 0

Reviewed-by: huangjun <huangjun@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-12 11:51:58 -05:00
Sage Weil
1266d5ceb8 Merge PR #21611 into master
* refs/pull/21611/head:
	osd/ECBackend: don't get result code of subchunk-read overwritten

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-09-12 11:47:13 -05:00
Sage Weil
bd084f8ac1 Merge PR #23273 into master
* refs/pull/23273/head:
	os/bluestore: handle spurious read errors

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-09-12 11:46:56 -05:00
Sage Weil
a497276c33 Merge PR #23694 into master
* refs/pull/23694/head:
	mon: remove pre-luminous health output compatibility

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-12 11:46:42 -05:00
Adam C. Emerson
05dd8866a8 test: Remove unused variable
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 12:41:40 -04:00
Adam C. Emerson
169e8ee22b mds: Remove pessimizing move
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 12:41:40 -04:00
Adam C. Emerson
4f6efd5917 test: Silence unused capture warnings
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 12:41:40 -04:00
Adam C. Emerson
ee32a4c905 test: Fix sprintf overflow warning
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 12:41:40 -04:00
Adam C. Emerson
d1aa821f2f test: Quell unused variable warnings
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 12:41:40 -04:00
Adam C. Emerson
55b011a3c7 test: Fix sign comparison warnings
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 12:41:40 -04:00