Commit Graph

89258 Commits

Author SHA1 Message Date
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
Noah Watkins
a087e417d0 qa/tasks/mgr: whitelist insights warning
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2018-08-24 10:45:40 -07:00
Noah Watkins
b693af6b49 doc: clarify use of insights health pruning
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-21 16:48:19 -07:00
Noah Watkins
cdfc2e70df qa/tasks/mgr: do not enable always-on module
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-21 16:25:05 -07:00
Noah Watkins
3d96b2faaa qa/tasks/mgr: add tests for insights module
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-16 15:29:46 -07:00
Noah Watkins
bc13558c4a mgr/selftest: set insights now offset
provides a testing interface for setting an offset value applied to the
current wall clock time to help make testing the insights health
collection easier.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-16 15:29:46 -07:00
Noah Watkins
88ecec10f8 mgr/selftest: interface for testing health checks
Adds an interface used to set/clear health checks. This is being added
for use in testing health history tracking in the insights module.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-16 15:29:46 -07:00
Noah Watkins
226bfe7477 doc: add insights module documentation
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-16 15:29:46 -07:00
Noah Watkins
66977290a0 mgr/insights: add unit tests
wired up to make check

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-16 15:24:01 -07:00
Noah Watkins
10fb6e8874 mgr/insights: add insights reporting plugin
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2018-08-16 15:24:01 -07:00
Patrick Donnelly
acd02343f4
Merge PR #23551 into master
* refs/pull/23551/head:
	qa: use recent kernel to kernel build testing

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-16 09:57:27 -07:00
Jason Dillaman
a5302e18ff
Merge pull request #23608 from tchaikov/wip-librbd-test
test/librbd: fix -Wsign-compare warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-16 12:43:04 -04:00
Patrick Donnelly
f0fe0936e6
qa: use recent kernel to kernel build testing
Fixes: http://tracker.ceph.com/issues/24679

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-16 09:16:39 -07:00
Patrick Donnelly
f0800a49ed
Merge PR #23597 into master
* refs/pull/23597/head:
	qa: add cephfs-shell skeleton test case

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-16 09:14:11 -07:00
Patrick Donnelly
0b5df6e00a
qa: add cephfs-shell skeleton test case
Right now just tests that "help" works.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-16 09:13:36 -07:00
Matt Benjamin
d12c72cf4c
Merge pull request #21286 from joke-lee/wip-auth-uri-encode-decode
rgw:  should recode  canonical_uri when caculate s3 v4 auth
2018-08-16 11:58:14 -04:00
Yuri Weinstein
d3385fc6bb
Merge pull request #23533 from wjwithagen/wjw-fix-random_shuffle
osd: make random shuffle comply with C++17

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-16 08:09:21 -07:00
Yuri Weinstein
dbed62b323
Merge pull request #23547 from yaozongyou/mon-get-rank
mon/MonMap: remove duplicate code in get_rank

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-08-16 08:06:16 -07:00
Kefu Chai
fa43fc0ca7 test/librbd: fix -Wsign-compare warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-16 22:53:27 +08:00
Lenz Grimmer
0feccf0ca9
Merge pull request #23445 from ricardoasmarques/wip-rbd-actions-disable
mgr/dashboard: Disable RBD actions during task execution

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-08-16 15:55:11 +02:00
Kefu Chai
5a2b1af273
Merge pull request #23485 from javacruft/misc-32bit-fixes
build: 32 bit architecture fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-16 20:57:59 +08:00
Kefu Chai
7a25929687
Merge pull request #23581 from JiYou/fix.examples.Makefile
examples/Makefile: add -Wno-unused-parameter to avoid compile error

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-16 20:17:13 +08:00
Kefu Chai
d9efc5aa63
Merge pull request #23600 from wjwithagen/wjw-fix-freebsd-manual
doc: fix/cleanup freebsd osd disk creation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-16 18:13:33 +08:00
Willem Jan Withagen
8e4b277367 doc: fix/cleanup osd disk creation
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-16 11:12:36 +02:00
Ji You
1803671166 examples/Makefile: add -Wno-unused-parameter to avoid compile error
Signed-off-by: You Ji <youji@ebay.com>
2018-08-15 18:20:17 -07:00
Patrick Donnelly
de86952aca
Merge PR #23592 into master
* refs/pull/23592/head:
	tools/cephfs-shell:used cmd2 inbuilt colorize method instead of colorama

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-15 12:17:11 -07:00
Pavani Rajula
5eac53c659 tools/cephfs-shell:used cmd2 inbuilt colorize method instead of colorama
Signed-off-by: Pavani Rajula <rpavani1998@gmail.com>
2018-08-15 20:47:20 +05:30
Kefu Chai
760e4718db
Merge pull request #23580 from tchaikov/wip-man-page-parse-desc
man: skip directive starting with ".."

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-08-15 16:48:46 +08:00
Kefu Chai
ad93d71c8f man: skip directive starting with ".."
the target definition of hyper link looks like:

.. _a-reference-label:

there is chance that we need to add `:ref:` referencing man pages,
and add target definition at the beginning of the manapges for the
references. in that case, we need to skip the ref directives when
looking for the title of the manpage.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-15 13:28:54 +08:00
Kefu Chai
4cf9e35cf5
Merge pull request #23564 from falcon78921/wip-docs-links-1
doc: fixed broken urls

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-15 11:46:28 +08:00
Sage Weil
b0b616df7b Merge PR #23240 into master
* refs/pull/23240/head:
	qa/suites/rados, qa/workunits/rados: Add suite/workunit for ceph-crash
	add ceph-crash service
	common/options: enable mgr 'crash' module by default
	global/signal_handler: add 'done' file to signal crashdump is ready

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-14 20:31:29 -05:00
Jason Dillaman
7b5dce63c4 Merge pull request #15831 from trociny/wip-18430-1
librbd: support migrating images with minimal downtime

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-14 19:05:13 -04:00
Mykola Golub
dbc32361ef librbd: drop snap lock before sending copyup request
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
d3d3b51b8d librbd: restart object deep copy with flatten
if copyup request was appended with non empty writes when the deep
copy was in flight.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
fccaa4838f librbd: update in-memory migration snap map after creating snap
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
57ee7e1491 librbd: AsyncOperation may not be reused
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
59336a5dea librbd: migrate: skip update object map for snaps that don't overlap
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
96e6639b13 librbd: don't update object map if object deep copy returned ENOENT
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
1cfbf1ec65 librbd: open migration image parent and store its pointer in ImageCtx
Use the pointer in copyup and migrate requests, when deep copying an
object.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
894ffca543 librbd: use 'open snap by id' in clone request
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
09d2f2265f librbd: use 'open snap by id' in deep copy image copy request
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
c04bd3df46 librbd: use 'open snap by id' in refresh parent request
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
5065dd8fa0 librbd: allow to open snapshot by id
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Jason Dillaman
4c8731fe3c librbd: separate read vs write migration parent overlaps
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Jason Dillaman
178aaa03b1 librbd: corrected usage of ImageState::open flag parameter
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-08-14 18:29:45 -04:00
Jason Dillaman
210ea0cb76 librbd: migration should keep parent linkage by default
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-08-14 18:29:45 -04:00
Jason Dillaman
b498aa0380 librbd: move shared common clone parent logic to state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-08-14 18:29:45 -04:00
Jason Dillaman
91d6ac1121 librbd: normalize clone state machine method names and debug logs
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
b13784ed9e librbd: update executing state description with migration % complete
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
Mykola Golub
72df087dbd rbd: make status show migration details if it is in progress
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00