]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agoqa/distros: configure podman to pull from docker-mirror 38650/head
Dan Mick [Thu, 17 Dec 2020 02:06:31 +0000 (02:06 +0000)]
qa/distros: configure podman to pull from docker-mirror

This also requires a change to cephadm.py to search for
registry entries for docker.io by 'prefix' or 'location',
and to only add the mirror if a mirror isn't already present

Signed-off-by: Dan Mick <dmick@redhat.com>
4 years agoMerge pull request #38638 from idryomov/wip-krbd-stable-writes-attr
Ilya Dryomov [Fri, 18 Dec 2020 09:30:34 +0000 (10:30 +0100)]
Merge pull request #38638 from idryomov/wip-krbd-stable-writes-attr

qa: krbd_stable_pages_required.sh: move to stable_writes attribute

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38635 from ronen-fr/wip-ronenf-crimsclang-tree
Ronen Friedman [Fri, 18 Dec 2020 09:27:59 +0000 (11:27 +0200)]
Merge pull request #38635 from ronen-fr/wip-ronenf-crimsclang-tree

crimson/seastore: fixing Clang errors and warnings

4 years agoMerge pull request #38602 from dillaman/wip-48486
Mykola Golub [Fri, 18 Dec 2020 08:59:08 +0000 (10:59 +0200)]
Merge pull request #38602 from dillaman/wip-48486

librbd: explicitly disable readahead for writearound cache

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #38645 from cyx1231st/wip-seastar-onode-tree-fix-clang-link
Yingxin [Fri, 18 Dec 2020 07:27:13 +0000 (15:27 +0800)]
Merge pull request #38645 from cyx1231st/wip-seastar-onode-tree-fix-clang-link

crimson/onode-staged-tree: fix explicit template instantiation for clang

4 years agocrimson/onode-staged-tree: fix explicit template instantiation for clang 38645/head
Yingxin Cheng [Fri, 18 Dec 2020 02:55:43 +0000 (10:55 +0800)]
crimson/onode-staged-tree: fix explicit template instantiation for clang

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agoMerge pull request #38618 from neha-ojha/wip-14-2-16
Neha Ojha [Thu, 17 Dec 2020 22:58:57 +0000 (14:58 -0800)]
Merge pull request #38618 from neha-ojha/wip-14-2-16

doc/releases/nautilus.rst: add release notes for 14.2.16

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #38622 from neha-ojha/wip-15-2-8
Neha Ojha [Thu, 17 Dec 2020 22:58:27 +0000 (14:58 -0800)]
Merge pull request #38622 from neha-ojha/wip-15-2-8

doc/releases/octopus.rst: add release notes for 15.2.8

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #38351 from yuvalif/wip-yuval-fix-46128
Yuval Lifshitz [Thu, 17 Dec 2020 17:55:14 +0000 (19:55 +0200)]
Merge pull request #38351 from yuvalif/wip-yuval-fix-46128

rgw/notifications: automatically delete topics associated with a bucket

4 years agoMerge pull request #38246 from yuvalif/wip-yuval-fix-48321
Yuval Lifshitz [Thu, 17 Dec 2020 17:54:33 +0000 (19:54 +0200)]
Merge pull request #38246 from yuvalif/wip-yuval-fix-48321

rgw/notifications: fix tag based filtering to work on all ops

4 years agoMerge pull request #38190 from yuvalif/wip-yuvali-fix-48293
Yuval Lifshitz [Thu, 17 Dec 2020 17:53:31 +0000 (19:53 +0200)]
Merge pull request #38190 from yuvalif/wip-yuvali-fix-48293

rgw/amqp/kafka: prevent concurrent shutdowns from happening

4 years agoMerge pull request #37924 from yuvalif/allow_packages_in_lua
Yuval Lifshitz [Thu, 17 Dec 2020 17:53:00 +0000 (19:53 +0200)]
Merge pull request #37924 from yuvalif/allow_packages_in_lua

rgw/lua: support packages via luarocks

4 years agoMerge pull request #38284 from rhcs-dashboard/48355-read-pwd-from-file
Ernesto Puerta [Thu, 17 Dec 2020 16:36:42 +0000 (17:36 +0100)]
Merge pull request #38284 from rhcs-dashboard/48355-read-pwd-from-file

mgr/dashboard: CLI commands: read passwords from file

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: knortema <knortema@redhat.com>
4 years agoMerge pull request #38473 from votdev/issue_48474_health_check
Ernesto Puerta [Thu, 17 Dec 2020 16:35:01 +0000 (17:35 +0100)]
Merge pull request #38473 from votdev/issue_48474_health_check

mgr/dashboard: Display a warning message in Dashboard when debug mode is enabled

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #38599 from tchaikov/wip-47977
Kefu Chai [Thu, 17 Dec 2020 16:03:51 +0000 (00:03 +0800)]
Merge pull request #38599 from tchaikov/wip-47977

ceph.in: try harder if asok path does not exist

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
4 years agoMerge PR #38447 into master
Jan Fajerski [Thu, 17 Dec 2020 15:31:40 +0000 (16:31 +0100)]
Merge PR #38447 into master

* refs/pull/38447/head:
ceph-volume: disable cache for blkid calls

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge pull request #38636 from ceph/fix-labeler-master
Kefu Chai [Thu, 17 Dec 2020 15:17:57 +0000 (23:17 +0800)]
Merge pull request #38636 from ceph/fix-labeler-master

.github/labeler: fix yaml syntax

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38634 from tchaikov/wip-install-deps
Kefu Chai [Thu, 17 Dec 2020 15:16:50 +0000 (23:16 +0800)]
Merge pull request #38634 from tchaikov/wip-install-deps

install-deps.sh: do not install libboost-all-dev and nlohmann-json-dev

Reviewed-by: Josh Durgin <jdurgin@redat.com>
4 years agoMerge pull request #38601 from linuxbox2/more-librgw-zipper9
Matt Benjamin [Thu, 17 Dec 2020 14:31:47 +0000 (09:31 -0500)]
Merge pull request #38601 from linuxbox2/more-librgw-zipper9

More librgw zipper9

4 years agoMerge pull request #23396 from linuxbox2/wip-rgw-xattrs-2
Matt Benjamin [Thu, 17 Dec 2020 14:30:55 +0000 (09:30 -0500)]
Merge pull request #23396 from linuxbox2/wip-rgw-xattrs-2

rgw_file:  expose RGW user-defined attributes

4 years agoMerge pull request #37138 from lxbsz/iscsi_qa
Jason Dillaman [Thu, 17 Dec 2020 14:20:15 +0000 (09:20 -0500)]
Merge pull request #37138 from lxbsz/iscsi_qa

qa: add ceph iscsi test suite support

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoqa: add ceph iscsi test suite support 37138/head
Xiubo Li [Mon, 14 Sep 2020 01:21:01 +0000 (09:21 +0800)]
qa: add ceph iscsi test suite support

Currently this only supports the gwcli tests on CentOS/RHEL 8 with
2 ceph iscsi gateways.

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoqa: krbd_stable_pages_required.sh: move to stable_writes attribute 38638/head
Ilya Dryomov [Thu, 3 Dec 2020 10:24:32 +0000 (11:24 +0100)]
qa: krbd_stable_pages_required.sh: move to stable_writes attribute

bdi/stable_pages_required attribute was deprecated in 5.10 and now
always returns 0.  The replacement is queue/stable_writes.  (It is
also writeable, so we can simplify these test cases somewhat in the
future.)

Fixes: https://tracker.ceph.com/issues/48232
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
4 years agoqa/tasks: get the correct clone_dir for each client
Xiubo Li [Thu, 17 Dec 2020 08:01:26 +0000 (16:01 +0800)]
qa/tasks: get the correct clone_dir for each client

The clone_dir will be overrided in the loop.

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoqa/tasks: allow none client prefixed node to run the cram
Xiubo Li [Sat, 12 Dec 2020 01:30:31 +0000 (09:30 +0800)]
qa/tasks: allow none client prefixed node to run the cram

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agoqa/tasks: fix not enough values to unpack value error
Xiubo Li [Fri, 11 Dec 2020 15:07:25 +0000 (23:07 +0800)]
qa/tasks: fix not enough values to unpack value error

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
4 years agocrimson/seastore: fixing Clang errors and warnings 38635/head
Ronen Friedman [Thu, 17 Dec 2020 12:13:51 +0000 (12:13 +0000)]
crimson/seastore: fixing Clang errors and warnings

Errors: capturing structured-binding "special ref"

Warnings: unused captures

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
4 years ago.github/labeler: fix yaml syntax 38636/head
Ernesto Puerta [Thu, 17 Dec 2020 12:17:53 +0000 (13:17 +0100)]
.github/labeler: fix yaml syntax

Introduced by https://github.com/ceph/ceph/pull/38617

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoinstall-deps.sh: do not install nlohmann-json{3}?-dev 38634/head
Kefu Chai [Thu, 17 Dec 2020 11:03:42 +0000 (19:03 +0800)]
install-deps.sh: do not install nlohmann-json{3}?-dev

"mk-build-deps --install" should be able to take care of this.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoinstall-deps.sh: do not install libboost-all-dev for old distros
Kefu Chai [Thu, 17 Dec 2020 10:52:00 +0000 (18:52 +0800)]
install-deps.sh: do not install libboost-all-dev for old distros

ubuntu disco and ubuntu focal do not ship libboost 1.72 and up, and
we depend on libboost 1.72 or up, so it does not help to install
liboost 1.67 or libboost 1.71 anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/BaseMgrModule: add optional inbuf param to ceph_send_command. 38284/head
Alfonso Martínez [Tue, 15 Dec 2020 08:29:53 +0000 (09:29 +0100)]
mgr/BaseMgrModule: add optional inbuf param to ceph_send_command.

BaseMgrModule.cc: ceph_send_command: add inbuf param for handling input file content.

Fixes: https://tracker.ceph.com/issues/48355
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agomgr/dashboard: CLI commands: read passwords from file
Alfonso Martínez [Tue, 15 Dec 2020 08:28:46 +0000 (09:28 +0100)]
mgr/dashboard: CLI commands: read passwords from file

Fixes: https://tracker.ceph.com/issues/48355
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
4 years agoMerge pull request #38617 from batrick/cmake-labeler
Kefu Chai [Thu, 17 Dec 2020 06:16:38 +0000 (14:16 +0800)]
Merge pull request #38617 from batrick/cmake-labeler

.github/labeler: add build/ops label

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38629 from changchengx/sudo_fix
Kefu Chai [Thu, 17 Dec 2020 05:40:50 +0000 (13:40 +0800)]
Merge pull request #38629 from changchengx/sudo_fix

install-deps.sh: install debian package with proper right

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #38464 into master
Patrick Donnelly [Thu, 17 Dec 2020 04:13:43 +0000 (20:13 -0800)]
Merge PR #38464 into master

* refs/pull/38464/head:
mds/OpenFileTable: make the data length as long as possible for each op

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #38363 into master
Patrick Donnelly [Thu, 17 Dec 2020 04:13:09 +0000 (20:13 -0800)]
Merge PR #38363 into master

* refs/pull/38363/head:
mds/OpenFileTable: enhance the log info
mds/OpenFileTable: add _read_omap_values() to simplify the code

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #38355 into master
Patrick Donnelly [Thu, 17 Dec 2020 04:12:22 +0000 (20:12 -0800)]
Merge PR #38355 into master

* refs/pull/38355/head:
client: when STATX_NLINK is requested request FsLs caps
client: ensure we take Fs caps when querying dirstat vxattrs

Reviewed-by: Xiubo Li <xiubli@redhat.com>
4 years agoMerge PR #38236 into master
Patrick Donnelly [Thu, 17 Dec 2020 04:11:42 +0000 (20:11 -0800)]
Merge PR #38236 into master

* refs/pull/38236/head:
qa: forward scrubbing background task

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #38222 into master
Patrick Donnelly [Thu, 17 Dec 2020 04:04:50 +0000 (20:04 -0800)]
Merge PR #38222 into master

* refs/pull/38222/head:
client: set CEPH_STAT_RSTAT mask for dir in readdir_r_cb

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoinstall-deps.sh: install debian package with proper right 38629/head
Changcheng Liu [Thu, 17 Dec 2020 03:13:35 +0000 (11:13 +0800)]
install-deps.sh: install debian package with proper right

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
4 years ago.github/labeler: add build/ops label 38617/head
Patrick Donnelly [Wed, 16 Dec 2020 16:47:17 +0000 (08:47 -0800)]
.github/labeler: add build/ops label

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #38624 from rzarzynski/wip-crimson-nopack-in-blocking_future
Kefu Chai [Thu, 17 Dec 2020 01:28:39 +0000 (09:28 +0800)]
Merge pull request #38624 from rzarzynski/wip-crimson-nopack-in-blocking_future

crimson/osd: drop arg packs from blocking_future.

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38450 from zdover23/wip-doc-dev-guide-basic-workflow-auto-pr...
zdover23 [Thu, 17 Dec 2020 01:28:21 +0000 (11:28 +1000)]
Merge pull request #38450 from zdover23/wip-doc-dev-guide-basic-workflow-auto-pr-valid-dec-2020-1

doc/dev: update auto pr validation section

Reviewed-by: Josh Durgin <jdurgin@redat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #38600 from agayev/master
Kefu Chai [Thu, 17 Dec 2020 01:02:49 +0000 (09:02 +0800)]
Merge pull request #38600 from agayev/master

os/bluestore: Fix code rot in ZonedAllocator.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoceph.in: try harder if asok path does not exist 38599/head
Kefu Chai [Tue, 15 Dec 2020 15:11:47 +0000 (23:11 +0800)]
ceph.in: try harder if asok path does not exist

when handling "ceph daemon <name> ...", we need to figure out the asok
path, if the "<name>" option is not a path but a "name" as it claims to
be. but if the "admin_socket" option includes substitution/meta variable of
"$pid", it will be expanded using its own pid, instead of the process
with the specified "name". but "ceph" cli does not offer a dedicated
option for overriding the pid for ceph-conf which is used "ceph" cli to
retrieve the "admin_socket" option with specified "name".

in this change, "<name>" option is interpreted as "${name}.${pid}" if
the returned admin_socket path does not point to a valid UNIX domain
socket file. and "ceph" cli will try harder by passing "--pid ${pid}"
and "--name ${name}" instead of "--name ${name}.${pid}" to ceph-conf.

Fixes: https://tracker.ceph.com/issues/47977
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38609 from ideepika/fix-yaml-failure
Kefu Chai [Thu, 17 Dec 2020 00:05:44 +0000 (08:05 +0800)]
Merge pull request #38609 from ideepika/fix-yaml-failure

cmake: fix build failure due to yaml-cpp not available

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38608 from tchaikov/wip-crimson-build
Kefu Chai [Wed, 16 Dec 2020 23:54:29 +0000 (07:54 +0800)]
Merge pull request #38608 from tchaikov/wip-crimson-build

rpm,deb: conditionally package crimson-store-nbd in ceph-test

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #38578 from cyx1231st/wip-seastar-onode-tree-fix-stage-type
Kefu Chai [Wed, 16 Dec 2020 23:52:34 +0000 (07:52 +0800)]
Merge pull request #38578 from cyx1231st/wip-seastar-onode-tree-fix-stage-type

crimson/onode-staged-tree: fix match_stage_t related compile issue

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38625 from batrick/tox-fix
Neha Ojha [Wed, 16 Dec 2020 22:11:18 +0000 (14:11 -0800)]
Merge pull request #38625 from batrick/tox-fix

qa: fix tox failures

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoqa: fix tox failures 38625/head
Patrick Donnelly [Wed, 16 Dec 2020 20:42:25 +0000 (12:42 -0800)]
qa: fix tox failures

Fixes: c6121e48ecb7224e5addf4b5fdeb64907a8d8683
Fixes: https://tracker.ceph.com/issues/48633
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agocrimson/osd: drop arg packs from blocking_future. 38624/head
Radoslaw Zarzynski [Wed, 16 Dec 2020 18:35:48 +0000 (19:35 +0100)]
crimson/osd: drop arg packs from blocking_future.

This feature is not necessary as the `seastar::feature` lost
the support for `T...`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agodoc/releases/octopus.rst: add release notes for 15.2.8 38622/head
Neha Ojha [Wed, 16 Dec 2020 18:16:41 +0000 (18:16 +0000)]
doc/releases/octopus.rst: add release notes for 15.2.8

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agodoc/releases/nautilus.rst: add release notes for 14.2.16 38618/head
Neha Ojha [Wed, 16 Dec 2020 17:15:25 +0000 (17:15 +0000)]
doc/releases/nautilus.rst: add release notes for 14.2.16

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #38548 from rhcs-dashboard/wip-48570-master
Ernesto Puerta [Wed, 16 Dec 2020 17:16:58 +0000 (18:16 +0100)]
Merge pull request #38548 from rhcs-dashboard/wip-48570-master

github: add action to manage needs-rebase label

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
4 years agoMerge branch 'CVE-2020-27781' into master
Patrick Donnelly [Wed, 16 Dec 2020 16:19:21 +0000 (08:19 -0800)]
Merge branch 'CVE-2020-27781' into master

* CVE-2020-27781:
  tasks/cephfs/test_volume_client: Add tests for authorize/deauthorize
  pybind/ceph_volume_client: Optionally authorize existing auth-ids
  pybind/ceph_volume_client: Preserve existing caps while authorize/deauthorize auth-id
  pybind/ceph_volume_client: Disallow authorize auth_id

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
4 years agorgw_file: correct initialization of RGWWriteRequest 38601/head
Matt Benjamin [Mon, 16 Nov 2020 16:24:43 +0000 (11:24 -0500)]
rgw_file: correct initialization of RGWWriteRequest

The legacy call to init_from_header() in RGWWriteRequest()
conflicted with initialization via ::init()

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agorgw_file: fix librgw_file_gp unit test and driver
Matt Benjamin [Mon, 16 Nov 2020 21:01:28 +0000 (16:01 -0500)]
rgw_file: fix librgw_file_gp unit test and driver

Fixes missing commit after rgw_write(), as well as conditional
cleanup.

Reorder tests, and split out librgw_file_gp --delete to avoid an
issue w/sysobj cache (temporary).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agorgw_file: fix zipper crash(es) in RGWCopyObj
Matt Benjamin [Tue, 10 Nov 2020 22:38:23 +0000 (17:38 -0500)]
rgw_file: fix zipper crash(es) in RGWCopyObj

Instantiate zipper object and bucket handles when called from
rgw_rename().

The current change appears potentially valid, but also suggests
topics for further discussion:

1. redundant object and bucket vars (in req_state and RGWOp)
2. semantic implications std::unique_ptr (e.g., redundant handle
   forks)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge pull request #38580 from anthonyeleven/anthonyeleven/48301-underscores
zdover23 [Wed, 16 Dec 2020 15:11:53 +0000 (01:11 +1000)]
Merge pull request #38580 from anthonyeleven/anthonyeleven/48301-underscores

doc: standardize config option names with interstitial underscores

Reviewed-by: Zac Dover <zac.dover@gmail.com>
4 years agocrimson/onode-staged-tree: comment out excessive range checks 38578/head
Yingxin Cheng [Wed, 16 Dec 2020 08:09:42 +0000 (16:09 +0800)]
crimson/onode-staged-tree: comment out excessive range checks

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
4 years agodoc/dev: update auto pr validation section 38450/head
Zac Dover [Sat, 5 Dec 2020 02:17:24 +0000 (12:17 +1000)]
doc/dev: update auto pr validation section

This commit updates the "Automated PR Validation"
section of the "Basic Workflow" page in the
Developer Guide. This is part of a project that
aims to clean all of the sentences currently extant
in the Dev Guide, prior to a slight reorganization
of that guide for the sake of clarity and simplicity.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoos/bluestore: Fix code rot in ZonedAllocator. 38600/head
Abutalib Aghayev [Tue, 15 Dec 2020 17:07:29 +0000 (12:07 -0500)]
os/bluestore: Fix code rot in ZonedAllocator.

Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
4 years agomgr/dashboard: Display a warning message in Dashboard when debug mode is enabled 38473/head
Volker Theile [Mon, 7 Dec 2020 12:56:56 +0000 (13:56 +0100)]
mgr/dashboard: Display a warning message in Dashboard when debug mode is enabled

Set a health check warning if debug mode is enabled.

Fixes: https://tracker.ceph.com/issues/48475
Signed-off-by: Volker Theile <vtheile@suse.com>
4 years agoinstall-deps.sh: add with_jaeger options for installing it's dependencies 38609/head
Deepika Upadhyay [Wed, 16 Dec 2020 12:47:01 +0000 (18:17 +0530)]
install-deps.sh: add with_jaeger options for installing it's dependencies

  * if WITH_JAEGER flag is specified, install-deps should mangle and update
  debian/control + ceph.spec the way we do for adding crimson dependencies
  with WITH_SEASTAR flag.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
4 years agodebian/control: update yaml-cpp version if building with Jaeger
Deepika Upadhyay [Wed, 16 Dec 2020 12:39:00 +0000 (18:09 +0530)]
debian/control: update yaml-cpp version if building with Jaeger

jaeger specifically requires yaml-dev +0.6 but since all supported
distro(bionic) still doesn't have this version, yaml-cpp will be build
from source if enabled.
This fixes the build failure:
```
Could NOT find yaml-cpp: Found unsuitable version "", but required is at
  least "0.5.1" (found yaml-cpp_LIBRARY-NOTFOUND)
```

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
4 years agoMerge pull request #38316 from rhcs-dashboard/temporary-lockout
Ernesto Puerta [Wed, 16 Dec 2020 12:29:22 +0000 (13:29 +0100)]
Merge pull request #38316 from rhcs-dashboard/temporary-lockout

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #38534 from votdev/issue_48542_rgw_status
Ernesto Puerta [Wed, 16 Dec 2020 12:27:32 +0000 (13:27 +0100)]
Merge pull request #38534 from votdev/issue_48542_rgw_status

mgr/dashboard: The /rgw/status endpoint does not check for running service

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #38536 from dillaman/wip-48553
Mykola Golub [Wed, 16 Dec 2020 11:20:38 +0000 (13:20 +0200)]
Merge pull request #38536 from dillaman/wip-48553

librbd/mirror: unlink the third snapshot when the limit is reached

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agomgr/dashboard: Updating the docs regarding the user lockout 38316/head
Nizamudeen A [Thu, 10 Dec 2020 08:05:38 +0000 (13:35 +0530)]
mgr/dashboard: Updating the docs regarding the user lockout

Fixes: https://tracker.ceph.com/issues/40914
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agomgr/dashboard: Temporary User Lockout if 10 Invalid Login attempts
Nizamudeen A [Thu, 26 Nov 2020 10:25:00 +0000 (15:55 +0530)]
mgr/dashboard: Temporary User Lockout if 10 Invalid Login attempts

Implemented a user lockout mechanism if the user enters 10 invalid attempts. The attempt count gets resetted to 0 once the user succesfully logins before getting disabled. Once the user gets disabled administrator has to manually enable the user which will also resets the number of attempts.

Fixes: https://tracker.ceph.com/issues/40914
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #38606 from rhcs-dashboard/log-e2e-fix
Ernesto Puerta [Wed, 16 Dec 2020 10:43:54 +0000 (11:43 +0100)]
Merge pull request #38606 from rhcs-dashboard/log-e2e-fix

mgr/dashboard: Fixing dashboard logs e2e test

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agomgr/dashboard: Fixing dashboard logs e2e test 38606/head
Nizamudeen A [Wed, 16 Dec 2020 08:23:14 +0000 (13:53 +0530)]
mgr/dashboard: Fixing dashboard logs e2e test

Yesterday there were some changes went in which disables the logging of config set and config-key set to to be logged in mgr audit logs. Dashboard has an e2e test which checks for this config set and broke the current e2e jenkins job. This commit removes that certain test to fix the jenkins job.

Fixes: https://tracker.ceph.com/issues/48623
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agodebian: install crimson-store-nbd with pkg.ceph.crimson profile 38608/head
Kefu Chai [Wed, 16 Dec 2020 07:54:55 +0000 (15:54 +0800)]
debian: install crimson-store-nbd with pkg.ceph.crimson profile

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agorpm: package crimson-store-nbd in ceph-test package
Kefu Chai [Wed, 16 Dec 2020 07:43:45 +0000 (15:43 +0800)]
rpm: package crimson-store-nbd in ceph-test package

when building with seastar enabled, package crimson-store-ndb in
"ceph-test" package. "crimson-store-nbd" is a new tool for testing
seastore using nbd.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38581 from cyx1231st/wip-seastar-msgr-fix-test-preemptive-shutdown
Kefu Chai [Wed, 16 Dec 2020 05:58:05 +0000 (13:58 +0800)]
Merge pull request #38581 from cyx1231st/wip-seastar-msgr-fix-test-preemptive-shutdown

crimson/net: fix test_preemptive_shutdown() failure

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #31358 from ideepika/wip-jaegertracing-in-ceph
Josh Durgin [Wed, 16 Dec 2020 00:29:26 +0000 (16:29 -0800)]
Merge pull request #31358 from ideepika/wip-jaegertracing-in-ceph

jaegertracing build/ops integration

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agodoc: standardize config option names to use interstitial underscores 38580/head
Anthony D'Atri [Tue, 15 Dec 2020 06:02:31 +0000 (22:02 -0800)]
doc: standardize config option names to use interstitial underscores

Ceph config option names may use spaces, underscores, or by one reference hyphens
as interstitial separators. Most usage within the doc tree uses underscores,
though example conf files and especially structured lists of options mostly
use spaces. Mostly. Underscores help differentiate the config names from
surrounding text, and moreover facilitate scripting, grep, awk, etc and match
their form in src/common/options.cc.

This PR conforms these occurrences of option names to use interstitial underscores instead of spaces.

Fixes: https://tracker.ceph.com/issues/48301
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
4 years agolibrbd: explicitly disable readahead for writearound cache 38602/head
Jason Dillaman [Tue, 15 Dec 2020 19:56:02 +0000 (14:56 -0500)]
librbd: explicitly disable readahead for writearound cache

The readahead IOs would be wasted effort since the writearound
cache does not service reads.

Fixes: https://tracker.ceph.com/issues/48486
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38479 from neha-ojha/wip-37503-2
Josh Durgin [Tue, 15 Dec 2020 20:06:39 +0000 (12:06 -0800)]
Merge pull request #38479 from neha-ojha/wip-37503-2

Do not add sensitive information in Ceph log files

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #38514 from lixiaoy1/rbd_types_fix
Jason Dillaman [Tue, 15 Dec 2020 19:53:48 +0000 (14:53 -0500)]
Merge pull request #38514 from lixiaoy1/rbd_types_fix

librbd/cmake: Add missed PWL related types

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38546 from rhcs-dashboard/round-button
Ernesto Puerta [Tue, 15 Dec 2020 19:07:23 +0000 (20:07 +0100)]
Merge pull request #38546 from rhcs-dashboard/round-button

mgr/dashboard: Making the edges of not rounded button rounded

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #38269 from rhcs-dashboard/fix-44960-master
Ernesto Puerta [Tue, 15 Dec 2020 18:51:45 +0000 (19:51 +0100)]
Merge pull request #38269 from rhcs-dashboard/fix-44960-master

mgr/dashboard: replace cdCopy2ClipboardButton Directive with a component

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #37937 from p-se/cd-alternative-grafana-fe-url
Ernesto Puerta [Tue, 15 Dec 2020 18:47:30 +0000 (19:47 +0100)]
Merge pull request #37937 from p-se/cd-alternative-grafana-fe-url

mgr/dashboard: enable different URL for users of browser to Grafana

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agogithub: add action to manage needs-rebase label 38548/head
Ernesto Puerta [Fri, 11 Dec 2020 20:24:35 +0000 (21:24 +0100)]
github: add action to manage needs-rebase label

Fixes: https://tracker.ceph.com/issues/48570
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoceph-conf: add --pid option
Kefu Chai [Tue, 15 Dec 2020 15:24:46 +0000 (23:24 +0800)]
ceph-conf: add --pid option

this change partially reverts 1f09b196657d21cec8fca9bc868bae307200aae8,
and add "--pid" option, so user can specify the pid to override the $pid
meta variable when expanding options.

Fixes: https://tracker.ceph.com/issues/47977
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoceph.in: extract get_admin_socket() out
Kefu Chai [Tue, 15 Dec 2020 14:55:41 +0000 (22:55 +0800)]
ceph.in: extract get_admin_socket() out

will add retry support to this function, so we can use an alternative
name for the admin_socket path if the path is not a valid file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36715 from rhcs-dashboard/fix-39128-master
Ernesto Puerta [Tue, 15 Dec 2020 17:59:14 +0000 (18:59 +0100)]
Merge pull request #36715 from rhcs-dashboard/fix-39128-master

mgr/dashboard: new generic HTTP error page component

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #38456 from SMIL-Infra/fix-crush-map-viewer
Ernesto Puerta [Tue, 15 Dec 2020 17:57:03 +0000 (18:57 +0100)]
Merge pull request #38456 from SMIL-Infra/fix-crush-map-viewer

mgr/dashboard: Fix CRUSH map viewer VirtualScroll

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agomgr/dashboard: replace cdCopy2ClipboardButton Directive with a component 38269/head
Courtney Caldwell [Tue, 15 Dec 2020 16:41:18 +0000 (11:41 -0500)]
mgr/dashboard: replace cdCopy2ClipboardButton Directive with a component
Replaces Directive-Based copy2ClipboardButton with a Component-based version.
Further replaces all instances of Directive use with Component version.
Similar toastr logic used.
Fixes: https://tracker.ceph.com/issues/44960
Signed-off-by: Courtney Caldwell <ccaldwel@redhat.com>
4 years agomon, messages: use TOPNSPC::common for crimson compatibility 38479/head
Neha Ojha [Sat, 5 Dec 2020 01:22:11 +0000 (01:22 +0000)]
mon, messages: use TOPNSPC::common for crimson compatibility

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agomgr/ActivePyModules.cc: don't log config value in get_typed_config
Neha Ojha [Thu, 3 Dec 2020 21:54:23 +0000 (21:54 +0000)]
mgr/ActivePyModules.cc: don't log config value in get_typed_config

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agomon/ConfigMonitor.cc: don't log config values in refresh_config
Neha Ojha [Thu, 3 Dec 2020 21:00:51 +0000 (21:00 +0000)]
mon/ConfigMonitor.cc: don't log config values in refresh_config

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agomgr: don't add config values to mgr log in config_callback and module_config
Neha Ojha [Thu, 3 Dec 2020 20:34:53 +0000 (20:34 +0000)]
mgr: don't add config values to mgr log in config_callback and module_config

The original code has been commented out and left for future debugging
purposes.

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agomon/ConfigMonitor.cc: don't dump all keys and values in config map
Neha Ojha [Thu, 3 Dec 2020 20:33:20 +0000 (20:33 +0000)]
mon/ConfigMonitor.cc: don't dump all keys and values in config map

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agomon: don't log "config set" and "config-key set" dispatch and finished messages
Neha Ojha [Thu, 3 Dec 2020 19:24:39 +0000 (19:24 +0000)]
mon: don't log "config set" and "config-key set" dispatch and finished messages

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agomessages/MMonCommand, MMonCommandAck: don't log values for "config set" and "config...
Neha Ojha [Thu, 3 Dec 2020 19:18:04 +0000 (19:18 +0000)]
messages/MMonCommand, MMonCommandAck: don't log values for "config set" and "config-key set"

This acts like a big hammer to avoid adding sensitive information, like passwords
into mon/mgr/cluster logs when using "config set" and "config-key set" to set keys
whose values should be secure.

Fixes: https://tracker.ceph.com/issues/37503
Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #38010 from cbodley/wip-rgw-doc-reshard-syncstop
Casey Bodley [Tue, 15 Dec 2020 13:51:07 +0000 (08:51 -0500)]
Merge pull request #38010 from cbodley/wip-rgw-doc-reshard-syncstop

doc/rgw: update reshard design regarding 'bucket sync disable'

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge pull request #38585 from tchaikov/wip-doc-dev-errorator
Kefu Chai [Tue, 15 Dec 2020 12:28:57 +0000 (20:28 +0800)]
Merge pull request #38585 from tchaikov/wip-doc-dev-errorator

doc/dev/crimson: highlight code blocks using C++ lexer

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #38582 from tchaikov/wip-crimson-cleanup
Kefu Chai [Tue, 15 Dec 2020 12:26:52 +0000 (20:26 +0800)]
Merge pull request #38582 from tchaikov/wip-crimson-cleanup

crimson/osd: cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agodoc/dev/crimson: quote inline codeblock using "``" 38585/head
Kefu Chai [Tue, 15 Dec 2020 09:50:35 +0000 (17:50 +0800)]
doc/dev/crimson: quote inline codeblock using "``"

backquote is used for quoting italic typed text.

Signed-off-by: Kefu Chai <kchai@redhat.com>