]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoos/bluestore: invoke _prepare_ondisk_format_super as the last op 34610/head
Igor Fedotov [Fri, 17 Apr 2020 16:26:29 +0000 (19:26 +0300)]
os/bluestore: invoke _prepare_ondisk_format_super as the last op

Fixes: https://tracker.ceph.com/issues/45133
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit e792e19331d7cde91b0e8601fd33c41765a10232)

5 years agoos/bluestore: allow main device expansion when DB needs space to
Igor Fedotov [Fri, 20 Mar 2020 17:01:03 +0000 (20:01 +0300)]
os/bluestore: allow main device expansion when DB needs space to
recover.

This patch provides a fix for an expansion "deadlock" state:
OSD is out of space at main disk and DB needs to recover and
flush some additional data to the disk. To expand the main device one needs
to alter freelist parameters in DB which in turn triggers DB recovery.
The following approach is used to fix that:
1) Major set of Freelist Manager's key parameters
(primarily actual size and block count) is kept at device label from now on.
2)Secondary replica of parameters set is preserved at DB mostly to permit
downgrades if any.
3) At first expansion procedure updates bdev label only. No updates to DB takes
place hence read-only mode for DB is enough to execute it.

4) On regular BlueStore mount (second stage of expantion does this as
well) DB is initially loaded in read-only.

5)Freelist manager is started and initiated with parameters from device label.
Original allocation bits are taken from DB, new ones (appeared after
expansion but not present in DB) are virtually treated by FM as free.
Allocator is initialed with expanded size accordingly.

6) DB is reopened in full access mode. During this process BlueFS is able
to request for additional space from main device. This still doesn't need
DB update as BlueFS tracks owned extents via internal logging, not
persisting this info at DB
Hence DB recovery if any completes successfully. DB is fully operational
at this point.

7) Freelist Manager sync function is called to
commit all the changes: expanded size, location bits adjustment for
old and new boundaries.
Regular allocations that needs DB update are operational at this point.
Store is ready.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 69a43efccfd3289a3ffec1d76dc4b4a208e0ec0c)

5 years agoos/bluestore: avoid bluefs log compaction when doing cold_close
Igor Fedotov [Wed, 18 Mar 2020 11:51:47 +0000 (14:51 +0300)]
os/bluestore: avoid bluefs log compaction when doing cold_close

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit db6f3f66fcc28c3db2eba01611664676a820cb90)

5 years agoos/bluestore: modify return type for BlueFS::_get_slow_device_id()
Igor Fedotov [Tue, 17 Mar 2020 18:22:56 +0000 (21:22 +0300)]
os/bluestore: modify return type for BlueFS::_get_slow_device_id()

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit de79da6a065315eb92b203308598d4c452adcc75)

5 years agoos/bluestore: open db in read-only when expanding standalone DB/WAL
Adam Kupczyk [Tue, 17 Mar 2020 13:56:58 +0000 (14:56 +0100)]
os/bluestore: open db in read-only when expanding standalone DB/WAL

Replace mount() with cold_open() to force opening db in read-only mode.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 976079216cec202d47b7193d19b16f5a8578f269)

5 years agokv/rocksdb: remove obsolete func declarations.
Igor Fedotov [Mon, 16 Mar 2020 17:35:46 +0000 (20:35 +0300)]
kv/rocksdb: remove obsolete func declarations.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 58e12372e8306e453f44688ac0bc15f5b08bdf09)

5 years agoos/bluestore: be more informative about main device's avail space.
Igor Fedotov [Mon, 16 Mar 2020 14:02:51 +0000 (17:02 +0300)]
os/bluestore: be more informative about main device's avail space.

Log it on OSD startup. Previous output lacked bluefs occupation.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit d2ff682ebcbc9c394df7e17fde854efc52e4351c)

5 years agoos/bluestore: show space available from bluestore when dumping bluefs devices.
Igor Fedotov [Mon, 16 Mar 2020 13:40:54 +0000 (16:40 +0300)]
os/bluestore: show space available from bluestore when dumping bluefs devices.

This effectively allows ceph-bluestore-tool to report space available from bluestore
for bluefs-bdev-sizes command, i.e. estimate how utilized main device is.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 7662fce0439456cc3aa4da23248321a4ff90745e)

5 years agoMerge pull request #34299 from liewegas/bp-34150-octopus
Sebastian Wagner [Wed, 15 Apr 2020 15:55:29 +0000 (17:55 +0200)]
Merge pull request #34299 from liewegas/bp-34150-octopus

octopus: cephadm: rm-cluster clean up /etc/ceph

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34387 from smithfarm/wip-44897-octopus
Yuri Weinstein [Wed, 15 Apr 2020 14:41:16 +0000 (07:41 -0700)]
Merge pull request #34387 from smithfarm/wip-44897-octopus

octopus: pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
5 years agoMerge pull request #34440 from sebastian-philipp/octopus-backport-34406
Sebastian Wagner [Tue, 14 Apr 2020 14:08:22 +0000 (16:08 +0200)]
Merge pull request #34440 from sebastian-philipp/octopus-backport-34406

octopus: qa/suites/rados/cephadm/upgrade: start from v15.2.0

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34438 from sebastian-philipp/octopus-backport-34062-34061-34248...
Sebastian Wagner [Tue, 14 Apr 2020 14:07:55 +0000 (16:07 +0200)]
Merge pull request #34438 from sebastian-philipp/octopus-backport-34062-34061-34248-34295-34250-34206-34361-34330-34367-34384-34296-34385-34374

octopus: cephadm: batch backport March

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34423 from smithfarm/wip-44893-octopus
Sebastian Wagner [Tue, 14 Apr 2020 08:59:02 +0000 (10:59 +0200)]
Merge pull request #34423 from smithfarm/wip-44893-octopus

octopus: cephadm: ceph-volume: disallow concurrent execution

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34407 from liewegas/pr-34296-octopus
Sebastian Wagner [Tue, 14 Apr 2020 08:58:22 +0000 (10:58 +0200)]
Merge pull request #34407 from liewegas/pr-34296-octopus

octopus: qa/tasks/cephadm: add 'roleless' mode

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34523 from smithfarm/wip-45053-octopus
Nathan Cutler [Tue, 14 Apr 2020 08:26:20 +0000 (10:26 +0200)]
Merge pull request #34523 from smithfarm/wip-45053-octopus

octopus: doc/releases/nautilus: restart OSDs to make them bind to v2 addr

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agodoc/releases/nautilus: restart OSDs to make them bind to v2 addr 34523/head
Nathan Cutler [Thu, 2 Apr 2020 11:03:31 +0000 (13:03 +0200)]
doc/releases/nautilus: restart OSDs to make them bind to v2 addr

Fixes: https://tracker.ceph.com/issues/43896
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 4facd9daa524f1e2d77511ee6b1a18e108c07d31)

5 years ago15.2.1 v15.2.1
Jenkins Build Slave User [Wed, 8 Apr 2020 17:51:49 +0000 (17:51 +0000)]
15.2.1

5 years agoMerge pull request #34482 from ceph/octopus-fixes
Abhishek L [Wed, 8 Apr 2020 16:46:45 +0000 (18:46 +0200)]
Merge pull request #34482 from ceph/octopus-fixes

Octopus fixes

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Radoslaw Zarynski <rzarynski@redhat.com>
Reviewed-By: Josh Durgin <jdurgin@redhat.com>
5 years agorgw: reject control characters in response-header actions 34482/head
Robin H. Johnson [Fri, 27 Mar 2020 19:48:13 +0000 (20:48 +0100)]
rgw: reject control characters in response-header actions

S3 GetObject permits overriding response header values, but those inputs
need to be validated to insure only characters that are valid in an HTTP
header value are present.

Credit: Initial vulnerability discovery by William Bowling (@wcbowling)
Credit: Further vulnerability discovery by Robin H. Johnson <rjohnson@digitalocean.com>
Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
5 years agorgw: EPERM to ERR_INVALID_REQUEST
Abhishek Lekshmanan [Fri, 27 Mar 2020 18:29:01 +0000 (19:29 +0100)]
rgw: EPERM to ERR_INVALID_REQUEST

As per Robin's comments and S3 spec

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agorgw: reject unauthenticated response-header actions
Matt Benjamin [Fri, 27 Mar 2020 17:13:48 +0000 (18:13 +0100)]
rgw: reject unauthenticated response-header actions

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d8dd5e513c0c62bbd7d3044d7e2eddcd897bd400)

5 years agomsg/async/crypto_onwire: fix endianness of nonce_t
Ilya Dryomov [Fri, 6 Mar 2020 19:16:45 +0000 (20:16 +0100)]
msg/async/crypto_onwire: fix endianness of nonce_t

As a AES-GCM IV, nonce_t is implicitly shared between server and
client.  Currently, if their endianness doesn't match, they are unable
to communicate in secure mode because each gets its own idea of what
the next nonce should be after the counter is incremented.

Several RFCs state that the nonce counter should be BE, but since we
use LE for everything on-disk and on-wire, make it LE.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agomsg/async/ProtocolV2: avoid AES-GCM nonce reuse vulnerabilities
Ilya Dryomov [Fri, 6 Mar 2020 19:16:45 +0000 (20:16 +0100)]
msg/async/ProtocolV2: avoid AES-GCM nonce reuse vulnerabilities

The secure mode uses AES-128-GCM with 96-bit nonces consisting of a
32-bit counter followed by a 64-bit salt.  The counter is incremented
after processing each frame, the salt is fixed for the duration of
the session.  Both are initialized from the session key generated
during session negotiation, so the counter starts with essentially
a random value.  It is allowed to wrap, and, after 2**32 frames, it
repeats, resulting in nonce reuse (the actual sequence numbers that
the messenger works with are 64-bit, so the session continues on).

Because of how GCM works, this completely breaks both confidentiality
and integrity aspects of the secure mode.  A single nonce reuse reveals
the XOR of two plaintexts and almost completely reveals the subkey
used for producing authentication tags.  After a few nonces get used
twice, all confidentiality and integrity goes out the window and the
attacker can potentially encrypt-authenticate plaintext of their
choice.

We can't easily change the nonce format to extend the counter to
64 bits (and possibly XOR it with a longer salt).  Instead, just
remember the initial nonce and cut the session before it repeats,
forcing renegotiation.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Conflicts:
src/msg/async/ProtocolV2.h [ context: commit ed3ec4c01d17
  ("msg: Build target 'common' without using namespace in
  headers") not in octopus ]

5 years agoMerge pull request #34372 from rhcs-dashboard/wip-44697-octopus
Lenz Grimmer [Wed, 8 Apr 2020 08:47:08 +0000 (10:47 +0200)]
Merge pull request #34372 from rhcs-dashboard/wip-44697-octopus

octopus: mgr/dashboard: add popover list of Stand-by Managers & Metadata Servers (MDS) in landing page

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34358 from smithfarm/wip-44786-octopus
Lenz Grimmer [Wed, 8 Apr 2020 08:46:02 +0000 (10:46 +0200)]
Merge pull request #34358 from smithfarm/wip-44786-octopus

octopus: qa/tasks/mgr/dashboard/test_health: update mdsmap schema

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34402 from rhcs-dashboard/wip-44932-octopus
Lenz Grimmer [Wed, 8 Apr 2020 08:45:18 +0000 (10:45 +0200)]
Merge pull request #34402 from rhcs-dashboard/wip-44932-octopus

octopus: mgr/dashboard: fix error when enabling SSO with cert. file

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agopybind/mgr: tox.ini include cython bindings. 34438/head
Jan Fajerski [Wed, 18 Dec 2019 10:35:40 +0000 (11:35 +0100)]
pybind/mgr: tox.ini include cython bindings.

(cherry picked from commit a44de38b61d598fb0512ea48da0de4179d39b804)

Conflicts:
src/pybind/mgr/tox.ini

The rest of this commit was not picked:

> mgr_util: add CephfsClient implementation
>
> This pulls parts of the VolumesClient implementation into mgr_util to
> make the CephFS specific pieces available to other mgr modules. To
> reduce code duplication the VolumeClient now extends the CephfsClient
> class to add the volume specific methods.

> Signed-off-by: Jan Fajerski <jfajerski@suse.com>

5 years agoMerge pull request #34403 from rhcs-dashboard/wip-44933-octopus
Lenz Grimmer [Tue, 7 Apr 2020 16:18:28 +0000 (18:18 +0200)]
Merge pull request #34403 from rhcs-dashboard/wip-44933-octopus

octopus: mgr/dashboard: fix notifications E2E tests

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #34397 from votdev/wip-44921-octopus
Laura Paduano [Tue, 7 Apr 2020 13:53:41 +0000 (15:53 +0200)]
Merge pull request #34397 from votdev/wip-44921-octopus

octopus: mgr/dashboard: Add more debug information to Dashboard RGW backend

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoqa/suites/rados/cephadm/upgrade: start from v15.2.0 34440/head
Sage Weil [Fri, 3 Apr 2020 19:15:01 +0000 (14:15 -0500)]
qa/suites/rados/cephadm/upgrade: start from v15.2.0

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 44ca20017a23625d47aa32c20f277fa4c69de76a)

5 years agopybind/mgr: Fix `run_tox.sh mgr -- cephadm`
Sebastian Wagner [Thu, 2 Apr 2020 12:52:33 +0000 (14:52 +0200)]
pybind/mgr: Fix `run_tox.sh mgr -- cephadm`

Failed with a cryptic error.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit dbd696466799bc47e0716a9dc0c5cf916e99213e)

5 years agodoc/dev/cephadm: a few notes on developing with cephadm
Sage Weil [Fri, 3 Apr 2020 01:36:06 +0000 (20:36 -0500)]
doc/dev/cephadm: a few notes on developing with cephadm

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 086acd20b956e4ec5e19f4c72bd3b2214dc46d2a)

5 years agoqa/suites/rados/cephadm/smoke-roleless: add smoke test
Sage Weil [Mon, 30 Mar 2020 18:21:12 +0000 (18:21 +0000)]
qa/suites/rados/cephadm/smoke-roleless: add smoke test

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 76b559598a4fe38e77615d05b2dac60138a18d3e)

5 years agoqa/tasks/cephadm: add 'roleless' mode
Sage Weil [Mon, 30 Mar 2020 17:57:09 +0000 (17:57 +0000)]
qa/tasks/cephadm: add 'roleless' mode

Allow cephadm to start up with roles like:

roles:
- - host.a
  - client.0
  - osd.0
  - osd.1
- - host.b
  - osd.2
  - osd.3

Cephadm will pick the mon names (based on host) and provision all
services by default.

The cephadm task can still provision other daemons, but it may
fight with mgr/cephadm.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 9e609c9ed7f8699f08e682dc6d83611bd394fce7)

5 years agocephadm: create /var/run/ceph dir via unit.run, not unit file
Sage Weil [Thu, 2 Apr 2020 23:36:39 +0000 (18:36 -0500)]
cephadm: create /var/run/ceph dir via unit.run, not unit file

The systemd unit file is shared with non-ceph daemons, which (1) don't
need the /var/run directory, and (2) are based on a uid/gid from a
different container image, which means we can't figure out the right
ceph uid/gid from them to set the ownership properly.

Instead, put it in the unit.run file... and only for ceph daemons when
we have the uid/gid we need.

Fixes: https://tracker.ceph.com/issues/44894
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a3be5f2aca8ac8163906e3015740327440a375b1)

5 years agoCODEOWNERS: update cephadm paths
Sebastian Wagner [Thu, 2 Apr 2020 09:00:48 +0000 (11:00 +0200)]
CODEOWNERS: update cephadm paths

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 3366f6b616b9bf40a5b953276ba380fb83035d67)

5 years agocephadm: add `extra_args` to nfs daemon
Michael Fritch [Tue, 31 Mar 2020 23:39:03 +0000 (17:39 -0600)]
cephadm: add `extra_args` to nfs daemon

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 246a80af7a51a768fbc81b36d5963306b5062a6b)

5 years agocephadm: check hostnames case insensitive
Sebastian Wagner [Thu, 26 Mar 2020 11:21:31 +0000 (12:21 +0100)]
cephadm: check hostnames case insensitive

Salt converts minion names to lowercase.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 8194d4972fe3e58c801e4f0554fdff98ed7dfaa4)

5 years agomgr/cephadm: add useful error if python3 is not on remote host
Daniel-Pivonka [Fri, 27 Mar 2020 18:38:41 +0000 (14:38 -0400)]
mgr/cephadm: add useful error if python3 is not on remote host

show 'Error ENOENT: New host example (example) failed check: ["Can't communicate with
remote host, possibly because python3 is not installed there"]' instead of traceback
with OSError: cannot send(already closed?) when adding host if python3 is not on host

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
(cherry picked from commit bb4554a3a67c4fc29b5dad597fbb880ea52394ac)

5 years agopython-common: raise on emtpy drive groups
Sebastian Wagner [Mon, 30 Mar 2020 17:51:31 +0000 (19:51 +0200)]
python-common: raise on emtpy drive groups

adds a test for https://tracker.ceph.com/issues/44758

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 874ba5049a820d6d8aa772b34c971048641e2143)

5 years agoqa/tasks/cephadm: no need to explicitly reconfig
Sage Weil [Fri, 27 Mar 2020 15:43:11 +0000 (10:43 -0500)]
qa/tasks/cephadm: no need to explicitly reconfig

cephadm does this magically now.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 65ad142d59b40f2c87fbfa9b593a7f4c367d3c42)

5 years agoqa/tasks/cephadm: fetch final ceph.conf
Sage Weil [Fri, 27 Mar 2020 15:42:47 +0000 (10:42 -0500)]
qa/tasks/cephadm: fetch final ceph.conf

Otherwise we'll distribute the initial ceph.conf, which only has the
bootstrap mon in it.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 29d2d7d64b01daed19ba18d971101d756b57ced6)

5 years agoqa/tasks/cephadm: distribute ceph.conf and admin keyring to all nodes
Sage Weil [Fri, 27 Mar 2020 15:39:09 +0000 (10:39 -0500)]
qa/tasks/cephadm: distribute ceph.conf and admin keyring to all nodes

Revert part of 96220c0c0574eb5b896023e1552f528bef9e1ca5 so that we still
distribute a *final* ceph.conf and admin keyring to all nodes, right after
all of the mons are up.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 4c78dfe26fd0ec80a517d200f4685b216272f682)

5 years agomgr/orch: Add `ceph orch ls --export`
Sebastian Wagner [Wed, 25 Mar 2020 12:12:46 +0000 (13:12 +0100)]
mgr/orch: Add `ceph orch ls --export`

* defaults to `--format yaml`
* don't include `status`

```
$  ceph orch ls --export
placement:
  host_pattern: '*'
service_name: crash
service_type: crash
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 3543aeb84cfc3d7b8e9874cc70dad4d96cfefaf8)

5 years agomgr/dashboard: adapt to new `ServiceDescription.to_json()`
Sebastian Wagner [Fri, 20 Mar 2020 10:27:04 +0000 (11:27 +0100)]
mgr/dashboard: adapt to new `ServiceDescription.to_json()`

`ServiceDescription.to_json()` is now based on `ServiceSpec.to_json()`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit c5e6ecb54758673828a4a0ed3c817c53bde0d9ee)

5 years agopython-common: add `service_name` to `ServiceSpec.to_json`
Sebastian Wagner [Fri, 20 Mar 2020 10:25:35 +0000 (11:25 +0100)]
python-common: add `service_name` to `ServiceSpec.to_json`

To make it compatible to `Orchestrator.describe_service`.
Otherwise we have the awkward situation that users need to
pass `service_name` to `describe_service`, but `service_id` to apply

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 6bffff2f1be55f09b43b7abdb36646f0939f1f98)

5 years agopython-common: make ServiceSpec and ServiceDescription compatible
Sebastian Wagner [Thu, 19 Mar 2020 14:17:16 +0000 (15:17 +0100)]
python-common: make ServiceSpec and ServiceDescription compatible

`ServiceSpec.from_json(ServiceDescription().to_json())` now works

as does

`ceph orch ls  --format yaml | ceph orch apply -i -`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 7f8c7ad3ca1d5c3a70033aa85c6adbd7cfa6f547)

5 years agosrc/ceph.in: add yaml to known formats
Sebastian Wagner [Thu, 19 Mar 2020 14:03:00 +0000 (15:03 +0100)]
src/ceph.in: add yaml to known formats

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 4a4dac27254e97d0d41e201dc200518654a520fa)

5 years agomgr/orch: add yaml to `orch ls`
Sebastian Wagner [Thu, 19 Mar 2020 13:43:44 +0000 (14:43 +0100)]
mgr/orch: add yaml to `orch ls`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit dcde4899ce42836b8c15dcd6076d2521bca24ff7)

5 years agomgr/orch: remove `orch spec dump`
Sebastian Wagner [Thu, 19 Mar 2020 13:16:48 +0000 (14:16 +0100)]
mgr/orch: remove `orch spec dump`

as this is now a subset of `orch ls`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 446ede26f3dcbaa5d9a631730c43ab9b11b38b52)

5 years agopython-common: reorder RGWSpec arguments
Sebastian Wagner [Fri, 20 Mar 2020 11:03:36 +0000 (12:03 +0100)]
python-common: reorder RGWSpec arguments

to match the argumens from `ServiceSpec`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 9335b7e5647b6afafdcdfe30c8023fc1e7655a34)

5 years agopython-common: prevent ServiceSpec of wrong type
Sebastian Wagner [Thu, 19 Mar 2020 13:11:38 +0000 (14:11 +0100)]
python-common: prevent ServiceSpec of wrong type

Some Python foo to make sure, we don't have an object
like `ServiceSpec('rgw')` of type `ServiceSpec`. Now we have:

>>> type(ServiceSpec('rgw')) == type(RGWSpec('rgw'))

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit e39088c30e315fa8d00e6baf1090839f71bf711a)

5 years agopybind/mgr: tox.ini: omit cov report
Sebastian Wagner [Thu, 19 Mar 2020 11:58:57 +0000 (12:58 +0100)]
pybind/mgr: tox.ini: omit cov report

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 672ee984ec1ca53ee9a9fe79e826053c3fa40b45)

Conflicts:
src/pybind/mgr/tox.ini

5 years agoMerge pull request #34428 from badone/wip-octopus-specify-rule-for-pool-creation
Brad Hubbard [Tue, 7 Apr 2020 07:03:23 +0000 (17:03 +1000)]
Merge pull request #34428 from badone/wip-octopus-specify-rule-for-pool-creation

octopus: specify rule for pool creation

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agomgr/cephadm: test describe_service
Sebastian Wagner [Thu, 19 Mar 2020 11:58:37 +0000 (12:58 +0100)]
mgr/cephadm: test describe_service

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 372d2aca35495c74a8e7d60c8cee36ed05250cf4)

5 years agomgr/orch: ServiceDescription: change json representation
Sebastian Wagner [Thu, 19 Mar 2020 11:57:08 +0000 (12:57 +0100)]
mgr/orch: ServiceDescription: change json representation

In order to match the new paradigm

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 24e375a53687ff4ff7e92cbb0b3e8e4a382a8e0c)

5 years agomgr/orch: ServiceDescription: Make spec a requirement
Sebastian Wagner [Thu, 19 Mar 2020 11:56:07 +0000 (12:56 +0100)]
mgr/orch: ServiceDescription: Make spec a requirement

Because, a ServiceDescription is superset of a spec

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit b4c88196ffbfdf993834b14a888b30a50ec64a89)

5 years agocephadm: update check-host() to return all problems
Daniel-Pivonka [Wed, 18 Mar 2020 23:19:18 +0000 (19:19 -0400)]
cephadm: update check-host() to return all problems

if checks fail, they show one at a time, forcing the admin to repeat
the command to get passed each check.

All checks should run and report once, so the admin can fix all issues
in one go, and not be forced to do repeated commands

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
(cherry picked from commit daed94a539e84f2efb7b6c05daceabf8ea96318f)

5 years agoqa/ceph-ansible: CA master requires Ansible 2.9 34428/head
Brad Hubbard [Mon, 30 Mar 2020 09:46:19 +0000 (19:46 +1000)]
qa/ceph-ansible: CA master requires Ansible 2.9

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit c9317ea2aeab9e038b1664af36dc3404daf9f3bd)

5 years agoqa/ceph-ansible: rule_name is required for pool creation
Brad Hubbard [Mon, 30 Mar 2020 06:21:14 +0000 (16:21 +1000)]
qa/ceph-ansible: rule_name is required for pool creation

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit a12353815dac3db5c8452fb2d7649a032d4832f4)

5 years agoMerge pull request #34401 from sebastian-philipp/octopus-backport-34290-34318-34319
Nathan Cutler [Mon, 6 Apr 2020 16:10:27 +0000 (18:10 +0200)]
Merge pull request #34401 from sebastian-philipp/octopus-backport-34290-34318-34319

octopus: cephadm: docs batch 1

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agocephadm: ceph-volume: disallow concurrent execution 34423/head
Sage Weil [Tue, 31 Mar 2020 13:16:25 +0000 (08:16 -0500)]
cephadm: ceph-volume: disallow concurrent execution

Fixes: https://tracker.ceph.com/issues/44820
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit eae20a70738f20738b3754e464b8a4922912e58a)

5 years agoqa/suites/rados/cephadm/smoke-roleless: add smoke test 34407/head
Sage Weil [Mon, 30 Mar 2020 18:21:12 +0000 (18:21 +0000)]
qa/suites/rados/cephadm/smoke-roleless: add smoke test

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 76b559598a4fe38e77615d05b2dac60138a18d3e)

5 years agoqa/tasks/cephadm: add 'roleless' mode
Sage Weil [Mon, 30 Mar 2020 17:57:09 +0000 (17:57 +0000)]
qa/tasks/cephadm: add 'roleless' mode

Allow cephadm to start up with roles like:

roles:
- - host.a
  - client.0
  - osd.0
  - osd.1
- - host.b
  - osd.2
  - osd.3

Cephadm will pick the mon names (based on host) and provision all
services by default.

The cephadm task can still provision other daemons, but it may
fight with mgr/cephadm.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 9e609c9ed7f8699f08e682dc6d83611bd394fce7)

5 years agomgr/dashboard: fix notifications E2E tests 34403/head
Alfonso Martínez [Mon, 16 Mar 2020 15:11:10 +0000 (16:11 +0100)]
mgr/dashboard: fix notifications E2E tests

Fixes: https://tracker.ceph.com/issues/44626
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 418b21ac6f2314edb3fda093db3ef694fa9c7ffe)

5 years agomgr/dashboard: fix error when enabling SSO with cert. file 34402/head
Alfonso Martínez [Wed, 18 Mar 2020 16:19:13 +0000 (17:19 +0100)]
mgr/dashboard: fix error when enabling SSO with cert. file

Also:
* Disabled security setting 'wantNameIdEncrypted': not all Identity Providers support this and we are already requiring encrypted assertions (which is the default).

Fixes: https://tracker.ceph.com/issues/44666
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 8b0b9277ca3aa0dc5313ac635a06c0f80000b6ac)

5 years agodoc/mgr/orchestrator: update cephadm shell proposed alias entry 34401/head
clyso [Tue, 31 Mar 2020 12:50:07 +0000 (14:50 +0200)]
doc/mgr/orchestrator: update cephadm shell proposed alias entry

prior change i get following error when using alias as "ceph -v":
INFO:cephadm:Inferring fsid ecfdb924-7341-11ea-943c-020100010027
INFO:cephadm:Using recent ceph image ceph/ceph:v15
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "/usr/bin/ceph -v": stat /usr/bin/ceph -v: no such file or directory": unknown.
after:
INFO:cephadm:Inferring fsid ecfdb924-7341-11ea-943c-020100010027
INFO:cephadm:Using recent ceph image ceph/ceph:v15
ceph version 15.2.0 (dc6a0b5) octopus (rc)

Signed-off-by: Tobias Fischer <tobias.fischer@clyso.com>
(cherry picked from commit 4a850e1dca911ba17a9645c982742443be547021)

5 years agodoc/mgr/orchestrator: add path to ssh-copy-id instructions
clyso [Tue, 31 Mar 2020 12:48:05 +0000 (14:48 +0200)]
doc/mgr/orchestrator: add path to ssh-copy-id instructions

by default ssh key will be placed under /etc/ceph - so it should be included in examples

Signed-off-by: Tobias Fischer <tobias.fischer@clyso.com>
(cherry picked from commit 87440ab4d26b6cd1576eacdbbe47f28f90bacc1c)

5 years agodoc/mgr/orchestrator: Update `Placement by pattern matching`
Sebastian Wagner [Wed, 1 Apr 2020 09:33:51 +0000 (11:33 +0200)]
doc/mgr/orchestrator: Update `Placement by pattern matching`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit b740ae12e54e69e21fa06081d47b0ed4f90fac41)

5 years agodoc/mgr/orchestrator: use yaml syntax highlighting
Sebastian Wagner [Tue, 31 Mar 2020 13:21:45 +0000 (15:21 +0200)]
doc/mgr/orchestrator: use yaml syntax highlighting

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit bc162005a92d92dc5e84bda5a7034057af2436b6)

5 years agodoc/cephadm/drivegroup: Don't introduce DriveGroups
Sebastian Wagner [Mon, 30 Mar 2020 14:48:16 +0000 (16:48 +0200)]
doc/cephadm/drivegroup: Don't introduce DriveGroups

We already have a name for it: a Service Specification of
type `osd`. We don't need to introduce a new name for it.

Well, they are "DriveGroups", but users don't need to know it.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 8d4487527e17824cd1ad18ad52d8f3449899cf21)

5 years agodoc/cephadm/drivegroups: Update to new yaml
Sebastian Wagner [Mon, 30 Mar 2020 14:43:44 +0000 (16:43 +0200)]
doc/cephadm/drivegroups: Update to new yaml

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit f5e3e60e0eef840a709e2d118c421d409b58b957)

5 years agodoc/mgr/orchestrator: Add "Service Specification"
Sebastian Wagner [Mon, 30 Mar 2020 14:36:46 +0000 (16:36 +0200)]
doc/mgr/orchestrator: Add "Service Specification"

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 0c6759750a95083081cd2b701d2d60b3966428c8)

5 years agomgr/dashboard: Add more debug information to Dashboard RGW backend 34397/head
Volker Theile [Thu, 2 Apr 2020 14:01:53 +0000 (16:01 +0200)]
mgr/dashboard: Add more debug information to Dashboard RGW backend

Fixes: https://tracker.ceph.com/issues/44914
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 4febdd6ddaddebd2a8d07f44c8d0f79524305766)

5 years agoMerge pull request #34355 from smithfarm/wip-44710-octopus
Sebastian Wagner [Fri, 3 Apr 2020 10:51:29 +0000 (12:51 +0200)]
Merge pull request #34355 from smithfarm/wip-44710-octopus

octopus: doc/cephadm: replace `osd create` with `apply osd`

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agopybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output 34387/head
zhangdaolong [Tue, 24 Mar 2020 00:51:44 +0000 (08:51 +0800)]
pybind/rbd: fix no lockers are obtained, ImageNotFound exception will be output

No lockers are obtained, ImageNotFound exception will be output,
but tht image is always exist.when lockers number is zero,
Should not output any exceptions。

Fixes: https://tracker.ceph.com/issues/44613
Signed-off-by: zhangdaolong <zhangdaolong@fiberhome.com>
(cherry picked from commit a183aac978dac69f996250324975073a78cb476b)

5 years agomgr/dashboard: add popover list of managers in landing page 34372/head
Avan Thakkar [Tue, 25 Feb 2020 08:49:10 +0000 (14:19 +0530)]
mgr/dashboard: add popover list of managers in landing page
Fixes: https://tracker.ceph.com/issues/42979
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit cdfeb1d196c7d47340baae2be5910b90c889e778)

5 years agoqa/tasks/mgr/dashboard/test_health: ignore fsmap.standbys 34358/head
Kiefer Chang [Wed, 25 Mar 2020 03:17:17 +0000 (11:17 +0800)]
qa/tasks/mgr/dashboard/test_health: ignore fsmap.standbys

Fixes: https://tracker.ceph.com/issues/44725
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit afce413014086ab7cab5de133dae91e30635198a)

5 years agoqa/tasks/mgr/dashboard/test_health: update mdsmap schema
Kiefer Chang [Tue, 24 Mar 2020 10:14:05 +0000 (18:14 +0800)]
qa/tasks/mgr/dashboard/test_health: update mdsmap schema

Fixes: https://tracker.ceph.com/issues/44725
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
(cherry picked from commit 933df97cab1c1042dc350d8c08d26cb01ea240cf)

5 years agodoc/cephadm: replace `osd create` with `apply osd` 34355/head
Sebastian Wagner [Fri, 20 Mar 2020 11:33:27 +0000 (12:33 +0100)]
doc/cephadm: replace `osd create` with `apply osd`

Fixes: https://tracker.ceph.com/issues/44692
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit cb12a3177cb51ea37d3930a40f58c681ddefd2ac)

5 years agoMerge PR #34225 into octopus
Sage Weil [Wed, 1 Apr 2020 19:26:47 +0000 (14:26 -0500)]
Merge PR #34225 into octopus

* refs/pull/34225/head:
doc/start: Update hardware recommendations.

Reviewed-by: David Galloway <dgallowa@redhat.com>
5 years agoMerge PR #34280 into octopus
Sage Weil [Wed, 1 Apr 2020 18:56:01 +0000 (13:56 -0500)]
Merge PR #34280 into octopus

* refs/pull/34280/head:
mgr/dashboard: do not fail on user creation

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge PR #34313 into octopus
Sage Weil [Wed, 1 Apr 2020 18:54:27 +0000 (13:54 -0500)]
Merge PR #34313 into octopus

* refs/pull/34313/head:
qa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #34339 into octopus
Sage Weil [Wed, 1 Apr 2020 18:53:48 +0000 (13:53 -0500)]
Merge PR #34339 into octopus

* refs/pull/34339/head:
qa/tasks/mgr/dashboard/test_rbd: wait longer when purging

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoqa/tasks/mgr/dashboard/test_rbd: wait longer when purging 34339/head
Kiefer Chang [Fri, 27 Mar 2020 05:14:09 +0000 (13:14 +0800)]
qa/tasks/mgr/dashboard/test_rbd: wait longer when purging

Fixes: https://tracker.ceph.com/issues/44743
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Co-authored-by: Kefu Chai <kefu@redhat.com>
Co-authored-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 1c3d6539d93961f9f7bd5308771725410bde32ec)

5 years agoMerge pull request #34323 from dillaman/wip-44861-octopus
Yuri Weinstein [Wed, 1 Apr 2020 00:45:50 +0000 (00:45 +0000)]
Merge pull request #34323 from dillaman/wip-44861-octopus

octopus: librbd: fix client backwards compatibility issues

5 years agolibrbd: re-add support for nautilus clients talking to jewel clusters 34323/head
Jason Dillaman [Thu, 2 May 2019 20:55:44 +0000 (16:55 -0400)]
librbd: re-add support for nautilus clients talking to jewel clusters

We want to support N - 3 client backward compatibility (special case
to support Jewel since it was a LTS release). The "get_snapshot_timestamp"
cls method does not exist in Jewel clusters so librbd should fallback
to excluding the op if it fails.

Note that this N - 3 also needs to apply for downstream releases as well,
which implies we still need Jewel for the time being.

Fixes: http://tracker.ceph.com/issues/39450
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c644121820b83c97e68f9896393a45cd34787672)

Conflicts:
src/test/librbd/image/test_mock_RefreshRequest.cc: tweaked to support pool configs
(cherry picked from commit d1a67c3bda09430bb21f768fb743b3e41c7d411e)

5 years agolibrbd: ignore -EOPNOTSUPP errors when retrieving image group membership
Jason Dillaman [Wed, 20 Mar 2019 18:40:50 +0000 (14:40 -0400)]
librbd: ignore -EOPNOTSUPP errors when retrieving image group membership

The Luminous release did not support adding images to a group (it only
included the bare-minimum support for creating groups). Commit f76df32666b
incorrectly dropped support for ignoring this possible failure. This
prevents Nautilus-release clients from opening images contained within
a Luminous-release cluster.

Fixes: http://tracker.ceph.com/issues/38834
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6f29dc69a0db3b6d982c95ab9d3b9b00a7029e37)
(cherry picked from commit ab720d4c0026d596dcea8782fbdd1640c93ec384)

5 years agoMerge pull request #34202 from tspmelo/wip-44741-octopus
Lenz Grimmer [Tue, 31 Mar 2020 13:59:37 +0000 (15:59 +0200)]
Merge pull request #34202 from tspmelo/wip-44741-octopus

octopus: mgr/dashboard: Check for missing npm resolutions

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length 34313/head
Neha [Sun, 22 Mar 2020 20:01:23 +0000 (20:01 +0000)]
qa/*/osd-backfill-recovery-log.sh: flush_pg_stats before checking log length

It is possible for the pg dump to not be the latest when we check for newprimary
in _common_test(). This is because mgr_stats_period is 5 seconds, and we may not
have fetched the latest stats just yet. This causes the test to look at the same
stats before and after wait_for_clean.

Fixes: https://tracker.ceph.com/issues/43807 (2)
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit cfebec1b128bc2191d2bbe90f99191ae7750b203)

5 years agocephadm: rm-cluster clean up /etc/ceph 34299/head
Daniel-Pivonka [Tue, 24 Mar 2020 19:31:21 +0000 (15:31 -0400)]
cephadm: rm-cluster clean up /etc/ceph

rm-cluster command will delete config, keyring, and pub key files from /etc/ceph

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
(cherry picked from commit b3f69b10dfa269b29fe417c47189d1dc7608a407)

5 years agoMerge PR #34132 into octopus
Sage Weil [Mon, 30 Mar 2020 13:34:39 +0000 (08:34 -0500)]
Merge PR #34132 into octopus

* refs/pull/34132/head:
vstart_runner.py: fix OSError when checking if non-existent path is mounted

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #34255 into octopus
Sage Weil [Mon, 30 Mar 2020 13:33:32 +0000 (08:33 -0500)]
Merge PR #34255 into octopus

* refs/pull/34255/head:
qa/tasks/ceph.py: fail test if osd devices not found
qa/tasks/ceph.py: use .format to log dicts
qa/tasks/ceph.py: drop roles_to_journals and remote_to_roles_to_journals
qa/tasks/ceph.py: drop block_journal, tmpfs_journal
qa/tasks/ceph.py: cleanup: stop calling get_wwn_id_map()

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34212 from s0nea/wip-44709-octopus
Lenz Grimmer [Mon, 30 Mar 2020 10:54:16 +0000 (12:54 +0200)]
Merge pull request #34212 from s0nea/wip-44709-octopus

octopus: mgr/dashboard: correct Orchestrator documentation link

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agomgr/dashboard: do not fail on user creation 34280/head
Tatjana Dehler [Fri, 27 Mar 2020 14:58:42 +0000 (15:58 +0100)]
mgr/dashboard: do not fail on user creation

Accordingly to other Ceph commands do not fail on user
creation with a non-zero error code if the user already
exists.
Instead succeed and return the message 'User <username>
already exists'.

Fixes: https://tracker.ceph.com/issues/44502
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit 9992faa9479b62f05f36352daf89f6e7541f29c9)

5 years agoMerge PR #34192 into octopus
Sage Weil [Sun, 29 Mar 2020 22:38:01 +0000 (17:38 -0500)]
Merge PR #34192 into octopus

* refs/pull/34192/head:
mgr/cephadm: add watch_url to NFS bootstrap config
mgr/cephadm: check for an existing NFS config object
mgr/cephadm: combine `get_daemon_name` and `get_rados_user` funcs
mon: allow `auth caps` for `mgr` profile
mgr/cephadm: add deployment example to NFS docs
mgr/cephadm: add utils.py
mgr/cephadm: create/update keyring during nfs config
mgr/cephadm: pass NFSServiceSpec instead of pool/namespace args
mgr/cephadm: add nfs apply test
mgr/cephadm: fix nfs redeploy/reconfig
mgr/cephadm: ensure nfs uses the correct entity
mgr/cephadm: fix service name for nfs type
mgr/cephadm: apply nfs service spec
mgr/cephadm: don't create a unique nfs daemon name
mgr/cephadm: update docs
mgr/cephadm: add minimal caps for nfs client keyring
mgr/cephadm: add logging to NFSGanesha class
mgr/cephadm: create empty nfs rados config obj
mgr/cephadm: add nfs tests
mgr/cephadm: add a minimal ganesha.conf
mgr/cephadm: deploy nfs-ganesha service
mgr/cephadm: split out `config-and-keyrings` json
mgr/orchestrator: rearrange interface to match impl. order

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #34258 into octopus
Sage Weil [Sun, 29 Mar 2020 22:37:46 +0000 (17:37 -0500)]
Merge PR #34258 into octopus

* refs/pull/34258/head:
cephadm: Fix trucated output of `mgr dump`

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #34199 into octopus
Sage Weil [Sun, 29 Mar 2020 22:37:30 +0000 (17:37 -0500)]
Merge PR #34199 into octopus

* refs/pull/34199/head:
mgr/rook: Blinking lights

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #34204 into octopus
Sage Weil [Sat, 28 Mar 2020 00:59:14 +0000 (19:59 -0500)]
Merge PR #34204 into octopus

* refs/pull/34204/head:
osd/PeeringState: drop mimic assert

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #34178 into octopus
Sage Weil [Sat, 28 Mar 2020 00:57:45 +0000 (19:57 -0500)]
Merge PR #34178 into octopus

* refs/pull/34178/head:
pybind/mgr/*: fix config_notify handling of default values

Reviewed-by: Kefu Chai <kchai@redhat.com>