Commit Graph

90241 Commits

Author SHA1 Message Date
songweibin
680e86e6fb librbd: add group snap rollback method
Fixes: http://tracker.ceph.com/issues/23550

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-09-12 23:42:14 +08:00
Adam C. Emerson
9e90c01310 cephfs: Do not catch polymorphic exception by value
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 11:37:28 -04:00
Adam C. Emerson
c29e7898a9 crush: Quell unused variable warnings
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-12 11:37:28 -04:00
Alfredo Deza
04a40eda0a ceph-volume lvm.batch.validators account for osds per device, include collocation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-12 11:35:41 -04:00
Alfredo Deza
028ef60df7 ceph-volume lvm.batch.bluestore allow osds-per-device with MixedType
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-12 11:35:41 -04:00
Kefu Chai
cdfcb0f107
Merge pull request #24042 from liewegas/wip-merge-derr
osd: remove stray derr

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-12 23:34:48 +08:00
Kefu Chai
748b7edd47
Merge pull request #23996 from mogeb/fmt-cmake
cmake: fix version matching for Findfmt

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-12 23:32:53 +08:00
Kefu Chai
1578875194
Merge pull request #24013 from dzafman/wip-35845
test: Use a grep pattern that works across releases

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-12 23:00:39 +08:00
Mykola Golub
e1508c0de8
Merge pull request #24045 from dillaman/wip-35702
librbd: fixed assert when flattening clone with zero overlap

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-09-12 17:48:15 +03:00
Lenz Grimmer
e03d228ab0
Merge pull request #24030 from LenzGr/mgr-dashboard-documentation
doc: Updated Mgr Dashboard documentation

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-09-12 16:01:29 +02:00
John Spray
f9d57a0b55
Merge pull request #24055 from sebastian-philipp/kubejacker-opensuse-mimic
script/kubejacker: Add openSUSE based images

Reviewed-by: John Spray <john.spray@redhat.com>
2018-09-12 11:25:44 +01:00
Sebastian Wagner
143b8a7370 script/kubejacker: Add openSUSE based images
* Added executable bit of `kubejacker.sh`.
* Reduced the number of `RUN` commands
* Added zypper commands for SUSE.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-09-12 10:32:53 +02:00
Patrick Nawracay
079cfeae4d mgr/dashboard: Cleanup
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-09-12 10:16:54 +02:00
Patrick Nawracay
49ab1315a3 mgr/dashboard: Fix flaky QA tests
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-09-12 10:16:54 +02:00
Jos Collin
1485e86a2c
doc: update mds stat output
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-09-12 10:27:22 +05:30
Jason Dillaman
8e90354433 librbd: fixed assert when flattening clone with zero overlap
Fixes: http://tracker.ceph.com/issues/35702
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-11 21:52:05 -04:00
xie xingguo
6d8d20a55b mon/OSDMonitor: reject pg_num -> 0
Otherwise it will finally crash the mgr process:
```
-2> 2018-09-11 16:23:31.272 7ff521d59700 -1 /clove/xxG/ceph/src/osd/osd_types.cc: In function 'pg_t pg_t::get_parent() const'
 thread 7ff521d59700 time 2018-09-11 16:23:31.272096
/clove/xxG/ceph/src/osd/osd_types.cc: 587: FAILED ceph_assert(bits)
```

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-12 08:58:10 +08:00
Jason Dillaman
d43ff1caf3
Merge pull request #23941 from trociny/wip-23445
librbd: flatten operation should use object map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-11 20:49:28 -04:00
Jason Dillaman
722724e829
Merge pull request #22675 from nuyhah/fix_block_name_prefix
librbd: block_name_prefix is not created randomly

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-11 20:48:23 -04:00
Jason Dillaman
72b9179dea
Merge pull request #23790 from iridescent-rsy/myfix
librbd: remove template declaration of a non-template function

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-11 20:48:08 -04:00
Jason Dillaman
c74432d031
Merge pull request #23853 from zy751713126/add_protect_snapshot_list
rbd: add protected in snap list

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-11 20:47:52 -04:00
Jason Dillaman
bd97964b0e
Merge pull request #24009 from trociny/wip-test-migration-other-pool
test/librbd: migration tests did not delete additional pool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-11 20:46:02 -04:00
David Zafman
f6394d8892 tools: ceph-objectstore-tool: Allow target level as first positional param
Maintain compatibility with --arg1 specification

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-11 17:33:03 -07:00
Sage Weil
4ed67996a3 osd: remove stray derr
This was debug output that crept into the final commit.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-11 16:25:41 -05:00
hyun-ha
be8373688c librbd: block_name_prefix is not created randomly
fixes: http://tracker.ceph.com/issues/24634
Signed-off-by: hyun ha hyun.ha@navercorp.com
2018-09-11 15:28:14 -04:00
Sage Weil
3ccbec71ae mon/PGMap: allow 'pg ls unknown'
"unknown" is annoying because it is 0 and needs a special case.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-11 14:01:22 -05:00
John Spray
86f3bcffa6
Merge pull request #23702 from Rubab-Syed/rgw-orchestrator-rook
mgr/orchestrator: Add RGW service support

Reviewed-by: John Spray <john.spray@redhat.com>
2018-09-11 19:36:26 +01:00
Sage Weil
64a046a078 mon/PGMap: include unknown PGs in 'pg ls [all]'
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-11 13:28:49 -05:00
Patrick Donnelly
39abfb4007
Merge PR #23908 into master
* refs/pull/23908/head:
	client: retry remount on dcache invalidation failure

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-09-11 11:27:23 -07:00
Patrick Donnelly
6df4d58037
Merge PR #23691 into master
* refs/pull/23691/head:
	client:two ceph-fuse client, one can not list out files created by another.

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-09-11 11:26:31 -07:00
Patrick Donnelly
bdd41451db
Merge PR #23323 into master
* refs/pull/23323/head:
	client: set f_files to the total number of files in the filesystem

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-11 11:24:50 -07:00
Patrick Donnelly
da426f6233
Merge PR #23314 into master
* refs/pull/23314/head:
	mds: include session uptime when diplaying session list
	mds: track average uptime of sessions

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-11 11:22:40 -07:00
Jason Dillaman
640bbd9593
Merge pull request #23954 from zy751713126/clear_snap_limit
rbd: simplified code to remove do_clear_limit function
2018-09-11 14:22:14 -04:00
Patrick Donnelly
a3d27182b8
Merge PR #23198 into master
* refs/pull/23198/head:
	mds: optimize acquiring locks
	mds: reduce memory fragments of EMetaBlob
	mds: optimize memory allocation in CInode::encode_inodestat
	mds: convert MDSCacheObject::ref_map to flat_map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-11 11:15:44 -07:00
Patrick Donnelly
63ca9c00e1
Merge PR #23199 into master
* refs/pull/23199/head:
	script: backport-create-issue: optionally take list of issue numbers

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-11 10:56:22 -07:00
Patrick Donnelly
e78115ef3b
Merge PR #23728 into master
* refs/pull/23728/head:
	doc: suppored features of kernel client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-11 10:44:04 -07:00
Radoslaw Zarzynski
f654edeadc common: drop the unused buffer::raw_mmap_pages.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-09-11 19:25:39 +02:00
Patrick Donnelly
c4c788db31
Merge PR #23824 into master
* refs/pull/23824/head:
	doc/cephfs: add notes on application best practices

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-11 10:14:20 -07:00
Nathan Cutler
fd243ee88f script: backport-create-issue: optionally take list of issue numbers
Make the script optionally take a comma-separated list of issue numbers.
(Could be just one issue.)

Before this patch, backport-create-issue script insisted on looping over all
issues in Pending Backport status. This was cumbersome in cases when only
one issue (or a couple issues) needed to be processed.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-09-11 18:57:51 +02:00
Sage Weil
c3e2990c39 osd/PG: avoid choose_acting picking want with > pool size items
If the pool size recently changed, we might see an up that is larger than
the pool size.  Or, we might already have selected a primary that is not
part of up, and then add all up osds and end up with a want that is too
big.

Fixes: http://tracker.ceph.com/issues/35924
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-11 11:12:22 -05:00
Matt Benjamin
c427b100c8
Merge pull request #21379 from pritha-srivastava/wip-rgw-user-policy
rgw: User Policy
2018-09-11 12:10:28 -04:00
Alfredo Deza
8c0e707110 ceph-volume lvm.batch.bluestore allow osds-per-device with SingleType
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-11 11:56:03 -04:00
Alfredo Deza
fe7c5e0129 ceph-volume lvm.batch add --osds-per-device flag, defaulting to 1
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-11 11:56:03 -04:00
John Spray
0551d0e14b
Merge pull request #23497 from noahdesu/insights
mgr/insights: insights reporting module

Reviewed-by: John Spray <john.spray@redhat.com>
2018-09-11 15:56:10 +01:00
John Spray
b18bee1b19
Merge pull request #23146 from jcsp/wip-progress
mgr/progress: improve+test OSD out handling

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2018-09-11 15:37:51 +01:00
Lenz Grimmer
f2a4eacf2b
Merge pull request #23897 from votdev/improve_delete_modal
mgr/dashboard: Make deletion dialog more touch device friendly

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-09-11 16:37:15 +02:00
Lenz Grimmer
7f2f16e4c4
Merge pull request #24016 from votdev/bug_35907
mgr/dashboard: Progress bar does not stop in TableKeyValueComponent

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-09-11 16:28:16 +02:00
Sage Weil
e495ef0268 Merge PR #22987 into master
* refs/pull/22987/head:
	common,rgw: rename sha1_digest_t
	osd: decrement old chunk's reference count if the chunk has a reference.
	src/test: add a unit test
	osd: using fingerprint OID if fingerprint is set
	osd: add flag interfaces in chunk_info_t
	common/buffer.cc: add sha1 fingerprint
	osd: add fingerprint property
	mon: add a command to set fingerprint algorithm
2018-09-11 09:27:51 -05:00
Sage Weil
57f307b682 Merge PR #24006 into master
* refs/pull/24006/head:
	osd/OSD: clear ping_history on heartbeat_reset
	mon/OSDMonitor: share new maps with even non-active osds

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-11 09:27:34 -05:00
Sage Weil
ecc9564fbb Merge PR #24010 into master
* refs/pull/24010/head:
	osd/OSD: kick right merge source
	mgr/DaemonServer: split should respect inflight creating pgs

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-11 09:27:17 -05:00