Commit Graph

108631 Commits

Author SHA1 Message Date
Ramana Raja
8034044f94
Merge pull request #33120 from vshankar/wip-mgr-volumes-clone-sync-attrs
mgr/volumes: sync inode attributes for cloned subvolumes

Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-03-03 16:13:34 +05:30
Lenz Grimmer
8d728e04c4
Merge pull request #32423 from bk201/wip-43420
mgr/dashboard: allow refreshing inventory page

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-03-03 09:30:16 +00:00
Kefu Chai
0c782a86f9
Merge pull request #33680 from tchaikov/wip-crimson-cleanups
crimson: clang related cleanups

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2020-03-03 16:23:23 +08:00
Kefu Chai
3f8973f105
Merge pull request #31910 from rosinL/wip-fix-dpdk-test
test/msgr: fix ComplexTest fail when using DPDK protocal stack

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-03 14:34:22 +08:00
Kefu Chai
2667aa441b
Merge pull request #33661 from bk203/patch-1
doc: update Zabbix template reference

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-03 13:52:41 +08:00
Kefu Chai
3ed5f0aea4 cmake: build used source
to address the link failures when compiling using clang

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-03 11:47:11 +08:00
Kefu Chai
6468deebad crimson: do not capture unused variable
this silences the warning of:
```
../src/crimson/osd/osdmap_gate.cc:48:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
  std::for_each(first, last, [epoch, this](auto& blocked_requests) {
                                   ~~^~~~
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-03 11:47:11 +08:00
bk203
52deebaa5c doc: update Zabbix template reference
The old link references a 2017 version of the template, I experienced problems using this version of the template with the latest version of Ceph. Ceph would report "Failed to send data to Zabbix", by importing the newer 2019 version of the template within Zabbix Ceph could again send data (due to changed Zabbix Trapper item keys). Propose to replace the link for a link referencing the master branch of the template so the newest version is always referenced in the docs.

Signed-off-by: Mathijs Smit <m.smit@goldenvalue.nl>
2020-03-03 10:32:57 +08:00
Kefu Chai
a91c3112a9
Merge pull request #33621 from aclamk/fix_mempool_btree
test/test_mempool: test accounting for btree_map

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-03 10:09:49 +08:00
Patrick Donnelly
b58c14a2d8
Merge PR #33363 into master
* refs/pull/33363/head:
	mds: add perf counters for openfiletable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-03-02 17:01:48 -08:00
Patrick Donnelly
4e90fbbcdf
Merge PR #33491 into master
* refs/pull/33491/head:
	mount.ceph: add "fs=<fs_name>" mount options support

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-03-02 16:59:51 -08:00
Patrick Donnelly
61681cffd2
Merge PR #33506 into master
* refs/pull/33506/head:
	client: add client_fs mount option support

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-03-02 16:58:02 -08:00
Patrick Donnelly
a001aa1212
Merge PR #33538 into master
* refs/pull/33538/head:
	mds: just delete MDSIOContextBase during shutdown
	mds: add comment explaining unusual locking for MDSIOContextBase

Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-03-02 16:55:09 -08:00
Sage Weil
367c402dcc Merge PR #33601 into master
* refs/pull/33601/head:
	qa/tasks/thrashosds-health: disable osd_max_markdown behavior
	osd: derr on do_shutdown cases

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-02 14:27:58 -06:00
Sage Weil
505f9a782d Merge PR #33647 into master
* refs/pull/33647/head:
	vstart.sh: fix install of cephadm ssh keys from ~/.ssh

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-02 14:14:52 -06:00
Sage Weil
dc4ff2b4e2 Merge PR #33648 into master
* refs/pull/33648/head:
	qa/suites/cephadm: move orchestrator_cli test into rados/cephadm

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-02 14:14:40 -06:00
Sage Weil
e766c57a4e Merge PR #33658 into master
* refs/pull/33658/head:
	cephadm: remove remaining crash_keyring cruft
	vstart.sh: deploy crash containers
	cephadm: bootstrap: deploy crash on every host
	mgr/cephadm: deploy crash daemons
	mgr/orch: add crash hooks
	cephadm: do not magically deploy 'crash' container

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-02 14:14:28 -06:00
Sage Weil
0752a15d52 cephadm: remove remaining crash_keyring cruft
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 13:23:56 -06:00
Sage Weil
a7ea259f24 Merge PR #33633 into master
* refs/pull/33633/head:
	msg: add get_{pid,random}_nonce() helpers
	msg/Policy: make stateless_server default to anon (again)
	osd: drop broken 'poison pill'

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-02 12:04:29 -06:00
Jason Dillaman
918a48d1a5
Merge pull request #33642 from trociny/wip-run-rbd-tests-pool-init
test/run-rbd-tests: properly initialize newly created rbd pool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-03-02 12:17:09 -05:00
Sage Weil
ddb8ab3dd3 qa/suites/cephadm: move orchestrator_cli test into rados/cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 10:52:24 -06:00
Sage Weil
b179dcef40 vstart.sh: deploy crash containers
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 10:32:46 -06:00
Sage Weil
ac554ce62e cephadm: bootstrap: deploy crash on every host
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 10:30:51 -06:00
Sage Weil
e2c43297d1 mgr/cephadm: deploy crash daemons
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 10:30:51 -06:00
Sage Weil
bec4138cee mgr/orch: add crash hooks
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 10:30:51 -06:00
Sage Weil
1ad9291337 cephadm: do not magically deploy 'crash' container
We'll soon do this explicitly with a persistent spec instead.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 10:30:51 -06:00
Sage Weil
0dd11a5aa5 Merge PR #33523 into master
* refs/pull/33523/head:
	mgr/orch: ServiceSpec: drop 'count'
	mgr/rook: use spec.placement.count (instead of spec.count)
	mgr/cephadm: make HostAssignment make sense
	mgr/orch: PlacementSpec: do not combine all_hosts with anything else
	mgr/orch: use PlacementSpec.from_strings() for all CLI commands

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-03-02 10:30:03 -06:00
Casey Bodley
affc79bdcf
Merge pull request #32660 from cbodley/wip-rgw-admin-zone-shards
rgw: Increase the default number of RGW bucket shards

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-03-02 09:38:04 -05:00
Casey Bodley
ef8eeb59e2
Merge pull request #33628 from cbodley/wip-44353
rgw: fix sharded bucket listing with prefix/delimiter

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-03-02 09:12:34 -05:00
Lenz Grimmer
04e2058c6a
Merge pull request #31922 from rhcs-dashboard/42094-bucket-mfa-delete
mgr/dashboard: enable/disable MFA Delete on RGW bucket

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-03-02 13:55:52 +00:00
Lenz Grimmer
816fe8dee7
Merge pull request #33178 from rhcs-dashboard/42475-rgw-api-keys-allowed
mgr/dashboard: do not show RGW API keys if only read-only privileges

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-03-02 13:54:31 +00:00
Adam Kupczyk
b426e52d04 common/mempool: Add test for mempool in btree_map
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2020-03-02 12:18:48 +01:00
Kefu Chai
28c08615e5
Merge pull request #33638 from tchaikov/wip-btree
include/cpp-btree: use the same type when allocate/deallocate

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2020-03-02 19:16:09 +08:00
Kefu Chai
59546f6a49
Merge pull request #33645 from liewegas/fix-mon-down-cephtool-test
qa/suites/rados/singleton-bluestore/cephtool: whitelist MON_DOWN

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 19:11:42 +08:00
Kefu Chai
e1ee209087
Merge pull request #33536 from yuvalif/sync_object_write_with_return_value_op
librados: allow passing flags to operate sync APIs

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-02 19:10:29 +08:00
Kefu Chai
fdb99d6b18
Merge pull request #33583 from rzarzynski/wip-recovery-cleanup1
osd: tiny clean-ups around the backfill

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 19:01:29 +08:00
Kefu Chai
c6088bdd26
Merge pull request #33593 from dzafman/wip-cot-fix
test: Fix failing ceph_objectstore_tool.py test

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 18:58:19 +08:00
Kefu Chai
3ae08245a1
Merge pull request #33373 from rzarzynski/wip-bl-bumpup_api_verion
common, include: bump the version of ceph::buffer's C++ API.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 18:25:21 +08:00
Lenz Grimmer
341a76e500
Merge pull request #33572 from p-se/wip-pse-grafana-unit-issue
mgr/dashboard: fix stray requests/error in Grafana unit test

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-03-02 10:24:30 +00:00
Kefu Chai
e50ff2c89f
Merge pull request #31041 from liu-chunmei/ceph_seastar_alien_blue_store
crimson:: add alien blue store

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 18:15:24 +08:00
Kefu Chai
5af852c800
Merge pull request #33595 from cyx1231st/wip-crimson-osd-fixes
crimson/osd: misc fixes for OSD reboot-ability

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 17:36:10 +08:00
Kefu Chai
cc0905b396
Merge pull request #33597 from optimistyzy/228_improve_sync_read
NVMEDevice: Remove the unnecessary aio_wait in sync read

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 17:30:34 +08:00
Kefu Chai
6b74b68f66 include/cpp-btree: use the same type when allocate/deallocate
btree_set<> by default uses `std::allocator<Key>`, and btree_map by
default uses `std::allocator<std::pair<Key, Value>>`.

before this change, btree uses the allocator directly for allocating n
elements where element is `Key` or `std::pair<Key, Value>` respectively,
while "n" is actually supposed to be the number of bytes used by each
node which is being allocated.
but, what we need to allocate is actually a "node_type" for holding
multiple slots, and each slot holds an element. in addition to the
slots, a node also keeps track of metadata for btree itself. in short,
what we allocate now is (in bytes):

  alignof(sizeof(node_type)) * sizeof(element)

but what we should allocate is (in bytes):

  alignof(sizeof(node_type))

in this change:

* always rebind the allocator to the correct aligned type with given
  alignment
* extract the allocator related helpers into a template class

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-02 16:27:30 +08:00
Kefu Chai
db80838260
Merge pull request #33650 from joscollin/wip-unused-nvme
test: silence warning unused variable nvme

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-02 13:26:00 +08:00
Jos Collin
fb3dabdb21
test: silence warning unused variable nvme
Signed-off-by: Jos Collin <jcollin@redhat.com>
2020-03-02 09:18:20 +05:30
Sage Weil
3c3df70733 Merge PR #33512 into master
* refs/pull/33512/head:
	os/bluestore/BlueFS: less verbose about alloc adjustments

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-03-01 19:53:35 -06:00
Sage Weil
4ad485d285 Merge PR #33575 into master
* refs/pull/33575/head:
	mgr/telemetry: fix and document proxy usage

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
2020-03-01 19:53:25 -06:00
Sage Weil
461a80689e Merge PR #33644 into master
* refs/pull/33644/head:
	qa/suites/rados/verity/tasks/mon_recovery: whitelist SLOW_OPS

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-01 17:15:29 -06:00
Sage Weil
d3305e94d1 Merge PR #33541 into master
* refs/pull/33541/head:
	mgr/test_orchestrator: add daemon_action
	qa/tasksmgr/test_orchestrator_cli: fix test_service_action
	qa/tasks/test_orchestrator_cli: disable test_osd_create exception check
	mgr/test_orchestrator: update_foo -> apply_foo
	mgr/test_orchestrator: add force flag to remove_daemons
	qa/tasks/mgr/test_orchestrator_cli: update
	qa/tasks/mgr/test_orchestrator_cli: fix test_load_data
	mgr/test_orchestrator: fix list_daemons

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-01 16:55:06 -06:00
Sage Weil
ee76d796f0 Merge PR #33627 into master
* refs/pull/33627/head:
	doc/cephadm/administration: clarify log gathering

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-01 14:26:09 -06:00