Commit Graph

121479 Commits

Author SHA1 Message Date
Xiubo Li
eb89c464ae mds: do not show the default auth if it's unambiguous
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-04-07 14:04:36 +08:00
Xiubo Li
4f63998185 mds: switch to rank number instead
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-04-07 14:04:36 +08:00
Kefu Chai
d6d88c18c4
Merge pull request #40453 from tchaikov/wip-doc-confval
doc/rados/configuration: format confval with "confval" directive 

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-03-30 09:26:46 +08:00
Samuel Just
46327a5cb9
Merge pull request #40462 from cyx1231st/wip-seastore-fix-onode-tree-eagain
crimson/onode-staged-tree: allow non-empty DeltaRecorder to be destructed

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-29 12:41:29 -07:00
Sage Weil
4f03376d74 Merge PR #40472 into master
* refs/pull/40472/head:
	mgr/cephadm/upgrade: ignore deployed_by until mgr is upgraded

Reviewed-by: Adam King <adking@redhat.com>
2021-03-29 12:20:39 -04:00
Sage Weil
c707d451fb Merge PR #40443 into master
* refs/pull/40443/head:
	doc/rbd: missed blacklist -> blocklist

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-29 10:35:13 -04:00
Sage Weil
19cb3df94d Merge PR #40390 into master
* refs/pull/40390/head:
	cstart.sh: some improvements
	cpatch: allow python 3.6 or 3.8
	cpatch: behave with ninja (instead of make)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-29 10:06:17 -04:00
Sage Weil
de295bacf0 Merge PR #40409 into master
* refs/pull/40409/head:
	qa/workunits/cephadm/test_cephadm: specify image separately

Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-03-29 10:05:10 -04:00
Sage Weil
3f14c6238f Merge PR #40428 into master
* refs/pull/40428/head:
	win32*.sh: disable libcephsqlite when targeting Windows

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-29 09:49:35 -04:00
Sage Weil
bb00de5c40 mgr/cephadm/upgrade: ignore deployed_by until mgr is upgraded
Until we upgrade the mgr itself, we will never be able to make our
deployed daemons have a deployed_by == target_digests.  Ignore those
daemons until the mgr is the right version.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-29 08:43:42 -05:00
Ilya Dryomov
9c38926ae6
Merge pull request #40470 from idryomov/wip-msgr1-extra-tickets
auth/CephxClientHandler: explain why skipping extra_tickets is needed

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-29 15:29:03 +02:00
Yingxin Cheng
01a8c5a7f9 crimson/onode-staged-tree: allow non-empty DeltaRecorder to be destructed
Fixes: http://tracker.ceph.com/issues/50028
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-03-29 21:19:36 +08:00
Yingxin Cheng
6049793368 crimson/.../transaction_manager: add log for eagain
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-03-29 21:15:20 +08:00
Ilya Dryomov
707d32a599 auth/CephxClientHandler: explain why skipping extra_tickets is needed
Since nautilus, CEPHX_GET_AUTH_SESSION_KEY shares both the auth ticket
and the service tickets, sparing an extra round-trip to get the service
tickets via CEPHX_GET_PRINCIPAL_SESSION_KEY.  This applies to msgr1 as
well, but we don't take advantage of it on the client side.

However, fixing CephxClientHandler to do the right thing breaks msgr1.
Since msgr1 is on its way out, rather than also fixing MonClient just
document the bug and the current behaviour.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-03-29 13:45:10 +02:00
Kefu Chai
81847bfac8
Merge pull request #40466 from inspur-wyq/patch-2
blk/spdk/NVMEDevice.cc:  remove unused variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-29 17:21:41 +08:00
Alfonso Martínez
b63239ddca
Merge pull request #40188 from rhcs-dashboard/fix-49869-master
mgr/dashboard: fix broken feature toggles

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-29 11:20:43 +02:00
Alfonso Martínez
de4e4ac674
Merge pull request #38679 from ceph/dependabot/npm_and_yarn/src/pybind/mgr/dashboard/frontend/node-notifier-8.0.1
build(deps): bump node-notifier from 8.0.0 to 8.0.1 in /src/pybind/mgr/dashboard/frontend

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-03-29 11:10:22 +02:00
Alfonso Martínez
9007cdd9bf
Merge pull request #39908 from rhcs-dashboard/fix-49645-master
mgr/dashboard: Remove username, password fields from Manager Modules/dashboard,influx

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2021-03-29 11:01:39 +02:00
Alfonso Martínez
a1c3be67ef
Merge pull request #40023 from rhcs-dashboard/fix-49354-master
mgr/dashboard: Device health status is not getting listed under hosts section

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-03-29 10:58:38 +02:00
Alfonso Martínez
bf1e7d6447
Merge pull request #40332 from rhcs-dashboard/prometheus-alert-notification-fix
mgr/dashboard: Fix for alert notification message being undefined

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2021-03-29 10:51:56 +02:00
Alfonso Martínez
f2b7fb057a
Merge pull request #39917 from rhcs-dashboard/fix-43058-master
mgr/dashboard: warn password expiration in User Management
2021-03-29 10:03:33 +02:00
wangyunqing
55fd4d84ca
blk/spdk/NVMEDevice.cc: remove unused variables
Signed-off-by: wangyunqing <wangyunqing@inspur.com>
2021-03-29 15:56:17 +08:00
Alfonso Martínez
b85e92fee8
Merge pull request #40240 from rhcs-dashboard/clear-cookies-on-logout
mgr/dashboard: Unable to login to ceph dashboard until clearing cookies manually

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-03-29 08:52:46 +02:00
Xiubo Li
9585ac7edc
Merge pull request #40458 from lxbsz/typo
client: fix typo in the comments
2021-03-29 14:22:08 +08:00
Yingxin Cheng
73c1a55eb5 crimson/onode-staged-tree: fix typo in compare_full_key()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-03-29 13:51:15 +08:00
Xiubo Li
40a73e1954 client: fix typo in the comments
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-03-29 12:36:19 +08:00
Kefu Chai
b60d041efa doc/rados/configuration: format confval with "confval" directive
for better formatting

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-28 23:38:02 +08:00
Kefu Chai
ba285cbc98 doc/dev/cephadm: quote command with backquotes
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-28 23:29:56 +08:00
Kefu Chai
754bd73d2b doc: add a new directive "confval"
* so we can define configuration in a more structured way
* so the confvals can be cross referenced

see also https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_object_type

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-28 23:28:31 +08:00
Kefu Chai
94a0af289c
Merge pull request #40445 from liewegas/cephadm-upgrade-progress-version
mgr/cephadm: make upgrade progress bar mention target version, not repo digest

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-03-28 20:08:51 +08:00
Kefu Chai
6ba8a4f9d4
Merge pull request #40447 from Daniel-Pivonka/cephadmdocapplyrgwflags
mgr/orchestrator: fix rgw realm and zone flags

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-28 20:06:01 +08:00
Kefu Chai
f0236871c8
Merge pull request #40379 from adk3798/no-overwrite
mgr/cephadm: --no-overwite flag for apply command

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-28 20:03:22 +08:00
Kefu Chai
73925c488a
Merge pull request #39969 from batrick/i49684
qa: wait for daemons to come up via cephadm

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-28 20:01:32 +08:00
Kefu Chai
ca4f093502
Merge pull request #40396 from maydaycc/wip-49968
mgr: attr_list reassigned before use in diskprediction_local module

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-28 19:59:53 +08:00
Kefu Chai
c78ffa7560
Merge pull request #40421 from badone/wip-fix-typo-get_device_id
common/blkdev: Remove trailing single quote

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-28 19:59:06 +08:00
Nathan Cutler
010d136377
Merge pull request #40450 from smithfarm/wip-50007-alt
rpm: drop extraneous explicit sqlite-libs runtime dependency

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-27 19:34:53 +01:00
Nathan Cutler
4025858570 rpm: drop extraneous explicit sqlite-libs runtime dependency
Commit 75980798f1 introduced a new package,
libcephsqlite, with a hard RPM dependency on a package "sqlite-libs" which
does not exist in openSUSE.

Since the runtime library dependencies of libcephsqlite are handled by RPM
transparently, this line is not needed.

Fixes: https://tracker.ceph.com/issues/50007
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2021-03-27 13:22:26 +01:00
Kefu Chai
de976cb84d
Merge pull request #40442 from Thingee/update-foundation-page
doc: Update Foundation page

Reviewed-by: Sage Weil <sage@redhat.com>
2021-03-27 16:57:43 +08:00
Mike Perez
1268c649aa doc: Updating Foundation membership page
Signed-off-by: Mike Perez <thingee@gmail.com>
2021-03-27 16:50:34 +08:00
Kefu Chai
3d5cbdd527
Merge pull request #40408 from varshar16/wip-doc-update-ninja
doc/install: update about ninja

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-27 15:45:38 +08:00
Kefu Chai
692933fc4f
Merge pull request #40345 from rzarzynski/wip-crimson-doc-waitstates-follow-up
doc/crimson: improve wording about the pipeline / wait states.

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-27 11:28:33 +08:00
Patrick Donnelly
8a4794cb49
Merge PR #38732 into master
* refs/pull/38732/head:
	client: fire the finish_cap_snap() after buffer being flushed
	client: simplify the iterating code
	client: remove unused _flushed_cap_snap
	client: clean up the code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-26 15:13:07 -07:00
Patrick Donnelly
10a86af09d
Merge PR #40326 into master
* refs/pull/40326/head:
	client: rebuild bl to avoid too many vector(> IOV_MAX)

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-03-26 15:11:28 -07:00
Sage Weil
8350cc4596 Merge PR #40394 into master
* refs/pull/40394/head:
	osd: handle MOSDPGInfo
	osd/PeeringState: init last_require_osd_release in ctor

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-03-26 16:41:31 -04:00
Daniel Pivonka
41a1df1b96 doc/cephadm: fix rgw realm and zone flags
Signed-off-by: Daniel Pivonka <dpivonka@redhat.com>
2021-03-26 16:18:28 -04:00
Neha Ojha
fc330101d9
Merge pull request #40415 from sseshasa/wip-qa-wait-for-clean-check
qa/tasks: Add wait_for_clean() check prior to initiating scrubbing.

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-03-26 11:25:16 -07:00
Sage Weil
521cb8ab22 mgr/cephadm: make upgrade progress bar mention target version, not repo digest
The repo digest is super long and meaningless for a human user.  Instead,
use the target version (as soon as we know what it is--until then, use
the target image name).

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-26 12:16:50 -05:00
Daniel Pivonka
6a7e884fc4 doc/rbd: missed blacklist -> blocklist
Signed-off-by: Daniel Pivonka <dpivonka@redhat.com>
2021-03-26 12:36:47 -04:00
Kefu Chai
f61ff08737
Merge pull request #40438 from idryomov/wip-crimson-reopen-session
crimson/monc: discard active/pending connections when reopening

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-03-27 00:11:54 +08:00
Ilya Dryomov
2edf4f568d crimson/monc: discard active/pending connections when reopening
Otherwise pending_conns vector just keeps growing with redundant
connections all trying to reach the same set of monitors.  When one
of the attempts finally succeeds, _finish_auth() will pick the first
connection with a matching entity_addr_t, designate it as active and
close all others.  The match is very likely to be wrong and hence the
actual authenticated connection gets closed, leaving the OSD with
a bogus active_con and no monitor session.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-03-26 14:36:47 +01:00