Commit Graph

109802 Commits

Author SHA1 Message Date
Daniel-Pivonka
bb4554a3a6 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>
2020-03-30 14:51:53 -04:00
Laura Paduano
7dc02fd0ad
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>
2020-03-27 12:42:42 +01:00
Nathan Cutler
a6846c150c
Merge pull request #34209 from smithfarm/wip-doc-multi-cluster-follow-on-fix
doc: fix cephadm link

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-27 10:20:00 +01:00
Nathan Cutler
0e1e85047d
Merge pull request #34235 from toabctl/add-sle-15-sp2
qa/distros: add SLE-15-SP2

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-03-27 09:33:50 +01:00
Kefu Chai
a12f9f19e0
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>
2020-03-27 16:13:29 +08:00
Kefu Chai
fde92a3775
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>
2020-03-27 15:53:05 +08:00
Thomas Bechtold
3261e24636 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>
2020-03-27 08:17:13 +01:00
Kefu Chai
14722092fd 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>
2020-03-27 14:54:37 +08:00
Kefu Chai
7d37226548 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>
2020-03-27 14:51:24 +08:00
Kefu Chai
4b4f393aec qa/tasks/cephfs: fix print() to be py3 compatible
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-27 14:51:24 +08:00
Kefu Chai
a105dea117
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>
2020-03-27 14:49:46 +08:00
Kefu Chai
76b81f3a88
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>
2020-03-27 12:52:28 +08:00
Sage Weil
3ee082218c Merge PR #32093 into master
* refs/pull/32093/head:
	doc/start: Update hardware recommendations.

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-26 15:45:24 -05:00
Mark Nelson
3305a07324 doc/start: Update hardware recommendations.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2020-03-26 15:07:50 -05:00
Sage Weil
371b377a43 Merge PR #34218 into master
* refs/pull/34218/head:
	mgr/cephadm: Add missing decorator

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-26 12:41:01 -05:00
Sebastian Wagner
8e90f312e4 mgr/cephadm: Add missing decorator
Caused by a conflict between

* #33581 (770816dc9f) and
* #34091 (a78f42e225)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-26 17:50:21 +01:00
Kefu Chai
1032494ad2
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>
2020-03-26 23:26:53 +08:00
Kefu Chai
be11e75d5d
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>
2020-03-26 23:25:39 +08:00
Kefu Chai
8e9621e8b9
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>
2020-03-26 23:23:43 +08:00
Kefu Chai
c69d128e48
Merge pull request #34196 from majianpeng/bluestore-remove-incorrectly-comments
os/bluestore: remove incorrect comments.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-26 23:21:57 +08:00
Neha Ojha
c4d80afd53
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>
2020-03-26 08:12:37 -07:00
Nathan Cutler
7dd012252c doc: fix cephadm link
Fixes: 8fe460e756
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-26 15:55:47 +01:00
Sage Weil
f865f3e0a0 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
2020-03-26 09:05:35 -05:00
Sage Weil
7ef5458e26 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>
2020-03-26 07:46:30 -05:00
Igor Fedotov
a91492ebb3
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>
2020-03-26 15:32:01 +03:00
Kefu Chai
19479643ad
Merge pull request #34187 from liewegas/fix-44759
osd/PeeringState: drop mimic assert

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-26 18:29:22 +08:00
Kefu Chai
20efbfb507
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>
2020-03-26 17:19:28 +08:00
Yan, Zheng
4b79a2ecce
Merge pull request #29443 from simon-rock/metatool_dev
tool: add cephfs-meta-injection to show and amend info of inode
2020-03-26 17:10:28 +08:00
Yan, Zheng
baff8b366d
Merge pull request #33198 from simon-rock/simon_work_get_dirfrag_bound
mds: optimize function, get_force_dirfrag_bound_set
2020-03-26 17:06:08 +08:00
Yan, Zheng
96b3a8a5ee
Merge pull request #33643 from simon-rock/simon_destructor_of_session
mds : core dump if the resource is not released
2020-03-26 17:02:29 +08:00
Yan, Zheng
04d2989373
Merge pull request #31668 from shenhang/deny_reconnect_on_reboot
mds: short reboot time
2020-03-26 16:59:01 +08:00
Yan, Zheng
f4c6234972
Merge pull request #33570 from shenhang/modifyactiverequest
mds: Using begin() and empty() to iterate the xlist
2020-03-26 16:53:13 +08:00
Kefu Chai
5db7ab2028
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>
2020-03-26 16:47:17 +08:00
Kefu Chai
a16df762ae
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>
2020-03-26 16:41:07 +08:00
Kefu Chai
633a8319fd
Merge pull request #33366 from jmolmo/rook_blinking_lights
mgr/rook: Blinking lights

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-26 16:19:52 +08:00
Thomas Bechtold
cb8d906af5 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>
2020-03-26 16:16:31 +08:00
Jianpeng Ma
d0c8fe7e69 os/bluestore: remove incorrectly comments.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2020-03-26 15:50:28 +08:00
Juan Miguel Olmo Martínez
a35c1b2593
mgr/rook: Blinking lights
Blinking lights implementation

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2020-03-26 08:45:08 +01:00
Kefu Chai
b0bdbc3414 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>
2020-03-26 14:37:06 +08:00
Kefu Chai
867bc60644
Merge pull request #34184 from cbodley/wip-qa-rgw-test-multi-fix
qa/rgw: multisite test fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-03-26 11:44:56 +08:00
Sage Weil
8d514b53a2 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>
2020-03-25 21:18:45 -05:00
Sage Weil
7be352e7c0 Merge PR #34181 into master
* refs/pull/34181/head:
	mgr/cephadm: bind grafana to all interfaces

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-25 21:18:10 -05:00
Sage Weil
3b5258545e Merge PR #34182 into master
* refs/pull/34182/head:
	mgr/cephadm: fix 'orch ps --refresh'

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-25 21:17:18 -05:00
Xie Xingguo
b7a959c1cf
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>
2020-03-26 08:10:22 +08:00
Nathan Cutler
8fe460e756 doc: do not encourage readers to run multiple clusters on same HW
This material was first added on December 22, 2012 by
46d0334456

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-25 23:56:15 +01:00
Michael Fritch
ff9265104f
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>
2020-03-25 16:26:15 -06:00
Michael Fritch
75b988f314
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>
2020-03-25 16:26:15 -06:00
Michael Fritch
fdf90bf530
mgr/cephadm: combine get_daemon_name and get_rados_user funcs
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:14 -06:00
Michael Fritch
ef8a46a3b1
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>
2020-03-25 16:26:14 -06:00
Michael Fritch
77440d91c1
mgr/cephadm: add deployment example to NFS docs
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:14 -06:00