Commit Graph

109766 Commits

Author SHA1 Message Date
Yuval Lifshitz
87a67490de cls/queue: remove error message when queue is not initialized
also remove redundant newlines in the log messages

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-03-29 13:17:32 +03: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
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
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
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
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