Commit Graph

871 Commits

Author SHA1 Message Date
Matt Benjamin
482fd72029 rgw/main: various doc and comment corrections by doc writers
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:11:42 -04:00
Matt Benjamin
67d30e5556 librgw: add ability to conditionally export HTTP frontends/apis
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2022-09-09 11:11:09 -04:00
Yuval Lifshitz
10fd49e073
Merge pull request #47864 from yuvalif/wip-yuval-fix-53186
rgw/notifications: add region to bucket ARN

reviewed-by: mattbenjamin, nthonyeleven
2022-09-07 21:09:16 +03:00
Casey Bodley
b45daa62e8
Merge pull request #47719 from yuvalif/wip-yuval-lua-filter2
rgw/lua: allow read access to object data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-09-01 11:31:31 -04:00
Yuval Lifshitz
0ecf8bc3a7 rgw/notifications: add region to bucket ARN
Fixes: https://tracker.ceph.com/issues/53186

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-08-30 11:00:48 +03:00
Yuval Lifshitz
e1051899e4 rgw/lua: allow read access to object data
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-08-21 20:51:52 +03:00
Mary Frances
77770920f7 doc: Fixes a punctuation and grammar issue 2022-08-21 06:29:41 -07:00
Mary Frances
491391f06c doc: Fixes a punctuation and grammar issue
Signed-off-by: Mary Frances Hull mhull@redhat.com
2022-08-20 09:46:24 -07:00
Casey Bodley
ec3b0025ce Revert "rgw/lua: allow read access to object data"
This reverts commit f4501f6970.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-08-15 14:51:55 -04:00
Yuval Lifshitz
ad51b94ab4
Merge pull request #46550 from yuvalif/wip-yuval-lua-filter
rgw/lua: allow access to object data

reviwed-by: cbodley, anthonyeleven
2022-08-15 19:57:09 +03:00
Matt Benjamin
0c3f63f943
Merge pull request #46378 from pritha-srivastava/wip-rgw-sts-modify-session-duration
rgw/sts: modify max_session_duration using update role REST API/ radosgw-admin command.
2022-08-10 14:59:25 -04:00
Kefu Chai
3f1ddecc63
Merge pull request #44772 from ybwang0211/Bucket-Operations-doc
doc: Make the SYNTAX code writing of some interfaces of the api document consistent with others

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-08-06 11:57:49 +08:00
Yuval Lifshitz
f4501f6970 rgw/lua: allow read access to object data
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-08-04 19:22:13 +03:00
Anthony D'Atri
73f0d5707d doc/radosgw: Uppercase s3
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-07-29 00:11:22 -07:00
zdover23
89409d6fb8
Merge pull request #46024 from sirtoobii/patch-2
doc/radosgw/STS: sts_key and user capabilities

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2022-07-28 14:38:28 +10:00
Casey Bodley
7f2dcd91fd
Merge pull request #46973 from cbodley/wip-56131
doc/rgw: update multisite doc

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-07-06 08:38:14 -04:00
Yuval Lifshitz
74f6ce75de
Merge pull request #46978 from yuvalif/wip-yuval-lua-bucket-name
rgw/lua: allow bucket name override in pre request

Reviewed-by: anthonyeleven, cbodley
2022-07-06 08:32:30 +03:00
Anthony D'Atri
98fa07829d
Merge branch 'main' into front_confg 2022-07-05 18:27:00 -07:00
Yuval Lifshitz
89ef51a81b rgw/lua: allow bucket name override in pre request
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-07-05 21:12:57 +03:00
Casey Bodley
e5d71a7b34 doc/rgw/multisite: update pool names
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-07-05 13:00:04 -04:00
Casey Bodley
71a2d7b84a doc/rgw/multisite: 'zone rm' -> 'zone delete'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-07-05 13:00:00 -04:00
Casey Bodley
09034ff09a doc/rgw/multisite: remove redundant --endpoints from zone create
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-07-05 12:59:53 -04:00
Anthony D'Atri
cf1415a2b2
Merge pull request #46919 from jsoref/spelling-docs
doc: Fix many spelling errors
2022-07-03 19:54:55 -07:00
Josh Soref
8abce157f1 doc: Fix many spelling errors
* administrators
* allocated
* allowed
* approximate
* authenticate
* availability
* average
* behavior
* binaries
* bootstrap
* bootstrapping
* capacity
* cephadm
* clients
* combining
* command
* committed
* comparison
* compiled
* consequences
* continues
* convenience
* cookie
* crypto
* dashboard
* deduplication
* defaults
* delivered
* deployment
* describe
* directory
* documentation
* dynamic
* elimination
* entries
* expectancy
* explicit
* explicitly
* exporter
* github
* hard
* healthcheck
* heartbeat
* heavily
* http
* indices
* infrastructure
* inherit
* layout
* lexically
* likelihood
* logarithmic
* manually
* metadata
* minimization
* minimize
* object
* of
* operation
* opportunities
* overwrite
* prioritized
* recipe
* records
* requirements
* restructured
* running
* scalability
* second
* select
* significant
* specify
* subscription
* supported
* synonym
* throttle
* unpinning
* upgraded
* value
* version
* which
* with

Plus some line wrapping and additional edits...

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-07-02 23:38:18 -04:00
Anthony D'Atri
f6af9a616b
Merge pull request #42095 from thotz/rgwvaultdocupdate
doc/radosgw/vault: update the vault documentation
2022-07-02 20:04:12 -07:00
Anthony D'Atri
15ec9da7d8 doc/radosgw: Resolving conflicts with #43128
Signed-off-by: Anthony D'Atri <anthony,.datri@gmail.com>
2022-07-01 23:01:20 -07:00
Anthony D'Atri
a04f271f12
Merge branch 'main' into updategocephadminops 2022-07-01 13:26:08 -07:00
Anthony D'Atri
8e499ab2f9
Merge pull request #43128 from lbausch/adminops_php_binding_libraries
doc/radosgw/adminops: add PHP binding libraries
2022-07-01 13:24:24 -07:00
Pritha Srivastava
57a4f6b43f rgw/sts: adding code for UpdateRole REST API and
radosgw-admin command that allows modification
of max_session_duration of a role.

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

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-15 14:55:56 +05:30
Pritha Srivastava
875da7f904 rgw/sts: code changes to replace modify role with
modify role trust policy, to better reflect
what the command does.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-15 12:03:35 +05:30
Yuval Lifshitz
e2aa88eddb
Merge pull request #46313 from zenomri/wip-omri-tracing-lua
rgw: add SetAttribute and AddEvent functions for TraceMetaTable in Lua

Reviewed-by: yuvalif
2022-06-14 12:22:21 +03:00
Omri Zeneva
6e43859106 doc: add explanation about the new two functions and example
Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
2022-06-13 02:05:11 -04:00
Yuval Lifshitz
2a6039c2f6 rgw/lua: add atomic increment/decrement to RGW table
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-06-09 21:43:51 +03:00
Yuval Lifshitz
c824b00239
Merge pull request #42779 from Matan-B/lua-rgw-map
rgw: Lua scripting global map feature
Reviwed-by: dang, cbodley, yuvalif, anthonyeleven, tchaikov,  mattbenjamin, batrick
2022-06-08 08:32:35 +03:00
Yuval Lifshitz
f9d3be6e56 rgw/doc: fix lua background documentation
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-05-31 14:37:44 +03:00
Casey Bodley
24ecdeab1f doc/rgw: document zone features
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-05-27 15:47:33 -04:00
Kefu Chai
6677658992 common/ceph_json: dump bool using f->dump_bool()
as per https://www.json.org/json-en.html, JSON encodes bool as
"true" or "false", without the quotes. before this change, the quotes
are always added when encoding boolean values.

but this change is not backward compatible.

encode_json()'s bool overload is used by rgw. it uses JSONObj
defined in common/ceph_json.h to decode JSON-encoded structs.
and it does not differentiate bool from str when decoding a boolean
value despite that it could have check the "quoted" member variable
of JSONObj for validating the type of value. so we should be fine.

Fixes: https://tracker.ceph.com/issues/55189
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-05-21 16:32:14 +08:00
Yuval Lifshitz
17f72562b2
Merge pull request #45662 from zenomri/wip-cond-tracing
rgw: support conditional tracing using lua script

Reviewed-by: Casey Bodley <cbodley@redhat.com>, Yuval Lifshitz <ylifshit@redhat.com>
2022-05-16 17:26:50 +03:00
Omri Zeneva
6ec1565b14 rgw: support conditional tracing using lua script
before lua script is being executed, we keep the tracer runtime configuration value, and then decides whether to trace or not the request based on the value that maybe changed during lua exeuction, so we can disable/enable tracing for request even if the tracer is in the opposite state at the same time

Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
2022-05-11 11:10:02 +03:00
Matan Breizman
4856c7d514 rgw: Lua scripting global map feature
Adding a lua background class. This class aims to allow to run a background
Lua script and bind a shared Lua table with a cpp map.

Signed-off-by: Matan Breizman <Matan.Brz@gmail.com>
2022-05-08 14:10:32 +03:00
zdover23
42dd40365b
Merge pull request #46109 from bluikko/pgcalc_links
doc/rados: fix pgcalc links

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2022-05-03 08:39:12 +10:00
Ali Maredia
d634f0690b
Merge pull request #44494 from mdw-at-linuxbox/wip-master-mankey
rgw/crypt: sse-s3 changes

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2022-05-02 16:57:55 -04:00
Ville Ojamo
7e1dc46964 doc/radosgw: fix pgcalc link
The pgcalc tool has moved to the "old" ceph site so update
the link to avoid a 404.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2022-05-02 16:01:51 +07:00
Yuval Lifshitz
514eb89a3b
Merge pull request #45810 from zenomri/wip-rgw-lua-bucketname
rgw: support bucket name in lua pre request execution
2022-05-01 13:10:39 +03:00
Omri Zeneva
cd97a30bed rgw: support bucket name in pre request context
because bucket object is created only after authentication,
if bucket object is null upon accessing Request.Bucket.Name, we return req_state->init_state.url_bucket

Signed-off-by: Omri Zeneva <ozeneva@redhat.com>
2022-05-01 10:31:03 +03:00
Yuval Lifshitz
cc5354e1c4
Merge pull request #43371 from liavt/master
rgw: notifications on object replication
2022-04-28 19:12:55 +03:00
Tobias Bossert
af730ab80f
doc/radosgw/STS: sts_key and user capabilities
- Mention that the `rgw_sts_key` must be exactly 16 characters long and in hex format
- Mention necessary user capabilities for STS and STS Lite

Signed-off-by: Tobias Bossert <tobias.bossert@fastpath.ch>
2022-04-28 08:53:04 +02:00
Liav Turkia
b303ae1f11 rgw: notifications on object replication
Signed-off-by: liavt <liav.turkia@gmail.com>
2022-04-26 21:59:14 +03:00
Casey Bodley
ece51d5a6a
Merge pull request #45784 from cbodley/wip-rgw-multisite-configurables
rgw multisite: configurable polling intervals and concurrency windows

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2022-04-26 12:22:43 -04:00
Casey Bodley
a9cb584d3f
Merge pull request #44989 from Ejdesgaard/patch-1
radosgw-admin zone deletion uses zone delete

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-04-25 14:26:08 -04:00