Commit Graph

106536 Commits

Author SHA1 Message Date
Patrick Donnelly
057391854c
Merge PR #32748 into master
* refs/pull/32748/head:
	doc: minor fix in mount.ceph

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-21 08:54:58 -08:00
Kefu Chai
c7c9cbe176
Merge pull request #32751 from tchaikov/wip-readme-cmake
README.md: remove stale cmake prerequisite

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
2020-01-22 00:17:47 +08:00
Kefu Chai
9d32ca8c36 README.md: remove stale cmake prerequisite
it's stale. as we now require 3.10 after dropping the support of xenial.

and it's incomplete, we have a ton of build dependencies apart from
cmake.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-22 00:00:01 +08:00
Jan Fajerski
b2ed73b183
Merge pull request #32655 from jan--f/c-v-mock-has_bluestore_label
ceph-volume: fix device unittest, mock has_bluestore_label
2020-01-21 16:34:42 +01:00
Sage Weil
ff41594ade Merge PR #32738 into master
* refs/pull/32738/head:
	qa/standalone/misc/ok-to-stop: improve test
	qa/standalone/ceph-helpers: add wait_for_peered

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-21 09:18:49 -06:00
Casey Bodley
7b8fae8c07
Merge pull request #32740 from cbodley/wip-rgw-doc-s3-extension-url
doc/rgw: fix broken link to boto s3 extensions document

Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-01-21 09:38:56 -05:00
Kefu Chai
951dd14e60
Merge pull request #32742 from tchaikov/wip-crimson-thread-pool
crimson/thread: generalize Task so it works w/ func returns void

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-01-21 22:32:12 +08:00
Jan Fajerski
91c7f5189d ceph-volume: fix device unittest, mock has_bluestore_label, lint
This also adds a test case for has_bluestore_label.

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

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-01-21 15:13:27 +01:00
Rishabh Dave
34c6f2f11a doc: minor fix in mount.ceph
Also, fix the indentation since we are already here.

Fixes: https://tracker.ceph.com/issues/43743
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-01-21 19:43:25 +05:30
Kefu Chai
d7d19ad65c crimson/thread: generalize Task so it works w/ func returns void
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-21 21:39:42 +08:00
Lenz Grimmer
05adb6474a
mgr/dashboard: Fix modals for Identifying Device and Editing O… (#32589)
mgr/dashboard: Fix modals for Identifying Device and Editing OSD

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-01-21 11:29:02 +00:00
Lenz Grimmer
aff8f96c30
mgr/dashboard: Introduce layout components (#32594)
mgr/dashboard: Introduce layout components

Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-01-21 11:26:40 +00:00
Sage Weil
089e97c270 Merge PR #32725 into master
* refs/pull/32725/head:
	qa/tasks/ceph_manager: fix revive_osd path
	qa/tasks/ceph_manager: fix shell osd for ceph-objectstore-tool commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-20 22:20:25 -06:00
Sage Weil
e1dcfa6d3d Merge PR #32737 into master
* refs/pull/32737/head:
	qa/tasks/ceph_manager: fix post-osd-kill pg peered check

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-20 22:20:10 -06:00
Patrick Donnelly
f2796b75f3
Merge PR #32631 into master
* refs/pull/32631/head:
	doc: add mds map to list of monitor assets

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:40:05 -08:00
Patrick Donnelly
a37eda7612
Merge PR #32642 into master
* refs/pull/32642/head:
	qa: save MDS epoch barrier
	qa: prefer rank_asok

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:29:57 -08:00
Patrick Donnelly
ad8c2461f8
Merge PR #32667 into master
* refs/pull/32667/head:
	mds: track high water mark for purges
	qa: use correct variable for exception debug
	mds: mark purge queue protected members private

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:24:46 -08:00
Patrick Donnelly
8d9caddca6
qa: save MDS epoch barrier
Rather than verify the latest OSDMap is the same as the rank's
osdmap_epoch_barrier, just use the rank's version. The OSDMap may change
out-of-band with the test startup and thus the epoch's would diverge.
The file system and rank is fresh for each test so there's no reason to
care if the MDS barrier is one epoch behind the latest.

Fixes: https://tracker.ceph.com/issues/43554
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:20:57 -08:00
Patrick Donnelly
b89f3ca941
qa: prefer rank_asok
This is a trivial refactor.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:20:57 -08:00
Kefu Chai
ec7565deec
Merge pull request #32629 from tchaikov/wip-cephfs.pyx
libcephfs: add missing declaration of ceph_getaddrs()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-21 09:11:56 +08:00
Patrick Donnelly
458f383cf2
mds: track high water mark for purges
This makes the corresponding test not racy.

Fixes: https://tracker.ceph.com/issues/16881
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:06:19 -08:00
Patrick Donnelly
096a5cad38
qa: use correct variable for exception debug
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:06:19 -08:00
Patrick Donnelly
761cc0ed78
mds: mark purge queue protected members private
Nothing inherits from PQ.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 17:06:18 -08:00
Casey Bodley
b041c62304 doc/rgw: fix broken link to boto s3 extensions document
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-01-20 16:46:51 -05:00
Laura Paduano
cac2b33c50
Merge pull request #32652 from rhcs-dashboard/fix-43607-master
mgr/dashboard: fix improper URL checking

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2020-01-20 21:37:05 +01:00
Sage Weil
76ea774c10 qa/standalone/misc/ok-to-stop: improve test
Make sure PGs peer (simply flushing state to mon isn't enough).

Fixes: https://tracker.ceph.com/issues/43721
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 13:24:30 -06:00
Sage Weil
78ec6aec90 qa/standalone/ceph-helpers: add wait_for_peered
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 13:23:56 -06:00
Patrick Donnelly
f3f6f56cd5
Merge PR #32524 into master
* refs/pull/32524/head:
	qa/xfstests_dev: change deps for xfstests-dev on ubuntu
	qa/cephfs: change deps for xfstests-dev on centos8
	vstart_runnner: add sh method to LocalRemote

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 11:13:06 -08:00
Patrick Donnelly
9184d91c2e
Merge PR #32637 into master
* refs/pull/32637/head:
	client: Add is_dir check before changing directory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-01-20 11:11:56 -08:00
Patrick Donnelly
5504dafee7
Merge PR #32676 into master
* refs/pull/32676/head:
	mds: don't respond getattr with -EROFS when mds is readonly

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 11:10:49 -08:00
Patrick Donnelly
6109e67d93
Merge PR #32639 into master
* refs/pull/32639/head:
	qa: rename kcephfs distro overrides

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-01-20 11:08:47 -08:00
Patrick Donnelly
721c959ab3
Merge PR #32696 into master
* refs/pull/32696/head:
	mgr/volumes: fail removing subvolume with snapshots

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 11:07:55 -08:00
Patrick Donnelly
22f3d7bc94
Merge PR #32645 into master
* refs/pull/32645/head:
	mgr/volumes: remove stale subvolume module

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 10:43:26 -08:00
Patrick Donnelly
848440ffbb
Merge PR #32659 into master
* refs/pull/32659/head:
	mds: do not include metric_spec in MClientSession from MDS

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
2020-01-20 10:41:23 -08:00
Sage Weil
f6ebafddfe Merge PR #32709 into master
* refs/pull/32709/head:
	mds/FSMap: fix adjust_standby_fscid

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 11:47:28 -06:00
Ali Maredia
14981cb168
Merge pull request #32727 from liewegas/fix-rgw-os
qa/suite/rgw/verify: valgrind on centos again!
2020-01-20 12:35:41 -05:00
Sage Weil
3005d24001 qa/tasks/ceph_manager: fix revive_osd path
This was broken since it was introduced in b02e2f6cf2
a year and a half ago...

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 11:23:13 -06:00
Patrick Donnelly
476e1a85f1
Merge PR #32668 into master
* refs/pull/32668/head:
	qa: ignore slow ops for ffsb workunit

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-20 09:15:32 -08:00
Casey Bodley
4450164f34
Merge pull request #32723 from yuvalif/wip-yuval-notif-add-opaque-data
rgw/notification: add opaque data

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-01-20 11:33:50 -05:00
Sage Weil
9600152593 qa/tasks/ceph_manager: fix post-osd-kill pg peered check
This was asserting that all PGs are active or peered, but that assertion
could fail if the concurrent workload created a new pool.

Switch to a loop that checks several times for the condition to be true.

Fixes: https://tracker.ceph.com/issues/43656
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-20 09:47:36 -06:00
Lenz Grimmer
9e114ce043
Merge pull request #32565 from rhcs-dashboard/43534-decouple-backend-unit-tests
mgr/dashboard: decouple backend unit tests from build.

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-20 14:54:42 +00:00
Sage Weil
276945f324 Merge PR #32592 into master
* refs/pull/32592/head:
	mgr/pg_autoscaler: calculate pool_pg_target using pool size

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-20 08:41:12 -06:00
Lenz Grimmer
d008c2ae11
mgr/dashboard: Update npm package caniuse-lite (#32633)
mgr/dashboard: Update npm package caniuse-lite

Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-01-20 14:25:48 +00:00
Kefu Chai
26c66630bd
Merge pull request #32702 from rzarzynski/wip-bug-43646
common/bl: fix the dangling last_p issue.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-20 20:33:48 +08:00
Jan Fajerski
e098536acc
Merge pull request #32325 from Kriechi/fix-42982
monitoring: fix prometheus alert for full pools
2020-01-20 10:42:36 +01:00
Volker Theile
ae97132cb2 mgr/dashboard: Cleanup router config
Now that a parent component takes care about the rendering of the workbench, then this componenta can also take care about the authentication check.

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-01-20 09:09:54 +01:00
Volker Theile
c320371e7d mgr/dashboard: Introduce layout components
This PR will simplify the code of the app component in that way that it introduces layout components. Depending on the route a specific layout is choosen. Currently there are two layouts:

- Workbench
- Blank

The blank layout, which does not show any navigation controls, is used for the error, login and logout pages. The workbench layout shows the navigation controls and is mainly used for all pages that are used to configure Ceph.

The 403 and 404 pages have a 'Back' button that will redirect to /login. The Angular router will redirect to /dashboard if logged in.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-01-20 09:09:54 +01:00
Kefu Chai
2cc286075f
Merge pull request #32692 from tchaikov/wip-remove-btree-dump
include/cpp-btree: drop btree::dump()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2020-01-20 11:58:10 +08:00
Sage Weil
5c1e0e5f1f qa/suite/rgw/verify: valgrind on centos again!
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-19 18:47:13 -06:00
Sage Weil
ce16d20b2b Merge PR #32724 into master
* refs/pull/32724/head:
	qa/workunits/rados/test_crash.sh: suppress core files

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-19 18:13:43 -06:00