]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoMerge pull request #34548 from tspmelo/wip-45084-octopus
Lenz Grimmer [Fri, 24 Apr 2020 13:56:21 +0000 (15:56 +0200)]
Merge pull request #34548 from tspmelo/wip-45084-octopus

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #34625 from shyukri/wip-45051-octopus
Lenz Grimmer [Fri, 24 Apr 2020 13:56:00 +0000 (15:56 +0200)]
Merge pull request #34625 from shyukri/wip-45051-octopus

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #34630 from shyukri/wip-44837-octopus
Lenz Grimmer [Fri, 24 Apr 2020 13:55:33 +0000 (15:55 +0200)]
Merge pull request #34630 from shyukri/wip-44837-octopus

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34686 from sebastian-philipp/octopus-backport-34443
Sebastian Wagner [Fri, 24 Apr 2020 09:36:24 +0000 (11:36 +0200)]
Merge pull request #34686 from sebastian-philipp/octopus-backport-34443

octopus: cephadm: Update images used

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34638 from smithfarm/wip-45036-octopus
Yuri Weinstein [Thu, 23 Apr 2020 20:53:29 +0000 (13:53 -0700)]
Merge pull request #34638 from smithfarm/wip-45036-octopus

octopus: rbd: ignore tx-only mirror peers when adding new peers

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #34526 from smithfarm/wip-45034-octopus
Yuri Weinstein [Wed, 22 Apr 2020 18:17:52 +0000 (11:17 -0700)]
Merge pull request #34526 from smithfarm/wip-45034-octopus

octopus: spec: address some warnings raised by RPM 4.15.1

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34519 from smithfarm/wip-45059-octopus
Yuri Weinstein [Wed, 22 Apr 2020 18:17:16 +0000 (11:17 -0700)]
Merge pull request #34519 from smithfarm/wip-45059-octopus

octopus: qa/suites/rados/rest: don't pass empty dict as data arg

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #34395 from votdev/wip-44918-octopus
Yuri Weinstein [Wed, 22 Apr 2020 18:16:41 +0000 (11:16 -0700)]
Merge pull request #34395 from votdev/wip-44918-octopus

octopus: monitoring: alert for prediction of disk and pool fill up broken

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #34648 from shyukri/wip-44892-octopus
Lenz Grimmer [Wed, 22 Apr 2020 15:16:09 +0000 (17:16 +0200)]
Merge pull request #34648 from shyukri/wip-44892-octopus

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #34418 from votdev/wip-44955-octopus
Lenz Grimmer [Wed, 22 Apr 2020 13:44:57 +0000 (15:44 +0200)]
Merge pull request #34418 from votdev/wip-44955-octopus

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agocephadm: Update images used 34686/head
Sebastian Wagner [Wed, 22 Apr 2020 13:01:30 +0000 (15:01 +0200)]
cephadm: Update images used

Print warning when using cephadm from master

See also "use quay octopus tip until 15.2 tag is available"
a9b15c7e1a0c14376cd66f166370694294398494.

See also  "update default container images"
1f05f7578794380f969a7e93db07345626b3e4df.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit de448fafe0fe7d6889f3f75ac37f870cde00cf1c)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34495 from votdev/wip-44953-octopus
Lenz Grimmer [Wed, 22 Apr 2020 12:14:51 +0000 (14:14 +0200)]
Merge pull request #34495 from votdev/wip-44953-octopus

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34654 from ceph/wip-yuriw-octopus-client-upgrade-octopus-pacific
Josh Durgin [Mon, 20 Apr 2020 23:05:32 +0000 (16:05 -0700)]
Merge pull request #34654 from ceph/wip-yuriw-octopus-client-upgrade-octopus-pacific

qa/tests: initial checkin for clients upgrades tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/tests: initial checkin for clients upgrades tests 34654/head
Yuri Weinstein [Mon, 20 Apr 2020 22:53:51 +0000 (15:53 -0700)]
qa/tests: initial checkin for clients upgrades tests

for future release 'pacific'

(Note to self: moved from wrongly pushed to master branch)

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agomgr/dashboard: shorten `Container ID` and `Container image ID` in Services page 34648/head
Volker Theile [Tue, 31 Mar 2020 09:13:21 +0000 (11:13 +0200)]
mgr/dashboard: shorten `Container ID` and `Container image ID` in Services page

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

5 years agoqa/workunits/rbd: retry the addition of a mirror pool peer 34638/head
Jason Dillaman [Wed, 15 Apr 2020 20:27:07 +0000 (16:27 -0400)]
qa/workunits/rbd: retry the addition of a mirror pool peer

We might race with the remote rbd-mirror daemon creating a
tx-only peer when adding a new peer. Therefore, delete the
tx-only peer and attempt to re-create it.

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

5 years agolibrbd: mirror peer add error message should include site name
Jason Dillaman [Wed, 15 Apr 2020 20:26:09 +0000 (16:26 -0400)]
librbd: mirror peer add error message should include site name

It previously included the pointer to string holding the generated
uuid (neither of which would mean much to an end user).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ef68f686be6d5cb9ca221e65deeff311bc397aa4)

5 years agorbd: improved error message when adding a duplicate mirror pool peer
Jason Dillaman [Wed, 15 Apr 2020 19:21:55 +0000 (15:21 -0400)]
rbd: improved error message when adding a duplicate mirror pool peer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 74cded6b0de90660db46d0dea0cd35ca0bba563e)

5 years agorbd: ignore tx-only mirror peers when adding new peers
Jason Dillaman [Mon, 6 Apr 2020 14:55:28 +0000 (10:55 -0400)]
rbd: ignore tx-only mirror peers when adding new peers

There is a restriction for supporting only a single RX peer but
we should support multiple TX-only peers.

Fixes: https://tracker.ceph.com/issues/44938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 366ecdb26d90b9dfa483458ce5c28712e47a6341)

5 years agomgr/dashboard: Improve iSCSI CHAP messages 34630/head
Ricardo Marques [Thu, 5 Mar 2020 11:00:28 +0000 (11:00 +0000)]
mgr/dashboard: Improve iSCSI CHAP messages

iSCSI username and password can also contain numbers

Fixes: https://tracker.ceph.com/issues/44618
Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit 6ec153f3329c8c6b7c6b6b874083b1bd5d6d3392)

5 years agomgr/dashboard: lint error on plugins/debug.py 34625/head
Volker Theile [Wed, 8 Apr 2020 07:55:05 +0000 (09:55 +0200)]
mgr/dashboard: lint error on plugins/debug.py

Make pylint for Python 3.8 and older versions happy.

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

5 years agoMerge pull request #34543 from ceph/wip-yuriw-optopus-p2p-octopus
Yuri Weinstein [Thu, 16 Apr 2020 20:49:15 +0000 (13:49 -0700)]
Merge pull request #34543 from ceph/wip-yuriw-optopus-p2p-octopus

qa/tests: octopus - initial checkin for octopus-p2p tests

5 years agoqa/tests: octopus - initial checkin for octopus-p2p tests 34543/head
yuriw [Mon, 13 Apr 2020 19:15:38 +0000 (12:15 -0700)]
qa/tests: octopus - initial checkin for octopus-p2p tests

Signed-off-by: Yuri Weinstein <yweinste@gmail.com>
5 years agoMerge pull request #34309 from Exotelis/octopus-translations
Yuri Weinstein [Thu, 16 Apr 2020 15:42:28 +0000 (08:42 -0700)]
Merge pull request #34309 from Exotelis/octopus-translations

octopus: mgr/dashboard: Update translations on octopus

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34474 from rhcs-dashboard/wip-44996-octopus
Yuri Weinstein [Thu, 16 Apr 2020 15:40:15 +0000 (08:40 -0700)]
Merge pull request #34474 from rhcs-dashboard/wip-44996-octopus

octopus: rpm: add python3-saml as install dependency

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34350 from sebastian-philipp/octopus-backport-34180
Sebastian Wagner [Thu, 16 Apr 2020 14:52:05 +0000 (16:52 +0200)]
Merge pull request #34350 from sebastian-philipp/octopus-backport-34180

octopus: cephadm: Fix check_ip_port to work with IPv6

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #34554 from sebastian-philipp/octopus-backport-31885-33954-34357...
Sebastian Wagner [Thu, 16 Apr 2020 14:50:40 +0000 (16:50 +0200)]
Merge pull request #34554 from sebastian-philipp/octopus-backport-31885-33954-34357-34053-34439-34383-34220-34485-34249-34454-34223-34382-34084-34525-34344

octopus: cephadm: Batch backport April (1)

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
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 agomgr/rook: Fix wrong data output when listing devices 34554/head
Juan Miguel Olmo Martínez [Wed, 1 Apr 2020 10:01:35 +0000 (12:01 +0200)]
mgr/rook: Fix wrong data output when listing devices

Information used to build the <device ls> output is not the right one.
Rook provides in the devices configmap the item <cephVolumeData> which contains the information returned by <ceph-volume>.
This is the right source information to build the devices list.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit e3a5fa49005a7d3ca374beca1dd8cd3e416819a9)

5 years agoUpdate index.rst
Tim [Sat, 11 Apr 2020 12:25:51 +0000 (08:25 -0400)]
Update index.rst

clean up "only only"

Signed-off-by: Tim <elatllat@gmail.com>
(cherry picked from commit d7c7ccb4390a91c0c791b924141963305809b2ab)

5 years agomgr/cephadm: add test for "Offline" host status
Sebastian Wagner [Thu, 2 Apr 2020 12:41:51 +0000 (14:41 +0200)]
mgr/cephadm: add test for "Offline" host status

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

5 years agomgr/cephadm: Daemons running of unreachable servers are offline
Sebastian Wagner [Thu, 26 Mar 2020 13:30:37 +0000 (14:30 +0100)]
mgr/cephadm: Daemons running of unreachable servers are offline

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

5 years agomgr/cephadm: Set SSH connection timeout to 30s
Sebastian Wagner [Thu, 26 Mar 2020 12:51:19 +0000 (13:51 +0100)]
mgr/cephadm: Set SSH connection timeout to 30s

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

5 years agomgr/cephadm: No daemon and device refresh if host if out
Sebastian Wagner [Fri, 20 Mar 2020 14:15:20 +0000 (15:15 +0100)]
mgr/cephadm: No daemon and device refresh if host if out

To make things faster

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

5 years agomgr/cephadm: in-memory set of offline hosts
Sebastian Wagner [Fri, 20 Mar 2020 14:13:26 +0000 (15:13 +0100)]
mgr/cephadm: in-memory set of offline hosts

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

5 years agomgr/cephadm: remove unused method `_check_hosts`
Sebastian Wagner [Fri, 20 Mar 2020 14:17:03 +0000 (15:17 +0100)]
mgr/cephadm: remove unused method `_check_hosts`

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

5 years agomgr/cephadm: type annotation for HostCache.mgr
Sebastian Wagner [Fri, 20 Mar 2020 14:11:08 +0000 (15:11 +0100)]
mgr/cephadm: type annotation for HostCache.mgr

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

5 years agomgr/cephadm: add CACHEINODE and EXPORT_DEFAULTS sections
Michael Fritch [Thu, 9 Apr 2020 20:49:14 +0000 (14:49 -0600)]
mgr/cephadm: add CACHEINODE and EXPORT_DEFAULTS sections

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

5 years agomgr/cephadm: add config required for ganesha grace
Michael Fritch [Thu, 2 Apr 2020 19:12:40 +0000 (13:12 -0600)]
mgr/cephadm: add config required for ganesha grace

adds minimal config for ganesha-rados-grace

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

5 years agocephadm: add userid during grace add/remove
Michael Fritch [Thu, 2 Apr 2020 16:31:39 +0000 (10:31 -0600)]
cephadm: add userid during grace add/remove

ganesha-rados-grace needs a rados userid to add/remove from the grace db

Mar 27 10:05:25 host1 bash[11684]: rados_connect: -13
Mar 27 10:05:25 host1 bash[11684]: Can't connect to cluster: -13

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

5 years agomgr/cephadm: disable dashboard's grafana cert ssl_verify if we generate it
Sage Weil [Thu, 26 Mar 2020 19:47:55 +0000 (14:47 -0500)]
mgr/cephadm: disable dashboard's grafana cert ssl_verify if we generate it

This will help dashboard work out of the box.

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

5 years agoqa/workunits/cephadm/test_cephadm.sh: use fsid during dump_log
Michael Fritch [Wed, 8 Apr 2020 19:35:02 +0000 (13:35 -0600)]
qa/workunits/cephadm/test_cephadm.sh: use fsid during dump_log

needed when running with multiple ceph clusters

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

5 years agoqa/workunits/cephadm/test_cephadm.sh: add fsid to ceph-volume cmds
Michael Fritch [Tue, 7 Apr 2020 21:27:35 +0000 (15:27 -0600)]
qa/workunits/cephadm/test_cephadm.sh: add fsid to ceph-volume cmds

needed when testing with a multi-cluster setup

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

5 years agomgr/cephadm: expose NFS "common" config
Michael Fritch [Fri, 27 Mar 2020 15:23:38 +0000 (09:23 -0600)]
mgr/cephadm: expose NFS "common" config

populate `rados_config_location` in the ServiceDescription with the
RADOS url of the "common" config

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

5 years agomgr/cephadm: create a "common" config per nfs service
Michael Fritch [Fri, 27 Mar 2020 14:11:19 +0000 (08:11 -0600)]
mgr/cephadm: create a "common" config per nfs service

instead of a per-daemon RADOS conf object

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

5 years agomgr/cephadm: remove stray regexp
Michael Fritch [Fri, 27 Mar 2020 14:11:09 +0000 (08:11 -0600)]
mgr/cephadm: remove stray regexp

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

5 years agocephadm: show error when no command is specified
Michael Fritch [Wed, 8 Apr 2020 20:42:12 +0000 (14:42 -0600)]
cephadm: show error when no command is specified

Traceback (most recent call last):
  File "./cephadm", line 4452, in <module>
    if args.func != command_check_host:
AttributeError: 'Namespace' object has no attribute 'func'

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

5 years agomgr/cephadm: allow config for an nfs `container_image`
Michael Fritch [Thu, 26 Mar 2020 17:28:33 +0000 (11:28 -0600)]
mgr/cephadm: allow config for an nfs `container_image`

ceph config set <entity> container_image <container_image>

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

5 years agotox: Fix the tox.ini's to support older versions of tox
Matthew Oliver [Thu, 2 Apr 2020 23:22:02 +0000 (23:22 +0000)]
tox: Fix the tox.ini's to support older versions of tox

The src/cephadm/tox.ini and src/pybind/mgr/tox.ini both don't run
on older versions of tox.
When using tox 2.9.1 both fail for different reasons.

`src/cephadm/tox.ini` fails because `skipsdist=true` only works if it's
directly under the `[tox]` section.

`src/pybind/mgr/tox.ini` fails because older versions of tox can't find
the requirements.txt because they don't like whitespace between the `-r`
and `requirements.txt`.

This patch changes the tox.ini's to be backwards compatible for those
who happen to be running slightly older version of tox.

Signed-off-by: Matthew Oliver <moliver@suse.com>
(cherry picked from commit a1fd9d11e7e11a2478f268251a4a02f2d260fc1c)

5 years agodoc/cephadm: <encrypted> is a global flag
Joshua Schmid [Tue, 7 Apr 2020 09:50:25 +0000 (11:50 +0200)]
doc/cephadm: <encrypted> is a global flag

Signed-off-by: Joshua Schmid <jschmid@suse.de>
(cherry picked from commit d524ad72306b6b2da688c85fddf997afbcd69f57)

5 years agocephadm: ceph-iscsi first draft
Matthew Oliver [Thu, 5 Mar 2020 02:55:47 +0000 (13:55 +1100)]
cephadm: ceph-iscsi first draft

This if the first draft of the ceph-iscsi in cephadm.
There are a few gotchas when running `rbd-target-api` in a container:

 1. We need both the ceph.conf and iscsi-gateway.cfg, so needed to
ability to pass extra config. This latter is based off the spec, so now
the daemon config func api allows you to return a dict of configs:

  { 'config': '<str>' # will be appended to the ceph.conf
    '<conf name>': 'str', # Will be dumped in datadir/<conf name>
    ...
  }

It will be up to cephadm to know to bind mount it to the right location.
The first 'config' isn't used by this patch, but makes it possible for
specs or config funcs to append anything? maybe it's overkill.

 2. We need the kernel's configfs in the container so we can configure
LIO. There is a chicken and egg problem, configfs isn't mounted on the
host to bind mount when the container starts. So now a check is added to
the `unit.run` and cleanup in the `unit.poststop` scripts for
daemon_type iscsi.

 3. rbd-target-api is python and hardcodes a few things, like logging
through `/dev/log` which happens to be a domain socket. So `/dev/log`
also needed to be bind mounted into the continer.

 4. The daemon expects the keyring to be in `/etc/ceph` so this needed to
be specifically bind mounted to the correct location too.

As this currently stands this is deploying and starting the api on port
5000, so seems to be "working", also gateway.conf does exist in the
pool. I have yet to set up an iscsi device, but will test that next.

The `rbd-target-api` daemon expects the ssl key and cert to be named a
certain name in the contianer. So SSL isn't working yet. However, I do
hav a PR in ceph-iscsi to look in the mon config-key store for them[0].

[0] - https://github.com/ceph/ceph-iscsi/pull/173

Signed-off-by: Matthew Oliver <moliver@suse.com>
(cherry picked from commit 4179b960a4b1aa9c72ff51302eb6a83193b860b4)

5 years agomgr/orch: fix python3 DeprecationWarning
Michael Fritch [Wed, 1 Apr 2020 21:51:43 +0000 (15:51 -0600)]
mgr/orch: fix python3 DeprecationWarning

test_orchestrator/module.py:181: DeprecationWarning: invalid escape sequence \s
    patterns = ['-i\s(\w+)', '--id[\s=](\w+)']

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

5 years agopython-common: add pyyaml to requirements file
Joshua Schmid [Mon, 30 Mar 2020 15:44:13 +0000 (17:44 +0200)]
python-common: add pyyaml to requirements file

Signed-off-by: Joshua Schmid <jschmid@suse.de>
(cherry picked from commit 04f0d3395c70252a0830f6f3326f85695c9b9af0)

5 years agopython-common: python-common: fix /hosts/ parsing in servicespecs
Joshua Schmid [Thu, 12 Mar 2020 21:52:14 +0000 (22:52 +0100)]
python-common: python-common: fix /hosts/ parsing in servicespecs

Signed-off-by: Joshua Schmid <jschmid@suse.de>
(cherry picked from commit 494728c5dc729de2dcc9c40d92e154c2bd5d8008)

5 years agodoc: add a basic client configuration document
Jeff Layton [Mon, 25 Nov 2019 18:38:49 +0000 (13:38 -0500)]
doc: add a basic client configuration document

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 85df3a5fb2d388045c0b01bc5bd069a53b0216c5)

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 agomgr/dashboard: Prevent iSCSI target recreation when editing controls 34548/head
Tiago Melo [Thu, 19 Mar 2020 12:51:24 +0000 (11:51 -0100)]
mgr/dashboard: Prevent iSCSI target recreation when editing controls

Also prevents updating target auth, when this was not modified.

Fixes: https://tracker.ceph.com/issues/44659
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 7d370ce22259a5b6a6c25995a1857d960dc5d27d)

5 years agomgr/dashboard: Remove duplicate code in iscsi.py
Tiago Melo [Wed, 18 Mar 2020 13:25:42 +0000 (12:25 -0100)]
mgr/dashboard: Remove duplicate code in iscsi.py

Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 7291e82ffc878394debbbb00e81dd565c6f6a128)

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 agoceph.spec.in: remove extra tokens at end of %endif directive 34526/head
Nathan Cutler [Mon, 6 Apr 2020 21:00:43 +0000 (23:00 +0200)]
ceph.spec.in: remove extra tokens at end of %endif directive

RPM 4.15.1 warns: extra tokens at the end of %endif directive

Heed the warning.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 853ff61805ed8bdd281fa594d45bc85f205a8e42)

5 years agoceph.spec.in: version an Obsoletes
Nathan Cutler [Mon, 6 Apr 2020 20:59:51 +0000 (22:59 +0200)]
ceph.spec.in: version an Obsoletes

RPM 4.15.1 warns: It's not recommended to have unversioned Obsoletes.

Heed the warning.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 48c79c11026e3b2c4a370f7780d1f38efc833052)

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 agoqa/suites/rados/rest: Test against all supported distros 34519/head
Brad Hubbard [Tue, 31 Mar 2020 00:08:52 +0000 (10:08 +1000)]
qa/suites/rados/rest: Test against all supported distros

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

5 years agoqa/suites/rados/rest: Don't pass empty dict as data arg
Brad Hubbard [Tue, 31 Mar 2020 02:49:26 +0000 (12:49 +1000)]
qa/suites/rados/rest: Don't pass empty dict as data arg

Passing an empty 'args' dict as a data argument when calling
requests.get somehow confuses the transaction, causing it to fail. Pass
'None' instead.

Fixes: https://tracker.ceph.com/issues/43720
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit e20e6fc3295da836fb5f098d46d6190ab28195d5)

5 years agodashboard: Convert FQDN to hostname in grafana panels 34495/head
Kristoffer Grönlund [Fri, 27 Mar 2020 10:06:58 +0000 (11:06 +0100)]
dashboard: Convert FQDN to hostname in grafana panels

The $ceph_hosts variable contained the FQDN for hosts
while the instance label created by ceph only has
the hostname.

Fixes: https://tracker.ceph.com/issues/44784
Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
(cherry picked from commit b7abaab5bd2b72f48f41b3d2a9732743afdcecfc)

5 years agodashboard: Resolve FQDN / hostname mismatch in hosts overview panel
Kristoffer Grönlund [Thu, 26 Mar 2020 19:38:04 +0000 (20:38 +0100)]
dashboard: Resolve FQDN / hostname mismatch in hosts overview panel

In the AVG Disk Utilization panel, the result is calculated
by combining the output of node_disk_io_time_seconds_total
with the output of ceph_disk_occupation. However, the
first vector encodes the instance label with the full FQDN
while the ceph label only contains the hostname:port. In
order for these to match correctly, the domain name and port
has to be stripped from the labels.

Fixes: https://tracker.ceph.com/issues/44784
Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
(cherry picked from commit 136d21e21dc3c05ec8c586a47eed1904ffbda578)

5 years agodashboard: Use exported_instance to identify OSDs
Kristoffer Grönlund [Thu, 26 Mar 2020 18:12:55 +0000 (19:12 +0100)]
dashboard: Use exported_instance to identify OSDs

When moving to LVM-based ceph-volume setups, several
grafana dashboards stopped working. The problem is that
(device, instance) no longer results in unique labels
which causes errors like:

"many-to-many matching not allowed: matching labels must be unique on one side"

Fixes: https://tracker.ceph.com/issues/44784
Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
(cherry picked from commit 8b61b8d3d781b9d762098cf45b41b596a32509ab)

5 years agodashboard: AVG RAM Utilization panel always showed "N/A"
Kristoffer Grönlund [Tue, 24 Mar 2020 16:57:15 +0000 (17:57 +0100)]
dashboard: AVG RAM Utilization panel always showed "N/A"

The references to `$osd_hosts` etc. were encoded as
`[[osd_hosts]]` in the PromQL expression divisor, and
the panel always displayed N/A as the result of the
query.

Replacing the `[[...]]` with `$...` makes the expression
work again.

Fixes: https://tracker.ceph.com/issues/44784
Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
(cherry picked from commit 4444333243aaa81de1d7347bf0c57e039b657d43)

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 agorpm: add python3-saml as install dependency 34474/head
Ernesto Puerta [Thu, 2 Apr 2020 16:26:40 +0000 (18:26 +0200)]
rpm: add python3-saml as install dependency

`python.*-saml` is required for Ceph-Dashboard SSO support (optional
feature).

Fixes: https://tracker.ceph.com/issues/44721
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit d8d3b33633c0a995aef034fdabc55d47c3872566)

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)