Commit Graph

106407 Commits

Author SHA1 Message Date
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
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
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
Laura Paduano
d225e182f1
Merge pull request #32569 from votdev/feature_toggle_output
mgr/dashboard: Cleanup feature toggle status output

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-01-15 16:47:13 +01:00
Laura Paduano
e726bcd33c
Merge pull request #32635 from Devp00l/wip-43594
mgr/dashbaord: Fix E2E pools page failure

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-01-15 15:57:42 +01:00
Sage Weil
23f5159487 mgr/rook: provide full path for devices names in inventory
This matches the cephadm behavior.

Fixes: https://tracker.ceph.com/issues/43273
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-15 08:53:03 -06:00
Sage Weil
4b7f5de235 Merge PR #32411 into master
* refs/pull/32411/head:
	qa/tasks/ceph_manager: enable ceph-objectstore-tool via cephadm
	qa/tasks/cephadm: support crush_tunables config option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-01-15 08:39:48 -06:00
Sage Weil
2739ac4a60 qa/tasks/ceph_manager: enable ceph-objectstore-tool via cephadm
- drop support for keyvaluestore
- leave a few paths non-cephadm specific (filestore, upgrade workaround)

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-15 07:53:01 -06:00
Sage Weil
6a25e27992 Merge PR #32643 into master
* refs/pull/32643/head:
	doc/bootstrap: fixed default --keyring target

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-15 07:47:24 -06:00