Commit Graph

113999 Commits

Author SHA1 Message Date
Lenz Grimmer
3d74ae7ee9
Merge pull request #36567 from votdev/issue_46901_hide_limit_action_field
mgr/dashboard: Hide table action input field if limit=0

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-08-14 10:06:30 +02:00
Kefu Chai
4fea9a8be3
Merge pull request #36510 from athanatos/sjust/wip-tm-decref
crimson: remove extent from cache in TransactionManager::dec_ref

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-14 03:47:55 +08:00
Samuel Just
bb3a7f3515 crimson/os/seastore/transaction_manager: complete dec_ref
Previously, dec_ref didn't handle actually retiring the
extent from the cache.  dec_ref will now reach into the
cache and mark the extent retired if it exists either
in the cache or in the current transaction.

Signed-off-by: Samuel Just <sjust@redhat.com>
2020-08-13 11:32:31 -07:00
Samuel Just
3af6617673 crimson/os/seastore/lba_manager: clarify ref count operation return
Previously, we returned a refcount from inc_ref and dec_ref.  Now,
return the paddr as well for future code accounting for released
extents.

In addition, replumb btree_lba_manager to return an enoent error if
the mapping does not exist, and the resulting refcount, paddr
otherwise with a refcount of 0 indicating that the mapping has
been removed.

Signed-off-by: Samuel Just <sjust@redhat.com>
2020-08-13 11:32:31 -07:00
Samuel Just
8cd2dfaa77 crimson/os/seastore/cache: don't mark invalid extents clean
In the event that an extent is created and removed in the same
transaction (invalid extent in fresh_block_list), update
block specific metadata but don't add to cache and especially
do not mark clean.  LBAManager::complete_commit implementations
are meant to use skip based on state in the same way.

Signed-off-by: Samuel Just <sjust@redhat.com>
2020-08-13 11:32:31 -07:00
Samuel Just
4943d14644 crimson/os/seastore/cached_extent: add print_detail for logical extents
This way we can always see laddr in debug output.

Signed-off-by: Samuel Just <sjust@redhat.com>
2020-08-13 11:32:28 -07:00
Ilya Dryomov
e66dc2fc00
Merge pull request #36591 from idryomov/wip-snap-create-progress
qa: update krbd tests for snap create

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-13 16:25:06 +02:00
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
Ilya Dryomov
f8a9880cbb qa: update krbd tests for snap create
"rbd snap create" now reports progress.  Pass --no-progress, as in
commit b5a5fea9e2 ("test/cli-integration/rbd: tweak after snap create
started to show progress").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-08-12 17:49:00 +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
Volker Theile
241855f3e3 mgr/dashboard: Hide table action input field if limit=0
Fixes: https://tracker.ceph.com/issues/46901
Signed-off-by: Volker Theile <vtheile@suse.com>
2020-08-11 15:26: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