Commit Graph

105121 Commits

Author SHA1 Message Date
Michael Fritch
caf38142d6
ceph-daemon: use uid/gid 0 when creating tempfiles
skip extraction of the uid/gid since `ceph-volume` runs as root

Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-03 07:41:59 -07:00
Kefu Chai
0423dae9be
Merge pull request #31473 from ifed01/wip-ifed-smplify-fsck
os/bluestore: simplify multithreaded shallow fsck.

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-03 22:32:25 +08:00
Sebastian Wagner
88636f8bf0
Merge pull request #31969 from sebastian-philipp/mgr-fix-mocking
pybind/mgr: Make it easier to create a Module instance without the mgr

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-03 15:26:23 +01:00
Lenz Grimmer
b12107a553
mgr/dashboard,grafana: remove shortcut menu (#31951)
mgr/dashboard,grafana: remove shortcut menu

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2019-12-03 13:56:00 +00:00
Alfonso Martínez
5ba114330e mgr/dashboard: grafana charts match time picker selection.
Fixes: https://tracker.ceph.com/issues/43097
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-12-03 14:15:10 +01:00
Sage Weil
6e2d917aca mgr/crash: fix 'crash ls[-new]' sorting
Broken by c691f2f876

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-03 07:12:26 -06:00
Rishabh Dave
a9db23fd18 qa/cephfs: add tests for ACLs
Add code to run tests for ACLs from xfstests-dev against kernel and
FUSE CephFS mounts.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-12-03 18:17:18 +05:30
Kefu Chai
5f4c8d72c8
Merge pull request #31960 from tchaikov/wip-cmake-new-policy
cmake: do not use CMP0093 unless it is supported

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2019-12-03 20:04:28 +08:00
Kefu Chai
f5b2ec5d8f cmake: do not use CMP0093 unless it is supported
CMake CMP0093 was introduced by CMake 3.15, but we only require CMake
v3.10.2. so use the old `Boost_VERSION_MACRO` variable by default,
unless specified otherwise.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-03 20:00:59 +08:00
Sebastian Wagner
fa4650c483 pybind/mgr: Make it easier to create a Module instance without the mgr
Caused by conflict between #30961 and #30262

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-12-03 12:49:07 +01:00
Nathan Cutler
719bff9f35
Merge pull request #31872 from smithfarm/wip-mimic-v13.2.7-doc2
doc/releases: add mimic v13.2.7 to releases timeline

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-12-03 12:21:11 +01:00
Lenz Grimmer
2fba4da644
mgr/dashboard: Increase max-width of popovers (#31743)
mgr/dashboard: Increase max-width of popovers

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-12-03 09:32:21 +00:00
Laura Paduano
4ad8591fe4
Merge pull request #30961 from rjfd/wip-mgr-module-logging
mgr: module logging infrastructure

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-03 10:29:42 +01:00
Ernesto Puerta
1182073f0c
mgr/dashboard,grafana: remove shortcut menu
Remove shortcut menu (links) and add check in grafana CI script.

Fixes: https://tracker.ceph.com/issues/43091
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-12-03 10:21:35 +01:00
Kefu Chai
21dbb99d57
Merge pull request #31962 from bk201/wip-43095
vstart: fix error when getting CMake variables with the same prefix

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-03 15:12:02 +08:00
Kiefer Chang
f4c8cc1293
vstart: fix error when getting CMake variables with the same prefix
The function fails to work when there are multiple variables starts with
the same prefix. e.g.

- WITH_RBD
- WITH_RBD_RGW

Fixes: https://tracker.ceph.com/issues/43095
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2019-12-03 14:15:33 +08:00
Samuel Just
e5a0499b68 crimson/osd: convert PG::wait_for_active to a blocking_future
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
ffb66d4ad0 crimson/osd: use ObjectContext and take obc locks
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
fd803498df crimson/osd/pg_backend: factor out load_object_state/snapset
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
f35c90c7d4 crimson: add ObjectContext/Registry
ObjectContext will hold the ephemeral state and lock status
for an object as in classic osd.

Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
2472b37679 src/osd: factor out RWState, move SnapSetContext, ObjectState, RWState
We'll want to reuse this logic in crimson, but the actual operation
wake/wait mechanics will be different.

Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
fc8f8855e4 common/: introduce intrusive_lru
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
83eba36c2c osd/: factor OSD::init_op_flags into seperate class
We'll want to reuse this in crimson, extract the logic
for setting flags from MOSDOp into osd_types.h.

Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
260f23b759 crimson/common/errorator.h: add finally method for resource release
This way we can add things like resource handlers which are otherwise
transparent to passing values and errors.

Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Samuel Just
030c057048 vstart: add --debug for crimson if debug is enabled
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-12-02 21:35:36 -08:00
Kefu Chai
080d5506ad
Merge pull request #31947 from zdover23/wip-doc-ubuntu-1804-python-minimal
doc: add Python 2 to Ubuntu 18.04 installations

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-03 12:07:42 +08:00
Kefu Chai
aa9e60037c
Merge pull request #31958 from tchaikov/wip-cmake-new-policy
cmake: do not use CMP0074 unless it is supported

Reviewed-by: Samuel Just <sjust@redhat.com>
2019-12-03 10:48:39 +08:00
Sage Weil
123338acc3 qa/suites/rados/ssh: only install ceph-daemon for packaged mode
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-03 02:26:18 +00:00
Kefu Chai
dd0cdb3eb6 cmake: do not use CMP0074 unless it is supported
CMake CMP0074 was introduced by CMake 3.12, but we only require CMake
v3.10.2. so default to check `Boost_ROOT` unless specified otherwise.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-03 09:51:17 +08:00
Neha Ojha
0657d95b2c os/bluestore/BlueStore.cc: set priorities for compression stats
To allow compression statistics to be exported by ceph-mgr and make
them appear on the dashboard.

Fixes: https://tracker.ceph.com/issues/42961
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-12-03 01:41:22 +00:00
Michael Fritch
70a4a1a900
ceph-daemon: drop unneeded mode during tmpfile create
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-02 16:59:05 -07:00
Sage Weil
3f2a5dbf27 ceph-daemon: name mgr the same way mgr/ssh does
(with a random 6-char id, not the hostname)

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-02 17:47:50 -06:00
Michael Fritch
e92929d86d
ceph-daemon: consolidate NamedTemporaryFile logic
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-02 16:17:43 -07:00
Michael Fritch
d0fd6df326
ceph-daemon: chown uid/gid ceph-volume tmpfiles
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-02 16:17:42 -07:00
Sage Weil
2c1235ba69 Merge PR #31913 into master
* refs/pull/31913/head:
	ceph-daemon: Allow env var for setting the used image

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-02 16:26:33 -06:00
Sage Weil
3342436177 tasks/ceph2: add support for packaged ceph-daemon
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-02 21:19:09 +00:00
Sage Weil
3798a3153b mgr/ssh: fix remove_osds
Broken by the new completions

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-02 15:06:42 -06:00
Sage Weil
77ad9eba7b mgr/ssh: fix service_action
Broken by the new completions

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-02 15:06:14 -06:00
Jason Dillaman
4f652b5cce rbd-mirror: peer_ping should send the local fsid to the remote
It was previously incorrectly sending the remote cluster's
fsid to the remote cluster.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-02 15:45:04 -05:00
Ilya Dryomov
8517268008
Merge pull request #31919 from idryomov/wip-krbd-udev-improvements
krbd: do away with explicit memory management and other cleanups

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-12-02 21:27:31 +01:00
Ilya Dryomov
4fe245cc2f qa: update krbd tests for python3
There is no /usr/bin/python symlink in CentOS 8 even if python2 is
installed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-12-02 21:13:19 +01:00
Sage Weil
bfe1370698 Merge PR #31933 into master
* refs/pull/31933/head:
	mgr/ssh: `test_mon_update` needs to set a mon name

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-02 13:58:28 -06:00
Sage Weil
983b872da0 Merge PR #31274 into master
* refs/pull/31274/head:
	osd/OSD: enhance osd numa affinity compatibility

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-02 12:56:05 -06:00
Sage Weil
884c84d844 Merge PR #31348 into master
* refs/pull/31348/head:
	tools/rados: update advisory lock break usage with --lock-cookie required

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-02 12:55:49 -06:00
Sage Weil
7a841ef49c Merge PR #31669 into master
* refs/pull/31669/head:
	bluestore: tiny tracepoints improvement

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2019-12-02 12:55:26 -06:00
Kefu Chai
fa5a908659
Merge pull request #31943 from tchaikov/wip-31224
python-common: move pytest integration from setup.py to tox.ini

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-03 00:52:00 +08:00
Zac Dover
5c5f312a5b doc: add Python 2 to Ubuntu 18.04 installations
This commit updates the "Create a Cluster" section of the
"Storage Cluster Quick Start" document. Ubuntu 18.04 does
not have Python 2 installed by default. This commit instructs
users of Python 18.04 to install the package "python-minimal"
to provide Python 2 prior to running "ceph-deploy".

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

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-03 02:21:27 +10:00
Joao Eduardo Luis
065d12b826 common: allow running without config
If `--no-config-file` is specified, allow the caller to ignore the
requirements to find a config file. This presumes that the caller either
doesn't need to be configured, or that whatever it may need is provided
via the cli.

Signed-off-by: Joao Eduardo Luis <joao@suse.com>
2019-12-02 23:28:31 +08:00
Casey Bodley
c794ebb26e
Merge pull request #31361 from hairesis/kms_transit_backend
rgw: extend SSE-KMS with Vault using transit secrets engine

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-02 10:20:19 -05:00
Sebastian Wagner
615ec40195 python-common: move pytest integration from setup.py to tox.ini
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-12-02 23:02:04 +08:00