Commit Graph

112175 Commits

Author SHA1 Message Date
Sage Weil
be0704c3b4 doc/foundation: add bloomberg
Signed-off-by: Sage Weil <sage@newdream.net>
2020-06-17 13:47:07 -05:00
Sage Weil
dcae2088d2
Merge pull request #35492 from liewegas/wip-bocloud
doc/foundation: drop BoCloud
2020-06-17 09:16:44 -05:00
Sebastian Wagner
7e0b165c7b
Merge pull request #35581 from bk201/ganesha-doc-pool-existence
mgr/cephadm: document pool requirement for NFS-Ganesha service

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Alexandra Settle <asettle@suse.com>
2020-06-17 15:10:46 +02:00
Lenz Grimmer
9935e1db6d
Merge pull request #35225 from ishanrai05/bootstrap-variables
mgr/dashboard: use bootstrap variables for colors

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-06-17 14:27:31 +02:00
Kefu Chai
96931b39ce
Merge pull request #35559 from xiexingguo/wip-split-child-stat
osd/PeeringState: fix info.stats.up[acting] of splitting child

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: yanjun <yan.jun8@zte.com.cn>
2020-06-17 19:51:59 +08:00
Kefu Chai
48ee2b8441
Merge pull request #35395 from kshtsk/wip-registry-conf
qa/tasks/cephadm: setup site based container registry

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-17 19:49:20 +08:00
Kefu Chai
ff3a51ff3a
Merge pull request #35277 from aclamk/wip-limit-wal-sharding
kv/RocksDBStore: Set size for WALs in sharding mode.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2020-06-17 19:47:25 +08:00
Kefu Chai
2edf487823
Merge pull request #35547 from adk3798/cephadm-45097
cephadm: UX: Change error message when 'orch host add <host>' fails

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2020-06-17 19:45:26 +08:00
Kefu Chai
2d0ab62206
Merge pull request #35552 from jan--f/systemd-osd-libexec
systemd/ceph-osd: ceph-osd-prestart.sh now lives in /usr/libexec

Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-17 19:44:04 +08:00
Kefu Chai
ce0d96badf
Merge pull request #35558 from xiexingguo/wip-45991
osd/PG: fix history.same_interval_since of merge target again

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-06-17 19:41:07 +08:00
Kefu Chai
5c2b5af937
Merge pull request #35497 from ifed01/wip-ifed-remove-wal-preext
os/bluestore: remove preextended WAL support.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2020-06-17 19:38:16 +08:00
Kefu Chai
d780443a01
Merge pull request #35549 from mgfritch/cephadm-iscsi-strip-version
cephadm: strip whitespace from iscsi version

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2020-06-17 19:36:21 +08:00
Kefu Chai
ca6b1a7fd9
Merge pull request #34643 from aclamk/wip-fix-bluefs-log-dump-v2
os/bluestore/BlueFS: Make log_dump possible without opening bluefs

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-06-17 19:34:28 +08:00
Kefu Chai
2652419b5e
Merge pull request #35146 from wjwithagen/wjw-fix-shufflerandom
rgw: replace deleted std function: randomshuffle

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-17 19:32:14 +08:00
Kefu Chai
7f8a21b678
Merge pull request #35609 from tchaikov/wip-mgr-volumes-nfs-fstring
mgr/volumes/nfs: use f-string for creating Exception

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-06-17 19:26:02 +08:00
Lenz Grimmer
0ac14cf9ac
Merge pull request #35466 from ishanrai05/quotes
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-06-17 12:46:17 +02:00
Kefu Chai
68296f25df
Merge pull request #35614 from tchaikov/wip-install-deps-enable-required-crb-repo
install-deps.sh: do not enable unavailable repos

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2020-06-17 18:37:50 +08:00
Lenz Grimmer
70209af683
Merge pull request #35295 from rhcs-dashboard/fix-snapshot-dropdown
mgr/dashboard: cropped actions menu in nested details

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-06-17 12:14:52 +02:00
Sebastian Wagner
57734cf105
Merge pull request #35493 from mgfritch/orch-service-spec-validate
python-common: fix ServiceSpec validation

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-17 10:08:37 +02:00
Kefu Chai
55b8707097 install-deps.sh: do not enable unavailable repos
should be specific when enabling codeready-builder repos, there is
chance that some repos are just not available, while the required one
is. for instance, "codeready-builder-for-rhel-8-x86_64-eus-debug-rpms"
might not be available. and in that case, `install-deps.sh` just fails.

so in this change, only the required one is enabled. see also
https://fedoraproject.org/wiki/EPEL

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-17 16:03:04 +08:00
Kefu Chai
5b8ba6648d mgr/volumes/nfs: use f-string for creating Exception
for better understanding the reason of the failure

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-17 12:34:18 +08:00
Patrick Donnelly
0e74b92258
Merge PR #32288 into master
* refs/pull/32288/head:
	test_cephfs_shell: remove test_every_shell_cmd_at_invocation
	test_cephfs_shell: catch specific exception instead of catching all
	cephfs-shell: set return value before exiting
	test_cephfs_shell: re-arrange TestCephFSShell's methods
	cephfs-shell: re-arrange code under __main__
	test_cephfs_shell: add new test for shell cmd at invocation
	cephfs-shell: launch shell only if there are no args following

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
2020-06-16 19:28:48 -07:00
xie xingguo
be5ea3a01f osd/PeeringState: fix history.same_interval_since of merge target again
The symptom looks much like we see in
	https://tracker.ceph.com/issues/37654.

The root cause is that both merge source and target could be
fabricated PGs (aka placeholders), hence merge target's
same_interval_since could remain 0 after merge.

Fix by adjusting history.same_interval_since to last_epoch_clean
reported by these PGs were found to be ready for merge.
This peer is going to be ignored/purged by primary anyway later
when peering is done.

Fixes: https://tracker.ceph.com/issues/45991
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2020-06-17 09:14:21 +08:00
Kefu Chai
0d46c0c30d
Merge pull request #35307 from aclamk/wip-rocksdb-sharding-dump
kv/RocksDBStore: Fixes dump of batch commited to rocksdb

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2020-06-17 09:06:46 +08:00
Kefu Chai
b41ca452bf
Merge pull request #35562 from tchaikov/wip-drop-copr-repo
install-deps.sh: drop ktdreyer/ceph-el8 copr repo

Reviewed-by: David Galloway <dgallowa@redhat.com>
2020-06-17 09:01:38 +08:00
Kefu Chai
4caa6c0e56
Merge pull request #35602 from tchaikov/wip-vstart-ganesha-comment
vstart.sh: update comment to use ganesha from CentOS Storage SIG

Reviewed-by: Varsha Rao <varao@redhat.com>
2020-06-17 09:00:01 +08:00
Sebastian Wagner
d77715c61e
Merge pull request #35510 from mgfritch/cephadm-bootstrap-timeout
cephadm: increase is_available timeout 30s -> 60s
2020-06-16 16:45:11 +02:00
Kefu Chai
e3cad286a1
Merge pull request #35585 from tchaikov/wip-test-mgr-dashboard-smoke-random-port
test/mgr/mgr-dashboard-smoke: listen on random ports

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-06-16 22:34:59 +08:00
Lenz Grimmer
c9178124e9
Merge pull request #35366 from tspmelo/wip-npm-20-05
mgr/dashboard: Update npm packages

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2020-06-16 14:55:15 +02:00
Mykola Golub
f72dc3d8f9
Merge pull request #35557 from dillaman/wip-librbd-asio
librbd: initial boost asio integration

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-06-16 14:42:43 +03:00
Sebastian Wagner
38e79b666d
Merge pull request #35412 from sebastian-philipp/doc-cephadm-concepts-fqdn
doc/cephadm: Add chapter about FQDNs

Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-06-16 13:19:28 +02:00
Kiefer Chang
71140f47e5
doc/cephadm: document pool requirement for NFS-Ganesha service
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2020-06-16 18:23:04 +08:00
Kefu Chai
9c91062b85 vstart.sh: update comment to use ganesha from CentOS Storage SIG
see https://download.nfs-ganesha.org/3/LATEST/RHEL/

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-16 17:03:15 +08:00
Kefu Chai
0141de75f8 test/mgr/mgr-dashboard-smoke: listen on random ports
in hope to reduce the chance to listen an already used port while
running multiple "make check" instances in parallel.

See-also: http://tracker.ceph.com/issues/36737
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-16 16:30:55 +08:00
Ishan Rai
96044658e8 mgr/dashboard: use bootstrap variables for colors
Fixes: https://tracker.ceph.com/issues/38891

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-06-16 08:06:42 +00:00
Ishan Rai
2f54a3b843 mgr/dashboard: Use a unified quoting style
Use single quotes across all UI elements such as notifications

Fixes: https://tracker.ceph.com/issues/36070
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-06-16 08:05:29 +00:00
Kefu Chai
db7ae7c89a
Merge pull request #35524 from sebastian-philipp/cephadm-rm-container-storage
cephadm: call `podman rm --storage`

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-16 14:44:01 +08:00
Kefu Chai
23e5359f02
Merge pull request #35317 from dsavineau/doc_radosgw_key_typo
doc/radosgw/admin: fix key subuser typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-16 09:41:27 +08:00
Patrick Donnelly
efe4de1290
Merge PR #35541 into master
* refs/pull/35541/head:
	doc/dev: mention -l, -e and -n among useful options
	doc/dev: add info on how to retest QA changes without rebuilding

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-06-15 16:41:43 -07:00
Adam King
0e2dd36aec cephadm: UX: Change error message when 'orch host add <host>' fails
Instead of printing out a traceback if adding the host fails
during bootstrapping process, should now print error message
telling user host failed to be added

Fixes: https://tracker.ceph.com/issues/45097
Signed-off-by: Adam King <adking@redhat.com>
2020-06-15 13:48:32 -04:00
Sebastian Wagner
55e608d796 doc/cephadm: Add chapter about FQDNs
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-15 15:26:11 +02:00
Tiago Melo
b5a6632020 mgr/dashboard: Update npm packages
Fixes: https://tracker.ceph.com/issues/45949

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-06-15 13:16:34 +00:00
Kefu Chai
b2de27be3f
Merge pull request #35561 from tchaikov/wip-crimson-disable-bluestore-with-allocator
crimson/os: disable alienized bluestore if using seastar allocator

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-06-15 20:59:06 +08:00
Sebastian Wagner
02c4f24903
Merge pull request #35472 from varshar16/wip-vstart-stop-cephadm
stop.sh: Kill cephadm deployed daemons

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-15 11:21:30 +02:00
Sebastian Wagner
decfbca835 cephadm: call podman rm --storage
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-15 10:54:44 +02:00
Kefu Chai
db84151ed7 crimson/os: disable alienized bluestore if using seastar allocator
before figuring out how to colocate alien store and seastar's builtin
allocator. we need to disable alienized bluestore, if
SEASTAR_DEFAULT_ALLOCATOR is not defined.

See-also: https://tracker.ceph.com/issues/45985
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 3dd052c4558144d7252aa8a856c1601ea17b74e7)
2020-06-15 09:40:30 +08:00
Kefu Chai
030bce643f install-deps.sh: drop ktdreyer/ceph-el8 copr repo
as all python3-cherrypy and its deps are included by EPEL8 now

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-15 01:09:07 +08:00
Willem Jan Withagen
14af86f646 rgw: replace deleted std function: randomshuffle
fixes: https://github.com/ceph/ceph/pull/32927
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-06-14 13:08:33 +00:00
xie xingguo
d4f9edceda osd/PeeringState: fix info.stats.up[acting] of splitting child
In general a splitting child should have the same CRUSH
mapping result with its parent at the initialization stage.
However, since luminous mgr/balancer may change existing PGs'
original CRUSH mappings by explictly generating some
pg_upmap_items and feeding them to pg_to_up_acting_osds(),
hence the inconsistency of 'ceph pg ls' command output, i.e.,
because child is now reporting its parent's up set ([2,4,3])
rather than its own ([1,4,3]), which are actually different:

	1.3a active+clean 2020-05-21 16:16:33.011237     0'0    34:26 [2,4,3]          1 [2,4,3]              1

Fix by using child's own CRUSH mappings when filling in
the corresponding fields of info.stats (We already have that
kind of info in hand and it is accurate under all circumstances).

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2020-06-13 15:41:04 +08:00
Jason Dillaman
e26fa83d4b rbd-mirror: swapped ThreadPool/ContextWQ for AsioEngine
The majority of usage of ContextWQ has been switched to use the
ASIO ContextWQ adapter class. The journal remains the only
remaining use of dedicated ThreadPools in rbd-mirror.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-06-12 22:44:54 -04:00