Commit Graph

90449 Commits

Author SHA1 Message Date
Kefu Chai
5e003e573a
Merge pull request #23992 from badone/wip-librados-client-unique-ptr-compile-error
librados: Include memory for unique_ptr definition

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-11 20:27:36 +08:00
Kefu Chai
510d9e1345
Merge pull request #23723 from xiexingguo/wip-list-missing
osd/PrimaryLogPG: rename list_missing -> list_unfound command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-11 20:25:21 +08:00
Kefu Chai
fb80f5b1b7
Merge pull request #23921 from croit/fix-35544
osd/OSDMap: add osd status to utilization dumper

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-11 20:23:56 +08:00
Kefu Chai
91a7bb431c
Merge pull request #23488 from xiaomanh/master
tools: correct the description of Allowed options in osdomap tool

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-11 20:23:27 +08:00
Lenz Grimmer
4c61c67fa5 doc: Updated Mgr Dashboard feature description, added references
Reworded the description of the user/role management feature, clarified
that it can be configured on both the CLI and the WebUI. Added labels for
referencing the user/role management and SSL configuration sections.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-09-11 14:12:04 +02:00
Volker Theile
4574407a9e mgr/dashboard: Make deletion dialog more touch device friendly
* Refactor deletion dialog
* Add directives.module.ts to be able to use 'autofocus' in deletion dialog

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-11 13:05:31 +02:00
Volker Theile
0035bb0831 mgr/dashboard: Catch LookupError when checking the RGW status
This exception is thrown by the RGW client function _determine_rgw_addr(). Without catching that exception a 'The server encountered an unexpected condition which prevented it from fulfilling the request.' will be displayed in the UI instead of displaying a notification panel with a hint that the Object Gateway is not running.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-11 12:48:55 +02:00
John Spray
46a74a07d9 qa: add task for progress module
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
09f5f9e1eb qa: add 4th OSD to mgr test cluster
This is useful for testing progress module.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
5ecd69099d qa: add tests for progress module
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
dde10a0b6e mgr/progress: no progress event on unmoved pgs
PGs may not be moved on osd out, if there is no suitable
location for them to move to.  In this situation
it doesn't make sense to have a progress event, as the
health warnings adequately communicate the situation.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
51691d84b9 mgr/progress: fix PgRecoveryEvent completion cases
The event was previously not getting moved to the completed
list.  There are a couple more cases too:
 - When some pgs go away (a pool is removed) during the event
 - When the OSD comes back in after going out

Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
John Spray
5c071a61f4 mgr: expose osdmap pg_to_up_acting_osds
It's not efficient to have python calling this
O(pg_num) times to find the pgs for an OSD, but
I'm just shooting for something functional for now.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-11 11:21:35 +01:00
Lenz Grimmer
a0c6b83334
Merge pull request #23910 from votdev/improve_autofocus_directive
mgr/dashboard: Refactor autofocus directive

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-09-11 11:56:56 +02:00
zhengyin
76673a76d7 rbd: add protected in snap list
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2018-09-11 05:17:19 -04:00
Kefu Chai
e96e507874
Merge pull request #23752 from ifed01/wip-ifed-fix-garbage-test
os/tests: fix garbageCollection test case from store_test suite.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-11 17:10:37 +08:00
Xie Xingguo
54b6ce1ae2
Merge pull request #24021 from libingyang-zte/master
doc: Fix Spelling Error of Radosgw

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-11 16:47:48 +08:00
李丙洋 10208981
53feb4ad4e doc: Fix Spelling Error of Radosgw
Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
2018-09-11 15:30:20 +08:00
Yan, Zheng
920ef96431 mds: prevent rctime from going back
Fixes: http://tracker.ceph.com/issues/35916
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-09-11 10:56:42 +08:00
Paul Emmerich
cffcbc73aa os/bluestore: handle spurious read errors
Some kernels (4.9+) sometime fail to return data when reading
from a block device under memory pressure. This patch retries
the read if the checksum verification fails, tests show that
the first retried read succeeds in ~99.5% of the cases, so
3 attempts are made by default before giving up on the data.

Works-around: http://tracker.ceph.com/issues/22464
Signed-off-by: Paul Emmerich <paul.emmerich@croit.io>
2018-09-10 22:54:45 +00:00
Noah Watkins
5c2615e3d7 qa/tasks/mgr: whitelist insights test health checks
these drive health history tracking tests.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-09-10 15:02:49 -07:00
David Zafman
050a4bb20e test: Allow directory specified to run-standalone.sh
Fixes: http://tracker.ceph.com/issues/35912

Example:
cd build
../qa/run-standalone.sh scrub

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-10 12:23:11 -07:00
David Zafman
6e3f04365f test: Trap termination so we can capture logs on teuthology timeout
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-10 12:23:07 -07:00
vasukulkarni
10f1c4c9de
Merge pull request #23602 from smanjara/wip-test-netem
qa: Task to emulate network delay and packet drop between two given h…
2018-09-10 09:57:10 -07:00
Tianshan Qu
2d38306e93 rgw: async sync_object and remove_object does not access coroutine memory
Fixes: http://tracker.ceph.com/issues/35905

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
2018-09-11 00:53:52 +08:00
Volker Theile
7243d9b67d mgr/dashboard: Progress bar does not stop in TableKeyValueComponent
Fixes: https://tracker.ceph.com/issues/35907

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-10 18:29:05 +02:00
Alfredo Deza
9ca5263362 ceph-volume tests.util verify Disk objects don't change state with divisions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 12:28:57 -04:00
Alfredo Deza
7d1a3c7424 ceph-volume util.disk fix an issue where Disk objects would mutate on div operations
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 12:18:49 -04:00
Alfredo Deza
860068ec5d ceph-volume util.prepare add a helper to get block.db sizes from ceph.conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 12:09:50 -04:00
Alfredo Deza
0eb0bdfc55 ceph-volume lvm.batch.bluestore add TODOs for custom fast/slow devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 12:09:15 -04:00
Alfredo Deza
d117d66903 -f ceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 12:08:35 -04:00
John Spray
1ee21323ad mon: remove pre-luminous health output compatibility
As of nautilus, this will be more than two versions old:
external tooling should have been updated by now.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-10 16:39:58 +01:00
David Zafman
dc80f8585a test: Use a grep pattern that works across releases
Fixes: http://tracker.ceph.com/issues/35845

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-10 08:21:36 -07:00
John Spray
8279d8713e doc/cephfs: add notes on application best practices
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-10 15:53:42 +01:00
Sage Weil
d71258495e
Merge pull request #23997 from batrick/multimds-qa-broken-symlink
qa: fix symlink
2018-09-10 09:26:12 -05:00
Sage Weil
3a34c9ee38 Merge PR #23965 into master
* refs/pull/23965/head:
	doc/dev/msgr2: better formatting
	doc/dev/msgr2: clarify padding alignment
	doc/dev/msgr2: tweak message flow handshake
	doc/dev/msgr2: remove stream concept, streamline auth

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-09-10 09:23:32 -05:00
Mohamad Gebai
872d909d22 cmake: fix version matching for Findfmt
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2018-09-10 10:22:24 -04:00
Alfredo Deza
267a386cc2 ceph-volume lvm.batch fix error reporting, Device objects aren't strings
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 09:17:11 -04:00
Alfredo Deza
27f47565a0 ceph-volume lvm.batch.bluestore validation and reporting with VG reuse
Reworks the bluestore validation and reporting to account for reusable
VGs from fast devices, and adds validation calls to ensure the new way
to calculate this process will work.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 09:17:11 -04:00
Alfredo Deza
71fcd35c3d ceph-volume lvm.batch.filestore capture SizeAllocationErrors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 09:17:11 -04:00
Alfredo Deza
d2ea49a4e6 ceph-volume lvm.batch make sure data devices don't have existing LVs on bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-10 09:17:11 -04:00
Mykola Golub
40af4f87b6 librbd: flatten operation should use object map
If the object is known to exist in the image, the copy-up operation
can be skipped for that object.

Fixes: http://tracker.ceph.com/issues/23445
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-10 16:14:03 +03:00
Mykola Golub
4c86bccf07 librbd: add object_may_not_exist helper
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-10 16:14:03 +03:00
Casey Bodley
dfc1c78889
Merge pull request #21271 from cbodley/wip-rgw-beast-async
rgw: beast frontend reworks pause/stop and yields during body io

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-09-10 09:05:57 -04:00
Sage Weil
4d2a73c7f1 Merge PR #23845 into master
* refs/pull/23845/head:
	osd/OSDMap: include age in up and in counts for ceph status
	mon/OSDMonitor: set new_last_{up,in}_change
	osd/OSDMap: store last_up_change and last_in_change
	mgr/MgrMap: include mgr age in map printer
	mon/MgrMap: track active_changed timestamp
	mon: include mon quorum age in status
	include/utime: add utimespan_str helper

Reviewed-by: John Spray <john.spray@redhat.com>
2018-09-10 07:45:58 -05:00
Sage Weil
ff826e69c7 Merge PR #23949 into master
* refs/pull/23949/head:
	mon/OSDMonitor: invalidate max_failed_since on cancel_report

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-10 07:41:44 -05:00
Sage Weil
838958daa4 Merge PR #23968 into master
* refs/pull/23968/head:
	dout: add basic prefix providers
	dout: add DoutPrefixPipe for composing prefix providers

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-10 07:41:25 -05:00
Sage Weil
9f30b12e39 Merge PR #23971 into master
* refs/pull/23971/head:
	cls/numops: fix cls_numops.cc log add to mul

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-10 07:41:03 -05:00
Sage Weil
f9d45d06f9 Merge PR #23975 into master
* refs/pull/23975/head:
	common/buffer.cc: add create_small_page_aligned to avoid mem waste when apply for small mem in big page size(e.g. 64k) OS

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-09-10 07:40:37 -05:00
Lenz Grimmer
51604c6c78
Merge pull request #23939 from votdev/bug_35685
mgr/dashboard: Fix bug in user form when changing password

Reviewed-by: Stephan Müller <smueller@suse.com>
2018-09-10 14:29:24 +02:00