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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>