Commit Graph

105026 Commits

Author SHA1 Message Date
Casey Bodley
f6bda33bc9
Merge pull request #31926 from yuvalif/wip-yuval-fix-pubsub-record-format
rgw/pubsub: fix records/event json format to match documentation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-05 13:55:31 -05:00
Kefu Chai
b6aa85cfb1
Merge pull request #32036 from zdover23/wip-doc-troubleshooting-pg-verb-fix
doc: s/achieve/achieves/ (Fixed a verb disagreement)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-06 01:45:36 +08:00
Zac Dover
9c1216cd69 doc: s/achieve/achieves (Fixed a verb disagreement)
This bug changes a clause of the form "When x remains in y status
and never achieve a z status" to a clause of the form "When x remains
in y status and never achieves a  z status".

The change is one of "achieve" to "achieves".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-06 02:16:01 +10:00
Casey Bodley
2e9f7285bf
Merge pull request #31830 from joke-lee/rgw-sts-crash-token-not-base64
rgw: fix rgw crash when token is not base64 encode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-05 10:41:45 -05:00
Casey Bodley
1e99595326
Merge pull request #31483 from zhangsw/fix-rgw-reshard-left
rgw: fix a bug that bucket instance obj can't be removed after resharding completed

Reviewed-by: Eric J. Ivancich <ivancich@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
2019-12-05 10:34:31 -05:00
Sage Weil
7e1a4c3808 Merge PR #31989 into master
* refs/pull/31989/head:
	mgr/MgrClient: fix 'tell mgr.x ...'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-05 09:33:52 -06:00
Daniel Gryniewicz
23159a0bf2
Merge pull request #30878 from zhangsw/fix-rgw-lc-zerodays
rgw: Expiration days can't be zero and  transition days can be zero
2019-12-05 10:31:40 -05:00
Sage Weil
339437e079 Merge PR #31795 into master
* refs/pull/31795/head:
	mgr/ssh: 'ssh {check,prepare}-host <host>'
	mgr/ssh: return err from _run_ceph_daemon
	ceph-daemon: add check-host and prepare-host

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-05 09:09:07 -06:00
Sage Weil
b8b911ab9e Merge PR #32004 into master
* refs/pull/32004/head:
	mgr/restful: allow shutdown before we've fully started up

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-05 09:05:11 -06:00
Kefu Chai
1cb5e6a02f
Merge pull request #30498 from jecluis/wip-mon-no-config
mon: allow running without a config file

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-05 22:59:56 +08:00
Sage Weil
594456d004 Merge PR #31988 into master
* refs/pull/31988/head:
	common/config: less noise about configs from mon we can't apply

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-05 07:19:27 -06:00
Lenz Grimmer
26f9952671
mgr/dashboard: list configured prometheus alerts (#31937)
mgr/dashboard: list configured prometheus alerts

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-12-05 12:25:33 +00:00
Lenz Grimmer
3bdbf94e44
mgr/dashboard: Check password complexity in Dashboard CLI comm… (#31916)
mgr/dashboard: Check password complexity in Dashboard CLI commands

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-12-05 09:46:14 +00:00
Kefu Chai
38810721be
Merge pull request #31732 from aclamk/wip-vstart-osds-parallel
vstart: Now all OSDs are starting in parallel. Use --no-parallel to revert to sequential.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-05 15:54:23 +08:00
Kefu Chai
dea9acd4cc
Merge pull request #31765 from rjfd/wip-fix-mon-public-addr
ceph-mon: keep v1 address type when explicitly set

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2019-12-05 15:51:53 +08:00
Kefu Chai
b95be83894
Merge pull request #31876 from rosinL/wip-fix-dpdk-zero-length
msg/async/dpdk: fix SEGV caused by zero length packet

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-05 15:43:50 +08:00
Kefu Chai
681181315e
Merge pull request #31932 from tchaikov/wip-pr-29610
os/bluestore: print error if spdk_nvme_ns_cmd_writev() fails

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-05 15:42:52 +08:00
Patrick Donnelly
831073c63e
Merge PR #31715 into master
* refs/pull/31715/head:
	mds: initialize the monc later in init()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 14:56:05 -08:00
Patrick Donnelly
fcc9bf10a1
Merge PR #31428 into master
* refs/pull/31428/head:
	qa/tasks: Fixed AttributeError: can't set attribute
	qa/tasks: drop/update name from Thrasher

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 14:55:17 -08:00
Patrick Donnelly
27f13cf032
Merge PR #31898 into master
* refs/pull/31898/head:
	mds: remove unnecessary debug warning

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-04 14:51:04 -08:00
Patrick Donnelly
2c67530766
Merge PR #31455 into master
* refs/pull/31455/head:
	mds: tolerate no snaprealm encoded in on-disk root inode

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 14:17:40 -08:00
Patrick Donnelly
ffa5220138
Merge PR #31680 into master
* refs/pull/31680/head:
	tools/cephfs: make 'cephfs-data-scan scan_links' fix dentry's first

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 13:57:42 -08:00
Patrick Donnelly
918782586b
Merge PR #31712 into master
* refs/pull/31712/head:
	fs/ceph_mds: set ceph_mds cpu affinity

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-04 13:54:29 -08:00
Patrick Donnelly
fcaa5cfc38
Merge PR #31986 into master
* refs/pull/31986/head:
	qa: test volumes plugin mount cleanup
	pybind/mgr/volumes: use py3 items iterator
	pybind/mgr/volumes: print errors in cleanup timer
	qa: improve variable name

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2019-12-04 13:45:11 -08:00
Casey Bodley
ad903bb231
Merge pull request #31998 from yuvalif/kafka_spins_on_cpu
rgw/pubsub: prevent kafka thread from spinning when there are no messages

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-04 15:36:52 -05:00
Sage Weil
67d7a8b230 Merge PR #31975 into master
* refs/pull/31975/head:
	doc/install/containers: note vX.Y.Z[-YYYYMMDD] tags

Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
2019-12-04 14:11:50 -06:00
Sage Weil
eec1d9f0d3 Merge PR #31955 into master
* refs/pull/31955/head:
	doc/foundation: add ceph foundation info here

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-12-04 13:49:58 -06:00
Jason Dillaman
68b3e32367
Merge pull request #31893 from fghaas/doc-rbd-exclusive-locks
doc: RBD exclusive locks

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-12-04 13:38:38 -05:00
Patrick Seidensal
460f7bb327 mgr/dashboard: show alert panel if prometheus/alertmanager is unconfigured
If the tabs under the "Monitoring" page aren't properly configured, a
notification is shown which explains the user which setting needs to be
enabled and also provides a link to the corresponding documentation.

Fixes: https://tracker.ceph.com/issues/42877

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-12-04 17:19:05 +01:00
Patrick Donnelly
88e79c31a7
Merge PR #31902 into master
* refs/pull/31902/head:
	doc: add description for fuse_disable_pagecache

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 07:57:21 -08:00
Kefu Chai
b334aac600
Merge pull request #31948 from zdover23/wip-doc-ntp-ubuntu-chrony2
doc: add "chrony" to preflight checklist for Ubuntu 18.04

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-04 23:49:58 +08:00
Sage Weil
5225fccc6d mgr/ssh: 'ssh {check,prepare}-host <host>'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-04 09:23:36 -06:00
Sage Weil
ad4d346371 mgr/ssh: return err from _run_ceph_daemon
Sometimes callers will want to see this.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-04 09:23:36 -06:00
Sage Weil
91cb6eb613 ceph-daemon: add check-host and prepare-host
Check for (and/or install/configure):

- podman | docker
- systemctl
- LVM2
- chrony (or ntp or timesyncd)

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-04 09:22:06 -06:00
Sebastian Wagner
1d629923a9
Merge pull request #31967 from sebastian-philipp/ssh-understanding-async
mgr/ssh: HACKING.rst: Add Understanding `AsyncCompletion`

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-04 16:20:01 +01:00
Florian Haas
441a5de8fe doc: RBD exclusive locks
A discussion on the ceph-users list uncovered a bit of uncertainty
about how exclusive locking works:

https://www.mail-archive.com/ceph-users@lists.ceph.com/msg56910.html

Add a bit of background information about exclusive locks, and
cross-reference the documentatation on OpenStack, and on CephX.

Signed-off-by: Florian Haas <florian@citynetwork.eu>
2019-12-04 16:03:08 +01:00
Patrick Donnelly
67143642db
qa: test volumes plugin mount cleanup
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 07:01:42 -08:00
Patrick Donnelly
03f8080478
pybind/mgr/volumes: use py3 items iterator
Otherwise this raises an exception.

Fixes: https://tracker.ceph.com/issues/43113
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 07:01:42 -08:00
Patrick Donnelly
b45c08b997
pybind/mgr/volumes: print errors in cleanup timer
The squelched error prevented us from knowing connection cleanup doesn't
work on py3.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 07:01:41 -08:00
Patrick Donnelly
4e16633856
qa: improve variable name
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-04 07:01:34 -08:00
Sage Weil
b7f9f3651f doc/install/containers: note vX.Y.Z[-YYYYMMDD] tags
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-04 08:22:52 -06:00
Zac Dover
c0e09de50b doc: add "chrony" to preflight checklist for Ubuntu 18.04
This commit updates the "Install NTP" section of the preflight
checklist, instructing readers who are using Ubuntu 18.04 to
use the package name "chrony" where elsewhere the package name
"ntp" would be used. "chrony" has replaced "ntp" in Ubnutu 18.04.

This commit fixes Bug number 8 in the list here:
https://pad.ceph.com/p/Report_Documentation_Bugs

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-05 00:07:24 +10:00
Casey Bodley
18555ad75a
Merge pull request #31972 from clwluvw/patch-1
doc: rgw: Fixed bug on wrong name for user_id for OPA

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-04 08:32:00 -05:00
Laura Paduano
c0a409944a
Merge pull request #31906 from s0nea/wip-dashboard-fix-pg-num-warning
mgr/dashboard: fix tests in order to match pg num conventions

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-04 14:20:39 +01:00
Sage Weil
361b1906e9 mgr/restful: allow shutdown before we've fully started up
Sometimes we get shutdown() before self.server has been assigned.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-04 07:13:44 -06:00
Sage Weil
77068f2e47 Merge PR #31797 into master
* refs/pull/31797/head:
	qa: test mgr cephfs mount blacklist
	mgr: forward RADOS client instances for potential blacklist
	mon/MgrMonitor: blacklist previous instance
	mon: set RUNTIME flag on mon_mds_blacklist_interval
	mgr: use more efficient data structure

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-04 07:10:49 -06:00
Mykola Golub
20c721f3f5
Merge pull request #31950 from dillaman/wip-mirror-peer-fsid
rbd-mirror: peer_ping should send the local fsid to the remote

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-12-04 15:08:23 +02:00
Sage Weil
e24f597630 Merge PR #31908 into master
* refs/pull/31908/head:
	ceph-daemon: use uid/gid 0 when creating tempfiles
	ceph-daemon: drop unneeded `mode` during tmpfile create
	ceph-daemon: consolidate NamedTemporaryFile logic
	ceph-daemon: chown uid/gid `ceph-volume` tmpfiles

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-04 07:06:34 -06:00
Sage Weil
c26c1efdd8 Merge PR #31940 into master
* refs/pull/31940/head:
	mgr/ssh: Port raising exceptions from completion handlers to Py2

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2019-12-04 07:06:13 -06:00
Patrick Seidensal
36421284c3 mgr/dashboard: extend dashboard documentation
by adding the previously added monitoring related features as well as
the newest feature addition. Extends the documentation where necessary
to describe the Prometheus' alert configuration.

Fixes: https://tracker.ceph.com/issues/42877

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-12-04 12:27:37 +01:00