Commit Graph

106518 Commits

Author SHA1 Message Date
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
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
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
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
Sage Weil
290992e519 qa/workunits/rados/test_crash.sh: suppress core files
The cores will make teuthology fail the job--and we don't want them for
this test, where we are deliberately causing crashes.

Fixes: https://tracker.ceph.com/issues/43653
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-19 17:12:09 -06:00
Sage Weil
0aee4e5f04 qa/tasks/ceph_manager: fix shell osd for ceph-objectstore-tool commands
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-19 15:32:25 -06:00
Mykola Golub
edfc6934e2
Merge pull request #32684 from dillaman/wip-rbd-el8
tests: corrected issues with RBD tests under EL8 distros

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-01-19 20:48:09 +02:00
Sage Weil
8ad6cbef5f Merge PR #32681 into master
* refs/pull/32681/head:
	mgr/cephadm: fix section name for mon options in ceph.conf

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-19 11:38:38 -06:00
Sage Weil
0e56cb0dda Merge PR #32006 into master
* refs/pull/32006/head:
	mgr/cephadm: revert to OrchestratorClientMixin child
	mgr/cephadm: initial upgrade logic
	cephadm: return 'cephadm pull' result as JSON
	mgr/cephadm: upgrade start/stop/pause/resume
	mgr/cephadm: track ceph version as well as container in on 'upgrade check'
	mgr/orchestrator_cli: upgrade {start,pause,resume,stop}
	mgr/cephadm: fix upgrade check
	mon/ConfigKeyService: remove config-key set warning

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-19 11:38:22 -06:00
Sage Weil
305d4071fa Merge PR #32685 into master
* refs/pull/32685/head:
	cephadm: remove -crash container before starting it
	cephadm: stop the crash container the nice way
	cephadm: no need for podman rm when passing --rm to run
	ceph-crash: exit code 0 on SIGINT, SIGTERM

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-01-19 11:38:02 -06:00
Kefu Chai
75a0bbe795
Merge pull request #32720 from tchaikov/wip-disable-crimson-socket-test
test/crimson: remove unittest_seastar_socket temporarily

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-01-19 22:41:17 +08:00
Yuval Lifshitz
07630a8759 rgw/notification: add opaque data
opaque data may be set in topic configuration and later on sent inside
nottifications triggered by that topic.

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-01-19 15:37:56 +02:00
Mykola Golub
d3ca1cdc5e
Merge pull request #32687 from dillaman/wip-42097
librbd: support compression allocation hints to the OSD

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-01-19 10:41:14 +02:00
Mykola Golub
81808a1c97
Merge pull request #32671 from dillaman/wip-43537
rbd-mirror: periodically poll remote mirror configuration

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-01-19 10:40:05 +02:00
Kefu Chai
50e609359a test/crimson: remove unittest_seastar_socket temporarily
see also #32632. before we have the complete fix, we should disable this
test to avoid more noise from this test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-19 13:02:12 +08:00
Kefu Chai
a048784937
Merge pull request #32719 from liewegas/wip-o-upgrades
qa/suites/upgrade: fix mimic-x-singleton

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-19 11:39:01 +08:00
Sage Weil
b516cf7011 Merge PR #32673 into master
* refs/pull/32673/head:
	crush/CrushWrapper: behave with empty weight vector
	cmake: no need to link libglobal and libblkid for testing crush
	test/crush: no need to use libglobal for testing crush

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-18 21:11:51 -06:00
Sage Weil
5af9944000 Merge PR #32439 into master
* refs/pull/32439/head:
	test/kv_store_bench: Fix double free error

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-18 21:11:36 -06:00
Sage Weil
2b75b04b78 Merge PR #32640 into master
* refs/pull/32640/head:
	cephadm: fix help message for bootstrap --mgr-id

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-01-18 14:47:40 -06:00
Sage Weil
f584c97220 Merge PR #32627 into master
* refs/pull/32627/head:
	test_cephadm: use container shell for ceph cmds
	test_cephadm: `-d` debug no longer exists
	test_cephadm: clean-up whitespace (tabs -> spaces)

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-18 14:47:30 -06:00
Sage Weil
c5710bc8fb Merge PR #32628 into master
* refs/pull/32628/head:
	test: Fix wait_for_state() to wait for a PG to get into a state

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-18 14:39:19 -06:00