Commit Graph

113989 Commits

Author SHA1 Message Date
Lenz Grimmer
beb19d7da9
Merge pull request #36434 from ricardoasmarques/fix-iscsi-logged-in-client-edit
mgr/dashboard: Unable to edit iSCSI logged-in client

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-08-13 15:58:46 +02:00
Lenz Grimmer
fcadcba4ed
Merge pull request #36564 from ceph/46899-log-info-from-unhandled-errors
mgr/dashboard: log useful information from internal server errors

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Fabrizio D'Angelo <fdangelo@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-08-13 15:31:38 +02:00
Yan, Zheng
f93105e895
Merge pull request #36532 from simon-rock/crash_on_restart
mds : move start_files_to_recover() to recovery_done
2020-08-13 09:55:16 +08:00
Simon Gao
fafb5b4f84 mds : move start_files_to_recover() to recovery_done
the requests in the queue, named waiting_for_replay, may modify the state of the filelock,
resulting in the wrong lock state when repairing file (start_files_to_recover)

Fixes : https://tracker.ceph.com/issues/46906
Signed-off-by: Simon Gao <simon29rock@gmail.com>
2020-08-13 09:51:45 +08:00
Lenz Grimmer
34a4e1284d
Merge pull request #36119 from votdev/issue_44831_deploy_service
mgr/dashboard: Create Ceph services via Orchestrator by using ServiceSpec

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-08-12 18:05:25 +02:00
Yuri Weinstein
681008a73c
Merge pull request #36569 from yuriw/wip-yuriw-crontab-master
qa/tests: use "-k distro" for all suites (except krbd)

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-12 07:43:20 -07:00
Abhishek L
d0a18dd52e
Merge pull request #36570 from theanalyst/doc/releases/v14.2.11
doc: releases: notes for v14.2.11 nautilus

Reviewed-By: Neha Ojha <nojha@redhat.com>
Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-By: Patrick Donelly <pdonell@redhat.com>
2020-08-12 16:10:57 +02:00
Alfonso Martínez
01457ef996 mgr/dashboard: log useful information from internal server errors
Fixes: https://tracker.ceph.com/issues/46899
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2020-08-12 13:22:27 +02:00
Abhishek Lekshmanan
0ceb0beb4d doc: releases: notes for v14.2.11 nautilus
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-08-12 11:54:09 +02:00
Lenz Grimmer
4fa1eaf2f6
Merge pull request #36550 from tspmelo/wip-npm-update
mgr/dashboard: Update npm packages

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-08-12 09:48:59 +02:00
Jan Fajerski
0490cd8bb3
Merge pull request #36565 from jan--f/c-v-py3-flake8
ceph-volume: run flake8 in python3
2020-08-12 09:21:17 +02:00
Patrick Donnelly
dc06096a2d
Merge PR #36351 into master
* refs/pull/36351/head:
	qa/tasks/cephfs/nfs: Add tests for cluster config set and reset
	doc/cephfs/nfs: Update the doc about 'reset' and 'set' config interfaces
	mgr/volumes/nfs: Add interface for adding user defined configuration

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-11 15:55:52 -07:00
Yuri Weinstein
64448c6cd6 qa/tests: use "-k distro" for all suites (except krbd)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-08-11 11:09:42 -07:00
Yuri Weinstein
df1a88edcb
Merge pull request #36437 from yuriw/wip-yuriw-crontab-master
qa/tests: changes related to #36435 and #36436

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-08-11 10:43:31 -07:00
Lenz Grimmer
a21ff0c562
Merge pull request #36111 from vosdev/patch-2
doc/mgr/dashboard: Fix haproxy example to use ssl for backends

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-08-11 18:09:24 +02:00
Sebastian Wagner
46dddbca0a
Merge pull request #36456 from sebastian-philipp/orch-type-py3
mgr/orch: _interface.py cleanup: PEP8 and type annotations

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-08-11 14:52:01 +02:00
Jan Fajerski
03ec346fa4 ceph-volume: run flake8 in pyhton3
Fixes: https://tracker.ceph.com/issues/46897

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-08-11 14:08:33 +02:00
Jan Fajerski
740480660a
Merge pull request #36431 from rishabh-d-dave/cv-add-tests-for-new-lvm-functions
ceph-volume: add tests for new functions that run LVM commands
2020-08-11 13:00:27 +02:00
Jan Fajerski
b3d929f4dc
Merge pull request #35937 from rishabh-d-dave/cv-rm-container-classes
ceph-volume: remove container classes from api/lvm.py
2020-08-11 11:51:15 +02:00
Kefu Chai
699a7c34b8
Merge pull request #36425 from majianpeng/rocksdb-remove-redundant-perfcount
kv/RocksdbStore: remove perfcounter l_rocksdb_txns/l_rocksdb_txns_sync

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2020-08-11 10:50:04 +08:00
Kefu Chai
9077ee99ee
Merge pull request #36528 from dmick/wip-ctags
cmake: don't include tags for Python imports, .tox, build/ dirs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-11 10:14:40 +08:00
Sebastian Wagner
c625a51635
Merge pull request #36538 from zdover23/wip-docs-45678-fix
doc/cephadm: Remove shell alias

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-11 01:15:54 +02:00
Dan Mick
e7e950aa36 cmake: don't include tags for Python imports, .tox, build/ dirs
For things like cephadm, where there is a lot of "from X import Y",
the import tags become cumbersome.  .tox dirs and
python-common/build are just repeats of source files found elsewhere
so result in duplicate tags

Signed-off-by: Dan Mick <dmick@redhat.com>
2020-08-10 22:53:03 +00:00
Tiago Melo
66d1431441 mgr/dashboard: Update npm packages
Fixes: https://tracker.ceph.com/issues/46888

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-08-10 22:36:45 +00:00
Patrick Donnelly
21bf6dd62a
Merge PR #36221 into master
* refs/pull/36221/head:
	client: switch lock_guard to scoped_lock
	client: remove useless unsafe_sync_write
	client: make the root member under the client_lock
	client: add mount/initialize states support and convert to RWRef
	client: add RWRef support

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-10 13:40:36 -07:00
Patrick Donnelly
f951201c4c
Merge PR #36487 into master
* refs/pull/36487/head:
	mds: avoid calling g_conf().get_val() in MDSRank::heartbeat_reset()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-10 12:55:56 -07:00
kalebskeithley
b4508ba3b7
Merge pull request #36522 from kalebskeithley/rgw_rados_h
rgw: remove unnecessary #include "rgw_rados.h"
2020-08-10 15:52:05 -04:00
Patrick Donnelly
305e1b3445
Merge PR #32731 into master
* refs/pull/32731/head:
	mgr/mds_autoscaler: plugin to configure mds instances

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-10 12:47:47 -07:00
Patrick Donnelly
aec6316066
Merge PR #35161 into master
* refs/pull/35161/head:
	mgr/mgr_module: metadata is fetched async
	mgr/status: metadata is fetched async

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-10 12:46:38 -07:00
Yuri Weinstein
6916490000
Merge pull request #36548 from votdev/fix_colors
mgr/dashboard: correct color names which are not defined

Reviewed-by:  Tiago Melo <tmelo@suse.com>
2020-08-10 12:46:05 -07:00
Volker Theile
828f2e9368 mgr/dashboard: correct color names which are not defined
Fix regression introduced by https://github.com/ceph/ceph/pull/35954.
Rename some color names that have been changed by the mentioned PR.

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-08-11 01:14:26 +08:00
Patrick Donnelly
9b2d0a90fc
Merge PR #36547 into master
* refs/pull/36547/head:
	client: add on space before the inode info

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-10 09:48:00 -07:00
J. Eric Ivancich
619f6edd07
Merge pull request #34869 from linuxbox2/wip-reset-stats2
rgw: introduce safe user-reset-stats

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-08-10 11:46:28 -04:00
J. Eric Ivancich
59a40a4fa1
Merge pull request #35316 from cbodley/wip-45771
rgw: fix shutdown crash in RGWAsyncReadMDLogEntries

 Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
2020-08-10 11:43:19 -04:00
J. Eric Ivancich
4fb5940cbb
Merge pull request #35597 from soumyakoduri/http_client_fix
rgw: Empty reqs_change_state queue before unregistered_reqs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-08-10 11:41:24 -04:00
J. Eric Ivancich
6ec3dce2eb
Merge pull request #36015 from cbodley/wip-46456
cls/rgw: preserve olh entry's name on last unlink

Reviewed-by:  J. Eric Ivancich <ivancich@redhat.com>
2020-08-10 11:40:28 -04:00
Kefu Chai
c71b10184e
Merge pull request #36516 from tchaikov/wip-crimson-parse-conffile
crimson/common: read conf file in async

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-10 23:37:28 +08:00
J. Eric Ivancich
26d9d6a83f
Merge pull request #36069 from mkogan1/wip-fix-endpoint-not-connected-r1
rgw: improve scheduler log

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-08-10 11:36:58 -04:00
J. Eric Ivancich
033b4b37aa
Merge pull request #35792 from thmour/theo_rgw_url_test
rgw: fix double slash (//) killing the gateway

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-08-10 11:34:43 -04:00
J. Eric Ivancich
1be01e96cc
Merge pull request #36082 from winndows/superfluous_break3
rgw: Remove superfluous breaks

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-10 11:32:47 -04:00
J. Eric Ivancich
1ffe94f171
Merge pull request #36084 from winndows/superfluous_break9
rgw: Remove superfluous breaks

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-10 11:32:02 -04:00
J. Eric Ivancich
a5de98101b
Merge pull request #36092 from Huber-ming/dump_RGWLifecycleConfiguration
rgw: dump transitions in RGWLifecycleConfiguration::dump()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-10 11:27:12 -04:00
J. Eric Ivancich
c85e49e290
Merge pull request #36264 from theanalyst/rgw/bucket-not-impl
rgw: s3: mark bucket encryption as not implemented

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-08-10 11:07:55 -04:00
J. Eric Ivancich
143df93df0
Merge pull request #36303 from theanalyst/rgw/empty-princ-policy
rgw: policy: reuse eval_principal to evaluate the policy principal

Reviewed-by: Pritha Srivastava <prsivas@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2020-08-10 11:06:27 -04:00
Lenz Grimmer
a77f46f2c2
Merge pull request #35954 from SchoolGuy/dashboard/bootrapify
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-08-10 16:55:20 +02:00
Kefu Chai
d75b6f0603 crimson/common: read conf file in async
otherwise seastar's stall detector could complain, if the task takes too
long to complete.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-10 22:51:17 +08:00
Kefu Chai
e7dcc403b2 common/config: extract md_config_t::parse_buffer()
so we can reuse it in crimson.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-10 22:51:17 +08:00
Kefu Chai
4b553f9253 common/ConfUtils: expose parse_buffer()
so it can be used by crimson for reading settings from a conf file.
crimson reads file with async read. since we already have a specialized
ConfigProxy for crimson, it'd be simpler to expose the shared facility
from ConfUtils instead of specializing it in ConfUtils.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-10 22:51:17 +08:00
Kefu Chai
2703600430 crimson/osd: use "ceph" for default cluster_name
for couple reasons:

* to avoid the pain to guess / update the cluster name when loading
  conf file. in the past, we use "ceph" as a fallback for the cluster
  name, which is in turn used as a meta name when expanding setting
  values containing "$cluster". so to ensure those settings continue
  working, we have to at least set cluster_name a safe value, and
  "ceph" is what we've been using.
* in
  http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-June/018519.html,
  we decided to drop the cluster_name support in deploy tools, and to
  keep this feature in code. so in the long run, we can assume
  new clusters will be all named "ceph".
* it's difficult to properly implement the feature to use "ceph",
  if no --conf option is specified, as, in Ceph, even the path pointing
  to conf file is allowed to contain "$cluster". so, to get it
  right, we need to update cluster name stored in options before
  reading the option files, this forces us to populate the setting
  twice when reading the settings from a conf file. or we could
  specialize the process, but i don't think it worthy of the
  efforts.

so i think we can just use "ceph" for the cluster name in crimson.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-10 22:51:17 +08:00
Kefu Chai
d968dd35ed crimson/common: move ConfigProxy::parse_config_files() into .cc
prepare for a proper async version, which will be a little bit more
complicated than the existing one, so better off moving it into .cc file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-10 22:51:17 +08:00