Commit Graph

135945 Commits

Author SHA1 Message Date
zdover23
f87801e195
Merge pull request #49658 from zdover23/wip-doc-2023-01-15-h2-scroll-margin-top
doc/css: Add scroll-margin-top to h2 html element

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-07 04:02:00 +10:00
zdover23
89768e6738
Merge pull request #49653 from zdover23/wip-doc-2023-01-06-crushtool-options
doc/man: define --num-rep, --min-rep and --max-rep

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2023-01-07 03:57:32 +10:00
Daniel Gryniewicz
8df799f985
Merge pull request #49657 from dang/wip-dang-motr-build
Fix MOTRStore build

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-01-06 11:47:47 -05:00
Zac Dover
af048ca911 doc/css: Add scroll-margin-top to h2 html element
Add "scroll-margin-top: 4em;" to the h2 html element's definition in
custom.css. This moves the text under all h2 html elements out of the
way of the sticky-header-style top bar, which previously obscured the
text.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-07 02:24:39 +10:00
zdover23
c439a11c70
Merge pull request #49643 from zdover23/wip-doc-2023-01-05-add-padding-to-sections
doc/_static: add scroll-margin-top to custom.css

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-07 02:13:26 +10:00
Zac Dover
10fa01d075 doc/man: define --num-rep, --min-rep and --max-rep
Explain the "--num-rep", "--min-rep", and "--max-rep" options, which are
required when running "crushtool" commands with the "--show-mappings"
flag. Originally reported by Brad Fitzpatrick.

https://tracker.ceph.com/issues/58374

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-07 02:12:26 +10:00
Casey Bodley
ec15d4fa67
Merge pull request #49373 from inspur-wyq/wip-doc-rgwtar
src/rgw/rgw_tar.h: fix typos

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2023-01-06 09:42:43 -05:00
Stefan Chivu
69565e9620 rbd: rbd-wnbd live resize support
Implemented live resize support using an image watcher that
reacts to rbd resize events, in order to propagate them to
the WNBD driver and process the resize event.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2023-01-06 16:41:51 +02:00
Ilya Dryomov
04d80ec543
Merge pull request #49631 from petrutlucian94/rbd_py_test2
qa: test_rbd_wnbd.py - disable PS progress bar

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-01-06 15:35:30 +01:00
J. Eric Ivancich
bd6ee7e78d rgw: fix FP error when calculating enteries per bi shard
When calculating how many entries per shard to request during an
ordered bucket listing, we divide by the number of bucket index
shards. If this value is 0, then a floating point exception is
generated, crashing the RGW.

This addresses the proximate issue by detecting the situation and
returning an error rather than crashing.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2023-01-06 09:29:37 -05:00
Xuehan Xu
9c2d11af5a crimson/osd/pg: rebuild missing set when a new interval is created
Fixes: https://tracker.ceph.com/issues/58339
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-01-06 07:42:20 +00:00
Xuehan Xu
bc23cf816f crimson/osd/osd_operations: run peering_state related operations in a seastar::thread
Some peering events handling may involve seastar::future::wait(), so we need to run
the peering state machine in a dedicated seastar::thread

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-01-06 07:42:20 +00:00
liangmingyuan
878082f4bc rgw: remove guard_reshard in bucket_index_read_olh_log
Signed-off-by: Mingyuan Liang <liangmingyuan@baidu.com>
2023-01-06 14:17:58 +08:00
Mike Perez
ab218b085d
Merge pull request #49651 from Thingee/update-foundation-20230105
doc: Updating Foundation members for January 2023
2023-01-05 15:49:38 -08:00
Mike Perez
cdfb034a08 doc: Updating Foundation members for January 2023
Signed-off-by: Mike Perez <thingee@gmail.com>
2023-01-05 15:09:05 -08:00
Samuel Just
1eeac80a77 crimson/osd/main: get full config before starting reactor
Deployment tooling these days relies on fetching configs from the
mons.  We'd like to be able to set seastar reactor params like --smp
via mon config, so we need to start up a reactor and contact the mons
before starting up the reactor for real.

Seastar doesn't seem to like invoking app.run more than once -- a bunch
of thread-locals and statics get left around and result in invalid
memory accesses.  To avoid all of this, we simply fork a child process
to talk to the mons and send the information back over a fifo.

Signed-off-by: Samuel Just <sjust@redhat.com>
2023-01-05 12:42:58 -08:00
Daniel Gryniewicz
58ef415b65 Fix MOTRStore build
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2023-01-05 14:59:12 -05:00
Zac Dover
5738271498 doc/_static: add scroll-margin-top to custom.css
Add 4em of padding to the class "section", so that linked-to
destinations are not obscured by the top bar.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-06 04:19:12 +10:00
Casey Bodley
4358cf2a6a rgw/beast: fix interaction between keepalive and 100-continue
if we reject a request with a "Expect: 100-continue" header before
sending a "100 Continue" response, the keepalive logic should not try to
read/discard request body before parsing the next request headers

Fixes: https://tracker.ceph.com/issues/58286

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-01-05 11:30:06 -05:00
Casey Bodley
99228e1754 rgw/beast: ClientIO remembers whether it sent '100 Continue'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-01-05 11:28:20 -05:00
Casey Bodley
ab4dd1a7e7
Merge pull request #49500 from BryceCao/wip-fix-result-when-users-mfas-is-null
rgw: fix result when users mfas is null

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-01-05 10:39:09 -05:00
zdover23
1650525670
Merge pull request #49637 from zdover23/wip-doc-2023-01-05-top-bar-scroll-margin-top-repair
doc/css: add scroll-margin-top to dt elements

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-06 01:13:53 +10:00
Zac Dover
5de590b9be doc/css: add scroll-margin-top to dt elements
add "scroll-margin-top: em3;" to custom.css so that the header bar
doesn't obscure the text of headwords in glossary.rst. Note that this
applies only to elements in the documentation that are rendered into
HTML with the dt (which stands for "description term" or "description
list") tag. Other modifications will be necessary in order to ensure
that the anchor points of non-dt elements are not obscured by the header
bar.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-05 23:58:27 +10:00
Redouane Kachach
d359d75f86
mgr/mgr_util: fixing some tox issues
Fixes: https://tracker.ceph.com/issues/58378

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-01-05 11:22:13 +01:00
Lucian Petrut
788dd5e7fb qa: test_rbd_wnbd.py - disable PS progress bar
This test uses certain PS commands that attempt to display
a progress bar. However, this can cause issues when invoked
remotely (e.g. by the jenkins job).

For this reason, we're defining a helper (ps_execute) that runs
PS commands, disabling the progress bars and enabling the non
interactive mode.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2023-01-05 11:41:48 +02:00
Daniel Gryniewicz
d7cb2dd2e4
Merge pull request #48730 from dang/wip-dang-zipper-chown
Fix chown to unlink

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-01-04 13:34:47 -05:00
Guillaume Abrioux
f932e33ea4 ceph-volume/tests: add allowlist_externals to tox.ini
typical failure seen in the CI:

```
py3-flake8: install_deps> ./tox_install_command.sh flake8
py3-flake8: failed with ./tox_install_command.sh (resolves to ./tox_install_command.sh) is not allowed, use allowlist_externals to allow it
```

Fixes: https://tracker.ceph.com/issues/58377

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2023-01-04 14:18:59 +01:00
Ilya Dryomov
4d8388a3d8
Merge pull request #49618 from petrutlucian94/rbd_py_test2
qa: retry test_rbd_wnbd.py fs operations

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-01-04 13:45:54 +01:00
Lucian Petrut
65544da400 qa: retry test_rbd_wnbd.py fs operations
Certain FS related operations can fail, especially under load
(e.g. initializing partitions, volume formatting, etc).

For this reason, we're going to introduce some retries.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2023-01-04 07:08:39 +02:00
zdover23
7d4812b52e
Merge pull request #49620 from bradfitz/bradfitz/doc
doc: fix a couple grammatical things

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2023-01-04 02:45:15 +10:00
Brad Fitzpatrick
b9b6011c11 doc: fix a couple grammatical things
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2023-01-03 08:37:02 -08:00
Casey Bodley
83f1afb7e1 radosgw-admin: stop trying to 'resolve' zone arguments
this was causing a 'zonegroup delete' command to delete the wrong
zonegroup:

$ radosgw-admin zonegroup delete --rgw-zonegroup rm_zonegroup

WARNING: zonegroup name (--rgw-zonegroup) resolve mismatch. (param=remove_zg, resolved=a)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-01-03 11:01:18 -05:00
Casey Bodley
b10354d8a2 rgw: add_zone_to_group() sets first zone as master
this logic from RGWZoneGroup::post_process_params() was missing

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-01-03 11:01:18 -05:00
Casey Bodley
29e1539ad3 rgw: preserve RGWZoneGroup::master_zone on last zone deletion
the logic to clear master_zone was added recently in
https://github.com/ceph/ceph/pull/47679, but broke the multisite test
case test_zg_master_zone_delete:

  $ radosgw-admin period update --commit
  ERROR: zonegroup remove_zg should have a master zone

Fixes: https://tracker.ceph.com/issues/58127

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-01-03 11:01:18 -05:00
Matan Breizman
8d706f1c9a crimson/osd/pg_backend: missing modified_ranges implementataion tracker
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-01-03 13:47:04 +00:00
Matan Breizman
314ffcb338 qa/suites/crimson-rados: rados_python - enable rollback test
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-01-03 13:47:04 +00:00
Matan Breizman
17a46d5576 test/pybind/test_rados.py: add another rollback test
Added another rollback test case:
Do not remove the original object to be rollbacked to.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-01-03 13:47:04 +00:00
Matan Breizman
66e9cc4eb5 crimson/osd: support snapshot rollbacks
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-01-03 13:47:04 +00:00
Mark Kogan
69cf179746 rgw: under fips & openssl 3.x allow md5 iusage in select rgw ops
openssl 3.x (ex:RHEL9) requires a different override mechanism for MD5 usage under FIPS
for non-cryptographic putposes than openssl 1.x (RHEL8)

fixes: https://tracker.ceph.com/issues/58332

Signed-off-by: Mark Kogan <mkogan@redhat.com>
2023-01-03 12:24:57 +02:00
Anthony D'Atri
ae8065f1d4
Merge pull request #49613 from zdover23/wip-doc-2023-01-02-start-documenting-ceph-49609-followup
doc/start: add Anthony D'Atri's suggestions
2023-01-02 10:15:35 -05:00
Zac Dover
6141c5f061 doc/start: add Anthony D'Atri's suggestions
Add the suggestions made by Anthony D'Atri in
https://github.com/ceph/ceph/pull/49609.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-02 23:00:55 +10:00
colemitchell
69bfe3bebe
Merge pull request #49609 from zdover23/wip-doc-2023-01-02-start-documenting-ceph-cleanup
doc/start: refine "Quirks of RST"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-02 00:25:05 -05:00
Zac Dover
cdc7b60354 doc/start: refine "Quirks of RST"
Refine the language that was added yesterday, language that explains how
certain aspects of RST work.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-02 14:23:22 +10:00
zdover23
a05e06de5d
Merge pull request #49606 from zdover23/wip-doc-2023-01-01-start-documenting-ceph-quirks-of-rst
doc/start: add link-related metadocumentation

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-01-01 22:32:27 +10:00
Zac Dover
7517404f72 doc/start: add link-related metadocumentation
Add two kinds of link-related metadocumentation (documentation about how
to write documentation) to the "Documenting Ceph" section of the "Intro
to Ceph" document: 1. metadocumentation about external links, and 2.
metadocumentation about internal links.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2023-01-01 22:06:54 +10:00
colemitchell
74fb7b95f6
Merge pull request #49602 from zdover23/wip-doc-2022-12-31-glossary-DAS-capitalization
doc/glossary: capitalize "DAS" correctly

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-30 23:51:57 -05:00
Zac Dover
7c70a66414 doc/glossary: capitalize "DAS" correctly
Correctly capitalize "Direct-Attached Storage" in the glossary. (And
test the "Quincy" branch, which seems lately not to have picked up any
docs backports.)

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-31 14:22:26 +10:00
colemitchell
34d23c64ab
Merge pull request #49599 from zdover23/wip-doc-2022-12-30-glossary-releases
doc/glossary: collate "releases" entries

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-29 20:56:26 -05:00
Zac Dover
39377f7db1 doc/glossary: collate "releases" entries
Collect the "Releases"-related entries together under the "Releases"
headword, in order to give readers a sense at a glance of how the
different kinds of releases relate to one another.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-30 11:32:31 +10:00
zdover23
4517367eca
Merge pull request #49488 from zdover23/wip-doc-2022-12-18-rbd-rbd-exclusive-locks-refine
doc/rbd: refine rbd-exclusive-locks.rst

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2022-12-30 01:27:49 +10:00