]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoRevert "Merge PR #34091 into master" 34260/head
Sage Weil [Fri, 27 Mar 2020 14:00:25 +0000 (09:00 -0500)]
Revert "Merge PR #34091 into master"

This reverts commit f865f3e0a0f3a646b093b3571ea76713eca1916c, reversing
changes made to 7ef5458e26ec7c0565509a7882fa31fa064eb49d.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #33992 from rhcs-dashboard/44626-fix-notifications-e2e-tests
Laura Paduano [Fri, 27 Mar 2020 11:42:42 +0000 (12:42 +0100)]
Merge pull request #33992 from rhcs-dashboard/44626-fix-notifications-e2e-tests

mgr/dashboard: fix notifications E2E tests

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34209 from smithfarm/wip-doc-multi-cluster-follow-on-fix
Nathan Cutler [Fri, 27 Mar 2020 09:20:00 +0000 (10:20 +0100)]
Merge pull request #34209 from smithfarm/wip-doc-multi-cluster-follow-on-fix

doc: fix cephadm link

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #34235 from toabctl/add-sle-15-sp2
Nathan Cutler [Fri, 27 Mar 2020 08:33:50 +0000 (09:33 +0100)]
Merge pull request #34235 from toabctl/add-sle-15-sp2

qa/distros: add SLE-15-SP2

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #32749 from james58899/fix-capacity
Kefu Chai [Fri, 27 Mar 2020 08:13:29 +0000 (16:13 +0800)]
Merge pull request #32749 from james58899/fix-capacity

monitoring: Fix pool capacity incorrect

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #34233 from tchaikov/wip-qa-py3
Kefu Chai [Fri, 27 Mar 2020 07:53:05 +0000 (15:53 +0800)]
Merge pull request #34233 from tchaikov/wip-qa-py3

qa/tasks: change to be py3 compatible and cleanups

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoqa/distros: add SLE-15-SP2 34235/head
Thomas Bechtold [Fri, 27 Mar 2020 07:16:28 +0000 (08:16 +0100)]
qa/distros: add SLE-15-SP2

Ceph octopus is known to run on SLE-15-SP2 so add it to
qa/distros/all.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
5 years agocmake: add import-tasks to run-tox-qa test 34233/head
Kefu Chai [Fri, 27 Mar 2020 06:54:34 +0000 (14:54 +0800)]
cmake: add import-tasks to run-tox-qa test

to ensure that qa suites are python3 compatible

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/mgr: use relative import
Kefu Chai [Fri, 27 Mar 2020 05:57:37 +0000 (13:57 +0800)]
qa/tasks/mgr: use relative import

for better readability, and to ease the pain of developer to track back
to the top level python package for referencing a submodule

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/cephfs: fix print() to be py3 compatible
Kefu Chai [Fri, 27 Mar 2020 05:53:32 +0000 (13:53 +0800)]
qa/tasks/cephfs: fix print() to be py3 compatible

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #33949 from toabctl/import-tasks-with-py3
Kefu Chai [Fri, 27 Mar 2020 06:49:46 +0000 (14:49 +0800)]
Merge pull request #33949 from toabctl/import-tasks-with-py3

qa: Add a tox env that can test importing files

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34141 from tchaikov/wip-test-threadsafe
Kefu Chai [Fri, 27 Mar 2020 04:52:28 +0000 (12:52 +0800)]
Merge pull request #34141 from tchaikov/wip-test-threadsafe

test/objectstore: set "threadsafe" flag for ASSERT_DEATH tests

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32093 into master
Sage Weil [Thu, 26 Mar 2020 20:45:24 +0000 (15:45 -0500)]
Merge PR #32093 into master

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

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agodoc/start: Update hardware recommendations. 32093/head
Mark Nelson [Thu, 26 Mar 2020 20:07:50 +0000 (15:07 -0500)]
doc/start: Update hardware recommendations.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
5 years agoMerge PR #34218 into master
Sage Weil [Thu, 26 Mar 2020 17:41:01 +0000 (12:41 -0500)]
Merge PR #34218 into master

* refs/pull/34218/head:
mgr/cephadm: Add missing decorator

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: Add missing decorator 34218/head
Sebastian Wagner [Thu, 26 Mar 2020 16:50:21 +0000 (17:50 +0100)]
mgr/cephadm: Add missing decorator

Caused by a conflict between

* #33581 (770816dc9f5b440fd1fc6cc507a06cd8573f6ea1) and
* #34091 (a78f42e225bbc041324dc3e565deb207feddad26)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #33873 from lxbsz/qa_vs_failed
Kefu Chai [Thu, 26 Mar 2020 15:26:53 +0000 (23:26 +0800)]
Merge pull request #33873 from lxbsz/qa_vs_failed

qa/tasks/vstart_runner: fix sh to make it compatible with teth

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #33882 from rosinL/wip-fix-rdma-segfault
Kefu Chai [Thu, 26 Mar 2020 15:25:39 +0000 (23:25 +0800)]
Merge pull request #33882 from rosinL/wip-fix-rdma-segfault

msg/async/rdma: add return value check after qp created

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34195 from tchaikov/wip-tasks-mgr-submodule
Kefu Chai [Thu, 26 Mar 2020 15:23:43 +0000 (23:23 +0800)]
Merge pull request #34195 from tchaikov/wip-tasks-mgr-submodule

qa/tasks/mgr: partial revert of 'import with full path'

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34196 from majianpeng/bluestore-remove-incorrectly-comments
Kefu Chai [Thu, 26 Mar 2020 15:21:57 +0000 (23:21 +0800)]
Merge pull request #34196 from majianpeng/bluestore-remove-incorrectly-comments

os/bluestore: remove incorrect comments.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34183 from neha-ojha/wip-doc-fix
Neha Ojha [Thu, 26 Mar 2020 15:12:37 +0000 (08:12 -0700)]
Merge pull request #34183 from neha-ojha/wip-doc-fix

doc/releases/octopus.rst: fix min_mon_release string

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agodoc: fix cephadm link 34209/head
Nathan Cutler [Thu, 26 Mar 2020 13:09:59 +0000 (14:09 +0100)]
doc: fix cephadm link

Fixes: 8fe460e7562b28e007179eeb533ef68a3e99b4c8
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge PR #34091 into master
Sage Weil [Thu, 26 Mar 2020 14:05:35 +0000 (09:05 -0500)]
Merge PR #34091 into master

* refs/pull/34091/head:
mgr/cephadm: cleanup async_map_completion etc.
mgr/cephadm: replace async_completion with trivial_completion
mgr/cephadm: replace async_map_completion with a simple wrapper

5 years agoMerge PR #34188 into master
Sage Weil [Thu, 26 Mar 2020 12:46:30 +0000 (07:46 -0500)]
Merge PR #34188 into master

* refs/pull/34188/head:
doc: do not encourage readers to run multiple clusters on same HW

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge pull request #30839 from ifed01/wip-ifed-aloc_replay_improve
Igor Fedotov [Thu, 26 Mar 2020 12:32:01 +0000 (15:32 +0300)]
Merge pull request #30839 from ifed01/wip-ifed-aloc_replay_improve

test/bmap_allocator_replay_test: improving allocator replay tool.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge pull request #34187 from liewegas/fix-44759
Kefu Chai [Thu, 26 Mar 2020 10:29:22 +0000 (18:29 +0800)]
Merge pull request #34187 from liewegas/fix-44759

osd/PeeringState: drop mimic assert

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #31453 from oneoneonepig/patch-2
Kefu Chai [Thu, 26 Mar 2020 09:19:28 +0000 (17:19 +0800)]
Merge pull request #31453 from oneoneonepig/patch-2

doc: add sudo in ceph status command

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #29443 from simon-rock/metatool_dev
Yan, Zheng [Thu, 26 Mar 2020 09:10:28 +0000 (17:10 +0800)]
Merge pull request #29443 from simon-rock/metatool_dev

tool: add cephfs-meta-injection to show and amend info of inode

5 years agoMerge pull request #33198 from simon-rock/simon_work_get_dirfrag_bound
Yan, Zheng [Thu, 26 Mar 2020 09:06:08 +0000 (17:06 +0800)]
Merge pull request #33198 from simon-rock/simon_work_get_dirfrag_bound

mds: optimize function, get_force_dirfrag_bound_set

5 years agoMerge pull request #33643 from simon-rock/simon_destructor_of_session
Yan, Zheng [Thu, 26 Mar 2020 09:02:29 +0000 (17:02 +0800)]
Merge pull request #33643 from simon-rock/simon_destructor_of_session

mds : core dump if the resource is not released

5 years agoMerge pull request #31668 from shenhang/deny_reconnect_on_reboot
Yan, Zheng [Thu, 26 Mar 2020 08:59:01 +0000 (16:59 +0800)]
Merge pull request #31668 from shenhang/deny_reconnect_on_reboot

mds: short reboot time

5 years agoMerge pull request #33570 from shenhang/modifyactiverequest
Yan, Zheng [Thu, 26 Mar 2020 08:53:13 +0000 (16:53 +0800)]
Merge pull request #33570 from shenhang/modifyactiverequest

mds: Using begin() and empty() to iterate the xlist

5 years agoMerge pull request #33923 from systemcrash/patch-1
Kefu Chai [Thu, 26 Mar 2020 08:47:17 +0000 (16:47 +0800)]
Merge pull request #33923 from systemcrash/patch-1

doc: fix spelling and grammar issues in ceph-deploy-osd.rst

Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #31055 from smithfarm/wip-42357
Kefu Chai [Thu, 26 Mar 2020 08:41:07 +0000 (16:41 +0800)]
Merge pull request #31055 from smithfarm/wip-42357

tests: qa/tasks/ceph.py: fail if any osd role doesn't get a device

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #33366 from jmolmo/rook_blinking_lights
Kefu Chai [Thu, 26 Mar 2020 08:19:52 +0000 (16:19 +0800)]
Merge pull request #33366 from jmolmo/rook_blinking_lights

mgr/rook: Blinking lights

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoqa: Add a tox env that can test importing files 33949/head
Thomas Bechtold [Fri, 13 Mar 2020 11:38:10 +0000 (12:38 +0100)]
qa: Add a tox env that can test importing files

While switching to python3, we need to make sure that we can import
the qa/tasks (and others, but this starts with qa/tasks) on a python3
environment.
To test this, we need to install teuthology into the test
venv. Currently, teuthology is not py3 ready so this will fail.

To test the current state of the qa/tasks directory with the ongoing
work for python3 within teuthology, you can now do:

TEUTHOLOGY_GIT=git+https://github.com/kshtsk/teuthology.git@wip-py3-compat \
    tox -eimport-tasks

This is using the current branch from
https://github.com/ceph/teuthology/pull/1362 which does the work to
make teuthology python3 ready.

NOTE: This tox env is not activated by default. It's currently failing
but it provides a way to iterate over the failures and once we have
them fixed, we can activate the tox env during make-check.

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoos/bluestore: remove incorrectly comments. 34196/head
Jianpeng Ma [Thu, 26 Mar 2020 07:50:28 +0000 (15:50 +0800)]
os/bluestore: remove incorrectly comments.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
5 years agomgr/rook: Blinking lights 33366/head
Juan Miguel Olmo Martínez [Mon, 17 Feb 2020 09:59:46 +0000 (10:59 +0100)]
mgr/rook: Blinking lights

Blinking lights implementation

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
5 years agoqa/tasks/mgr: partial revert of 'import with full path' 34195/head
Kefu Chai [Thu, 26 Mar 2020 06:33:06 +0000 (14:33 +0800)]
qa/tasks/mgr: partial revert of 'import with full path'

this change partially reverts #34139

using relative import helps with readability and ease the pain to write
down the full parent module name

in #34139, all relative imports were replaced with full path, because we
were using following code to verify if the code is python3 compatible:

```
  mod_spec = importlib.util.spec_from_file_location(mod_name, path)
  mod = importlib.util.module_from_spec(mod_spec)
  mod_spec.loader.exec_module(mod)
```

but this does not work with submodule which can import using relative
import without specifying the name of the package and its parent module.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34184 from cbodley/wip-qa-rgw-test-multi-fix
Kefu Chai [Thu, 26 Mar 2020 03:44:56 +0000 (11:44 +0800)]
Merge pull request #34184 from cbodley/wip-qa-rgw-test-multi-fix

qa/rgw: multisite test fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #33581 into master
Sage Weil [Thu, 26 Mar 2020 02:18:45 +0000 (21:18 -0500)]
Merge PR #33581 into master

* refs/pull/33581/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: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #34181 into master
Sage Weil [Thu, 26 Mar 2020 02:18:10 +0000 (21:18 -0500)]
Merge PR #34181 into master

* refs/pull/34181/head:
mgr/cephadm: bind grafana to all interfaces

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #34182 into master
Sage Weil [Thu, 26 Mar 2020 02:17:18 +0000 (21:17 -0500)]
Merge PR #34182 into master

* refs/pull/34182/head:
mgr/cephadm: fix 'orch ps --refresh'

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #33910 from xiexingguo/wip-44532-2
Xie Xingguo [Thu, 26 Mar 2020 00:10:22 +0000 (08:10 +0800)]
Merge pull request #33910 from xiexingguo/wip-44532-2

osd/PeeringState: do not trim pg log past last_update_ondisk

Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agodoc: do not encourage readers to run multiple clusters on same HW 34188/head
Nathan Cutler [Wed, 25 Mar 2020 22:41:28 +0000 (23:41 +0100)]
doc: do not encourage readers to run multiple clusters on same HW

This material was first added on December 22, 2012 by
46d0334456c14da2bc8e012f121c545b1b33b95f

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agomgr/cephadm: add watch_url to NFS bootstrap config 33581/head
Michael Fritch [Mon, 23 Mar 2020 23:41:09 +0000 (17:41 -0600)]
mgr/cephadm: add watch_url to NFS bootstrap config

watch for changes to the per-daemon RADOS conf file

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: check for an existing NFS config object
Michael Fritch [Wed, 18 Mar 2020 19:57:18 +0000 (13:57 -0600)]
mgr/cephadm: check for an existing NFS config object

assume an existing NFS config if the named rados object already exists

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: combine `get_daemon_name` and `get_rados_user` funcs
Michael Fritch [Tue, 17 Mar 2020 21:14:55 +0000 (15:14 -0600)]
mgr/cephadm: combine `get_daemon_name` and `get_rados_user` funcs

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomon: allow `auth caps` for `mgr` profile
Michael Fritch [Tue, 17 Mar 2020 17:17:17 +0000 (11:17 -0600)]
mon: allow `auth caps` for `mgr` profile

cephadm orchestrator needs to update the caps during reconfig/redeploy

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: add deployment example to NFS docs
Michael Fritch [Tue, 17 Mar 2020 04:48:31 +0000 (22:48 -0600)]
mgr/cephadm: add deployment example to NFS docs

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: add utils.py
Michael Fritch [Tue, 17 Mar 2020 04:47:36 +0000 (22:47 -0600)]
mgr/cephadm: add utils.py

move `name_to_config_section` and `assert_valid_host` into utils.py

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: create/update keyring during nfs config
Michael Fritch [Mon, 16 Mar 2020 18:05:56 +0000 (12:05 -0600)]
mgr/cephadm: create/update keyring during nfs config

the keyring might already exist from a prior config/reconfig/redeploy.

attempt to get_or_create the keyring first and than update the keyring
caps afterward

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: pass NFSServiceSpec instead of pool/namespace args
Michael Fritch [Sun, 15 Mar 2020 18:14:05 +0000 (12:14 -0600)]
mgr/cephadm: pass NFSServiceSpec instead of pool/namespace args

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: add nfs apply test
Michael Fritch [Sun, 15 Mar 2020 17:08:23 +0000 (11:08 -0600)]
mgr/cephadm: add nfs apply test

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: fix nfs redeploy/reconfig
Michael Fritch [Sun, 15 Mar 2020 16:53:32 +0000 (10:53 -0600)]
mgr/cephadm: fix nfs redeploy/reconfig

search for the `NFSServiceSpec` instead of passing empty
`cephadm_args` during `_create_daemon`

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: ensure nfs uses the correct entity
Michael Fritch [Fri, 13 Mar 2020 20:19:23 +0000 (14:19 -0600)]
mgr/cephadm: ensure nfs uses the correct entity

mon entity needs to start with `client.`

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: fix service name for nfs type
Michael Fritch [Mon, 9 Mar 2020 23:21:11 +0000 (17:21 -0600)]
mgr/cephadm: fix service name for nfs type

the `nfs` service was incorrectly reported as `mds`

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: apply nfs service spec
Michael Fritch [Mon, 9 Mar 2020 18:44:06 +0000 (12:44 -0600)]
mgr/cephadm: apply nfs service spec

orch apply nfs <svc_id> [<placement>]

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: don't create a unique nfs daemon name
Michael Fritch [Mon, 9 Mar 2020 18:38:25 +0000 (12:38 -0600)]
mgr/cephadm: don't create a unique nfs daemon name

only one nfs daemon will be deployed per host

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: update docs
Michael Fritch [Sun, 8 Mar 2020 23:27:54 +0000 (17:27 -0600)]
mgr/cephadm: update docs

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: add minimal caps for nfs client keyring
Michael Fritch [Sun, 8 Mar 2020 16:53:17 +0000 (10:53 -0600)]
mgr/cephadm: add minimal caps for nfs client keyring

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: add logging to NFSGanesha class
Michael Fritch [Thu, 27 Feb 2020 14:48:58 +0000 (07:48 -0700)]
mgr/cephadm: add logging to NFSGanesha class

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: create empty nfs rados config obj
Michael Fritch [Thu, 27 Feb 2020 14:24:52 +0000 (07:24 -0700)]
mgr/cephadm: create empty nfs rados config obj

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: add nfs tests
Michael Fritch [Wed, 26 Feb 2020 19:34:42 +0000 (12:34 -0700)]
mgr/cephadm: add nfs tests

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: add a minimal ganesha.conf
Michael Fritch [Tue, 25 Feb 2020 02:32:49 +0000 (19:32 -0700)]
mgr/cephadm: add a minimal ganesha.conf

we only need to specify the rados pool and config object url

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: deploy nfs-ganesha service
Michael Fritch [Mon, 24 Feb 2020 18:47:34 +0000 (11:47 -0700)]
mgr/cephadm: deploy nfs-ganesha service

orch daemon add nfs <svc_arg> <pool> [<namespace>] [<placement>]

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/cephadm: split out `config-and-keyrings` json
Michael Fritch [Mon, 24 Feb 2020 18:43:07 +0000 (11:43 -0700)]
mgr/cephadm: split out `config-and-keyrings` json

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agomgr/orchestrator: rearrange interface to match impl. order
Michael Fritch [Mon, 24 Feb 2020 14:50:05 +0000 (07:50 -0700)]
mgr/orchestrator: rearrange interface to match impl. order

rgw impl. happens before rbd impl

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoosd/PeeringState: drop mimic assert 34187/head
Sage Weil [Wed, 25 Mar 2020 22:13:46 +0000 (17:13 -0500)]
osd/PeeringState: drop mimic assert

This code can still execute for a cluster that has require_osd_release >=
nautilus because a PG is processing an older OSDMap.  Drop this assert
since the osd boot checks on require_osd_release are sufficient.

Fixes: https://tracker.ceph.com/issues/44759
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #34146 into master
Sage Weil [Wed, 25 Mar 2020 21:44:17 +0000 (16:44 -0500)]
Merge PR #34146 into master

* refs/pull/34146/head:
mgr/cephadm: use docker.io in default container image name
mgr/cephadm: fix 'upgrade start' message when specifying a version

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #34166 into master
Sage Weil [Wed, 25 Mar 2020 21:42:54 +0000 (16:42 -0500)]
Merge PR #34166 into master

* refs/pull/34166/head:
mgr/cephadm: DriveGroupSpec needs to know about unmanaged attribute
mgr/cephadm: DriveGroupSpec needs to support/ignore _unmanaged_

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #34180 into master
Sage Weil [Wed, 25 Mar 2020 21:42:42 +0000 (16:42 -0500)]
Merge PR #34180 into master

* refs/pull/34180/head:
cephadm: Fix check_ip_port to work with IPv6

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoqa/rgw: partial revert of 'import with full path' 34184/head
Casey Bodley [Wed, 25 Mar 2020 20:19:15 +0000 (16:19 -0400)]
qa/rgw: partial revert of 'import with full path'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #34179 from cbodley/wip-rgw-admin-user-axe
Casey Bodley [Wed, 25 Mar 2020 19:53:30 +0000 (15:53 -0400)]
Merge pull request #34179 from cbodley/wip-rgw-admin-user-axe

rgw: remove unused librgw_admin_user

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
5 years agorgw: remove unused librgw_admin_user 34179/head
Casey Bodley [Wed, 25 Mar 2020 14:50:07 +0000 (10:50 -0400)]
rgw: remove unused librgw_admin_user

unused and not worth the effort to maintain

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agodoc/releases/octopus.rst: fix min_mon_release string 34183/head
Neha [Wed, 25 Mar 2020 17:29:48 +0000 (17:29 +0000)]
doc/releases/octopus.rst: fix min_mon_release string

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agomgr/cephadm: fix 'orch ps --refresh' 34182/head
Sage Weil [Wed, 25 Mar 2020 15:39:59 +0000 (10:39 -0500)]
mgr/cephadm: fix 'orch ps --refresh'

The use of host in the refresh loop was clobbering the argument value.

Fixes: https://tracker.ceph.com/issues/44513
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: bind grafana to all interfaces 34181/head
Sage Weil [Wed, 25 Mar 2020 15:34:21 +0000 (10:34 -0500)]
mgr/cephadm: bind grafana to all interfaces

Fixes: https://tracker.ceph.com/issues/44608
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocephadm: Fix check_ip_port to work with IPv6 34180/head
Ricardo Marques [Wed, 25 Mar 2020 15:06:17 +0000 (15:06 +0000)]
cephadm: Fix check_ip_port to work with IPv6

Fixes: https://tracker.ceph.com/issues/43816
Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #34173 from tchaikov/wip-test-rgw
Kefu Chai [Wed, 25 Mar 2020 14:29:11 +0000 (22:29 +0800)]
Merge pull request #34173 from tchaikov/wip-test-rgw

test/rgw: should import parse not urlparse

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agoMerge pull request #34117 from smithfarm/wip-43746-follow-on
Kefu Chai [Wed, 25 Mar 2020 14:17:38 +0000 (22:17 +0800)]
Merge pull request #34117 from smithfarm/wip-43746-follow-on

pybind/mgr/*: fix config_notify handling of default values

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34136 from tchaikov/test-msgr-stdout
Kefu Chai [Wed, 25 Mar 2020 14:13:07 +0000 (22:13 +0800)]
Merge pull request #34136 from tchaikov/test-msgr-stdout

test/msgr: print out informative messages to stdout

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #34015 from yuyuyu101/wip-pin-rocksdb
Kefu Chai [Wed, 25 Mar 2020 14:12:21 +0000 (22:12 +0800)]
Merge pull request #34015 from yuyuyu101/wip-pin-rocksdb

kv/RocksDBStore: using PinnableSlice to avoid extra value copy

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34140 from theanalyst/doc/releases/oct-distro-fix
Abhishek L [Wed, 25 Mar 2020 13:49:55 +0000 (14:49 +0100)]
Merge pull request #34140 from theanalyst/doc/releases/oct-distro-fix

doc: releases: add a note on debian packages & those built by the community

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Sage Weil <sweil@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
5 years agotest/rgw: should import parse not urlparse 34173/head
Kefu Chai [Wed, 25 Mar 2020 13:47:54 +0000 (21:47 +0800)]
test/rgw: should import parse not urlparse

urlparse is a function while parse is a submodule where parse_qsl() is
provided

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #34138 from bk201/wip-44725
Kefu Chai [Wed, 25 Mar 2020 11:56:02 +0000 (19:56 +0800)]
Merge pull request #34138 from bk201/wip-44725

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

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #34139 from tchaikov/wip-qa-test-py3
Kefu Chai [Wed, 25 Mar 2020 11:48:33 +0000 (19:48 +0800)]
Merge pull request #34139 from tchaikov/wip-qa-test-py3

qa,test: py3 compatible changes and fix

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
5 years agomgr/cephadm: cleanup async_map_completion etc. 34091/head
Sebastian Wagner [Fri, 20 Mar 2020 16:39:08 +0000 (17:39 +0100)]
mgr/cephadm: cleanup async_map_completion etc.

This breaks the progress integration, but we haven't
used that anyway till now.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: replace async_completion with trivial_completion
Sebastian Wagner [Fri, 20 Mar 2020 16:18:48 +0000 (17:18 +0100)]
mgr/cephadm: replace async_completion with trivial_completion

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: replace async_map_completion with a simple wrapper
Sebastian Wagner [Fri, 20 Mar 2020 16:17:39 +0000 (17:17 +0100)]
mgr/cephadm: replace async_map_completion with a simple wrapper

There is no need to wrap everything into completions.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34131 from tspmelo/wip-force-npm-resolutions
Lenz Grimmer [Wed, 25 Mar 2020 09:54:15 +0000 (10:54 +0100)]
Merge pull request #34131 from tspmelo/wip-force-npm-resolutions

mgr/dashboard: Check for missing npm resolutions

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agomgr/cephadm: DriveGroupSpec needs to know about unmanaged attribute 34166/head
Joshua Schmid [Wed, 25 Mar 2020 09:53:06 +0000 (10:53 +0100)]
mgr/cephadm: DriveGroupSpec needs to know about unmanaged attribute

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #34165 from tchaikov/wip-doc-release-octopus-indent
Kefu Chai [Wed, 25 Mar 2020 08:42:58 +0000 (16:42 +0800)]
Merge pull request #34165 from tchaikov/wip-doc-release-octopus-indent

doc/releases/octopus: fix indents

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoqa/tasks/ceph.py: fail test if osd devices not found 31055/head
Nathan Cutler [Tue, 22 Oct 2019 14:45:04 +0000 (16:45 +0200)]
qa/tasks/ceph.py: fail test if osd devices not found

Fixes: https://tracker.ceph.com/issues/42357
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agomgr/cephadm: DriveGroupSpec needs to support/ignore _unmanaged_
Joshua Schmid [Wed, 25 Mar 2020 08:34:06 +0000 (09:34 +0100)]
mgr/cephadm: DriveGroupSpec needs to support/ignore _unmanaged_

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoqa/tasks/ceph.py: use .format to log dicts
Nathan Cutler [Tue, 22 Oct 2019 14:35:27 +0000 (16:35 +0200)]
qa/tasks/ceph.py: use .format to log dicts

The ".format" builtin logs dicts nicely right out of the box.

Also, some of the log messages were too cryptic - fixed them in this commit as
well.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/tasks/ceph.py: drop roles_to_journals and remote_to_roles_to_journals
Nathan Cutler [Tue, 22 Oct 2019 14:31:14 +0000 (16:31 +0200)]
qa/tasks/ceph.py: drop roles_to_journals and remote_to_roles_to_journals

These do not seem to get any use anymore.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/tasks/ceph.py: drop block_journal, tmpfs_journal
Nathan Cutler [Tue, 22 Oct 2019 13:59:12 +0000 (15:59 +0200)]
qa/tasks/ceph.py: drop block_journal, tmpfs_journal

I looked, but did not find any tests that actually use these options.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoqa/tasks/ceph.py: cleanup: stop calling get_wwn_id_map()
Nathan Cutler [Tue, 22 Oct 2019 13:42:48 +0000 (15:42 +0200)]
qa/tasks/ceph.py: cleanup: stop calling get_wwn_id_map()

Nowadays, get_wwn_id_map is essentially a noop - it does:

    return dict((d, d) for d in devs)

This reverts another bit of 8f720454cbb536ac6f410fb6c18b2b0945b70160 from 2013.

References: https://tracker.ceph.com/issues/42313
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/releases/octopus: fix indents 34165/head
Kefu Chai [Wed, 25 Mar 2020 04:16:16 +0000 (12:16 +0800)]
doc/releases/octopus: fix indents

reduce the indent in subsection of "RGW object storage", some of the
nested items should be indented with two spaces instead of four.

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