Commit Graph

99751 Commits

Author SHA1 Message Date
Ricardo Dias
96ff50e883
mgr/dashboard: add progress module tasks to list of dashboard tasks
Fixes: https://tracker.ceph.com/issues/38202

Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias
63334ee2b2
mgr/dashboard: progress mgr module service
This service module implements helper methods to retrieve
tasks information from the progress mgr module.

Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias
a3d56ebaa2
mgr/progress: persist started_at and finished_at timestamps
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias
28b57d5d1f
mgr/progress: export more event properties to json
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:21:41 +01:00
Sage Weil
1b46267cf7 Merge PR #28839 into master
* refs/pull/28839/head:
	osd: support osd_repair_during_recovery

Reviewed-by: David Zafman <dzafman@redhat.com>
2019-07-16 10:07:53 -05:00
Sage Weil
bb72ea8eab Merge PR #28907 into master
* refs/pull/28907/head:
	mgr/progress: added the time an event has been in progress
	mgr/progress: added the time an event has been in progress
	mgr/progress: added the time an event has been in progress
	mgr/progress: added the time an event has been in progress

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-16 10:07:37 -05:00
Sage Weil
56cd62a14d Merge PR #29027 into master
* refs/pull/29027/head:
	common/options: Set concurrent bluestore rocksdb compactions to 2

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-16 10:07:02 -05:00
Jason Dillaman
353ceeb698
Merge pull request #28820 from trociny/wip-journal-fetch-corrupt-end
journal: return error after first corruption detected

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-07-16 10:10:29 -04:00
Ricardo Marques
498eec659f
Merge pull request #28633 from p-na/wip-pna-refactor-unit-tests
mgr/dashboard: Reduce code duplication through TableActionComponent UnitTests

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 14:13:28 +01:00
Ricardo Marques
9804db3e83
Merge pull request #28999 from rafaelquint/bucketstest3
mgr/dashboard: RGW bucket E2E Tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 14:07:28 +01:00
Tiago Melo
2da5430614 mgr/dashboard: Reduce code duplication through TableActionComponent Unit Tests
Fixes: http://tracker.ceph.com/issues/40399

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-07-16 13:52:02 +02:00
Rafael Quintero
fb025001bd mgr/dashboard: E2E Tests for Create, Edit, Delete, and Invalid Input on RGW Buckets
Fixes: https://tracker.ceph.com/issues/40372
Fixes: https://tracker.ceph.com/issues/40484
Fixes: https://tracker.ceph.com/issues/40259

Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
2019-07-16 07:11:22 -04:00
Ricardo Dias
d4049a5ad6
Merge pull request #28879 from Devp00l/wip-40580
mgr/dashboard: Fix the table mouseenter event handling test

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 11:48:39 +01:00
Ricardo Marques
78e580bc7c
Merge pull request #28916 from p-na/wip-pna-fix-tag
mgr/dashboard: Add linter for unclosed HTML tags

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 11:16:33 +01:00
Patrick Nawracay
07a97a7dee mgr/dashboard: Add missing closing tag for container
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-07-16 10:51:07 +02:00
Ricardo Marques
ec02aa9541
Merge pull request #27463 from rjfd/wip-dashboard-ssl-cert
mgr/dashboard: commands to set SSL certificate and key

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-16 09:25:38 +01:00
Sebastian Wagner
9c4795dab2
Merge pull request #28213 from sebastian-philipp/orchestrator_cache
mgr/orchestrator: Add cache for Inventory and Services

Reviewed-by: Tim Serong <tserong@suse.com>
2019-07-16 10:17:45 +02:00
Jos Collin
35657ce8e7
Merge pull request #28700 from batrick/i39620
doc/cephfs: improve add/remove MDS section

Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-07-16 09:36:11 +05:30
Neha Ojha
f537db9583
Merge pull request #29033 from neha-ojha/wip-add-yt
doc/dev/developer_guide/index.rst: add youtube references

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2019-07-15 11:31:45 -07:00
Ricardo Marques
1f2430a547
Merge pull request #28649 from votdev/issue_40427
mgr/dashboard: Pool form uses different loading spinner

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-15 18:51:16 +01:00
Ricardo Dias
69895dd516
doc/mgr/dashboard: update SSL configuration instructions
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-15 15:56:14 +01:00
Ricardo Dias
7648d294bf
mgr/dashboard: added CLI commands to set SSL certificate and key
Fixes: https://tracker.ceph.com/issues/39123

Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-15 15:56:14 +01:00
Volker Theile
3606ea21be mgr/dashboard: Pool form uses different loading spinner
Use the 'cd-loading-panel' element to display the loading progress.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-07-15 16:45:46 +02:00
Ricardo Marques
87f5023ecb
Merge pull request #29043 from votdev/issue_40778
mgr/dashboard: Form fields do not show error messages/hints.

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-15 15:30:01 +01:00
Patrick Donnelly
c44674b393
Merge PR #28951 into master
* refs/pull/28951/head:
	mds: apply configuration changes through MDSRank
	common/TrackedOp: make settings atomic

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-15 07:00:46 -07:00
Casey Bodley
35cb8dcee7
Merge pull request #28964 from cbodley/wip-qa-workunit-s3tests
qa/rgw: update run-s3tests.sh

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-07-15 09:14:41 -04:00
Patrick Nawracay
4f1bffb57d mgr/dashboard: Add linter for unclosed HTML tags
Fixes: http://tracker.ceph.com/issues/40686

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-07-15 14:31:16 +02:00
Volker Theile
48a66cb5b1 mgr/dashboard: Form fields do not show error messages/hints.
Fixes: https://tracker.ceph.com/issues/40778
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-07-15 12:09:57 +02:00
Kefu Chai
e877af04b9
Merge pull request #28682 from cyx1231st/wip-seastar-msgr-socket2
crimson/net: implement preemptive shutdown/close

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-15 15:46:13 +08:00
Patrick Donnelly
a62783a264
Merge PR #26104 into master
* refs/pull/26104/head:
	client/Client: change dir's size delta to current write file size delta

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-12 17:18:02 -07:00
Patrick Donnelly
e505470c8c
Merge PR #28683 into master
* refs/pull/28683/head:
	mon/MDSMonitor: use stringstream instead of dout for mds repaired

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-12 17:16:53 -07:00
Patrick Donnelly
b71491a5ba
Merge PR #28710 into master
* refs/pull/28710/head:
	cephfs-shell: Remove undefined variable files in do_rm()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-12 17:16:02 -07:00
Patrick Donnelly
f5dc15db62
Merge PR #28831 into master
* refs/pull/28831/head:
	client: support the fallocate() when fuse version >= 2.9

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-07-12 17:15:01 -07:00
Patrick Donnelly
c586427952
Merge PR #28906 into master
* refs/pull/28906/head:
	cephfs-shell: Fix TypeError in poutput()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-12 17:14:20 -07:00
Patrick Donnelly
2a765ea220
mds: apply configuration changes through MDSRank
This avoids the need to acquire the mds_lock prior to responding to config
changes. The MDSRank can create a finisher context that acquires the lock
later.

Fixes: https://tracker.ceph.com/issues/40694
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-12 17:13:29 -07:00
Patrick Donnelly
f21b08f9b9
common/TrackedOp: make settings atomic
To avoid locks on configuration changes.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-12 17:13:29 -07:00
Patrick Donnelly
a256c42d47
doc/cephfs: improve add/remove MDS section
Include hardware details and update language for modern tools.

Fixes: http://tracker.ceph.com/issues/39620
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-12 17:11:12 -07:00
Neha Ojha
7031fa2ef3 doc/dev/developer_guide/index.rst: add youtube references
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-12 16:27:56 -07:00
Sage Weil
01d34051a6 Merge PR #28978 into master
* refs/pull/28978/head:
	qa/tasks/mgr/dashboard/test_health: fix test_full_health test
	mon: use per-pool stats only when all OSDs are reporting
	osd: report whether we have per-pool stats
	osd/osd_types: osd_stat_t: include num_per_pool_osds member

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-07-12 17:21:05 -05:00
Sage Weil
be49d46521 Merge PR #29003 into master
* refs/pull/29003/head:
	qa/standalone/scrub/osd-scrub-snaps.sh: adjust expected output
	osd/SnapMapper: to_raw_key: use hobject pool member, not SnapMapper:pool
	ceph-objectstore-tool: fix use of SnapSet::snaps
	qa/standalone/scrub/osd-scrub-snaps: fix kv grep

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-12 17:20:47 -05:00
Sage Weil
fbc8be423c Merge PR #29013 into master
* refs/pull/29013/head:
	qa/tasks/ceph_manager: 5s -> 15s for 'osd out' to be visible

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-12 17:20:21 -05:00
Andrew Schoen
a632024971
Merge pull request #28998 from alfredodeza/wip-rm40664
ceph-volume  zap always skips block.db, leaves them around

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2019-07-12 13:17:38 -05:00
Mark Nelson
26dc5189e7 common/options: Set concurrent bluestore rocksdb compactions to 2
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2019-07-12 12:45:17 -04:00
Lenz Grimmer
f64c3f6529
mgr/dashboard: controllers/grafana is not Python3 compatible (#28956)
mgr/dashboard: controllers/grafana is not Python3 compatible

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-12 17:02:42 +02:00
Jason Dillaman
fa2d338b80
Merge pull request #28979 from falcon78921/wip-doc-18197
doc: updated OpenStack rbd documentation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-07-12 11:00:34 -04:00
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
Lenz Grimmer
910da20065
mgr/dashboard: Minor fixes (#29009)
mgr/dashboard: Minor fixes

- Fix radio input display
- Fix the close button on initiators card
- Fix missing 'fa-' prefix in spinner icon
- Fix label font-weight

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-12 16:01:11 +02:00
Sage Weil
bf091fc100 Merge PR #28945 into master
* refs/pull/28945/head:
	os/bluestore: StupidAllocator stucks on 4GB allocations
	os/bluestore: avoid length overflow in extents returned by Stupid

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-12 09:00:23 -05:00