Commit Graph

99628 Commits

Author SHA1 Message Date
Sage Weil
ff7813aa14 qa/standalone/scrub/osd-scrub-snaps.sh: adjust expected output
SnapSet now dumps just seq, not a (fake) SnapContext.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 09:55:06 -05:00
Sage Weil
16b9b8f885 osd/SnapMapper: to_raw_key: use hobject pool member, not SnapMapper:pool
Some callers (ceph-objectstore-tool) instantiate SnapMapper with a bogus
pool id (0) and want to use it to adjust mappings.  We have the hobj
available, so use its pool member instead.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 09:55:06 -05:00
Sage Weil
03b9c66080 ceph-objectstore-tool: fix use of SnapSet::snaps
Instead, use clone_snaps to identify clones.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 09:55:06 -05:00
Sage Weil
23eaf7c498 qa/standalone/scrub/osd-scrub-snaps: fix kv grep
SnapMapper keys are now SNA_, not MAP_.

Fixes: http://tracker.ceph.com/issues/40725
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 08:11:21 -05:00
Kefu Chai
30834eaab6
Merge pull request #28766 from liewegas/wip-clean-out-nibblewise
osd/osd_types: drop last_backfill_bitwise member

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-11 18:30:03 +08:00
Kefu Chai
969457d239
Merge pull request #28801 from ideepika/wip-update-dump-historic-ops
osd: add duration field to dump_historic_ops method

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2019-07-11 18:27:52 +08:00
Lenz Grimmer
006b1f31ae
mgr/dashboard: fix icons variable assignment (#28961)
mgr/dashboard: fix icons variable assignment

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-11 12:24:12 +02:00
Lenz Grimmer
c58ca8ea5a
mgr/dashboard: Update bootstrap (#25188)
mgr/dashboard: Update bootstrap

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-11 12:15:20 +02:00
Kefu Chai
4e2288c661
Merge pull request #28797 from simon-rock/simon_bug_fix
mgr/status: fix 'ceph osd status' ZeroDivisionError

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-11 16:12:00 +08:00
Kefu Chai
2debf1d9e2
Merge pull request #28687 from hsiang41/mgr/diskprediction_cloud_service_unavailable
mgr/diskprediction_cloud: Service unavailable

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-11 15:57:59 +08:00
Kefu Chai
cab4a6b559
Merge pull request #28950 from tchaikov/wip-corpus-gen
script,doc: add gen-corpus.sh

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-11 15:32:05 +08:00
Kefu Chai
24c5225e89 doc/dev/corpus.rst: updates to match gen-corpus.sh
* to reference the script to generate corpus
* use qa/workunits/rgw/run-s3tests.sh for producing rgw corpus

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 12:20:18 +08:00
Kefu Chai
ae845c1c6e script: add gen-corpus.sh
to automate generation of ceph-object-corpus objects. it facilitate the
process of cutting a new release

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 12:20:18 +08:00
Brad Hubbard
aeded77aa3
Merge pull request #28070 from badone/wip-lazy-omap-test
Wip lazy omap test

Reviewed-by: Greg Farnum gfarnum@redhat.com
2019-07-11 09:52:12 +10:00
Casey Bodley
466722aaa7
Merge pull request #28949 from adamemerson/wip-40416
Don't crash on copy when metadata directive not supplied

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-10 13:25:45 -04:00
Sage Weil
076eca46fd Merge PR #28940 into master
* refs/pull/28940/head:
	common/config: Remove unused code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-10 10:53:14 -05:00
Tiago Melo
1509668753 mgr/dashboard: Use bootstrap custom-select
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
4a165a9af1 mgr/dashboard: Use ng-bootstrap-form-validation
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
adaac1f3ac mgr/dashboard: Replace awesome-boostrap-checkbox with bootstrap
Fixes: http://tracker.ceph.com/issues/36400

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
67f5e5b18b mgr/dashboard: Switch ng2-toastr for ngx-toastr
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
07f28050db mgr/dashboard: Update bootstrap
Fixes: http://tracker.ceph.com/issues/39326

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:49 +00:00
Lenz Grimmer
67c8a9c5c2
Merge pull request #28863 from votdev/fix_various_issues
mgr/dashboard: Fix issues in user form

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-10 16:56:59 +02:00
Adam C. Emerson
d5a85e681f rgw: Don't crash on copy when metadata directive not supplied
Fixes: http://tracker.ceph.com/issues/40416

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2019-07-10 10:53:24 -04:00
Tatjana Dehler
9058e5a352 mgr/dashboard: fix icons variable assignment
Fixes: https://tracker.ceph.com/issues/40717
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-07-10 16:40:21 +02:00
Lenz Grimmer
c3e98f545a
Merge pull request #28897 from ceph/fix-dashboard-hacking_link
mgr/dashboard: Fix link format to HACKING.rst

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-10 15:50:15 +02:00
Boris Ranto
20aa4ac783
Merge pull request #28372 from pcuzner/add-mgr-metadata
mgr/prometheus: Add mgr metdata to prometheus exporter module

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2019-07-10 07:07:20 +02:00
Sage Weil
f08c521217 Merge PR #28941 into master
* refs/pull/28941/head:
	osd: scrub_purged_snaps: fix log message tense
	osd/SnapMapper: reset iterators at finish of run()
	osd/SnapMapper: drop useless _init()
	osd: do not hold osd_lock while queueing stray purged_snaps
	osd: more debug output during scrub hang

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-09 20:52:19 -05:00
Brad Hubbard
490829c8ea osd: Modify lazy omap stats to only show one copy
Only show stats from the primary to get more in line with other pg stats
representations.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-10 09:34:18 +10:00
Paul Cuzner
8ae471ec69 Add mgr metdata to prometheus exporter module
Add's metadata and status information for the mgr
daemon(s), together with the status of the mgr
modules.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2019-07-10 10:47:34 +12:00
Brad Hubbard
88e9ca58a0 tests: Add test for lazy omap stat collection
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-10 07:53:37 +10:00
Casey Bodley
9aa1eeb37a
Merge pull request #28910 from yuvalif/wip-yuval-pubsub-test-fixes
rgw/pubsub: tests enhancements and fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-09 16:24:56 -04:00
Yuri Weinstein
a2ac7e2f36
Merge pull request #28931 from yuriw/wip-yuriw-40452-master
qa/tests: added ragweed coverage to stress-split* upgrade suites
2019-07-09 12:54:07 -07:00
Yuri Weinstein
695f41952d
Merge pull request #28932 from yuriw/wip-yuriw-40452-master_2
qa/tests: added ragweed coverage to stress-split* upgrade suites
2019-07-09 12:53:52 -07:00
Jianpeng Ma
67964d421e common/config: Remove unused code.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2019-07-10 02:28:04 +08:00
Sage Weil
bb051853fd osd: scrub_purged_snaps: fix log message tense
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-09 12:03:48 -05:00
Sage Weil
f7607512fe osd/SnapMapper: reset iterators at finish of run()
These iterators implicitly hold locks in FileStore, which can lead to a
deadlock if they are still alive and the caller tries to take new locks.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-09 12:03:35 -05:00
Sage Weil
238e740eb8 osd/SnapMapper: drop useless _init()
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-09 11:59:48 -05:00
Sage Weil
8189007378 Merge PR #27965 into master
* refs/pull/27965/head:
	doc: remove recommendation for kernel.pid_max

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-09 11:19:12 -05:00
Sage Weil
a422abec80 Merge PR #17614 into master
* refs/pull/17614/head:
	doc: cover more cache modes in rados/operations/cache-tiering.rst

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-09 10:38:55 -05:00
Nathan Cutler
31f29d796a doc: cover more cache modes in rados/operations/cache-tiering.rst
Fixes: http://tracker.ceph.com/issues/14153
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-07-09 17:06:05 +02:00
Kefu Chai
c1e9351d0d
Merge pull request #28850 from liewegas/wip-40634
mon/AuthMonitor: fix initial creation of rotating keys

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-09 22:20:43 +08:00
Sage Weil
23019cac50 Merge PR #28758 into master
* refs/pull/28758/head:
	mgr/progress: Created first unit test for progress module
	mgr/progress: makes changes to unit test PR
	mgr/progress: Created first unit test for progress module

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-09 08:24:45 -05:00
Sage Weil
a24d9f697a Merge PR #28842 into master
* refs/pull/28842/head:
	test/msgr: make ceph_perf_msgr_client/server work.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-09 08:24:18 -05:00
Sage Weil
9e41cecf71 osd: do not hold osd_lock while queueing stray purged_snaps
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-09 08:12:04 -05:00
Sage Weil
8bd7aa50cd osd: more debug output during scrub hang
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-09 08:10:09 -05:00
Casey Bodley
64cef4caee
Merge pull request #28873 from albIN7/liv3
rgw: fix bugs in listobjectsv1

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-07-09 08:45:05 -04:00
Kefu Chai
e2736ac7d0
Merge pull request #28913 from cyx1231st/wip-seastar-msgr-fix-perfasync
test/crimson: fix interpretability with perf_async_msgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-09 17:20:58 +08:00
Lenz Grimmer
2e1a6d4883
mgr/dashboard: set python binary for teuthology venv (#28914)
mgr/dashboard: set python binary for teuthology venv

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-09 11:01:18 +02:00
albIN7
c9a8e3acb1 rgw: fix bugs in listobjectsv1
Fixes: https://tracker.ceph.com/issues/40663

Signed-off-by: Albin Antony <aantony@redhat.com>
2019-07-09 13:53:31 +05:30
Kefu Chai
6453200265
Merge pull request #28920 from tchaikov/wip-cmake-pybind
cmake: avoid rebuilding extensions, and using python-config

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-09 16:05:44 +08:00