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
Michael Fritch
322eea8099
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>
2020-03-25 16:26:14 -06:00
Michael Fritch
084fd4a91a
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>
2020-03-25 16:26:14 -06:00
Michael Fritch
8bb79a5f27
mgr/cephadm: pass NFSServiceSpec instead of pool/namespace args
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:14 -06:00
Michael Fritch
78ce6d4318
mgr/cephadm: add nfs apply test
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:14 -06:00
Michael Fritch
107885801b
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>
2020-03-25 16:26:14 -06:00
Michael Fritch
fd6322f7ec
mgr/cephadm: ensure nfs uses the correct entity
...
mon entity needs to start with `client.`
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Michael Fritch
d9f04ec1d7
mgr/cephadm: fix service name for nfs type
...
the `nfs` service was incorrectly reported as `mds`
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Michael Fritch
76f27894ca
mgr/cephadm: apply nfs service spec
...
orch apply nfs <svc_id> [<placement>]
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Michael Fritch
81823176af
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>
2020-03-25 16:26:13 -06:00
Michael Fritch
530c62d76d
mgr/cephadm: update docs
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Michael Fritch
94600c69e2
mgr/cephadm: add minimal caps for nfs client keyring
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Michael Fritch
26ea33ad4b
mgr/cephadm: add logging to NFSGanesha class
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Michael Fritch
9103f4758b
mgr/cephadm: create empty nfs rados config obj
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Michael Fritch
b2b6e016d1
mgr/cephadm: add nfs tests
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:12 -06:00
Michael Fritch
2606cc3543
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>
2020-03-25 16:26:12 -06:00
Michael Fritch
770816dc9f
mgr/cephadm: deploy nfs-ganesha service
...
orch daemon add nfs <svc_arg> <pool> [<namespace>] [<placement>]
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:12 -06:00
Michael Fritch
3be6081028
mgr/cephadm: split out config-and-keyrings
json
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:12 -06:00
Michael Fritch
7976ac745a
mgr/orchestrator: rearrange interface to match impl. order
...
rgw impl. happens before rbd impl
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:12 -06:00
Sage Weil
29b7469fb7
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>
2020-03-25 17:13:46 -05:00
Sage Weil
a5fe37897e
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>
2020-03-25 16:44:17 -05:00
Sage Weil
3946827814
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>
2020-03-25 16:42:54 -05:00
Sage Weil
b2aede193e
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>
2020-03-25 16:42:42 -05:00
Casey Bodley
aa60edcec8
qa/rgw: partial revert of 'import with full path'
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-25 16:46:28 -04:00
Casey Bodley
7f1260852a
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>
2020-03-25 15:53:30 -04:00
Casey Bodley
c89b59428e
rgw: remove unused librgw_admin_user
...
unused and not worth the effort to maintain
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-03-25 14:12:55 -04:00
Neha
c1c6f8f8c1
doc/releases/octopus.rst: fix min_mon_release string
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-03-25 17:29:48 +00:00
Sage Weil
764ce71bd2
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>
2020-03-25 10:39:59 -05:00
Sage Weil
5f4fedbd5b
mgr/cephadm: bind grafana to all interfaces
...
Fixes: https://tracker.ceph.com/issues/44608
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-25 10:34:21 -05:00
Ricardo Marques
b000f12aba
cephadm: Fix check_ip_port to work with IPv6
...
Fixes: https://tracker.ceph.com/issues/43816
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-03-25 15:06:17 +00:00