Commit Graph

8851 Commits

Author SHA1 Message Date
Alfonso Martínez
dae1b27022
Merge pull request #43580 from rhcs-dashboard/cephadm_box-docs
cephadm/box: DiD box documentation

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: sebastian-philipp <sewagner@redhat.com>
2022-01-04 17:24:44 +01:00
Sebastian Schmid
4842140311 docs/start: fixes typo and empty headline in hardware recommendation docs
Signed-off-by: Sebastian Schmid <mail@sebastian-schmid.de>
2022-01-04 17:15:51 +01:00
Matt Benjamin
7b74603513 rgwlc: harmonize lifecycle notifications with the others
After working with notification configurations, it seemed to make
more sense to organize the different lifecycle notification sub-types
along the same lines as the official AWS ones.  So, there are now
ObjectExpirationCurrent and ObjectExpirationNoncurrent types, and
an ObjectExpiration wildcard.  Similarly, ObjectTransition
contains Current and Noncurrent sub-types.

Note that I have defined an ObjectExpirationAbortMPU notification
sub-type, but do not currently generate it--this is to avoid changing
the rgw::sal interface, but most likely we would support this in
future.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-01-04 09:26:16 -05:00
Venky Shankar
a612b3cb85
Merge pull request #43618 from kotreshhr/recover-symlink
mds: Store symlink target in first data object

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-01-04 14:39:22 +05:30
Sage Weil
7ae62167e3 doc/rados/operations: document pg_num_max
Signed-off-by: Sage Weil <sage@newdream.net>
2022-01-03 14:12:54 -05:00
Yin Congmin
1b4f4841bb doc/rbd: change persistent write-back cache to persistent write log cache
The full name of PWL is persistent write log, and the full name of
RWL is replica write log. Change the title to make it consistent
with the name of the feature and better reflect its design.

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2021-12-31 16:04:19 +08:00
Mara Sophie Grosch
5d872f3a28 doc: add docs for rbd_default_order
Adds documentation how to change default rbd object size. With the
previous option `--order` it was easy to guess the config name for the
default value, with the current option name `--object-size` thats hard
to guess.

Also extends the documentation for rbd_default_order to include
* how object-size is derived from the configured value
* allowed range of the value

In the first version of this commit I also added min and max for this
parameter (12/25, matching the object size range in `man 8
rbd`/Striping/object-size), but this made some tests fail, since some
seem to set values outside this range (and probably are fine since
included for some time already). To have this a doc-change only, I
removed the range.

Signed-off-by: Mara Sophie Grosch <littlefox@lf-net.org>
2021-12-27 19:58:56 +01:00
Kefu Chai
3b250938bc doc: remove references to SEASTAR_DEFAULT_ALLOCATOR
now that 067681b701
has been merged upstream, and our src/seastar submodule includes
this commit. there is no need to worry that the seastar's lockless
allocator does not work with seastar::alien anymore.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2021-12-26 13:13:56 +08:00
wangyunqing
f838e2e207 doc/mgr/zabbix.rst: fix typos
Signed-off-by: wangyunqing <wangyunqing@inspur.com>
2021-12-24 17:10:11 +08:00
Anthony D'Atri
ff96092cf0 doc/install: Update quay.io URL for ceph-ci builds
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2021-12-23 15:04:52 -08:00
Kamoltat
9baed0394e docs: Added noautoscale to docs + release notes
Updated the docs in
https://docs.ceph.com/en/latest/rados/operations/placement-groups/
and updated the release notes to reflect noautoscale flag.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2021-12-22 21:42:52 +00:00
Kamoltat
abaab51dd8 Added ReleasesNotes and documentation
Add Release Notes and remove any `profile`
related stuff in the autoscaler documentation
and replace it with `bulk` flag.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2021-12-21 07:56:37 +00:00
Kamoltat
5f0f967c93 mon: osd pool create <pool-name> with --bulk flag
Creating the pool with `--bulk` will allow
the pg_autoscaler to use the `scale-down`
mode on.

Creating pool:

`ceph osd pool create <pool-name> --bulk`

Get var:

`ceph osd pool get <pool-name> bulk`

Set var:

`ceph osd pool set <pool-name> bulk=true/false/1/0`

Removed `autoscale_profile` and incorporate bulk flag
into calculating `final_pg_target` for each pool.

bin/ceph osd pool autoscale-status no longer has
`PROFILE` column but has `BULK` instead.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2021-12-20 21:46:37 +00:00
Patrick Donnelly
61de84a522
Merge PR #44315 into master
* refs/pull/44315/head:
	doc/cephfs: mds default cache memory limit is now 4GB

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2021-12-20 14:41:43 -05:00
galsalomon66
abccc5d77b fix comments; enum-class; typo; documentation
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2021-12-18 13:51:55 +02:00
galsalomon66
b13b902aa7 typo
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2021-12-18 13:51:55 +02:00
galsalomon66
784c70c496 modification for error-handling and boto3
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2021-12-18 13:51:55 +02:00
galsalomon66
72e82d45ac adding/modifying documentation for output-serialization, s3select-response, syntax support, error-handling
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2021-12-18 13:51:55 +02:00
Adam King
edd9bf38c3 mgr/orchestrator: add filtering and count option for orch host ls
Filter orch host ls output for only hosts whose name
contains a certain substring or who have a certain label

Add a count flag that causes the command to return the number
of hosts found (either overall or matching the substring and/or
label) instead of a list of all the matching hosts

Fixes: https://tracker.ceph.com/issues/47774
Fixes: https://tracker.ceph.com/issues/53452

Signed-off-by: Adam King <adking@redhat.com>
2021-12-17 09:51:56 -05:00
Neha Ojha
fc8797cd4f
Merge pull request #44280 from chrisphoffman/warn_pg
mon: Omit MANY_OBJECTS_PER_PG warning when autoscaler is on

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-12-16 08:33:13 -08:00
Sebastian Wagner
2459728b0c
Merge pull request #43901 from pcuzner/snmp-notifier
mgr/cephadm: Add snmp-gateway service support

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-16 16:53:55 +01:00
Jeff Layton
417cf43805 cephfs-shell: add a --fs argument to allow mounting named filesystems
Add a new --fs argument to cephfs-shell, so we can use it to mount named
filesystems. Add a blurb to the manpage for it, and alphebetize the
command-line flags.

Fixes: https://tracker.ceph.com/issues/50235
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2021-12-16 06:11:11 -05:00
Sebastian Wagner
e911f41672
Merge pull request #43889 from Daniel-Pivonka/cephadm-reg-cred
mgr/cephadm: store contianer registry credentials in config-key

Reviewed-by: Sage Weil <sage@newdream.net>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-16 11:08:04 +01:00
David Galloway
f4f1860304
Merge pull request #44131 from ceph/wip-yuriw-release-16.2.7-master
doc: 16.2.7 Release Notes
2021-12-15 11:23:16 -05:00
Sebastian Wagner
2c45dc77e5
Merge pull request #44249 from DimitriPapadopoulos/codespell
doc,man: Typos found by codespell

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-15 13:26:12 +01:00
Sebastian Wagner
0e10d705b4
Merge pull request #44309 from foadlind/fix_cephadm_doc
doc/cephadm/upgrade: correct example command

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-15 13:22:18 +01:00
Dimitri Papadopoulos
7677651618
doc,man: typos found by codespell
Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
2021-12-15 12:04:36 +01:00
wangxinyu
8dcbb2e500 doc/cephfs: mds default cache memory limit is now 4GB
MDS default cache memory limit is now 4GB.

Signed-off-by: wangxinyu <wangxinyu@inspur.com>
2021-12-15 14:18:41 +08:00
Paul Cuzner
91f35e1f53 mgr/cephadm: Updated docs for snmp-gateway support
Updated docs to show snmp-gateway usage. docs provide
guidance on SNMP versions supported and show CLI and
yaml deployment examples.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2021-12-15 14:25:34 +13:00
David Galloway
afcd75b25e doc/releases/pacific.rst: Instructions for notable change
Signed-off-by: David Galloway <dgallowa@redhat.com>
2021-12-14 15:22:01 -05:00
Casey Bodley
8ef7837979
Merge pull request #44029 from cbodley/wip-rgw-beast-header-limit
rgw/beast: add max_header_size option with 16k default, up from 4k

Reviewed-by: Mark Kogan <mkogan@redhat.com>
2021-12-14 08:21:05 -05:00
Foad Lind
5077eef378 doc/cephadm/upgrade: correct example command
Update the ceph version used in the example upgrade command to match the one mentioned in the text above it.

Signed-off-by: Foad Lind <foad.lind@citynetwork.eu>
2021-12-14 14:01:58 +01:00
Neha Ojha
3ff9478953 doc/releases/pacific.rst: add core updates for 16.2.7
16.2.7 fixes https://tracker.ceph.com/issues/53062, so remove the
"big scary warning" from the top of the pacific release page. We continue
to warn about this bug under the 16.2.6 section and in
https://docs.ceph.com/en/latest/releases/pacific/#upgrading-from-octopus-or-nautilus.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-13 17:45:58 -05:00
Neha Ojha
ad52d9392e doc/releases/index.rst: change ref to 16.2.7
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-12-13 17:45:58 -05:00
Yuri Weinstein
5831d3c874 doc: 16.2.7 change log => 3 PRs added
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-12-13 17:45:58 -05:00
Ernesto Puerta
4c33cb0d6a doc: 16.2.7 Release Notes (dashboard)
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2021-12-13 17:45:58 -05:00
Yuri Weinstein
9644d8ebea doc: 16.2.7 Release Notes
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2021-12-13 17:45:58 -05:00
Christopher Hoffman
6c51b1fc9b doc/rados/operations: Updated rados docs to include
changes to health-checks in MANY_OBJECTS_PER_PG
warning when autoscale is on.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
2021-12-13 22:02:10 +00:00
Yuri Weinstein
b2e20eb068
Merge pull request #44025 from ljflores/wip-remove-aggregated-perf-data
mgr/telemetry: remove aggregated perf metrics from the perf channel

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2021-12-10 15:35:09 -08:00
Matt Benjamin
bdda0d2ba1 rgw: introduce new /{admin}/info api resource
The new resource returns an array of informational data, which
currently consists of the RADOS cluster fsid as "cluster_fsid."

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2021-12-09 10:47:43 -05:00
zdover23
78f5e7ece0
Merge pull request #44213 from zdover23/wip-doc-2021-12-05-hardware-recommendations-removing-journal
doc/start: remove journal info from hardware recs

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
2021-12-09 05:14:37 +10:00
Zac Dover
276bbd8f2b doc/start: remove journal info from hardware recs
This PR removes mentions of journaling from the hardware
recommendations.

Journaling was a FileStore-related practice. BlueStore is
the default backend for Ceph OSDs and has been since
Luminous. The documentation should reflect that.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-12-09 01:20:57 +10:00
Neha Ojha
3304a82bfd
Merge pull request #44095 from Matan-B/wip-matanb-local-workunits
doc/dev: Running workunits locally

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-12-07 13:34:15 -08:00
Yuval Lifshitz
a2d9f222bb
Merge pull request #43665 from zenomri/wip-omri-multipart-trace
rgw/tracer: Multipart upload trace
2021-12-07 21:19:27 +02:00
Alfonso Martínez
6628f444b3
Merge pull request #44145 from rhcs-dashboard/fix-frontend-vulnerabilities
mgr/dashboard: fix frontend deps' vulnerabilities

Reviewed-by: Waad Alkhoury <walkhour@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-12-07 15:02:42 +01:00
Kotresh HR
9b1a7dc84f mds: Store symlink target on the first data object
Problem:
The MDS only stores the symlink inode's backtrace
information in the data pool. During disaster
recovery of the metadata pool by scanning data
pool, the symlinks are recreated as regular files.

Solution:
This patch stores the symlink target on the first
data object as an xattr for recovery.

MDS option:
The mds option 'mds_symlink_recovery' is introduced
which is enabled by default. Enabling the option
stores the symlink target.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
Fixes: https://tracker.ceph.com/issues/46166
2021-12-07 15:39:52 +05:30
zdover23
9e8bc32cdd
Merge pull request #44189 from zdover23/wip-doc-2021-12-02-documenting-ceph
doc/start: update documenting-ceph.rst (1 of x)

Reviewed-by: Laura Flores <lflores@redhat.com>
2021-12-04 15:53:42 +10:00
Matt Benjamin
8a966d5d6d
Merge pull request #44139 from linuxbox2/wip-rgw-lcselect
rgwlc: permit lifecycle processing for a single bucket
2021-12-03 12:22:20 -05:00
Zac Dover
63e5d0f545 doc/start: update documenting-ceph.rst (1 of x)
This PR updates the content on documenting-ceph,
which is, as of December 2021, in need of an
update.

This is the first of what I estimate to be three
to five PRs against this .rst file.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-12-04 02:20:03 +10:00
Laura Flores
b57d61c1cb mgr/telemetry: remove aggregated perf metrics from the perf channel
Up until this point, we included aggregated and separated data for
testing purposes. Now that we've done our testing, the aggregated
metrics are no longer relevant.

Aggregated metrics can still be achieved on the server side by
summing separated metrics.

Signed-off-by: Laura Flores <lflores@redhat.com>
2021-12-02 18:43:33 +00:00
Alfonso Martínez
f08c0db689 mgr/dashboard: fix frontend deps' vulnerabilities
- Remove npm-force-resolutions: no resolution needed anymore and this is modifying package-lock.json every time it is run (striping last empty line).
- Add .npmrc: save exact version by default; do not launch audit report when installing.

Fixes: https://tracker.ceph.com/issues/48005
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2021-12-02 15:05:23 +01:00
Dan van der Ster
27fa51234a doc: add disk benchmarking and cache recommendations
Advise operators on how to benchmark devices for BlueStore, and how to
tune the volatile write cache for optimal OSD performance.

Fixes: https://tracker.ceph.com/issues/53161
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2021-12-02 10:44:26 +01:00
Pere Diaz Bou
36f0246f32 doc/cephadm: add DiD box documentation
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-12-02 09:50:04 +01:00
Matt Benjamin
af11694ad1 rgwlc: optimize single-bucket lifecycle processing
Looks up the shard index of the corresponding bucket, and only
buckets in the corresponding shard are considered for processing.
This has a side effect of matching buckets by id, and also adds
support for --tenant.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2021-12-01 14:25:20 -05:00
Daniel Pivonka
2c29286b37 mgr/cephadm: store contianer registry credentials in config-key
Signed-off-by: Daniel Pivonka <dpivonka@redhat.com>
2021-12-01 12:30:00 -05:00
Sebastian Wagner
3b565a5cbd
Merge pull request #44109 from sebastian-philipp/doc-crush-types
doc/cephadm: host location: add link to types

Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-12-01 17:57:28 +01:00
Matan Breizman
7324abbe01 doc/dev: Running workunits locally
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2021-12-01 12:54:25 +00:00
Sebastian Wagner
aecd0fb9b9
Merge pull request #44143 from devlikai/master
doc/mgr/diskprediction: fix a typo.

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 10:24:00 +01:00
Venky Shankar
675e4219a5
Merge pull request #44116 from lxbsz/caps_doc1
doc: fix the style of the cephfs capability doc

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 14:31:18 +05:30
Sebastian Wagner
d0c17ee1c4
Merge pull request #44129 from spdfnet/patch-1
doc: fix typo in cephadm host management

Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-12-01 09:48:42 +01:00
Venky Shankar
3b213be189
Merge pull request #41334 from vshankar/wip-kcephfs-new-mount-syntax
mount: introduce new device mount syntax

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-12-01 09:33:29 +05:30
Yehuda Sadeh
193895ffba
Merge pull request #42710 from yehudasa/wip-rgw-mgr-module
mgr/rgw: new rgw manager module

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-30 14:32:39 -08:00
Yehuda Sadeh
50ab91473e doc/rgw: fix docs build
Workaround rgw modules conflict, as there are two separate modules named
rgw: src/pybind/rgw, src/pybind/mgr/rgw

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2021-11-30 10:57:14 -08:00
Omri Zeneva
0a85634b10 doc: update jaegertracing user doc
Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
2021-11-30 11:05:50 +02:00
Kyle
dfba515c86
doc/mgr/diskprediction: fix a typo.
doc: remove extra comma.

This commit remove extra comma of "To disable prediction,:".

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

Signed-off-by: devlikai <likai_lc@inspur.com>
2021-11-30 15:27:26 +08:00
Yuval Lifshitz
174ad996c1
Merge pull request #43529 from curtbruns/rgw-lua-storageclass
rgw/lua: allow read/write of StorageClass field
2021-11-30 08:57:23 +02:00
Venky Shankar
52ad9fbcfe doc, man: document new device syntax for kclient mount
Fxies: http://tracker.ceph.com/issues/47277
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2021-11-30 01:13:34 -05:00
Matt Benjamin
9ddc223e63 rgwlc: permit lifecycle processing for a single bucket
Permit a --bucket option to be passed to radosgw-admin lc process,
and propagate the bucket name to lifecycle processing, and process
only the named bucket if one is provided.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2021-11-29 22:00:07 -05:00
Josh Durgin
7dee504a41
Merge pull request #43760 from yaarith/release-checklists
doc/dev/release-checklist: add manual review of telemetry reports

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-11-29 18:18:43 -08:00
Brian_P
22ca9ce373
doc: fix typo in cephadm host management 2021-11-29 14:13:17 +00:00
Xiubo Li
cfe8f05035 doc: fix the style of the cephfs capability doc
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-11-29 08:33:38 +08:00
Sebastian Wagner
fdae665a2f
mgr/cephadm: Add GrafanaSpec.initial_admin_password
By default, we're not creating any admin accout for Grafana now,
but we're adding an option to set the grafana password manually using:

```yaml
service_type: grafana
spec:
  initial_admin_password: mypassword
```

Users can then easily log into Grafana with the given password.

Fixes: https://tracker.ceph.com/issues/48291
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-26 11:20:11 +01:00
Sebastian Wagner
d93e8beab3
Merge pull request #43943 from sebastian-philipp/osd-memeory-hyperconverged
doc/cephadm: OSD memory autotuning for hyperconverged

Reviewed-by: Adam King <adking@redhat.com>
2021-11-25 17:27:26 +01:00
Sebastian Wagner
ee7ed53df8
doc/cephadm: host location: add link to types
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-25 15:52:20 +01:00
Yehuda Sadeh
af402c41e3 docs: document mgr/rgw module
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2021-11-24 12:54:30 -08:00
Melissa
e6e0344981
doc/cephadm: deployment scenarios single host and isolated environment
This PR adds a deployment scenarios section to the cephadm docs to document the single-host-defaults flag, and explain how to deploy in an isolated environment.

Signed-off-by: Melissa Li <melissali@redhat.com>
2021-11-24 15:02:37 +01:00
Melissa
a311e837d6
doc/cephadm: isolated environment and other deployment scenarios
This PR adds a section to the cephadm docs to describe how to install cephadm in different deployment scenarios (set cluster on single host, and deployment in an isolated environment or private network). 

Signed-off-by: Melissa Li <melissali@redhat.com>
2021-11-24 15:02:34 +01:00
Neha Ojha
1ad59c2c67
Merge pull request #44061 from Matan-B/wip-matanb-doc-teuthology
doc/dev: adding Teuthology suggested resources

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-11-23 12:07:41 -08:00
Venky Shankar
c152264b31
Merge pull request #43722 from lxbsz/caps_doc
doc: update the capabilities doc for cephfs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-11-23 18:17:22 +05:30
Matan Breizman
19f6263789 doc/dev: adding Teuthology suggested resources
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2021-11-23 11:06:57 +00:00
Neha Ojha
0f9ed11e67
Merge pull request #43999 from kamoltat/wip-autoscale-profile-scale-up-default
pybind/mgr/pg_autoscale: revert to default profile scale-up

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-11-19 16:55:43 -08:00
Casey Bodley
d9f4940140 rgw/beast: add max_header_size option with 16k default, up from 4k
in f13c6914eb, we switched to a static 64k
parse buffer. this gives us a lot of room to raise the header_limit
above 4k

adds a "max_header_size" frontend option with default 16k and maximum
value equal to the 64k parse buffer size

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-11-19 14:55:25 -05:00
Deepika Upadhyay
742e6cbd5f
Merge pull request #43764 from gregsfortytwo/wip-rbd-crash-consistency
doc: fix up rbd snapshot docs around crash consistency

Reviewed-by: Mykola Golub <mykola.golub@clyso.com>
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
2021-11-20 00:29:16 +05:30
Kamoltat
a9f9f7b3fd pybind/mgr/pg_autoscale: revert to default profile scale-up
pg_autoscale module will now start out all the pools
with a scale-up profile by default.

Added tests in workunits/mon/pg_autoscaler.sh
to evaluate if the default pool creation is
a scale-up profile

Updated documentation and release notes to
reflect the change in the default behavior
of the pg_autoscale profile.

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

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2021-11-19 18:55:36 +00:00
Venky Shankar
93054a3fa9
Merge pull request #43886 from nmshelke/doc-fix-53054
doc: prerequisites fix for cephFS mount

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2021-11-19 10:10:59 +05:30
Neha Ojha
e76a9f4045
Merge pull request #43326 from pdvian/wip-doc-config-correction
doc/dev/config: Replace invalid config debug-pg

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-11-18 17:03:11 -08:00
Casey Bodley
483b1b7487
Merge pull request #35100 from soumyakoduri/cloudtiering
rgw/CloudTransition: Transition objects to cloud endpoint

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-11-18 09:27:46 -05:00
Sebastian Wagner
fa37ef0f32
Merge pull request #43969 from sebastian-philipp/core
doc/cephadm: core dumps

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-11-18 10:52:36 +01:00
Soumya Koduri
aa362e8899 rgw/CloudTransition: Include aws region name for remote endpoint
With commit#81ad226, aws auth v4 rquires region name for remote
endpoint connection. Include the same in the tier parameters.

& misc fixes

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2021-11-18 12:52:48 +05:30
Soumya Koduri
cf24116690 rgw/CloudTransition: Handle versioned objects
For versioned and locked objects, similar semantics as that of LifecycleExpiration are applied as stated below -

If the bucket versioning is enabled and the object transitioned to cloud is
 - current version, irrespective of what the config option "retain_object" value is, the object is not deleted but instead delete marker is created on the source rgw server.
 - noncurrent version, it is deleted or retained based on the config option "retain_object" value.

If the object is locked, and is
 - current version, it is transitioned to cloud post which it is made noncurrent with delete marker created.
 - noncurrent version, transition is skipped.

Also misc rebase fixes and cleanup -

* Rename config option to "retain_head_object"

to reflect its functionality to keep head object post transitioning
to cloud if enabled

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2021-11-18 12:52:48 +05:30
Soumya Koduri
9a2c48a520 rgw/CloudTransition: Change tier-type to cloud-s3
Currently the transition is supported to cloud providers
that are compatible with AWS/S3. Hence change the tier-type to
cloud-s3 to configure the S3 style endpoint details.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2021-11-18 12:52:48 +05:30
Soumya Koduri
728f13d8c6 rgw/CloudTransition: handle versioned objects
If the object is versioned, to avoid objects getting overwritten
post transition to cloud, append object versionID to the target
object name

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2021-11-18 12:52:48 +05:30
Soumya Koduri
076a7e7fee rgw/CloudTransition: Add documentation
Also to avoid object name collisions across various buckets
post cloud transition, add bucket name to the object prefix.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2021-11-18 12:52:48 +05:30
Sebastian Wagner
223af588a9
doc/cephadm: core dumps
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-17 16:46:09 +01:00
Sebastian Wagner
6e528ed7c5
Merge pull request #43095 from sebastian-philipp/_check_for_moved_osds
mgr/cephadm: Add _check_for_moved_osds

Reviewed-by: Adam King <adking@redhat.com>
2021-11-17 15:09:06 +01:00
Xiubo Li
e966aaf6fb doc: update the capabilities doc for cephfs
Add more detail about the caps and explain more for the caps in
filelock.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
2021-11-17 21:13:00 +08:00
Sebastian Wagner
4035ba419d
Merge pull request #42906 from sebastian-philipp/rm-ceph-orch-osd-i
mgr/orch: deprecated `ceph orch apply osd -i <osd_spec_file>`

Reviewed-by: Adam King <adking@redhat.com>
2021-11-17 11:18:51 +01:00
Nikhilkumar Shelke
e369dc1128 doc: prerequisites fix for cephFS mount
Fixes: https://tracker.ceph.com/issues/53054

Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
2021-11-17 00:32:55 +05:30
Casey Bodley
874b2b304a
Merge pull request #42880 from Kalkulus1/patch-1
doc: adds a way to allow users set_contents_from_filename for rgw

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-11-16 11:01:00 -05:00
Sebastian Wagner
08fdb42082
doc/cephadm: OSD memory autotuning for hyperconverged
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
2021-11-16 12:52:20 +01:00