Commit Graph

106417 Commits

Author SHA1 Message Date
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
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
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
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
Kefu Chai
7b0973e33b
Merge pull request #32624 from alimaredia/wip-s3-tests-python-3
qa/suites: use s3-tests with python3 support

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-17 23:47:51 +08:00
Boris Ranto
f4cf78dc56 rpm: Relax the selinux policy version for centos builds
We are currently running into issues when installing the test builds
produced on centos 8 as these might have older selinux-policy-base
version than is available to the rhel 8 nodes.

We still want the builds produced on RHEL 8 to use the proper version
condition so the %{?centos} macro should help us achieve that, here.

Signed-off-by: Boris Ranto <branto@redhat.com>
2020-01-17 15:24:46 +01:00
Sage Weil
d07359192e cephadm: fix logging defaults
- prefix stderr log lines with 'debug '
- send cluster log to stderr (only affects mons)
- default to sending cluser log to stderr only (not to file)

This aligns things with the container-y way, as we do
with rook.  It means that if you want legacy behavior (log files),
you have *2* settings to change:

 log_to_file = true
 mon_cluster_log_to_file = true

We could default this to leave cluster log to file by default
since they aren't that big (and we do have log rotation), but
it's not as clean as it could be...

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 08:11:55 -06:00
Laura Paduano
45052a219b
Merge pull request #32650 from votdev/fix_i18n
mgr/dashboard: Fix missing i18n.

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-17 14:53:27 +01:00
Abhishek L
af0e482a3f
Merge pull request #32367 from capri1989/doc-gc-update
doc/radosgw/config-ref: paragraph to explain the gc settings

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
2020-01-17 10:08:29 +01:00
Sebastian Wagner
bbd18f1986
Merge pull request #32049 from mgfritch/wip-cd-timeout
cephadm: add ability to specify a timeout

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-01-17 08:32:06 +01:00
Kefu Chai
d3435c671e
Merge pull request #32691 from rosinL/wip-txpkt
msg/async/dpdk: Fix infinite loop when sending packets

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-17 14:32:28 +08:00
Chunsong Feng
eea0b39fce msg/async/dpdk: Fix infinite loop when sending packets
tx_pkt_burst loops until the next pointer is null, set next pointer of
the last segment nullptr to fix this issue.

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
2020-01-17 11:55:51 +08:00
Patrick Donnelly
5608724818
Merge PR #32114 into master
* refs/pull/32114/head:
	doc: split index.rst of dev guide
	doc: tweak few section titles in dev guide
	doc: don't display contents twice in dev guide
	doc: add guide for running tests with teuthology

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-01-16 14:35:38 -08:00
J. Eric Ivancich
edf25e0179
Merge pull request #32513 from IlsooByun/loop_rgw_none
rgw: move forward marker even in case of many rgw.none indexes

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-01-16 12:32:28 -05:00
Casey Bodley
290da6b57c
Merge pull request #31878 from yuvalif/wip-yuval-tag-filter
rgw/pubsub: notification filtering by object tags

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-01-16 11:04:19 -05:00
Daniel Gryniewicz
46209a180e
Merge pull request #32596 from linuxbox2/wip-rgwfile-pfront
rgw_file: avoid string::front() on empty path
2020-01-16 10:12:51 -05:00
Kefu Chai
bcb6bf2bec
Merge pull request #32453 from majianpeng/kv-rocksdbstore-fix-option-work
kv/RocksDBStore: make option: compaction_threads/disableWAL/flusher_t…

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-01-16 23:11:26 +08:00
Kefu Chai
59713e3324
Merge pull request #32443 from tchaikov/wip-btree
include/cpp-btree: cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-01-16 23:09:52 +08:00
Sage Weil
8bc975fb8f Merge PR #32670 into master
* refs/pull/32670/head:
	doc: remove prod cluster examples from hardware recs

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-16 08:07:02 -06:00
Laura Paduano
197388f3bb
Merge pull request #31923 from tspmelo/wip-vertical-navigation
mgr/dashboard: Add vertical menu

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-16 14:43:19 +01:00
Sage Weil
cab0d3156b mgr/cephadm: check-host on 'host add'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-16 07:23:06 -06:00
Sebastian Wagner
c9904ce762
Merge pull request #32654 from liewegas/fix-43273
mgr/rook: provide full path for devices names in inventory

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-01-16 10:18:23 +01:00
Sebastian Wagner
7c15378120
Merge pull request #32372 from sebastian-philipp/cephadm-progress
mgr/cephadm: Add progress to update_mgr()

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-01-16 09:55:41 +01:00
Zac Dover
dc46a8e90a doc: remove prod cluster examples from hardware recs
This PR removes the now-very-old (2012) production cluster
examples from the hardware recommendations page.

Sage requested this change in IRC on 14 Jan 2020. There is no issue link.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-01-16 13:14:50 +10:00
Jason Dillaman
fd0b6be7b7
Merge pull request #32497 from zhengchengyao/snap_exists
rbd: add snap_exists method API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-01-15 20:15:39 -05:00
David Zafman
b8746e5e85 osd: Diagnostic logging for upmap cleaning
Fixes: https://tracker.ceph.com/issues/41016

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-15 21:48:01 +00:00
Patrick Donnelly
0e178461df
Merge PR #32541 into master
* refs/pull/32541/head:
	mds: add comment in feature_bitset_t::empty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-15 12:40:05 -08:00
Sage Weil
8464955861 Merge PR #32619 into master
* refs/pull/32619/head:
	kv/RocksDBStore: break out of compaction thread early on shutdown
	kv/RocksDBStore: debug async compaction

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-15 12:57:42 -06:00