Commit Graph

105151 Commits

Author SHA1 Message Date
Jason Dillaman
703a4ebde4
Merge pull request #31794 from dillaman/wip-42889
librbd: disable zero-copy writes by default

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2019-12-09 12:47:47 -05:00
Jason Dillaman
bd76f0d10c
Merge pull request #32105 from junxfl/test1
librbd: fix rbd_open_by_id, rbd_open_by_id_read_only 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-12-09 12:37:37 -05:00
Daniel Gryniewicz
105c6d78aa
Merge pull request #32109 from yehudasa/wip-42868
rgw: list buckets: don't return buckets if limit=0
2019-12-09 12:23:12 -05:00
Lenz Grimmer
22d5bd95e2
Merge pull request #32053 from votdev/left_align_badges
mgr/dashboard: Left align badge datatable columns

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-09 16:44:56 +00:00
Lenz Grimmer
d5c54d55eb
Merge pull request #31927 from bk201/wip-43072
mgr/dashboard: hide in-use devices when creating OSDs

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-12-09 16:42:54 +00:00
Lenz Grimmer
9960f9365a
Merge pull request #32084 from votdev/auth_service_observable
mgr/dashboard: Use Observable in auth.service

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2019-12-09 16:34:50 +00:00
Lenz Grimmer
a494757a6e
mgr/dashboard: Improve badge column template. (#32026)
mgr/dashboard: Improve badge column template.

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2019-12-09 16:32:03 +00:00
Sage Weil
f886610e44 Merge PR #31907 into master
* refs/pull/31907/head:
	mgr/dashboard: properly handle a missing rbd-mirror service status
	mgr: cull service daemons when the last instance has been removed
	mgr: ensure new daemons are properly indexed by hostname

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-12-09 10:30:26 -06:00
Sage Weil
64b69572b5 Merge PR #32009 into master
* refs/pull/32009/head:
	doc: removes kube-helm installation instructions

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-09 08:23:44 -06:00
yangjun
3457192c24 librbd: fix rbd_open_by_id, rbd_open_by_id_read_only
These methods incorrectly delete ImageCtx on error, resulting
in double-free heap corruption.

Fixes: https://tracker.ceph.com/issues/43178
Signed-off-by: yangjun <yangjun@cmss.chinamobile.com>
2019-12-09 09:08:22 -05:00
Sage Weil
4e75ee0f3a Merge PR #31800 into master
* refs/pull/31800/head:
	doc: Update commands in bootstrap.rst
	Update doc/bootstrap.rst
	Update doc/bootstrap.rst
	Merge branch 'master' into wip-doc-prompts-update
	doc: Update commands in bootstrap.rst

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-09 07:17:57 -06:00
Jan Fajerski
1c8a4b0326
Merge pull request #32106 from taodd/ceph-volume-fix-env
ceph-volume: fix the integer overflow
2019-12-09 11:46:18 +01:00
Lenz Grimmer
713db2994d
mgr/dashboard: add smartctl data as a details tab of a host (#30594)
mgr/dashboard: add smartctl data as a details tab of a host

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-12-09 09:42:23 +00:00
Sage Weil
105428e8f4 Merge PR #29687 into master
* refs/pull/29687/head:
	test/store_test: test coverage for anti-spillover framework.
	os/bluestore: introduce bluestore_volume_selection_reserved cfg option.
	os/bluestore: beautify RocksDBBlueFSVolumeSelector::dump output
	os/bluestore: introduce 'bluestore bluefs stats' admin socket command
	os/bluestore: implement more intelligent DB volume space managment for BlueFS.
	os/kv: add static method to parse RocksDB options
	os/bluestore: introduce volume selector abstraction to BlueFS

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-08 15:24:13 -06:00
Sage Weil
d5d4868b9f Merge PR #32108 into master
* refs/pull/32108/head:
	ceph-daemon: remove prepare-host

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-08 13:26:32 -06:00
Sage Weil
ade391513c ceph-daemon: remove prepare-host
I thought I took this out of the PR but somehow it got merged in... must
have repushed and old branch and not realized.  :/

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-08 11:26:14 -06:00
Sage Weil
e2f8187b4c Merge PR #31959 into master
* refs/pull/31959/head:
	os/bluestore/BlueStore.cc: set priorities for compression stats

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-12-08 10:15:48 -06:00
Sage Weil
1542776e44 Merge PR #31995 into master
* refs/pull/31995/head:
	msg/async: No need lock for func _filter_addrs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-08 10:15:17 -06:00
Sage Weil
9634b20908 Merge PR #32101 into master
* refs/pull/32101/head:
	mgr/orchestrator_cli: make rgw rm take realm+zone
	qa/tasks/mgr/test_orchestrator_cli: fix rgw add test

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-08 10:14:50 -06:00
Yehuda Sadeh
857fdfb8e0 rgw: list buckets: don't return buckets if limit=0
Fixes: https://tracker.ceph.com/issues/42868

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2019-12-08 03:08:46 -08:00
Sage Weil
99eb52b68a mgr/orchestrator_cli: make rgw rm take realm+zone
And adjust test accordingly

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-07 23:41:36 -06:00
taodd
81ff4be4d1 ceph-volume: fix the type mismatch, covert the tries and interval to int from string.
Fixes: https://tracker.ceph.com/issues/43186

Signed-off-by: dongdong tao <dongdong.tao@canonical.com>
2019-12-08 10:26:42 +08:00
Sage Weil
28e9e25e93 Merge PR #32043 into master
* refs/pull/32043/head:
	os/bluestore: default bluestore_block_size 1T -> 100G

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-12-07 14:43:07 -06:00
Sage Weil
d73fe9cbd6 Merge PR #32044 into master
* refs/pull/32044/head:
	mon/OSDMonitor: make memory autotune disable itself if no rocksdb

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-07 14:42:49 -06:00
Sage Weil
552f5109ce Merge PR #31581 into master
* refs/pull/31581/head:
	mon: fix mon_sync_max_payload_size type
	mon: cap keys in mon_sync messages
	mon/MonitorDBStore: improve get_chunk_tx limits
	mon/MonitorDBStore: better size estimation for Transaction

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-07 12:35:58 -06:00
Sage Weil
d91cb4270d Merge PR #32048 into master
* refs/pull/32048/head:
	mon/PGMap: use NONE for 'pg ls[-*]' output too

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-07 12:35:20 -06:00
Sage Weil
86950ce9aa Merge PR #32039 into master
* refs/pull/32039/head:
	test: Improve races by using kill_daemons which waits for OSDs terminate
	test: run-standalone.sh: Only run execs in the subdirectories of qa/standalone
	test: Use activate_osd() when restarting OSDs
	test: osd-scrub-snaps.sh: Fix race with osd restart and doing a scrub

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-07 12:28:15 -06:00
Sage Weil
7e1f445422 qa/tasks/mgr/test_orchestrator_cli: fix rgw add test
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-07 08:14:59 -06:00
Sage Weil
b35dbcd582 Merge PR #32010 into master
* refs/pull/32010/head:
	mgr/ssh: Add module to static type checking from tox.
	mgr/orchestrator: Add mypy static type checking

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-07 08:05:49 -06:00
Sage Weil
0d1c74a578 Merge PR #32023 into master
* refs/pull/32023/head:
	qa/tasks/mgr/test_orchestrator_cli: test with valid network or IP
	qa/orchestrator: do not test "mon update 3 host1"

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
2019-12-07 08:05:24 -06:00
David Zafman
676d882649 test: Improve races by using kill_daemons which waits for OSDs terminate
osd-backfill-space.sh: More sleep time to make sure the backfill gets started

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-12-06 19:44:06 -08:00
Sage Weil
fbee608dee qa/tasks/mgr/test_orchestrator_cli: test with valid network or IP
Passing 'network' will fail with

Error EINVAL: Failed to parse host list: '['host1:network', 'host2:network', 'host3:network']': u'network' does not appear to be an IPv4 or IPv6 address

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-06 21:26:13 -06:00
Sage Weil
409608704c Merge PR #32096 into master
* refs/pull/32096/head:
	ceph-daemon: fix firewalld error case

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-12-06 21:23:55 -06:00
Sage Weil
a4727bdc71 Merge PR #32097 into master
* refs/pull/32097/head:
	ceph-daemon: fix bootstrap ownership of tmp monmap file

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-12-06 21:23:43 -06:00
Sage Weil
eee4c2ff8f Merge PR #32051 into master
* refs/pull/32051/head:
	mgr: simply exit on SIGINT or SIGTERM

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-06 16:19:09 -06:00
Sage Weil
32e06caa35 ceph-daemon: fix bootstrap ownership of tmp monmap file
The file is created with mode 0644 by the ceph:ceph user, but root
cannot write to that.  Instead, create the tmp file owned by root, write
to it, then chown it to user ceph.

Fixes e92929d86d

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-06 15:14:31 -06:00
Sage Weil
474309804b ceph-daemon: fix firewalld error case
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-06 14:55:03 -06:00
Neha Ojha
9d4e7e2f27
Merge pull request #32021 from falcon78921/wip-doc-43130
doc: fixed broken reference link for Graphviz

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-06 11:52:05 -08:00
David Zafman
7d09908e6a
Merge pull request #32017 from dzafman/wip-revert-verify-upmap
Revert "crush: remove invalid upmap items"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-06 09:29:40 -08:00
David Zafman
8d3cfc6bc5 test: run-standalone.sh: Only run execs in the subdirectories of qa/standalone
This will ignore scripts placed at the qa/standalone level, though
I'm not sure if we should be putting any tests there.  It does
allow support scripts present like ceph-helper.sh without modifying
run-standalone.sh to ignore it.

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-12-06 09:19:54 -08:00
Jason Dillaman
4cce6e9ee3
Merge pull request #31589 from zhengchengyao/mv_snapshot
librbd:move all snapshot API functions in internal.cc over to api/Snapshot.cc

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-12-06 10:22:22 -05:00
Casey Bodley
53ad9d2983
Merge pull request #31767 from pritha-srivastava/wip-rgw-mfa-set-versioning
rgw: adding mfa code validation when bucket versioning status is changed

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-12-06 10:18:56 -05:00
Lenz Grimmer
64009101f8
mgr/dashboard: adapt to create_osds parameters change (#31928)
mgr/dashboard: adapt to create_osds parameters change

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-06 14:57:27 +00:00
Patrick Seidensal
6b717d5fba mgr/dashboard: add smart data to hosts page
Fixes: https://tracker.ceph.com/issues/42064

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-12-06 15:23:15 +01:00
Volker Theile
846d17e33e mgr/dashboard: Use Observable in auth.service
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-12-06 15:12:27 +01:00
Laura Paduano
843ab6161a
Merge pull request #31062 from dillaman/wip-42355
mgr/dashboard: support RBD mirroring bootstrap create/import

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-06 10:42:03 +01:00
Lenz Grimmer
1af00460f8
mgr/dashboard: Cleanup code (#32031)
mgr/dashboard: Cleanup code

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2019-12-06 08:57:49 +00:00
Mykola Golub
d8600f9383
Merge pull request #31949 from dillaman/wip-42748
rbd: incorporate rbd-mirror daemon status in mirror pool status

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-12-06 10:43:47 +02:00
Volker Theile
9fe2c81588 mgr/dashboard: Left align badge datatable columns
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-12-06 08:04:27 +01:00
Patrick Donnelly
88ef8147bc
Merge PR #29964 into master
* refs/pull/29964/head:
	qa/cephfs: test conf file reading for CephFS shell
	qa/cephfs: allow passing conf to methods that runs shell command
	qa/vstart_runner: add a method to create temporary file
	test_cephfs_shell: update test since shell can now read ceph.conf
	src/vstart.sh: add cephfs-shell section to ceph.conf
	cephfs-shell: read shell variables from ceph.conf

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-05 21:42:12 -08:00