Commit Graph

106463 Commits

Author SHA1 Message Date
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
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
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
Sage Weil
6818496448 Merge PR #32385 into master
* refs/pull/32385/head:
	mgr/cephadm: check-host on 'host add'

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-18 12:54:06 -06:00
Sage Weil
714eb18892 Merge PR #32712 into master
* refs/pull/32712/head:
	cephadm: SO_REUSEADDR when doing bind check

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-01-18 12:53:40 -06:00
Sage Weil
65c89b93ae Merge PR #32711 into master
* refs/pull/32711/head:
	qa/standalone/mon/osd-create-pool: fix utf-8 grep LANG

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-18 12:53:24 -06:00
Sage Weil
d631090d49 Merge PR #32641 into master
* refs/pull/32641/head:
	cephadm: fix logging defaults

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-18 12:50:51 -06:00
Sage Weil
62830f9549 Merge PR #32700 into master
* refs/pull/32700/head:
	rpm: Relax the selinux policy version for centos builds

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-18 11:27:37 -06:00
Sage Weil
0b641c4956 Merge PR #32560 into master
* refs/pull/32560/head:
	cephadm: show contextual message when port is in use

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-01-18 11:26:14 -06:00
Sage Weil
2d90d5778d Merge PR #32713 into master
* refs/pull/32713/head:
	qa/tasks/cephadm: start watching initial daemons before bootstrap
	qa/tasks/cephadm: create /etc/ceph if it doesn't exist
	qa/tasks/cephadm: fix log whitelist when there is no whitelist

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-17 19:46:39 -06:00
Sage Weil
7dd3b4f41d Merge PR #32701 into master
* refs/pull/32701/head:
	qa/tasks/ceph_manager: fix ceph-objectstore-tool calls
	qa/tasks/ceph_manager: fix admin_socket remote when using cephadm
	qa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool
	qa/tasks/ceph_manager: fix filestore split command
	qa/tasks/ceph_manager: fix import line

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-17 19:13:11 -06:00
Sage Weil
5ef77e1165 qa/releases/octopus: disable autoscale warnings
Existing pools might have too many/few PGs and produce a warning that
prevents us from getting to HEALTH_OK.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:52:40 -06:00
Sage Weil
21ae3dc928 cephadm: SO_REUSEADDR when doing bind check
This is what the ceph daemons use; our check should do it too.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:27:04 -06:00
Sage Weil
0bdaf4b953 qa/tasks/ceph_manager: fix ceph-objectstore-tool calls
Pass the correct paths based on whether this is the importing or exporting
OSD.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:08:00 -06:00
Sage Weil
878e27ee0d qa/tasks/ceph_manager: fix admin_socket remote when using cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:07:40 -06:00
Sage Weil
81c735fc9c qa/tasks/ceph_manager: --no-mon-config to ceph-objectstore-tool
The config is currently fetched at osd.admin, so the keyring is not
found.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:07:40 -06:00
Sage Weil
7fefcdb6d3 qa/tasks/ceph_manager: fix filestore split command
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:07:40 -06:00
Sage Weil
60c2b8e800 qa/tasks/ceph_manager: fix import line
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 17:07:39 -06:00
Sage Weil
299eb6aad8 qa/tasks/cephadm: start watching initial daemons before bootstrap
This lets us see output while bootstrap is happening.

(Depends on the teuthology change to use journalctl, see
teuthology commit 4fa83040b05b604280789459f095d6f2ad1b0d01.)

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 23:01:09 +00:00
Sage Weil
2cc9fffc8e qa/tasks/cephadm: create /etc/ceph if it doesn't exist
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 22:59:57 +00:00
Sage Weil
2681985983 qa/tasks/cephadm: fix log whitelist when there is no whitelist
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 22:59:43 +00:00
Sage Weil
5673ff2e00 qa/suites/upgrade/mimix-x-singleton: upgrading to octopus, not n
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 15:06:54 -06:00
Sage Weil
a09eb10220 Merge PR #32698 into master
* refs/pull/32698/head:
	common: drop the unused mutable_item_history container.
	common: drop the unused prune() of {safe,mutable}_item_history.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-17 14:36:24 -06:00
Sage Weil
65fbc620b6 qa/standalone/mon/osd-create-pool: fix utf-8 grep LANG
This needs en_US.UTF-8... en_US does not work.

Fixes: https://tracker.ceph.com/issues/43422
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 14:19:53 -06:00
David Zafman
a7bdd33484
Merge pull request #32663 from dzafman/wip-41016
osd: Diagnostic logging for upmap cleaning

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-17 11:47:55 -08:00
Sage Weil
c663717645 mgr/cephadm: revert to OrchestratorClientMixin child
self.mgr does not exist--I can't figure out what this 'mgr' reference
is and where it comes from.  So reverting to being a child for the time
being; we can clean this up later.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:56:40 -06:00
Sage Weil
446cdf74f7 mgr/cephadm: initial upgrade logic
- upgrade mgr, mon, osd, mds
- use ok-to-stop

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Sage Weil
0122679331 cephadm: return 'cephadm pull' result as JSON
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Sage Weil
8fcbc1481f mgr/cephadm: upgrade start/stop/pause/resume
No actual upgrading yet.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Sage Weil
f53d059d6d mgr/cephadm: track ceph version as well as container in on 'upgrade check'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Sage Weil
21f2bcf061 mgr/orchestrator_cli: upgrade {start,pause,resume,stop}
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Sage Weil
93d75a2aff mgr/cephadm: fix upgrade check
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Sage Weil
08f48c49a7 mon/ConfigKeyService: remove config-key set warning
This has been there for both mimic and nautilus; we can drop it for
octopus.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Daniel Gryniewicz
db9244184d
Merge pull request #32298 from dang/wip-dang-zipper-4
Zipper - RGWUser
2020-01-17 12:44:32 -05:00
Radoslaw Zarzynski
bcf66ebce4 common: drop the unused mutable_item_history container.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-01-17 17:33:01 +01:00
Radoslaw Zarzynski
717db0e8d9 common: drop the unused prune() of {safe,mutable}_item_history.
The presence of these never-used methods obscure bug investigation.
For instance, `safe_item_history` is used to record all messenger's
addresses. As we never lock reading from it in `_conn_prefix()`, we
expect they live as long their corresponding messenger instances.
When such an item becomes corrupted, presence of `prune()` imposes
verification the method is never called – this effort could have
been avoided if we hadn't have the dangerous method.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-01-17 17:33:01 +01:00
Daniel Gryniewicz
70ff2ab64e Zipper - RGWUser
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2020-01-17 11:01:47 -05:00