]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocrimson/os/seastore: change segment_off_t to seastore_off_t 44888/head
Joseph Sawaya [Thu, 3 Feb 2022 16:49:25 +0000 (11:49 -0500)]
crimson/os/seastore: change segment_off_t to seastore_off_t

Signed-off-by: Joseph Sawaya <josephsawaya938@gmail.com>
3 years agoMerge pull request #44812 from rhcs-dashboard/box-remove-error
Pere Diaz Bou [Thu, 3 Feb 2022 06:49:46 +0000 (07:49 +0100)]
Merge pull request #44812 from rhcs-dashboard/box-remove-error

cephadm/box: fix remove image tar error

3 years agoMerge pull request #44832 from cyx1231st/wip-crimson-msgr-test-timeout
Yingxin [Thu, 3 Feb 2022 03:56:38 +0000 (11:56 +0800)]
Merge pull request #44832 from cyx1231st/wip-crimson-msgr-test-timeout

test/crimson/test_messenger: increase timeout

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #43707 from BenoitKnecht/ceph-mgr-service-id
Ernesto Puerta [Wed, 2 Feb 2022 17:39:57 +0000 (18:39 +0100)]
Merge pull request #43707 from BenoitKnecht/ceph-mgr-service-id

mgr: Fix ceph_daemon label in ceph_rgw_* metrics

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agotest/crimson/test_messenger: increase timeout 44832/head
Yingxin Cheng [Sat, 29 Jan 2022 02:39:13 +0000 (10:39 +0800)]
test/crimson/test_messenger: increase timeout

120 seconds are still too short for make check, change to 300.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #44609 from rhcs-dashboard/daemon_action
Ernesto Puerta [Wed, 2 Feb 2022 13:06:57 +0000 (14:06 +0100)]
Merge pull request #44609 from rhcs-dashboard/daemon_action

mgr/dashboard: perform daemon actions

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44850 from cbodley/wip-qa-rgw-centos8-eol
Casey Bodley [Tue, 1 Feb 2022 15:18:13 +0000 (10:18 -0500)]
Merge pull request #44850 from cbodley/wip-qa-rgw-centos8-eol

qa/rgw: rgw/verify no longer pins centos 8.0

Reviewed-by: Ali Maredia <amaredia@redhat.com>
3 years agoMerge pull request #44810 from rkachach/fix_doc_issue_54018
Adam King [Tue, 1 Feb 2022 13:25:11 +0000 (08:25 -0500)]
Merge pull request #44810 from rkachach/fix_doc_issue_54018

doc/cephadm: fixing cluster purging section

Reviewed-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #44834 from idryomov/wip-rbd-image-id-spec
Ilya Dryomov [Tue, 1 Feb 2022 11:08:02 +0000 (12:08 +0100)]
Merge pull request #44834 from idryomov/wip-rbd-image-id-spec

mgr/rbd_support: fix mon command API regressions

Reviewed-by: Mykola Golub <mgolub@suse.com>
3 years agocephadm/box: fix remove image tar error and cleanups 44812/head
Pere Diaz Bou [Thu, 27 Jan 2022 17:29:16 +0000 (18:29 +0100)]
cephadm/box: fix remove image tar error and cleanups

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44820 from NitzanMordhai/nitzan-add-email-contact
Neha Ojha [Tue, 1 Feb 2022 03:08:13 +0000 (19:08 -0800)]
Merge pull request #44820 from NitzanMordhai/nitzan-add-email-contact

Nitzan add email contact

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #44408 from linuxbox2/wip-rgwlc-warn-attr
Casey Bodley [Mon, 31 Jan 2022 22:49:35 +0000 (17:49 -0500)]
Merge pull request #44408 from linuxbox2/wip-rgwlc-warn-attr

rgwlc:  warn on missing RGW_ATTR_LC

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agoqa/rgw: rgw/verify no longer pins centos 8.0 44850/head
Casey Bodley [Mon, 31 Jan 2022 22:23:25 +0000 (17:23 -0500)]
qa/rgw: rgw/verify no longer pins centos 8.0

the symlink rgw/verify/centos_latest.yaml already selects centos

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44384 from rhcs-dashboard/cephadm-e2e-static-ip
Ernesto Puerta [Mon, 31 Jan 2022 21:33:22 +0000 (22:33 +0100)]
Merge pull request #44384 from rhcs-dashboard/cephadm-e2e-static-ip

mgr/dashboard: cephadm e2e job: display info on error & other improvements

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44846 from cbodley/wip-qa-centos8-eol
David Galloway [Mon, 31 Jan 2022 21:12:45 +0000 (16:12 -0500)]
Merge pull request #44846 from cbodley/wip-qa-centos8-eol

qa: remove centos8 from supported distros

3 years agoMerge pull request #38750 from xxhdx1985126/wip-rgw-setattr-write-bug-fix
Casey Bodley [Mon, 31 Jan 2022 20:26:00 +0000 (15:26 -0500)]
Merge pull request #38750 from xxhdx1985126/wip-rgw-setattr-write-bug-fix

librgw: make rgw file handle versioned

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
3 years agoqa/distros: remove duplicate centos_8.stream.yaml from supported 44846/head
Casey Bodley [Mon, 31 Jan 2022 19:52:04 +0000 (14:52 -0500)]
qa/distros: remove duplicate centos_8.stream.yaml from supported

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/distros: centos_8.yaml is now a symlink to centos_8.stream.yaml
Casey Bodley [Mon, 31 Jan 2022 19:51:00 +0000 (14:51 -0500)]
qa/distros: centos_8.yaml is now a symlink to centos_8.stream.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44805 from Matan-B/wip-matanb-deps-unicode
Matan [Mon, 31 Jan 2022 18:38:02 +0000 (20:38 +0200)]
Merge pull request #44805 from Matan-B/wip-matanb-deps-unicode

install-deps.sh: set a UTF-8 locale when running pip

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #35849 from inspur-wyq/wip-decode-user-policy
Casey Bodley [Mon, 31 Jan 2022 18:05:58 +0000 (13:05 -0500)]
Merge pull request #35849 from inspur-wyq/wip-decode-user-policy

rgw: add try catch for user policies decode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44785 from xijiacun/default-placement
Casey Bodley [Mon, 31 Jan 2022 18:05:27 +0000 (13:05 -0500)]
Merge pull request #44785 from xijiacun/default-placement

rgw: Match decode_json with dump for default-placement in RGWZoneGroup.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44562 from ivancich/wip-fix-minor-bi-list-calc
Casey Bodley [Mon, 31 Jan 2022 18:04:35 +0000 (13:04 -0500)]
Merge pull request #44562 from ivancich/wip-fix-minor-bi-list-calc

rgw: fix bucket index list minor calculation bug

Reviewed-by: Soumya Koduri <skoduri@redhat.com>
3 years agoMerge pull request #37665 from clwluvw/role-policy-doc
Casey Bodley [Mon, 31 Jan 2022 18:01:17 +0000 (13:01 -0500)]
Merge pull request #37665 from clwluvw/role-policy-doc

rgw: add infile arg to role-policy put

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
3 years agoMerge pull request #44357 from mfatemipour/rgw-bucket-chown-bad-memory-usage
Casey Bodley [Mon, 31 Jan 2022 18:00:04 +0000 (13:00 -0500)]
Merge pull request #44357 from mfatemipour/rgw-bucket-chown-bad-memory-usage

rgw: bucket chown bad memory usage

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 years agoMerge pull request #44395 from BryceCao/wip-add-error-message-when-rm-key
Casey Bodley [Mon, 31 Jan 2022 17:59:50 +0000 (12:59 -0500)]
Merge pull request #44395 from BryceCao/wip-add-error-message-when-rm-key

rgw : add error message when rm key

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44399 from BryceCao/wip-modify-error-message-when-user-info-by...
Casey Bodley [Mon, 31 Jan 2022 17:59:15 +0000 (12:59 -0500)]
Merge pull request #44399 from BryceCao/wip-modify-error-message-when-user-info-by-access-key

rgw : modify error message when user info by access-key

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44833 from fstachura/wip-doc-more-pdf-links
Ilya Dryomov [Sun, 30 Jan 2022 16:58:07 +0000 (17:58 +0100)]
Merge pull request #44833 from fstachura/wip-doc-more-pdf-links

doc: Fix links to CRUSH, RADOS and DSP research papers

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agodoc: Fix links to CRUSH, RADOS and DSP research papers. 44833/head
Franciszek Stachura [Sat, 29 Jan 2022 09:43:02 +0000 (10:43 +0100)]
doc: Fix links to CRUSH, RADOS and DSP research papers.

Signed-off-by: Franciszek Stachura <fbstachura@gmail.com>
3 years agomailmap: Add Nitzan Mordechai 44820/head
Nitzan Mordechai [Fri, 28 Jan 2022 07:44:11 +0000 (09:44 +0200)]
mailmap: Add Nitzan Mordechai

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
3 years agoqa/suites/rbd: add cram-based mon command API test 44834/head
Ilya Dryomov [Sat, 29 Jan 2022 14:01:27 +0000 (15:01 +0100)]
qa/suites/rbd: add cram-based mon command API test

With mon (rbd_support mgr module in this case) command definitions
generated automatically by @CLI{Read,Write}Command decorator, it's
very easy to accidentally break the external facing API.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agomgr/rbd_support: level_spec is optional for schedule list/status
Ilya Dryomov [Sat, 29 Jan 2022 14:01:27 +0000 (15:01 +0100)]
mgr/rbd_support: level_spec is optional for schedule list/status

Commit fea6fdff4c74 ("mgr/rbd_support: level_spec passed to some
commands is not optional") is wrong.  While it is true that a valid
level_spec is needed to create a LevelSpec instance, an empty string
is very much a valid level spec -- it signifies "all levels".

This wasn't caught because within Ceph these commands are wrapped by
rbd CLI which injects an empty string in get_level_spec_args().

Fixes: https://tracker.ceph.com/issues/54058
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agomgr/rbd_support: "trash remove" takes image_id_spec, not image_spec
Ilya Dryomov [Fri, 28 Jan 2022 22:01:08 +0000 (23:01 +0100)]
mgr/rbd_support: "trash remove" takes image_id_spec, not image_spec

Because of @CLIWriteCommand, the parameter name has to adhere to
the mon command API.  Commit dcb51b067a49 ("mgr/rbd_support: define
commands using CLICommand") accidentally changed image_id_spec to
image_spec, breaking external users such as go-ceph.

Fixes: https://tracker.ceph.com/issues/54057
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44707 from liumiaomiaoIntel/qatdoc
Kefu Chai [Sat, 29 Jan 2022 06:13:41 +0000 (14:13 +0800)]
Merge pull request #44707 from liumiaomiaoIntel/qatdoc

doc/radosgw: update QAT acceleration to specify the configuration

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agodoc/radosgw: update QAT acceleration to specify the configuration 44707/head
Miaomiao Liu [Fri, 21 Jan 2022 07:45:44 +0000 (15:45 +0800)]
doc/radosgw: update QAT acceleration to specify the configuration

add and change the configuration steps to enable latest version of QAT
driver on QAT based encryption and compression

Signed-off-by: Miaomiao Liu <miaomiao.liu@intel.com>
3 years agoMerge pull request #44816 from cbodley/wip-rgw-cmake-system
Casey Bodley [Fri, 28 Jan 2022 19:09:59 +0000 (14:09 -0500)]
Merge pull request #44816 from cbodley/wip-rgw-cmake-system

cmake/rgw: src/rgw and src/rgw/services are not system headers

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agodoc/cephadm: fixing cluster purging section 44810/head
Redouane Kachach [Thu, 27 Jan 2022 17:05:24 +0000 (18:05 +0100)]
doc/cephadm: fixing cluster purging section
https://tracker.ceph.com/issues/54018
ceph orch is not enough to stop all cephadm operations

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
3 years agoMerge pull request #44801 from sebastian-philipp/doc-cephadm-count-per-host
Sebastian Wagner [Fri, 28 Jan 2022 15:19:35 +0000 (16:19 +0100)]
Merge pull request #44801 from sebastian-philipp/doc-cephadm-count-per-host

doc/cephadm: Co-location of daemons

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by:Anthony D'Atri <anthony.datri@gmail.com>

3 years agoMerge pull request #44823 from andriytk/fix-install-deps2
Daniel Gryniewicz [Fri, 28 Jan 2022 14:39:41 +0000 (09:39 -0500)]
Merge pull request #44823 from andriytk/fix-install-deps2

install-deps.sh: fix cortx-motr installation condition

3 years agoinstall-deps.sh: fix cortx-motr installation condition 44823/head
Andriy Tkachuk [Fri, 28 Jan 2022 11:33:12 +0000 (11:33 +0000)]
install-deps.sh: fix cortx-motr installation condition

Don't try to install cortx-motr if it is already installed
or not needed. (Currently, it installs on any run from an
interactive terminal session).

Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
3 years agomgr/dashboard: perform daemon actions on cluster->services 44609/head
Pere Diaz Bou [Mon, 17 Jan 2022 09:07:15 +0000 (10:07 +0100)]
mgr/dashboard: perform daemon actions on cluster->services

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Fixes: https://tracker.ceph.com/issues/50322
3 years agoMerge pull request #44711 from zdover23/wip-doc-2022-01-21-rados-bluestore-cache...
zdover23 [Thu, 27 Jan 2022 23:29:14 +0000 (09:29 +1000)]
Merge pull request #44711 from zdover23/wip-doc-2022-01-21-rados-bluestore-cache-autotune-interval-rewrite-2

src/rados: rewrite bs cache autotune instructions

Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agoMerge pull request #44703 from phlogistonjohn/jjm-issue46773
Adam King [Thu, 27 Jan 2022 22:35:21 +0000 (17:35 -0500)]
Merge pull request #44703 from phlogistonjohn/jjm-issue46773

cephadm: validate that the constructed YumDnf baseurl is usable

Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #44517 from adk3798/agent-cache
Adam King [Thu, 27 Jan 2022 22:34:01 +0000 (17:34 -0500)]
Merge pull request #44517 from adk3798/agent-cache

mgr/cephadm: store agent metadata in its own cache

Reviewed-By: Sebastian Wagner <sewagner@redhat.com>
3 years agocmake/rgw: src/rgw and src/rgw/services are not system headers 44816/head
Casey Bodley [Thu, 27 Jan 2022 21:31:00 +0000 (16:31 -0500)]
cmake/rgw: src/rgw and src/rgw/services are not system headers

include these with -I instead of -isystem so we don't hide their
compiler warnings

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44719 from zdover23/wip-doc-2021-01-22-man-page-radosgw-multitena...
zdover23 [Thu, 27 Jan 2022 18:16:16 +0000 (04:16 +1000)]
Merge pull request #44719 from zdover23/wip-doc-2021-01-22-man-page-radosgw-multitenancy-remove-double-quotes

doc/radosgw: replace double quotes with single

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44379 from andriytk/add-motr-rgw-sal
Daniel Gryniewicz [Thu, 27 Jan 2022 16:33:25 +0000 (11:33 -0500)]
Merge pull request #44379 from andriytk/add-motr-rgw-sal

rgw: add CORTX Motr SAL implementation

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
3 years agoMerge pull request #44654 from rhcs-dashboard/page-title-feature
Ernesto Puerta [Thu, 27 Jan 2022 15:10:40 +0000 (16:10 +0100)]
Merge pull request #44654 from rhcs-dashboard/page-title-feature

mgr/dashboard: Page title should indicate current location

Reviewed-by: Sarthak0702 <NOT@FOUND>
Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #44793 from anthonyeleven/anthonyeleven/cephfs-mirroring
Venky Shankar [Thu, 27 Jan 2022 12:57:44 +0000 (18:27 +0530)]
Merge pull request #44793 from anthonyeleven/anthonyeleven/cephfs-mirroring

doc/cephfs: Clean up mirroring

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoinstall-deps.sh: set a UTF-8 locale when running pip 44805/head
Matan Breizman [Thu, 27 Jan 2022 11:32:28 +0000 (11:32 +0000)]
install-deps.sh: set a UTF-8 locale when running pip

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 years agorgw: add CORTX Motr SAL implementation 44379/head
Andriy Tkachuk [Mon, 1 Nov 2021 21:39:39 +0000 (21:39 +0000)]
rgw: add CORTX Motr SAL implementation

To build with Motr backend, use -DWITH_RADOSGW_MOTR=YES cmake
option. cortx-motr-devel rpm should be installed beforehand.

To connect to Motr cluster, add the following configuration
parameters to ceph.conf:

    [client]
            ...
            rgw backend store = motr
            motr profile fid  = 0x7000000000000001:0x4f
            motr ha endpoint  = inet:tcp:10.0.0.1@2001
    ...
    [client.rgw.8000]
            ...
            motr my endpoint  = inet:tcp:10.0.0.1@5001
            motr my fid       = 0x7200000000000001:0x29

The correct values for the Motr connection parameters can be
taken from `hctl status` cmd output after Motr cluster is
bootstrapped. In the example above, the values were taken from
the following output:

    Profile:
        0x7000000000000001:0x4f
    Services:
        centos8n1
        [started] hax       0x7200000000000001:0x6  inet:tcp:10.0.0.1@5001
        ...
        [unknown] m0_client 0x7200000000000001:0x29 inet:tcp:10.0.0.1@5001

Motr pkgs for the build/run can be taken from
https://github.com/Seagate/cortx-motr/releases/tag/2.0.0-rgw.

Co-authored-by: Sining Wu <sining.wu@seagate.com>
Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
3 years agomgr/dashboard: Page title should indicate current location 44654/head
Sarthak0702 [Tue, 18 Jan 2022 20:39:27 +0000 (02:09 +0530)]
mgr/dashboard: Page title should indicate current location

Added titleService to BreadcrumbsComponent.

Fixes: https://tracker.ceph.com/issues/36587
Signed-off-by: Sarthak0702 <sarthak.0702@gmail.com>
3 years agodoc/cephadm: Co-location of daemons 44801/head
Sebastian Wagner [Thu, 27 Jan 2022 09:09:58 +0000 (10:09 +0100)]
doc/cephadm: Co-location of daemons

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44693 from rhcs-dashboard/configuration-test
Ernesto Puerta [Thu, 27 Jan 2022 09:37:07 +0000 (10:37 +0100)]
Merge pull request #44693 from rhcs-dashboard/configuration-test

mgr/dashboard: navigation page e2e fix

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44748 from cyx1231st/wip-crimson-improve-log-tm
Yingxin [Thu, 27 Jan 2022 05:25:21 +0000 (13:25 +0800)]
Merge pull request #44748 from cyx1231st/wip-crimson-improve-log-tm

crimson/os/seastore/transaction_manager: cleanups and logs

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44760 from mgfritch/fixup-asyncssh-mypy
Adam King [Thu, 27 Jan 2022 02:42:39 +0000 (21:42 -0500)]
Merge pull request #44760 from mgfritch/fixup-asyncssh-mypy

mgr/cephadm: improve asyncssh type checking

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Melissa Li <melissali@redhat.com>
3 years agoMerge pull request #44792 from Matan-B/wip-matanb-email-contact
Neha Ojha [Wed, 26 Jan 2022 20:48:51 +0000 (12:48 -0800)]
Merge pull request #44792 from Matan-B/wip-matanb-email-contact

mailmap: Add Matan Breizman

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agodoc/cephfs: Clean up mirroring 44793/head
Anthony D'Atri [Wed, 26 Jan 2022 20:01:26 +0000 (12:01 -0800)]
doc/cephfs: Clean up mirroring

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
3 years agomailmap: Add Matan Breizman 44792/head
Matan Breizman [Wed, 26 Jan 2022 17:57:13 +0000 (17:57 +0000)]
mailmap: Add Matan Breizman

Add Matan Breizman to mailmap.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 years agoMerge pull request #44304 from guits/guits-fix-cv-batch-mpath
Guillaume Abrioux [Wed, 26 Jan 2022 17:49:45 +0000 (18:49 +0100)]
Merge pull request #44304 from guits/guits-fix-cv-batch-mpath

ceph-volume: improve mpath devices support

3 years agorgw: Match decode_json with dump for default-placement in RGWZoneGroup. 44785/head
zhangzhiming [Wed, 26 Jan 2022 09:00:07 +0000 (17:00 +0800)]
rgw: Match decode_json with dump for default-placement in RGWZoneGroup.

Fixes: https://tracker.ceph.com/issues/54016
Signed-off-by: zhiming zhang <zhangzhm1@chinatelecom.cn>
3 years agoMerge pull request #44782 from liu-chunmei/crimson-fix-content-corrupt
Liu-Chunmei [Wed, 26 Jan 2022 08:26:25 +0000 (00:26 -0800)]
Merge pull request #44782 from liu-chunmei/crimson-fix-content-corrupt

crimson: fix qa/RadosModel content corrupt

reviewed by: Samuel Just <sjust@redhat.com>

3 years agoMerge pull request #44718 from liu-chunmei/crimson-fix-split_pin_right-assert
Samuel Just [Wed, 26 Jan 2022 06:27:08 +0000 (22:27 -0800)]
Merge pull request #44718 from liu-chunmei/crimson-fix-split_pin_right-assert

crimson: fix split_pin_left assert_aligned

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson: fix qa/RadosModel content corrupt 44782/head
chunmei-liu [Tue, 25 Jan 2022 06:39:31 +0000 (22:39 -0800)]
crimson: fix qa/RadosModel content corrupt

RadosModel test read more length than object size, if truncate
not append zero to bufferlist, RadosMode will read more data and
it will check if there is content after the object size. So append
zero after truncate size to end of extent.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agocrimson: eliminate warning for unused variable 44718/head
chunmei-liu [Tue, 25 Jan 2022 01:36:23 +0000 (17:36 -0800)]
crimson: eliminate warning for unused variable

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agocrimson: fix split_pin_left assert_aligned
chunmei-liu [Fri, 21 Jan 2022 16:22:59 +0000 (08:22 -0800)]
crimson: fix split_pin_left assert_aligned

hint passed to lba alloc_extent may not be block size aligned
in a certain case, this hint insert lba tree as key, so make
laddr in lba tree is not aligned.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoceph-volume: fix typo in tests 44304/head
Guillaume Abrioux [Tue, 14 Dec 2021 10:08:48 +0000 (11:08 +0100)]
ceph-volume: fix typo in tests

This fixes 2 typo in ceph-volume tests.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agodoc/ceph-volume: fix a typo
Guillaume Abrioux [Tue, 14 Dec 2021 09:42:09 +0000 (10:42 +0100)]
doc/ceph-volume: fix a typo

This fixes a typo in ceph-volume documentation.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoceph-volume: add a test `test_mpath_device_is_device`
Guillaume Abrioux [Tue, 14 Dec 2021 09:40:35 +0000 (10:40 +0100)]
ceph-volume: add a test `test_mpath_device_is_device`

This test checks that Device.is_device() returns True for a mpath device.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoceph-volume: improve mpath devices support
Guillaume Abrioux [Tue, 14 Dec 2021 08:57:10 +0000 (09:57 +0100)]
ceph-volume: improve mpath devices support

ee8887f4c0ff4f91117f31b621b95c8d08019130 was intended for adding
mpath devices support in ceph-volume but it has missed the lvm batch scenario.
This also fixes the zapping of mpath devices prepared with `ceph-volume raw`

Fixes: https://tracker.ceph.com/issues/52908
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #44549 from melissa-kun-li/remove-iscsi
Adam King [Tue, 25 Jan 2022 19:25:34 +0000 (14:25 -0500)]
Merge pull request #44549 from melissa-kun-li/remove-iscsi

mgr/cephadm/iscsi: use `mon_command` in `post_remove` instead of `check_mon_command`

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #44682 from sebastian-philipp/cephadm-ipv6-parse-ipv6-addr-wo...
Adam King [Tue, 25 Jan 2022 19:21:06 +0000 (14:21 -0500)]
Merge pull request #44682 from sebastian-philipp/cephadm-ipv6-parse-ipv6-addr-wo-route

cephadm: _parse_ipv6_route: Fix parsing ifs w/o route

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
3 years agomgr/cephadm: improve asyncssh type checking 44760/head
Michael Fritch [Mon, 24 Jan 2022 19:39:15 +0000 (12:39 -0700)]
mgr/cephadm: improve asyncssh type checking

asyncssh 2.9.0 introduces additional type hints

Fixes: https://tracker.ceph.com/issues/54003
Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #44735 from neha-ojha/wip-reduce-cephadm
Yuri Weinstein [Tue, 25 Jan 2022 17:22:57 +0000 (09:22 -0800)]
Merge pull request #44735 from neha-ojha/wip-reduce-cephadm

qa/suites/rados: reduce the number of cephadm tests

Reviewed-by: Adam King adking@redhat.com
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
3 years agoMerge pull request #44662 from guits/cv-shared_ceph_folder
Adam King [Tue, 25 Jan 2022 17:06:05 +0000 (12:06 -0500)]
Merge pull request #44662 from guits/cv-shared_ceph_folder

cephadm: add shared_ceph_folder opt to ceph-volume subcommand

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44695 from liewegas/fix-cephadm-pretty-timedelta
Sebastian Wagner [Tue, 25 Jan 2022 15:56:13 +0000 (16:56 +0100)]
Merge pull request #44695 from liewegas/fix-cephadm-pretty-timedelta

pybind/mgr/mgr_util: fix to_pretty_timedelta()

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44459 from adk3798/misc-args
Sebastian Wagner [Tue, 25 Jan 2022 15:54:16 +0000 (16:54 +0100)]
Merge pull request #44459 from adk3798/misc-args

mgr/cephadm: allow miscellaneous container args at service level

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
3 years agoMerge pull request #44192 from liuqinfei/docfix
Guillaume Abrioux [Tue, 25 Jan 2022 15:05:40 +0000 (16:05 +0100)]
Merge pull request #44192 from liuqinfei/docfix

doc: typo fixes in ceph-volume and install

3 years agocephadm: add shared_ceph_folder opt to ceph-volume subcommand 44662/head
Guillaume Abrioux [Wed, 19 Jan 2022 13:17:04 +0000 (14:17 +0100)]
cephadm: add shared_ceph_folder opt to ceph-volume subcommand

This commit adds the `--shared_ceph_folder` option to `ceph-volume`
subcommand, just like `shell` and `bootstrap` subcommands.

Fixes: https://tracker.ceph.com/issues/53931
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
3 years agoMerge pull request #44282 from orozery/qa-qemu-nbd-ide-interface
Ilya Dryomov [Tue, 25 Jan 2022 14:06:14 +0000 (15:06 +0100)]
Merge pull request #44282 from orozery/qa-qemu-nbd-ide-interface

qa/tasks/qemu: switch nbd devices from virtio to ide

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44066 from guits/guits-fix-rollback-osd
Guillaume Abrioux [Tue, 25 Jan 2022 10:03:35 +0000 (11:03 +0100)]
Merge pull request #44066 from guits/guits-fix-rollback-osd

ceph-volume: zap osds in rollback_osd()

3 years agoMerge pull request #44755 from ronen-fr/wip-rf-be2-clang1
Ronen Friedman [Tue, 25 Jan 2022 08:19:33 +0000 (10:19 +0200)]
Merge pull request #44755 from ronen-fr/wip-rf-be2-clang1

osd/scrub: fix ceph::mutex usage

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
3 years agoMerge pull request #44740 from liu-chunmei/crimson-fix-remove_from_lru-assert
Yingxin [Tue, 25 Jan 2022 06:52:24 +0000 (14:52 +0800)]
Merge pull request #44740 from liu-chunmei/crimson-fix-remove_from_lru-assert

crimson: fix remove_from_lru assert

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
3 years agoMerge pull request #44653 from cyx1231st/wip-crimson-osd-empty-transaction
Yingxin [Tue, 25 Jan 2022 05:02:37 +0000 (13:02 +0800)]
Merge pull request #44653 from cyx1231st/wip-crimson-osd-empty-transaction

crimson/osd: ShardServices::dispatch_context_transaction to flush

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os/seastore/transaction_manager: consolidate logs in levels 44748/head
Yingxin Cheng [Mon, 24 Jan 2022 05:16:20 +0000 (13:16 +0800)]
crimson/os/seastore/transaction_manager: consolidate logs in levels

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/transaction_manager: abort when error
Yingxin Cheng [Mon, 24 Jan 2022 05:05:47 +0000 (13:05 +0800)]
crimson/os/seastore/transaction_manager: abort when error

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/transaction_manager: drop the extent metrics
Yingxin Cheng [Mon, 24 Jan 2022 03:52:44 +0000 (11:52 +0800)]
crimson/os/seastore/transaction_manager: drop the extent metrics

These metrics won't distinguish extent operations from invalidated and
successful transactions.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocephadm: fully replace agent files when writing them 44517/head
Adam King [Wed, 19 Jan 2022 02:44:54 +0000 (21:44 -0500)]
cephadm: fully replace agent files when writing them

otherwise, if the new file is shorter than the old one
we will end up with a malformed file retaining the end bit
of the old version

Signed-off-by: Adam King <adking@redhat.com>
3 years agomgr/cephadm: store agent metadata in its own cache
Adam King [Mon, 10 Jan 2022 20:12:11 +0000 (15:12 -0500)]
mgr/cephadm: store agent metadata in its own cache

To avoid having the host cache getting too big
due to having to store this additional info

Fixes: https://tracker.ceph.com/issues/53624
Signed-off-by: Adam King <adking@redhat.com>
3 years agoMerge pull request #44761 from mgfritch/cephadm-asyncssh-2_8
Adam King [Mon, 24 Jan 2022 22:40:06 +0000 (17:40 -0500)]
Merge pull request #44761 from mgfritch/cephadm-asyncssh-2_8

mgr/cephadm: require asyncssh 2.8

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Melissa Li <melissali@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
3 years agomgr/cephadm: require asyncssh 2.8 44761/head
Michael Fritch [Mon, 24 Jan 2022 19:58:17 +0000 (12:58 -0700)]
mgr/cephadm: require asyncssh 2.8

Fixes: https://tracker.ceph.com/issues/54003
Signed-off-by: Michael Fritch <mfritch@suse.com>
3 years agoosd/scrub: fix clang compilation issues 44755/head
Ronen Friedman [Mon, 24 Jan 2022 13:01:49 +0000 (13:01 +0000)]
osd/scrub: fix clang compilation issues

Issues created by the scrub-backend refactoring PR.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
3 years agoMerge pull request #44737 from adamemerson/wip-wrong-modelines
Adam C. Emerson [Mon, 24 Jan 2022 17:26:03 +0000 (12:26 -0500)]
Merge pull request #44737 from adamemerson/wip-wrong-modelines

cleanup: Change incorrect modelines

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson: fix remove_from_lru assert 44740/head
chunmei-liu [Mon, 24 Jan 2022 17:12:00 +0000 (09:12 -0800)]
crimson: fix remove_from_lru assert

RETIRED_PLACEHOLDER extent also put into retired set, when do
commit_retire_extent need check if it is RETIRED_PLACEHOLDER,
otherwise will cause remove_from_lru assert.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agoMerge PR #44574 into master
Patrick Donnelly [Mon, 24 Jan 2022 14:32:48 +0000 (09:32 -0500)]
Merge PR #44574 into master

* refs/pull/44574/head:
qa: Add syslog ignore list

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agomgr/dashboard: cephadm e2e job: display info on error & other improvements 44384/head
Alfonso Martínez [Fri, 21 Jan 2022 14:57:39 +0000 (15:57 +0100)]
mgr/dashboard: cephadm e2e job: display info on error & other improvements

- Fix: ensure that on_error trap is called (display more info on error).
- Set static IPs to VMs.
- Remove domain in cluster definition to avoid side effects of potential dns misconfiguration.
- Minor improvements.

Fixes: https://tracker.ceph.com/issues/53991
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
3 years agoMerge pull request #44714 from idryomov/wip-rbd-mirror-delprop-races
Ilya Dryomov [Mon, 24 Jan 2022 10:43:56 +0000 (11:43 +0100)]
Merge pull request #44714 from idryomov/wip-rbd-mirror-delprop-races

rbd-mirror: fix races in snapshot-based mirroring deletion propagation

Reviewed-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Reviewed-by: Mykola Golub <mgolub@suse.com>
3 years agomgr/dashboard: navigation page e2e fix 44693/head
Nizamudeen A [Thu, 20 Jan 2022 16:52:50 +0000 (22:22 +0530)]
mgr/dashboard: navigation page e2e fix

Looks like the newly added relative position for the sidebar is
causing cypress to verify that the sidebar is hidden from the user view.

Fixes: https://tracker.ceph.com/issues/53960
Signed-off-by: Nizamudeen A <nia@redhat.com>
3 years agoMerge pull request #42993 from ronen-fr/wip-ronenf-scrub-be2
Ronen Friedman [Mon, 24 Jan 2022 09:07:31 +0000 (11:07 +0200)]
Merge pull request #42993 from ronen-fr/wip-ronenf-scrub-be2

osd/scrub: extracting scrub "backend" functionality

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agoMerge pull request #44744 from ronen-fr/wip-rf-lost-update
Ronen Friedman [Mon, 24 Jan 2022 08:57:04 +0000 (10:57 +0200)]
Merge pull request #44744 from ronen-fr/wip-rf-lost-update

scrub/osd: add a missing 'publish stats to osd'

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
3 years agocrimson/os/seastore: suppress verbose onode info logs
Yingxin Cheng [Mon, 24 Jan 2022 03:47:31 +0000 (11:47 +0800)]
crimson/os/seastore: suppress verbose onode info logs

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>