]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agocrimson/os/seastore/lba_manager: introduce subsys seastore_lba_details 44921/head
Yingxin Cheng [Mon, 7 Feb 2022 10:46:40 +0000 (18:46 +0800)]
crimson/os/seastore/lba_manager: introduce subsys seastore_lba_details

We will share the lba tree implementation, so classify the related logs
and rename to seastore_lba_details for now.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/lba_manager: consolidate logs
Yingxin Cheng [Mon, 7 Feb 2022 10:50:47 +0000 (18:50 +0800)]
crimson/os/seastore/lba_manager: consolidate logs

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/lba_manager: convert to seastore logging
Yingxin Cheng [Mon, 7 Feb 2022 02:32:52 +0000 (10:32 +0800)]
crimson/os/seastore/lba_manager: convert to seastore logging

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agocrimson/os/seastore/lba_manager: move lba_tree_inner_stats into LBAManager
Yingxin Cheng [Mon, 7 Feb 2022 10:34:40 +0000 (18:34 +0800)]
crimson/os/seastore/lba_manager: move lba_tree_inner_stats into LBAManager

Cleanup, change stats from LBATree static member to BtreeLBAManager
class member.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
3 years agoMerge pull request #44842 from idryomov/wip-krbd-rxbounce-option
Ilya Dryomov [Sun, 6 Feb 2022 19:37:31 +0000 (20:37 +0100)]
Merge pull request #44842 from idryomov/wip-krbd-rxbounce-option

rbd: recognize rxbounce map option

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #43910 from sunnyku/wip-rbd-snap-sched
Ilya Dryomov [Sun, 6 Feb 2022 19:32:09 +0000 (20:32 +0100)]
Merge pull request #43910 from sunnyku/wip-rbd-snap-sched

mgr/rbd_support: fix schedule remove

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44893 from cfsnyder/wip-54130-oplog-segfault
Casey Bodley [Sat, 5 Feb 2022 13:54:57 +0000 (08:54 -0500)]
Merge pull request #44893 from cfsnyder/wip-54130-oplog-segfault

rgw: fix segfault in OpsLogRados::log when realm is reloaded

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44851 from batrick/i54081
Venky Shankar [Sat, 5 Feb 2022 12:34:29 +0000 (18:04 +0530)]
Merge pull request #44851 from batrick/i54081

mds: add inline flag to MDS bootstrap compat in MDSMap

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #44887 from josephsawaya/vstart-dev
Samuel Just [Sat, 5 Feb 2022 05:26:11 +0000 (21:26 -0800)]
Merge pull request #44887 from josephsawaya/vstart-dev

src/vstart.sh: Add --no-restart to vstart & add mkfs logs to osd.stdout

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agosrc/vstart.sh: Add --no-restart to vstart & add mkfs logs to osd.stdout 44887/head
Joseph Sawaya [Thu, 3 Feb 2022 16:46:44 +0000 (11:46 -0500)]
src/vstart.sh: Add --no-restart to vstart & add mkfs logs to osd.stdout

The output of mkfs wasn't also being included in the OSD's log before this which
can make it more difficult to debug issues with mkfs.

ceph-run restarting every 5 seconds can make it difficult to read the osd's stdout.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
3 years agoMerge pull request #44868 from neha-ojha/wip-move-to-stream
Neha Ojha [Fri, 4 Feb 2022 19:56:08 +0000 (11:56 -0800)]
Merge pull request #44868 from neha-ojha/wip-move-to-stream

qa/distros: remove centos8

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoMerge pull request #44866 from yuvalif/wip-yuval-fix-datalog-list
Casey Bodley [Fri, 4 Feb 2022 19:55:07 +0000 (14:55 -0500)]
Merge pull request #44866 from yuvalif/wip-yuval-fix-datalog-list

rgw/admin: fix radosgw-admin datalog list max-entries issue

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
3 years agoMerge pull request #44386 from ivancich/wip-reshard-tentative-goal
Casey Bodley [Fri, 4 Feb 2022 19:54:36 +0000 (14:54 -0500)]
Merge pull request #44386 from ivancich/wip-reshard-tentative-goal

rgw: in bucket reshard list, clarify new num shards is tentative

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
3 years agoMerge pull request #42330 from SWJTU-ZhangLei/wip-rgw-postobj
Casey Bodley [Fri, 4 Feb 2022 19:50:45 +0000 (14:50 -0500)]
Merge pull request #42330 from SWJTU-ZhangLei/wip-rgw-postobj

rgw: RGWPostObj::execute() may lost data.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44743 from linuxbox2/wip-rgwlc-lcgetv
Casey Bodley [Fri, 4 Feb 2022 19:50:27 +0000 (14:50 -0500)]
Merge pull request #44743 from linuxbox2/wip-rgwlc-lcgetv

rgwlc: fix compat-decoding of cls_rgw_lc_get_entry_ret

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44137 from ivancich/wip-fix-reshard-cancel
Casey Bodley [Fri, 4 Feb 2022 19:50:10 +0000 (14:50 -0500)]
Merge pull request #44137 from ivancich/wip-fix-reshard-cancel

rgw: "reshard cancel" errors with "invalid argument"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoMerge pull request #44892 from trociny/wip-54119
Casey Bodley [Fri, 4 Feb 2022 19:49:47 +0000 (14:49 -0500)]
Merge pull request #44892 from trociny/wip-54119

rgw: check bucket shard init status in RGWRadosBILogTrimCR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoqa/suites/krbd: add legacy+rxbounce and crc+rxbounce coverage 44842/head
Ilya Dryomov [Mon, 31 Jan 2022 13:08:26 +0000 (14:08 +0100)]
qa/suites/krbd: add legacy+rxbounce and crc+rxbounce coverage

For basic, rbd and rbd-nomount subsuites, replace legacy and crc
facets with "legacy or legacy+rxbounce" and "crc or crc+rxbounce"
facets (chosen at random).

For fsx, singleton and thrash subsuites, add legacy+rxbounce and
crc+rxbounce facets and drop prefer-crc facet.  The expected behaviour
of the latter depends on cluster configuration and should be tested
separately.

The total number of jobs remains the same.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoqa: krbd rxbounce test
Ilya Dryomov [Thu, 27 Jan 2022 16:15:01 +0000 (17:15 +0100)]
qa: krbd rxbounce test

Lives in its own directory since ms_mode doesn't need to be permuted
here.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agorbd: recognize rxbounce map option
Ilya Dryomov [Wed, 26 Jan 2022 18:36:26 +0000 (19:36 +0100)]
rbd: recognize rxbounce map option

Fixes: https://tracker.ceph.com/issues/54063
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
3 years agoMerge pull request #44563 from benhanokh/NCB_new_alloc_map
Neha Ojha [Fri, 4 Feb 2022 17:31:16 +0000 (09:31 -0800)]
Merge pull request #44563 from benhanokh/NCB_new_alloc_map

BlueStore:NCB:Bug-Fix for recovery code with shared blobs

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
3 years agoMerge pull request #44796 from pcuzner/remove-old-mib
Ernesto Puerta [Fri, 4 Feb 2022 16:42:08 +0000 (17:42 +0100)]
Merge pull request #44796 from pcuzner/remove-old-mib

monitoring: remove old MIB

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44857 from rhcs-dashboard/test-doc-dash-cephadm
Ernesto Puerta [Fri, 4 Feb 2022 16:35:54 +0000 (17:35 +0100)]
Merge pull request #44857 from rhcs-dashboard/test-doc-dash-cephadm

doc: update kcli test env documentation

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
3 years agoMerge pull request #44059 from MrFreezeex/mixins
Ernesto Puerta [Fri, 4 Feb 2022 16:28:44 +0000 (17:28 +0100)]
Merge pull request #44059 from MrFreezeex/mixins

mgr/dashboard: monitoring: refactor into ceph-mixin

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
3 years agoMerge pull request #44862 from andriytk/fix-put-memleak2
Daniel Gryniewicz [Fri, 4 Feb 2022 16:24:58 +0000 (11:24 -0500)]
Merge pull request #44862 from andriytk/fix-put-memleak2

rgw_sal_motr: fix possible memleak on put

3 years agoqa/workunits/rbd: improve schedule add/remove cli test 43910/head
Sunny Kumar [Wed, 19 Jan 2022 13:15:52 +0000 (13:15 +0000)]
qa/workunits/rbd: improve schedule add/remove cli test

This patch adds few tests to cover schedule add/remove with invalid
inputs.

Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
3 years agomgr/rbd_support: fix schedule remove
Sunny Kumar [Fri, 12 Nov 2021 16:27:55 +0000 (16:27 +0000)]
mgr/rbd_support: fix schedule remove

Issue:

If we provide a random string in the schedule remove
command the entire schedule at specified level gets
removed.

Fixes: https://tracker.ceph.com/issues/53250
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
3 years agoMerge pull request #44348 from soumyakoduri/wip-skoduri-lc-teuthology
Casey Bodley [Fri, 4 Feb 2022 16:04:13 +0000 (11:04 -0500)]
Merge pull request #44348 from soumyakoduri/wip-skoduri-lc-teuthology

rgw/qa: Add test suite for lifecycle cases

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
3 years agoos/BlueStore: NCB fixes recovery code with shared blobs 44563/head
Gabriel BenHanokh [Wed, 12 Jan 2022 12:48:27 +0000 (14:48 +0200)]
os/BlueStore: NCB fixes recovery code with shared blobs

Replaces the BitmapAllocator used by NCB Recovery code with a dedicated SimpleBitmap.
The SimpleBitmap allows for bits to be set multiple times without any adverse effect.
This is needed beacuse shared-blobs will report the same allocation multiple times.

Fixes: https://tracker.ceph.com/issues/53678
Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
3 years agoMerge pull request #44003 from zdover23/wip-doc-2021-11-17-start-documenting-ceph...
Neha Ojha [Thu, 3 Feb 2022 23:36:22 +0000 (15:36 -0800)]
Merge pull request #44003 from zdover23/wip-doc-2021-11-17-start-documenting-ceph-python-pip-update

doc/start: update python-pip to python3-pip

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #44560 from jdurgin/wip-edit-on-github
Neha Ojha [Thu, 3 Feb 2022 23:28:16 +0000 (15:28 -0800)]
Merge pull request #44560 from jdurgin/wip-edit-on-github

doc/conf.py: use links to the 'edit' page for edit on github

Reviewed-by: Neha Ojha <nojha@redhat.com>
3 years agoMerge pull request #44888 from josephsawaya/zns-dev
Samuel Just [Thu, 3 Feb 2022 23:00:47 +0000 (15:00 -0800)]
Merge pull request #44888 from josephsawaya/zns-dev

crimson/os/seastore: change segment_off_t to seastore_off_t in ZNSSegmentManager

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge PR #44691 into master
Patrick Donnelly [Thu, 3 Feb 2022 21:40:07 +0000 (16:40 -0500)]
Merge PR #44691 into master

* refs/pull/44691/head:
doc: document PI .qa symlinks
qa: fix or add missing .qa links
qa: move .qa terminator

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
3 years agorgw: fix segfault in OpsLogRados::log when realm is reloaded 44893/head
Cory Snyder [Thu, 3 Feb 2022 19:48:05 +0000 (14:48 -0500)]
rgw: fix segfault in OpsLogRados::log when realm is reloaded

We weren't previously handling the deallocation of the store when
a realm was reloaded. Now passing a const reference to the pointer.

Fixes: https://tracker.ceph.com/issues/54130
Signed-off-by: Cory Snyder <csnyder@iland.com>
3 years agorgw_sal_motr: fix possible memleak on put 44862/head
Andriy Tkachuk [Wed, 2 Feb 2022 11:25:59 +0000 (11:25 +0000)]
rgw_sal_motr: fix possible memleak on put

Currently, the MotrAtomicWriter::cleanup() is called from
MotrAtomicWriter::commit(), which may not be called at all
by rgw in case of md5 checksum failure.

Solution: call cleanup() from process() when data is zero.
rgw calls Writer::process(data, off) with zero data at the
end of the loop to allow writes to flush the data. From:
src/rgw/rgw_op.cc:RGWPutObj::execute():

      op_ret = filter->process(std::move(data), ofs);
      ...
      ofs += len;
    } while (len > 0);

    // flush any data in filters
    op_ret = filter->process({}, ofs);

Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
Reviewed-by: Sining Wu <sining.wu@seagate.com>
3 years agorgw_sal_motr: fix cosmetic issues
Andriy Tkachuk [Thu, 3 Feb 2022 20:23:26 +0000 (20:23 +0000)]
rgw_sal_motr: fix cosmetic issues

- rename acc_bl to acc_data
- drop DEBUG prefix from logs

Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
3 years agoMerge pull request #44878 from aclamk/fix-git-id-aclamk
Neha Ojha [Thu, 3 Feb 2022 17:39:13 +0000 (09:39 -0800)]
Merge pull request #44878 from aclamk/fix-git-id-aclamk

github: fix id and mail

Reviewed-by: Neha Ojha <nojha@redhat.com>
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 agomds: add inline feature to MDS bootstrap incompat 44851/head
Patrick Donnelly [Mon, 31 Jan 2022 22:58:55 +0000 (17:58 -0500)]
mds: add inline feature to MDS bootstrap incompat

File systems that had inline data enabled at some point would have this
bit in the CompatSet "incompat" set. This would conflict during upgrade
with the default v16.2.4 CompatSet assigned to existing (16.2.4-) MDS.
Subsequently, this would cause an assertion in FSMap::sanity during
pending map creation.

This bit will get added anyway during the upgrade process so might as
well add it to the MDS CompatSet during bootstrap.

Fixes: https://tracker.ceph.com/issues/54081
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agomds: throw some feature definitions in static memory
Patrick Donnelly [Mon, 31 Jan 2022 22:56:51 +0000 (17:56 -0500)]
mds: throw some feature definitions in static memory

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoqa: test inline compat set on older MDSMap
Patrick Donnelly [Mon, 31 Jan 2022 19:11:08 +0000 (14:11 -0500)]
qa: test inline compat set on older MDSMap

Reproduced here:

    /ceph/teuthology-archive/pdonnell-2022-01-31_19:13:02-fs:upgrade-master-distro-default-smithi/6651572/teuthology.log

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agodoc: document PI .qa symlinks 44691/head
Patrick Donnelly [Wed, 2 Feb 2022 13:51:13 +0000 (08:51 -0500)]
doc: document PI .qa symlinks

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoqa: fix or add missing .qa links
Patrick Donnelly [Thu, 20 Jan 2022 16:28:19 +0000 (11:28 -0500)]
qa: fix or add missing .qa links

Using this command:

    find qa/suites/ -type d -execdir ln -sfT ../.qa/ {}/.qa \;

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agoqa: move .qa terminator
Patrick Donnelly [Thu, 20 Jan 2022 16:27:29 +0000 (11:27 -0500)]
qa: move .qa terminator

So links can be elsewhere in the qa suite (not used yet) and to simplify
a find command in a follow-up commit.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
3 years agogithub: fix id and mail 44878/head
Adam Kupczyk [Thu, 3 Feb 2022 14:43:41 +0000 (15:43 +0100)]
github: fix id and mail

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
3 years agomonitoring: build jsonnet/jb only for testing 44059/head
Arthur Outhenin-Chalandre [Mon, 24 Jan 2022 09:01:04 +0000 (10:01 +0100)]
monitoring: build jsonnet/jb only for testing

Build jsonnet and jb in the testso that we can build ceph without
internet access and still be able to run the test needed for monitoring
using jsonnet tools.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
3 years agospec: debian: monitoring: build jsonnet from source to use 0.18.0
Arthur Outhenin-Chalandre [Wed, 5 Jan 2022 11:06:14 +0000 (12:06 +0100)]
spec: debian: monitoring: build jsonnet from source to use 0.18.0

As this new version is recently released it's still not in every distro
we use. We now build jsonnet from source so that we can use this new
version of jsonnet. This commit could be reverted later on when the new
version would be available everywhere.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
3 years agomgr/dashboard: monitoring: refactor into ceph-mixin
Arthur Outhenin-Chalandre [Tue, 23 Nov 2021 08:30:38 +0000 (09:30 +0100)]
mgr/dashboard: monitoring: refactor into ceph-mixin

Mixin is a way to bundle dashboards, prometheus rules and alerts into
jsonnet package. Shifting to mixin will allow easier integration with
monitoring automation that some users may use.

This commit moves `/monitoring/grafana/dashboards` and
`/monitoring/prometheus` to `/monitoring/ceph-mixin`. Prometheus alerts
was also converted to Jsonnet using an automated way (from yaml to json
to jsonnet). This commit minimises any change made to the generated files
and should not change neithers the dashboards nor the Prometheus alerts.

In the future some configuration will also be added to jsonnet to add
more functionalities to the dashboards or alerts (i.e.: multi cluster).

Fixes: https://tracker.ceph.com/issues/53374
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
3 years agospec: debian: add golang as build dependency
Arthur Outhenin-Chalandre [Mon, 29 Nov 2021 08:38:57 +0000 (09:38 +0100)]
spec: debian: add golang as build dependency

Add golang as a build dependency to build golang project in the test
for monitoring/ceph-mixin.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
3 years agorgw: check bucket shard init status in RGWRadosBILogTrimCR 44892/head
Mykola Golub [Wed, 2 Feb 2022 18:25:33 +0000 (18:25 +0000)]
rgw: check bucket shard init status in RGWRadosBILogTrimCR

to avoid using not properly initialized bs.bucket_obj.

Fixes: https://tracker.ceph.com/issues/54119
Signed-off-by: Mykola Golub <mgolub@suse.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 agoqa/suites/rados/thrash-old-clients: remove centos_8.3_container_tools_3.0 44868/head
Neha Ojha [Wed, 2 Feb 2022 23:26:54 +0000 (23:26 +0000)]
qa/suites/rados/thrash-old-clients: remove centos_8.3_container_tools_3.0

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoqa/distros/container-hosts: remove centos_8.2 and centos_8.3
Neha Ojha [Wed, 2 Feb 2022 20:01:30 +0000 (20:01 +0000)]
qa/distros/container-hosts: remove centos_8.2 and centos_8.3

Related to https://tracker.ceph.com/issues/54087

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agoqa/distros/podman: remove centos_8.2 and centos_8.3
Neha Ojha [Wed, 2 Feb 2022 19:16:16 +0000 (19:16 +0000)]
qa/distros/podman: remove centos_8.2 and centos_8.3

Related to https://tracker.ceph.com/issues/54087

Signed-off-by: Neha Ojha <nojha@redhat.com>
3 years agorgw/qa: Add test suite for lifecycle cases 44348/head
Soumya Koduri [Fri, 17 Dec 2021 11:32:37 +0000 (17:02 +0530)]
rgw/qa: Add test suite for lifecycle cases

Execute lifecycle s3-tests in the teuthology test-suite by configuring
required storage classes and 'rgw lc debug interval' option.

Signed-off-by: Soumya Koduri <skoduri@redhat.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 agorgw/admin: fix radosgw-admin datalog list max-entries issue 44866/head
Yuval Lifshitz [Wed, 2 Feb 2022 14:53:21 +0000 (16:53 +0200)]
rgw/admin: fix radosgw-admin datalog list max-entries issue

Fixes: https://tracker.ceph.com/issues/54116
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.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 agodoc: update dashboard kcli test env documentation 44857/head
Nizamudeen A [Tue, 1 Feb 2022 15:42:14 +0000 (21:12 +0530)]
doc: update dashboard kcli test env documentation

Fixes: https://tracker.ceph.com/issues/54105
Signed-off-by: Nizamudeen A <nia@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 agorgwlc: add cls_rgw_lc_get_entry_ret to rgw_types.h (dencoder) 44743/head
Matt Benjamin [Fri, 28 Jan 2022 19:47:34 +0000 (14:47 -0500)]
rgwlc:  add cls_rgw_lc_get_entry_ret to rgw_types.h (dencoder)

Signed-off-by: Matt Benjamin <mbenjamin@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 agorgwlc: fix compat-decoding of cls_rgw_lc_get_entry_ret
Matt Benjamin [Sat, 22 Jan 2022 18:14:31 +0000 (13:14 -0500)]
rgwlc: fix compat-decoding of cls_rgw_lc_get_entry_ret

Fix compat-decode of cls_rgw_lc_get_entry_ret, which had changed
earlier in 394750597.  While not initially a problem, the more
recent change to allow radosgw-admin lc process to operate on a single
bucket created a way to decode an un-upgraded structure.

Fixes: https://tracker.ceph.com/issues/53927
Reported by Jeegn Chen <jeegnchen@gmail.com>.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.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 agorgw: in bucket reshard list, clarify new num shards is tentative 44386/head
J. Eric Ivancich [Wed, 22 Dec 2021 19:45:59 +0000 (14:45 -0500)]
rgw: in bucket reshard list, clarify new num shards is tentative

With dynamic bucket index resharding, when the average number of
objects per shard exceeds the configured value, that bucket is
scheduled for reshard. That bucket may receive more new objects before
the resharding takes place. As a result, the existing code
re-calculates the number of new shards just prior to resharding,
rather than waste a resharding opportunity with too low a value.

The same holds true for a user-scheduled resharding.

A user reported confusion that the number reported in `radosgw-admin
reshard list` wasn't the number that the reshard operation ultimately
used. This commit makes it clear that the new number of shards is
"tentative". And test_rgw_reshard.py is updated to reflect this
altered output.

Additionally this commit adds some modernization and efficiency to the
"reshard list" subcommand.

Signed-off-by: J. Eric Ivancich <ivancich@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>