Commit Graph

85684 Commits

Author SHA1 Message Date
Yan, Zheng
5643909b36 mds: update dev document of cephfs snapshot
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23583
2018-04-27 19:08:21 +08:00
Yan, Zheng
24bb126dbe doc: add release notes for cephfs snapshot
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-27 19:08:19 +08:00
Yan, Zheng
81d0554e5d mds: allow snapshot by default for new filesystem
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23623
2018-04-19 12:56:38 +08:00
Yan, Zheng
bc24de0207 mds: close past parents after snaprealm format gets converted
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:56:38 +08:00
Yan, Zheng
40b3f7e5a5 mds: automaticly allow multi-active MDS after scrubbing all inodes
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:56:38 +08:00
Yan, Zheng
5dbc0f9dbf mds: don't mark primary dentry damaged if inode has been repaired
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:56:38 +08:00
Yan, Zheng
c73c247cd2 mds: upgrade snaprealm format during scrub
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:56:38 +08:00
Yan, Zheng
87ead1988f mds: allow scrubbing mdsdir
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:56:38 +08:00
Yan, Zheng
e3a45dfb2f mds: cleanup scrub code
1. scrub_infop can not be nullptr for inodes that are being scrubbed.
2. properly set scrub_infop->repaired if any error gets repired.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:56:38 +08:00
Yan, Zheng
7a227cc09c mds: show health warning if multimds with old format snapshots
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:56:36 +08:00
Yan, Zheng
49f4b432b2 mds: automaticly allow multi-active MDS after removing all old snapshots
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:17:19 +08:00
Yan, Zheng
d6d2eb51cd mds: disallow multi-active MDS if snapshot was ever created by pre-mimic mds
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 12:16:57 +08:00
Yan, Zheng
07e7007d0d mds: validate SnapInfo::long_name before using it
SnapInfo::long_name becomes invalid after rename snapshot

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 11:32:18 +08:00
Yan, Zheng
28dc90bfad mds: don't bump snaptable last_snap when renaming snapshot
this helps keeping removed_snaps interval_set in osdmap contiguous

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 11:32:18 +08:00
Yan, Zheng
67c0b8ed0e mds: properly save snaptable after upgrading version
commit 002c732d "mds: make sure snaptable version > 0" is buggy

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 11:32:18 +08:00
Alfredo Deza
b6344f366d
Merge pull request #21489 from thmour/thmour_parallel_create
ceph-volume: allow parallel creates

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-18 18:24:51 -04:00
Patrick Donnelly
bb95292213
Merge PR #16608 into master
* refs/pull/16608/head:
	qa: whitelist mds down wrn during cephfs testing
	mds: add config to disable fragmentation
	qa: add max_mds thrash test
	qa: mds_thrash updates for new max_mds behavior
	doc: update upgrade procedure and release notes
	qa: add test for cluster resizing
	qa: remove use of mds deactivate
	cephfs: add new down/joinable fs flags
	mds: evict all clients if last mds shutting down
	cephfs: deprecate ceph mds deactivate
	cephfs: kill allow_dirfrags
	cephfs: Kill allow_multimds
	cephfs: Change behavior of cluster_down flag
	mon/FSCommands: Set extra MDS to standby
	cephfs: Health check changes
	mon/MDSMonitor: Remove command support for legacy syntax

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:36:54 -07:00
Patrick Donnelly
994cd16fbd
Merge PR #21456 into master
* refs/pull/21456/head:
	MDSMonitor: initialize new Filesystem epoch from pending

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-18 14:36:47 -07:00
Patrick Donnelly
63f6ce85c7
Merge PR #21457 into master
* refs/pull/21457/head:
	mds: unset deleted vars in shutdown_pass

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-18 14:36:40 -07:00
Patrick Donnelly
f28e19315c
Merge PR #21458 into master
* refs/pull/21458/head:
	MDSMonitor: cleanup and protect fsmap access

Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-04-18 14:36:32 -07:00
Patrick Donnelly
c03dc9d40e
Merge PR #21473 into master
* refs/pull/21473/head:
	client: fix error operator precedence

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-18 14:36:26 -07:00
Patrick Donnelly
3292d43192
mds: unset deleted vars in shutdown_pass
So future passes do not try to delete again.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:14:39 -07:00
Nathan Cutler
90f5424782
Merge pull request #21480 from smithfarm/wip-backport-create-issue
scripts: new backport-create-issue script

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-04-18 19:57:45 +02:00
Nathan Cutler
327347a008 script/backport-create-issue: enable script to be imported
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-18 18:39:10 +02:00
Jason Dillaman
5c4f8c7dc3
Merge pull request #21436 from trociny/wip-test-out_of_order
test/librbd: ensure OutOfOrder test has enough concurrent management ops

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 09:51:46 -04:00
Jason Dillaman
d286e72616
Merge pull request #21493 from trociny/wip-deep-copy-missing-return
librbd: missing 'return' in deep_copy::ObjectCopyRequest::send_read_object

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 09:51:22 -04:00
Lenz Grimmer
1b057bbc76
Merge pull request #21385 from ricardoasmarques/wip-list-all-rbds
mgr/dashboard: RBD management (frontend)

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 15:50:14 +02:00
Andrew Schoen
06c0933ae4
Merge pull request #21451 from ceph/wip-rm23581
ceph-volume: automatic VDO detection 

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-18 13:48:41 +00:00
Ricardo Marques
4e9a5aa7a6 mgr/dashboard: RBD management
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 12:04:08 +01:00
Mykola Golub
5f9a9fb142 librbd: missing 'return' in deep_copy::ObjectCopyRequest::send_read_object
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-04-18 13:46:16 +03:00
Boris Ranto
a2eea2427a
Merge pull request #21383 from b-ranto/wip-mgr-rgw-metadata
prometheus: Implement rgw_metadata metric

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-04-18 12:46:00 +02:00
Ricardo Marques
f0d8338e98 mgr/dashboard: Add 'executing' cell template
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
2c4e35a7e1 mgr/dashboard: Configurable type for 'cd-submit-button'
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
e78504503a mgr/dashboard: Add 'delete-confirmation-modal' component
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
617632b358 mgr/dashboard: Force focus on submit
Forcing focus on submit button will guarantee that all inputs will lose focus
before submission.

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
f34e719e7e mgr/dashboard: Add get method to summary service
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Lenz Grimmer
f2051a96aa
Merge pull request #21462 from ricardoasmarques/wip-backgroud-tasks-style
mgr/dashboard: Improve background tasks style

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-04-18 11:43:24 +02:00
Boris Ranto
c7cbc24803 prometheus: Implement rgw_metadata metric
This maps rgw id to its hostname and ceph version running on the node.

Signed-off-by: Boris Ranto <branto@redhat.com>
2018-04-18 11:02:44 +02:00
Ricardo Dias
ee263196a0
Merge pull request #21443 from LenzGr/mgr-dashboard-documentation
doc: Improved dashboard documentation

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-18 09:48:28 +01:00
Theofilos Mouratidis
201817f27e ceph-volume: allow parallel creates
Currently the create code decides the vg_name "ceph-$cluster_fsid" as
the primary vg_name and creates a new name if this already exists.

If this code is run N times in parallel, the script will try to
create N times the vg with the name "ceph-$cluster_fsid" and it
will fail to create the N osds successfully.

Creating vgs with names like "ceph-$uuid4" lets our scripts to run
without any problems.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
2018-04-18 10:02:37 +02:00
Kefu Chai
fdbc1e6d7c
Merge pull request #21485 from tchaikov/wip-tox
test/dashboard: hardcode .coverage path to workaround tox bugs

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-18 14:54:32 +08:00
Kefu Chai
32b07dd904 test/dashboard: hardcode .coverage path to workaround tox bugs
rhel/centos 7.3 comes with tox 1.4.2, which has a bunch of issues related
to environment variable substitution. for instance, see
- https://github.com/tox-dev/tox/issues/515
so, instead of having different coverage files for py3 and py2.7, it
would be simpler to just use the same path for coverage. this approach
works because pytest-cov plugin erases the coverage data file at the
beginning of test[1].

---
[1] https://pypi.org/project/pytest-cov/#coverage-data-file .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-18 13:50:38 +08:00
Kefu Chai
c643ffd703
Merge pull request #21474 from jecluis/mimic-mon-pending-releasenotes
PendingReleaseNotes: mention some monitor changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-18 12:39:06 +08:00
Kefu Chai
1e081a817d
Merge pull request #21428 from ivancich/wip-fix-existing-mclock-cost
osd: remove cost from mclock op queues; cost not handled well in dmclock

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-18 12:32:42 +08:00
Kefu Chai
8039ea855e
Merge pull request #21464 from LenzGr/fix-cmakelist
cmake: fix typo in status message

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-18 10:08:47 +08:00
Kefu Chai
d2fdd4a155
Merge pull request #21418 from jecluis/wip-fix-mon-fs-caps
mon/AuthMonitor: don't validate `fs authorize` caps with `valid_caps()`

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-18 10:02:47 +08:00
David Zafman
51f41230c7
Merge pull request #21450 from dzafman/wip-jq-compat
test: Use jq in a compatible way and for easier diff analysis

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-17 17:26:51 -07:00
Patrick Donnelly
95762d6375
qa: whitelist mds down wrn during cephfs testing
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-17 14:40:36 -07:00
Nathan Cutler
fda5fea568 script/backport-create-issue: explain why release_id is hard-coded
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-17 23:19:44 +02:00
Nathan Cutler
578829ec09 scripts: backport-create-issue (initial commit)
This is a standalone implementation of a script written by Loic Dachary.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-17 23:19:41 +02:00