]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agodoc/rgw: warn about "trust forwarded https" security 34505/head
Ken Dreyer [Thu, 9 Apr 2020 22:32:55 +0000 (16:32 -0600)]
doc/rgw: warn about "trust forwarded https" security

Warn users about the implications of enabling this option when there is
no trusted proxy in front of radosgw.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
5 years agoMerge pull request #35139 from smithfarm/wip-proxy-is-removed
Neha Ojha [Thu, 21 May 2020 17:07:56 +0000 (10:07 -0700)]
Merge pull request #35139 from smithfarm/wip-proxy-is-removed

qa/cephtool: remove/deprecate proxy cache-tier mode

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35177 from wjwithagen/wjw-fix-ceph-backport.sh
Nathan Cutler [Thu, 21 May 2020 15:53:32 +0000 (17:53 +0200)]
Merge pull request #35177 from wjwithagen/wjw-fix-ceph-backport.sh

script: fix bash invocation on systems where bash live elsewhere

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoscript: fix bash invocation on systems where bash live elsewhere 35177/head
Willem Jan Withagen [Thu, 21 May 2020 16:30:25 +0000 (16:30 +0000)]
script: fix bash invocation on systems where bash live elsewhere

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agoqa/cephtool: clean up after removal of cache-tier modes 35139/head
Nathan Cutler [Tue, 19 May 2020 20:05:22 +0000 (22:05 +0200)]
qa/cephtool: clean up after removal of cache-tier modes

The "proxy" and "forward" cache-tier modes have been completely removed,
so it's sufficient to test once that they cannot be set.

Fixes: a0a3ed324a130a9934735927600f01d1fa65bc0d
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35160 from rzarzynski/wip-crimson-objclass-subop_num
Kefu Chai [Thu, 21 May 2020 04:08:24 +0000 (12:08 +0800)]
Merge pull request #35160 from rzarzynski/wip-crimson-objclass-subop_num

crimson/osd: implement cls_current_subop_num of the objclass API.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35154 from tchaikov/wip-crimson-admin-cleanup
Kefu Chai [Thu, 21 May 2020 02:26:20 +0000 (10:26 +0800)]
Merge pull request #35154 from tchaikov/wip-crimson-admin-cleanup

crimson/admin: remove the unix domain socket for asock when stopping

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: implement cls_current_subop_num of the objclass API. 35160/head
Radoslaw Zarzynski [Wed, 20 May 2020 23:18:38 +0000 (01:18 +0200)]
crimson/osd: implement cls_current_subop_num of the objclass API.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #35114 from mgfritch/cephadm-reconfig-port-in-use
Sebastian Wagner [Wed, 20 May 2020 18:34:30 +0000 (20:34 +0200)]
Merge pull request #35114 from mgfritch/cephadm-reconfig-port-in-use

cephadm: skip port in use check during reconfig/redeploy

Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35087 from sebastian-philipp/cephadm-fix-osd-service-create
Sebastian Wagner [Wed, 20 May 2020 18:33:57 +0000 (20:33 +0200)]
Merge pull request #35087 from sebastian-philipp/cephadm-fix-osd-service-create

mgr/cephadm: Fix OSDs not being created

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35112 from athanatos/sjust/wip-manifest-doc
Samuel Just [Wed, 20 May 2020 17:07:15 +0000 (10:07 -0700)]
Merge pull request #35112 from athanatos/sjust/wip-manifest-doc

doc: update manifest.rst with plans for manifest work

Reviewed-by: Myoungwon Oh <omwmw@sk.com>
5 years agocrimson/admin: remove the unix domain socket file for asock when stopping 35154/head
Kefu Chai [Wed, 20 May 2020 16:12:19 +0000 (00:12 +0800)]
crimson/admin: remove the unix domain socket file for asock when stopping

should remove the leftovers when stopping

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #33286 into master
Patrick Donnelly [Wed, 20 May 2020 16:15:24 +0000 (09:15 -0700)]
Merge PR #33286 into master

* refs/pull/33286/head:
cephfs-shell: support cephfs-shell.conf

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agocephfs-shell: support cephfs-shell.conf 33286/head
Rishabh Dave [Thu, 27 Feb 2020 07:50:11 +0000 (13:20 +0530)]
cephfs-shell: support cephfs-shell.conf

cephfs-shell options should reside in cephfs-shell.conf and not in
ceph.conf. Please note, unlike before, -c option of cephfs-shell must
take path to cephfs-shell.conf instead of path to ceph.conf.

This commit also updates the docs and the tests for cephfs-shell accordingly
and renames the variable config_path in cephfs-shell to shell_conf_path so
that it's easy to distinguish.

Fixes: https://tracker.ceph.com/issues/44127
Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge PR #33264 into master
Patrick Donnelly [Wed, 20 May 2020 15:27:34 +0000 (08:27 -0700)]
Merge PR #33264 into master

* refs/pull/33264/head:
test_cephfs_shell: refactor test_put_and_get_without_target_directory

Reviewed-by: Varsha Rao <varao@redhat.com>
5 years agomon/OSDMonitor: do not tell user 'proxy' cache-mode allowed
Nathan Cutler [Tue, 19 May 2020 20:40:55 +0000 (22:40 +0200)]
mon/OSDMonitor: do not tell user 'proxy' cache-mode allowed

The 'proxy' cache-mode is deprecated and can no longer be used.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35088 from sebastian-philipp/cephadm-admin-socket
Sebastian Wagner [Wed, 20 May 2020 10:37:22 +0000 (12:37 +0200)]
Merge pull request #35088 from sebastian-philipp/cephadm-admin-socket

doc/cephadm: accessing the admin socket

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35125 from tchaikov/wip-cephadm-test
Kefu Chai [Wed, 20 May 2020 06:37:43 +0000 (14:37 +0800)]
Merge pull request #35125 from tchaikov/wip-cephadm-test

qa/tasks/cephadm: ignore tarfile.ReadError

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agodoc/dev/osd_internals:manifest.rst: clarification for manifest design and future... 35112/head
Samuel Just [Mon, 18 May 2020 21:53:52 +0000 (14:53 -0700)]
doc/dev/osd_internals:manifest.rst: clarification for manifest design and future steps

I've added a few significant changes:
* TIER_PROMOTE purely ensures that data is resident in the base pool
* Add EVICT_CHUNK to permit a tiering agent to selectively cold space
  from HEAD/snapshots independently of SET_CHUNK.
* Avoid using DIRTY entirely for dedup targets.
* Instead of modifying clone_range when updating clone manifests, simply
  update ReplicatedBackend::calc_*_subsets to also consider the clone
  obc manifest.

I've also added sections on how tiering agents are rbd/rgw are meant
to interact as well as on testing.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agodoc: more information on future work for manifest tiering
myoungwon oh [Thu, 23 Apr 2020 03:29:21 +0000 (23:29 -0400)]
doc: more information on future work for manifest tiering

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agodoc: more information on status and future work for manifest tiering
Samuel Just [Wed, 1 Apr 2020 02:13:25 +0000 (19:13 -0700)]
doc: more information on status and future work for manifest tiering

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agodoc: add more information for manifest tiering
Samuel Just [Fri, 13 Mar 2020 00:12:01 +0000 (17:12 -0700)]
doc: add more information for manifest tiering

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agoMerge pull request #35119 from ShraddhaAg/update-docs
Kefu Chai [Wed, 20 May 2020 04:25:11 +0000 (12:25 +0800)]
Merge pull request #35119 from ShraddhaAg/update-docs

doc: add machine type in teuthology commands

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35110 from neha-ojha/wip-revert-34894
Neha Ojha [Tue, 19 May 2020 21:06:20 +0000 (14:06 -0700)]
Merge pull request #35110 from neha-ojha/wip-revert-34894

Revert "qa/tests: replaced ubuntu_latest.yaml with ubuntu 20.04"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35113 from athanatos/sjust/wip-crimson-clang-cleanup
Samuel Just [Tue, 19 May 2020 17:32:40 +0000 (10:32 -0700)]
Merge pull request #35113 from athanatos/sjust/wip-crimson-clang-cleanup

crimson clang cleanups

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: remove unnecessary captures 35113/head
Samuel Just [Tue, 19 May 2020 15:52:19 +0000 (08:52 -0700)]
crimson/osd: remove unnecessary captures

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/os: remove some unnecessary lambda captures
Samuel Just [Tue, 19 May 2020 15:51:55 +0000 (08:51 -0700)]
crimson/os: remove some unnecessary lambda captures

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/os/seastore/journal: avoid capturing destructured labels
Samuel Just [Mon, 18 May 2020 18:06:00 +0000 (11:06 -0700)]
crimson/os/seastore/journal: avoid capturing destructured labels

clang at least doesn't allow those labels to be captured.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson: remove a few unnecessary lambda captures
Samuel Just [Mon, 18 May 2020 18:05:05 +0000 (11:05 -0700)]
crimson: remove a few unnecessary lambda captures

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoerrorator: don't rely on non-evaluation of static_assert in constexpr branch
Samuel Just [Mon, 18 May 2020 18:03:36 +0000 (11:03 -0700)]
errorator: don't rely on non-evaluation of static_assert in constexpr branch

At least in clang, we appear to fail that static assert even with another
branch taken.  Instead, assert that one of the other conditions is true.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #35127 from ronen-fr/scrub4
Jason Dillaman [Tue, 19 May 2020 15:44:29 +0000 (11:44 -0400)]
Merge pull request #35127 from ronen-fr/scrub4

test/librbd, Crimson: remove some unused captures

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agodoc: add machine type in teuthology commands 35119/head
Shraddha Agrawal [Tue, 19 May 2020 06:02:59 +0000 (11:32 +0530)]
doc: add machine type in teuthology commands

This commit adds mandatory --machine-type flag in teuthology
command examples in docs.

Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
5 years agoMerge pull request #32927 from linuxbox2/wip-rgw-lc-threads
Matt Benjamin [Tue, 19 May 2020 14:02:56 +0000 (10:02 -0400)]
Merge pull request #32927 from linuxbox2/wip-rgw-lc-threads

rgwlc: enable thread-parallelism in RGWLC

5 years agoCrimson: cleanup Clang issues in Crimson code 35127/head
Ronen Friedman [Tue, 19 May 2020 13:58:13 +0000 (16:58 +0300)]
Crimson: cleanup Clang issues in Crimson code

Mostly: remove redundant captures

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 years agodoc/cephadm: accessing the admin socket 35088/head
Sebastian Wagner [Fri, 15 May 2020 12:17:38 +0000 (14:17 +0200)]
doc/cephadm: accessing the admin socket

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agotest/librbd: remove some unused captures
Ronen Friedman [Tue, 19 May 2020 13:11:28 +0000 (16:11 +0300)]
test/librbd: remove some unused captures

...silencing Clang warnings

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
5 years agoMerge pull request #34980 from sebastian-philipp/cephadm-workunits-rm-ubuntu_2020
Sebastian Wagner [Tue, 19 May 2020 11:59:09 +0000 (13:59 +0200)]
Merge pull request #34980 from sebastian-philipp/cephadm-workunits-rm-ubuntu_2020

qa/cephadm: rm ubuntu_latest for now

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/cephadm: ignore tarfile.ReadError 35125/head
Kefu Chai [Tue, 19 May 2020 11:09:26 +0000 (19:09 +0800)]
qa/tasks/cephadm: ignore tarfile.ReadError

there is chance that /var/log/ceph (and other directories) is not
created when cephadm fails, but we always try to collect /var/log/ceph
by tar the directory on the test node and transfer it back for archiving
it. when we fail to do so, an exception is thrown, and this exception is
in turn logged as the cause of the failure instead of the one which
fails the test.

in this change, `tarfile.TarError`s is caught and ignored if it is
thrown by `misc.pull_directory()`, as normally, we don't consider it a fatal
failure when `misc.pull_directory()` fails because of `tar`. the
failures for the test are.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/cephadm: Fix OSDs not being created 35087/head
Sebastian Wagner [Fri, 15 May 2020 10:04:14 +0000 (12:04 +0200)]
mgr/cephadm: Fix OSDs not being created

Fixes: https://tracker.ceph.com/issues/45560
This was caused by completions no longer getting
executed synchonously.

Also

* We don't want to have a busy loop when applying OSDs
* Added call to `_apply_all_services` to OSD test

This is a follow-up on f7bf4d0c597080f45bb8466bd6bab3b9cecb03c4

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35101 from sebastian-philipp/cephadm-ls-systemd-unit
Sebastian Wagner [Tue, 19 May 2020 10:03:30 +0000 (12:03 +0200)]
Merge pull request #35101 from sebastian-philipp/cephadm-ls-systemd-unit

cephadm: `ls`: also return systemd_unit

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35074 from dillaman/wip-45544
Mykola Golub [Tue, 19 May 2020 08:43:38 +0000 (11:43 +0300)]
Merge pull request #35074 from dillaman/wip-45544

librbd: avoid completing mirror:DisableRequest while holding its lock

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agocephadm: fixup command_deploy log line 35114/head
Michael Fritch [Mon, 18 May 2020 21:40:43 +0000 (15:40 -0600)]
cephadm: fixup command_deploy log line

fixup log line to reflect the deploy action
(e.g. deploy, reconfig, redeploy)

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: skip `port_in_use` during redeploy
Michael Fritch [Mon, 18 May 2020 21:40:39 +0000 (15:40 -0600)]
cephadm: skip `port_in_use` during redeploy

skip the `port_in_use` check during reconfig/redeploy
of the monitoring components and nfs-ganesha

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: remove unused `reconfig` param from create_daemon_dirs
Michael Fritch [Mon, 18 May 2020 21:40:29 +0000 (15:40 -0600)]
cephadm: remove unused `reconfig` param from create_daemon_dirs

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agocephadm: don't check port in use during nfs reconfig
Michael Fritch [Mon, 18 May 2020 21:40:23 +0000 (15:40 -0600)]
cephadm: don't check port in use during nfs reconfig

Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #35062 into master
Patrick Donnelly [Mon, 18 May 2020 22:14:08 +0000 (15:14 -0700)]
Merge PR #35062 into master

* refs/pull/35062/head:
qa/tasks/cephfs/fuse_mount.py: retry when the admin socket is not ready

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge PR #34571 into master
Patrick Donnelly [Mon, 18 May 2020 22:11:46 +0000 (15:11 -0700)]
Merge PR #34571 into master

* refs/pull/34571/head:
mds: don't shallow copy when decoding xattr map

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #34144 into master
Patrick Donnelly [Mon, 18 May 2020 22:10:56 +0000 (15:10 -0700)]
Merge PR #34144 into master

* refs/pull/34144/head:
Filer: Add error handler in _do_purge_range()
mds: Handle blacklisted error in purge queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
5 years agoMerge PR #34596 into master
Patrick Donnelly [Mon, 18 May 2020 22:07:43 +0000 (15:07 -0700)]
Merge PR #34596 into master

* refs/pull/34596/head:
test: add a new program for testing ino_release_cb
client: add a new inode release request callback
client: expose ceph_ll_register_callbacks via libcephfs
client: move callback typedefs and arg struct into ceph_ll_client.h
client: rename ceph_statx.h to ceph_ll_client.h
client: make client_dentry_callback_t more friendly for C
client: only override umask_cb with non-NULL values

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge PR #34890 into master
Patrick Donnelly [Mon, 18 May 2020 21:59:59 +0000 (14:59 -0700)]
Merge PR #34890 into master

* refs/pull/34890/head:
cephfs-shell: Remove get_error_code() call on OSError type exception objects

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #34951 into master
Patrick Donnelly [Mon, 18 May 2020 21:57:20 +0000 (14:57 -0700)]
Merge PR #34951 into master

* refs/pull/34951/head:
qa/cephfs: run() cleanup whether FS was mounted or not

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
5 years agoRevert "qa/tests: replaced ubuntu_latest.yaml with ubuntu 20.04" 35110/head
Neha Ojha [Mon, 18 May 2020 21:55:25 +0000 (21:55 +0000)]
Revert "qa/tests: replaced ubuntu_latest.yaml with ubuntu 20.04"

This reverts commit 835f2f5f511e7363f4056e5137382982aac1bfbf.

Reverting this to narrow down recent failures seen in rados and upgrade suites.

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #35058 into master
Patrick Donnelly [Mon, 18 May 2020 21:34:28 +0000 (14:34 -0700)]
Merge PR #35058 into master

* refs/pull/35058/head:
qa/tasks: logger.warn() -> logger.warning()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35108 from trociny/wip-45589 34841/head
Jason Dillaman [Mon, 18 May 2020 19:35:33 +0000 (15:35 -0400)]
Merge pull request #35108 from trociny/wip-45589

mgr/rbd_support: rename "rbd_trash_trash_purge_schedule" oid

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #34900 from gekios/wip-cephadm-bootstrapped
Sebastian Wagner [Mon, 18 May 2020 18:46:47 +0000 (20:46 +0200)]
Merge pull request #34900 from gekios/wip-cephadm-bootstrapped

qa/tasks/cephadm.py: Support already bootstrapped clusters

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35071 from sebastian-philipp/cephadm-upgrade-check-mon-command
Sebastian Wagner [Mon, 18 May 2020 18:36:15 +0000 (20:36 +0200)]
Merge pull request #35071 from sebastian-philipp/cephadm-upgrade-check-mon-command

mgr/cephadm: upgrade: use check_mon_command

5 years agoMerge pull request #35068 from bk201/wip-45163
Sebastian Wagner [Mon, 18 May 2020 18:35:50 +0000 (20:35 +0200)]
Merge pull request #35068 from bk201/wip-45163

mgr/cephadm: config iSCSI gateways in Dashboard

5 years agoMerge pull request #35084 from jschmid1/caching_osdspec_previews
Sebastian Wagner [Mon, 18 May 2020 18:35:36 +0000 (20:35 +0200)]
Merge pull request #35084 from jschmid1/caching_osdspec_previews

mgr/cephadm: implement cached osdspec previews

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/rbd_support: rename "rbd_trash_trash_purge_schedule" oid 35108/head
Mykola Golub [Mon, 18 May 2020 17:59:31 +0000 (20:59 +0300)]
mgr/rbd_support: rename "rbd_trash_trash_purge_schedule" oid

to "rbd_trash_purge_schedule"

Fixes: https://tracker.ceph.com/issues/45589
Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge branch 'wip-joshd-fix'
Josh Durgin [Mon, 18 May 2020 14:39:04 +0000 (07:39 -0700)]
Merge branch 'wip-joshd-fix'

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agomgr/orchestrator: adapting orch interface to preview changes 35084/head
Joshua Schmid [Fri, 15 May 2020 09:34:27 +0000 (11:34 +0200)]
mgr/orchestrator: adapting orch interface to preview changes

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #35015 from smithfarm/wip-45514
Nathan Cutler [Mon, 18 May 2020 13:18:11 +0000 (15:18 +0200)]
Merge pull request #35015 from smithfarm/wip-45514

doc: drop obsolete cache tier options

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35083 from p-se/wip-pse-cephadm-prom-scrape-interval
Sebastian Wagner [Mon, 18 May 2020 12:46:16 +0000 (14:46 +0200)]
Merge pull request #35083 from p-se/wip-pse-cephadm-prom-scrape-interval

mgr/cephadm: increase global scrape interval

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35092 from varshar16/wip-cephadm-mdcache-ganesha
Sebastian Wagner [Mon, 18 May 2020 12:45:50 +0000 (14:45 +0200)]
Merge pull request #35092 from varshar16/wip-cephadm-mdcache-ganesha

 mgr/cephadm/nfs: Instead of CACHEINODE use MDCACHE

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agolibrbd: avoid completing mirror:DisableRequest while holding its lock 35074/head
Jason Dillaman [Thu, 14 May 2020 18:01:35 +0000 (14:01 -0400)]
librbd: avoid completing mirror:DisableRequest while holding its lock

Ensure that the lock is released before another thread has the chance
to complete the state machine and attempt to destruct the in-use lock.

Fixes: https://tracker.ceph.com/issues/45544
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/cephadm: upgrade: use check_mon_command 35071/head
Sebastian Wagner [Thu, 14 May 2020 14:29:56 +0000 (16:29 +0200)]
mgr/cephadm: upgrade: use check_mon_command

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #34964 from dillaman/wip-45137
Mykola Golub [Mon, 18 May 2020 11:24:00 +0000 (14:24 +0300)]
Merge pull request #34964 from dillaman/wip-45137

librbd: replace ImageRequestWQ with pluggable ImageDispatcher

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agodoc/cephadm: Synopsis: add `cephadm unit` 35101/head
Sebastian Wagner [Mon, 18 May 2020 10:39:36 +0000 (12:39 +0200)]
doc/cephadm: Synopsis: add `cephadm unit`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agocephadm: `ls`: also return systemd_unit
Sebastian Wagner [Mon, 18 May 2020 10:35:34 +0000 (12:35 +0200)]
cephadm: `ls`: also return systemd_unit

Let users directly know the systemd unit name.

Enable things like

```
cephadm ls | jq -r '.[].systemd_unit' | xargs -n 1 systemctl status | cat
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/cephadm: increase global scrape interval 35083/head
Patrick Seidensal [Fri, 15 May 2020 09:01:35 +0000 (11:01 +0200)]
mgr/cephadm: increase global scrape interval

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agomgr/dashboard: support setting iSCSI gateways from orchestrator 35068/head
Kiefer Chang [Fri, 15 May 2020 09:22:15 +0000 (17:22 +0800)]
mgr/dashboard: support setting iSCSI gateways from orchestrator

- Dashboard doesn't actively query iSCSI gateways from orchestrator anymore.
  Instead, Orchestrator backend invokes iscsi-gateway-add CLI after any
  iSCSI daemons are deployed.
- Add an optional argument `name` to `iscsi-gateway-add` command. If
  `name` is provided, Dashboard won't issue API request to iSCSI gateway
  to get the hostname. This is required because when orchestrator sets
  the gateway via CLI, the gateway is just spawned and might be not
  ready yet.

Fixes: https://tracker.ceph.com/issues/45163
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agomgr/cephadm: config iSCSI gateways in Dashboard
Kiefer Chang [Fri, 15 May 2020 09:20:55 +0000 (17:20 +0800)]
mgr/cephadm: config iSCSI gateways in Dashboard

- Add `daemon_check_post` fuction to allow services implement actions
  needed to be done after daemons are checked.
- After iSCSI daemons are spawned, call dashboard CLI to
  set the API URL of the daemons.

Fixes: https://tracker.ceph.com/issues/45163
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #32682 from lorenzen-b1/patch-1
Kefu Chai [Sat, 16 May 2020 11:45:15 +0000 (19:45 +0800)]
Merge pull request #32682 from lorenzen-b1/patch-1

doc/architecture.rst: clarify scrubbing

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35091 from tchaikov/wip-crimson-cleanup
Kefu Chai [Sat, 16 May 2020 02:44:01 +0000 (10:44 +0800)]
Merge pull request #35091 from tchaikov/wip-crimson-cleanup

crimson/osd: avoid using variadic future

Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge PR #35081 into master
Patrick Donnelly [Sat, 16 May 2020 02:22:16 +0000 (19:22 -0700)]
Merge PR #35081 into master

* refs/pull/35081/head:
qa: do not save/restore ip_forward sysctl

Reviewed-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge pull request #34764 from ianwatsonrh/master
Casey Bodley [Fri, 15 May 2020 19:08:55 +0000 (15:08 -0400)]
Merge pull request #34764 from ianwatsonrh/master

Docs: vault kv and transit engine updates

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years ago mgr/cephadm/nfs: Instead of CACHEINODE use MDCACHE 35092/head
Varsha Rao [Fri, 15 May 2020 18:21:01 +0000 (23:51 +0530)]
 mgr/cephadm/nfs: Instead of CACHEINODE use MDCACHE

As CACHEINODE will be deprecated soon.

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agocrimson/osd: avoid using variadic future 35091/head
Kefu Chai [Fri, 15 May 2020 16:38:12 +0000 (00:38 +0800)]
crimson/osd: avoid using variadic future

it is deprecated by seastar. let's use future<tuple<...>> instead

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35025 from dillaman/wip-45518
Mykola Golub [Fri, 15 May 2020 15:13:18 +0000 (18:13 +0300)]
Merge pull request #35025 from dillaman/wip-45518

librbd: copy API should not inherit v1 image format by default

5 years agoMerge pull request #34789 from trociny/wip-rbd-nbd-quiesce
Jason Dillaman [Fri, 15 May 2020 15:12:50 +0000 (11:12 -0400)]
Merge pull request #34789 from trociny/wip-rbd-nbd-quiesce

rbd-nbd: add quiesce/unquiesce hooks

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35023 from yuvalif/fix_issue_45513
Casey Bodley [Fri, 15 May 2020 14:48:57 +0000 (10:48 -0400)]
Merge pull request #35023 from yuvalif/fix_issue_45513

cls/2pc_queue: fix timing issue in test

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #34959 from yison/rwl-image-writeback-cache-seq10
Jason Dillaman [Fri, 15 May 2020 14:24:40 +0000 (10:24 -0400)]
Merge pull request #34959 from yison/rwl-image-writeback-cache-seq10

rbd/cache: Replicated Write Log core codes - load existing cache

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #34930 from trociny/wip-45409
Jason Dillaman [Fri, 15 May 2020 12:46:48 +0000 (08:46 -0400)]
Merge pull request #34930 from trociny/wip-45409

rbd-mirror: wait for events to replay before shut down journal replay

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35042 from tchaikov/wip-cmake-remove-iwyu-cppcheck
Kefu Chai [Fri, 15 May 2020 11:55:38 +0000 (19:55 +0800)]
Merge pull request #35042 from tchaikov/wip-cmake-remove-iwyu-cppcheck

cmake: remove cppcheck and iwyu targets

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #35070 from Devp00l/wip-45545-2
Kefu Chai [Fri, 15 May 2020 09:56:39 +0000 (17:56 +0800)]
Merge pull request #35070 from Devp00l/wip-45545-2

mgr/dashboard: Updates jest to fix cache failure

Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #34913 from athanatos/sjust/wip-seastore-journal
Kefu Chai [Fri, 15 May 2020 09:50:02 +0000 (17:50 +0800)]
Merge pull request #34913 from athanatos/sjust/wip-seastore-journal

crimson/os/seastore: initial PR

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/cephadm: move iSCSI service class to its own file
Kiefer Chang [Fri, 15 May 2020 09:17:54 +0000 (17:17 +0800)]
mgr/cephadm: move iSCSI service class to its own file

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agomgr/cephadm: adapt cephadm to osdspec preview caching
Joshua Schmid [Fri, 15 May 2020 09:33:31 +0000 (11:33 +0200)]
mgr/cephadm: adapt cephadm to osdspec preview caching

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agomgr/cephadm: add preview caching to inventory.py
Joshua Schmid [Fri, 15 May 2020 09:32:03 +0000 (11:32 +0200)]
mgr/cephadm: add preview caching to inventory.py

Signed-off-by: Joshua Schmid <jschmid@suse.de>
5 years agoMerge pull request #35052 from tspmelo/wip-unittest-warnings
Lenz Grimmer [Fri, 15 May 2020 08:59:27 +0000 (10:59 +0200)]
Merge pull request #35052 from tspmelo/wip-unittest-warnings

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #35013 from matthewoliver/cephadm-iscsi-log-to-stderr
Sebastian Wagner [Fri, 15 May 2020 08:47:43 +0000 (10:47 +0200)]
Merge pull request #35013 from matthewoliver/cephadm-iscsi-log-to-stderr

cephadm: enable logging to stderr in ceph-iscsi

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agodec/dev/seastore.rst: add more detailed design information and status 34913/head
Samuel Just [Tue, 5 May 2020 02:12:49 +0000 (19:12 -0700)]
dec/dev/seastore.rst: add more detailed design information and status

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/os/seastore: add initial cache support with tests
Samuel Just [Mon, 4 May 2020 18:50:37 +0000 (11:50 -0700)]
crimson/os/seastore: add initial cache support with tests

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/os/seastore: introduce initial journal implementation and tests
Samuel Just [Mon, 4 May 2020 18:47:13 +0000 (11:47 -0700)]
crimson/os/seastore: introduce initial journal implementation and tests

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/gtest_seastar: add helpers for building seastar gtest unit tests
Samuel Just [Mon, 4 May 2020 18:48:10 +0000 (11:48 -0700)]
crimson/gtest_seastar: add helpers for building seastar gtest unit tests

Also adds unsafe_get methods for errorator for use within unit tests.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoqa: do not save/restore ip_forward sysctl 35081/head
Patrick Donnelly [Fri, 15 May 2020 03:13:38 +0000 (20:13 -0700)]
qa: do not save/restore ip_forward sysctl

We don't really care if this is left on during the course of the mount.
These settings don't persist across tests anyway.

Fixes: https://tracker.ceph.com/issues/45525
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa/tasks/cephfs/fuse_mount.py: retry when the admin socket is not ready 35062/head
Xiubo Li [Thu, 14 May 2020 09:11:33 +0000 (05:11 -0400)]
qa/tasks/cephfs/fuse_mount.py: retry when the admin socket is not ready

Fixes: https://tracker.ceph.com/issues/45552
Signed-off-by: Xiubo Li <xiubli@redhat.com>
5 years agoMerge pull request #35077 from yuriw/wip-yuriw-crontab-master
Yuri Weinstein [Thu, 14 May 2020 20:56:31 +0000 (13:56 -0700)]
Merge pull request #35077 from yuriw/wip-yuriw-crontab-master

qa/tests: reduced powercycle jobs amount

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/tests: reduced powercycle jobs amount 35077/head
Yuri Weinstein [Thu, 14 May 2020 20:47:55 +0000 (13:47 -0700)]
qa/tests: reduced powercycle jobs amount

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoMerge pull request #32829 from Devp00l/wip-43765 35075/head
Lenz Grimmer [Thu, 14 May 2020 16:12:13 +0000 (18:12 +0200)]
Merge pull request #32829 from Devp00l/wip-43765

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>