Commit Graph

808 Commits

Author SHA1 Message Date
wangyunqing
07584628d6 doc/radosgw/sync-modules.rst: fix typos
Signed-off-by: wangyunqing <wangyunqing@inspur.com>
2022-03-30 11:53:57 +08:00
Casey Bodley
8e80343cd5
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>
2022-01-31 13:01:17 -05:00
Kefu Chai
9b5a77eb1a
Merge pull request #44707 from liumiaomiaoIntel/qatdoc
doc/radosgw: update QAT acceleration to specify the configuration

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-01-29 14:13:41 +08:00
Miaomiao Liu
6a7f1f6c37 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>
2022-01-29 12:41:37 +08:00
Zac Dover
e9ab3e2ee0 doc/radosgw: replace double quotes with single
This changes the string
  "tenant$<user>"
to
  'tenant$<user>'
in order to avoid users running into confusing
shell expansion behavior.

Hat tip to IcePic.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-01-22 03:05:01 +10:00
Casey Bodley
81d3517bde
Merge pull request #42891 from ofriedma/wip-ofriedma-rgw-qos-finale
rgw: Add rgw rate limiting per user and per bucket

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-01-11 11:35:05 -05:00
Matt Benjamin
774a247b2b doc: rgw: document S3 bucket replication support
Support was added at Octopus.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-01-10 12:13:35 -05:00
Or Friedmann
fd084fd7fc rgw: Add admin ops API for rate limiting
Add admin ops API for rate limiting and some bug fixes

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
2022-01-10 16:48:56 +00:00
yuval Lifshitz
e35d511cb7 rgw/notifications: add cloudevents support to HTTP endpoint
following the cloudevents HTTP spec:
https://github.com/cloudevents/spec/blob/v1.0.1/http-protocol-binding.md
and more specifically this aws-s3 spec:
https://github.com/cloudevents/spec/blob/main/cloudevents/adapters/aws-s3.md

Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
2022-01-07 09:56:06 +02:00
Or Friedmann
71ffbaee08 rgw: Add rgw rate limiting per user and per bucket
Add rgw rate limiting per user and per bucket

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
2022-01-05 15:22:13 +00: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
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
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
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
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
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
Casey Bodley
d9f4940140 rgw/beast: add max_header_size option with 16k default, up from 4k
in f13c6914eba9ad05c7bcff6eda81bb858f0f2349, 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
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
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
Michael Fritch
a4fa3dd714
doc/radosgw/nfs: add note about NFSv3 deprecation
cephadm and rook based deployments have deprecated
the NFSv3 deprecated in favor of NFSv4

Signed-off-by: Michael Fritch <mfritch@suse.com>
2021-11-03 11:21:37 -06:00
wangyunqing
2d64232884 doc/radosgw/s3-notification-compatibility.rst: fix typos
Signed-off-by: wangyunqing <wangyunqing@inspur.com>
2021-11-02 09:25:00 +08:00
zdover23
6d0e87ccaf
Merge pull request #43684 from ybwang0211/doc-host
doc: The description of "Host" on the page is inconsistent

Signed-off-by: wangyingbin ybwang0211@163.com
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-10-28 00:26:17 +10:00
J. Eric Ivancich
71d68c7d31
Merge pull request #43170 from thotz/removeusercaps-in-modifyuser
rgw: remove dead code for user-caps from RGWOp_User_Modify

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-27 09:31:12 -04:00
J. Eric Ivancich
d72d74a7ed
Merge pull request #42704 from wzbxqt327/patch-1
rgw,doc: fix command problem

Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-27 09:28:47 -04:00
wangyingbin
0cd5f2b292 doc: The description of "Host" on the page is inconsistent
In the "https://docs.ceph.com/en/latest/radosgw/adminops/#radosgw-admin-ops" page, the description of "Host" is not uniform, so I changed it.

Signed-off-by: wangyingbin <ybwang0211@163.com>
2021-10-27 15:44:19 +08:00
Curt Bruns
32dd91fb7a rgw/lua: allow read/write of StorageClass field
Admins may setup different pools for RGW objects and
having the StorageClass field mutable allows the steering
of RGW objects to the proper pools.

Signed-off-by: Curt Bruns <curt.e.bruns@gmail.com>
2021-10-18 18:51:14 -04:00
Anthony D'Atri
0be0772e8a ceph: document rgw_multipart_min_part_size
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2021-10-10 12:37:09 -07:00
Kefu Chai
4ceedec1a4
Merge pull request #43248 from inspur-wyq/wip-doc
doc/rbd/vault.rst: fix typos

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2021-10-08 06:22:54 +08:00
Sébastien Han
d855dbb4d8
Merge pull request #40728 from guits/doc_fix_pattern_rgw_nfs
doc/rgw-nfs: use same pattern for keyring name
2021-09-22 17:08:31 +02:00
wangyunqing
25d3303698 doc/rbd/vault.rst: fix typos
Signed-off-by: wangyunqing <wangyunqing@inspur.com>
2021-09-22 14:47:43 +08:00
Jiffin Tony Thottan
8ff162e7f9 rgw: remove user-caps from RGWOp_User_Modify
The adminOps API for Modify User checks for user-caps value in the
request but does handle that in later code path. Caps have seperate apis
add_cap and remove_cap already present to modify exisitng caps in user.
Hence removing unused cap variables in RGWOp_User_Modify::execute().

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2021-09-15 22:14:14 +05:30
Pritha Srivastava
4c4c7e3f13 rgw/sts: configuration steps to add tags to a user in
Keycloak.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2021-09-01 17:09:54 +05:30
Pritha Srivastava
73032e05e5 rgw/sts: documentation related to tag, list tags
and untag REST APIs for a role.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2021-09-01 17:09:54 +05:30
Pritha Srivastava
4ad626f3af rgw/sts: adding documentation for session tags,
all kinds of tag keys and related examples.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2021-09-01 17:09:54 +05:30
Pritha Srivastava
192d208147 rgw/sts: documentation related to supporting all claims
in the JWT in the condition of the trust policy.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2021-09-01 17:09:54 +05:30
Mumuni Mohammed
b9f462f978 doc: adds a way to allow users set_contents_from_filename for rgw
Signed-off-by: Mumuni Mohammed <mumunim10@gmail.com>
2021-08-30 12:31:56 +00:00
Stephan Müller
0c8cb21d5e
Merge pull request #41380 from Devp00l/wip-rgw-multisite-doc
doc: Improve RGW multisite documentation

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Alex Settle <asettle@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-08-23 15:52:57 +02:00
wzbxqt
7a3198ef60 rgw,doc: fix command problem
Signed-off-by: wangzhong <wangzhong@cmss.chinamobile.com>
2021-08-16 23:49:44 -07:00
Casey Bodley
f74b748a42
Merge pull request #42340 from mkogan1/wip-d3n-docs
doc/radosgw/d3n: add user docs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2021-08-16 16:11:33 -04:00
Mark Kogan
542a304453 doc/radosgw/d3n: add user docs
(high-level feature description, setup instructions, config options)
Fixes: https://tracker.ceph.com/issues/51409

Signed-off-by: Mark Kogan <mkogan@redhat.com>
2021-08-16 18:18:08 +03:00
Stephan Müller
b9c61ecaee doc: Improve RGW multisite documentation
Signed-off-by: Stephan Müller <smueller@suse.com>
2021-08-10 14:59:00 +02:00
Guillaume Abrioux
5d97fd2d8e doc/rgw-nfs: use same pattern for keyring name
Just for keeping consistency everywhere this documentation mentions a
keyring name.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2021-08-05 13:13:19 +02:00
Yuval Lifshitz
e527b8ce55
Merge pull request #42350 from TRYTOBE8TME/wip-rgw-notification
rgw/notifications: Change in multipart upload notification behavior
2021-07-28 10:13:10 +03:00