Skip to content

Commit 73d7c53

Browse files
authored
Merge pull request ceph#63447 from zdover23/wip-doc-2025-05-23-backport-63446-to-tentacle
tentacle: doc/radosgw: Cosmetic improvements in cloud-transition.rst Reviewed-by: Anthony D'Atri <[email protected]>
2 parents d323af5 + 5bcf267 commit 73d7c53

File tree

1 file changed

+36
-35
lines changed

1 file changed

+36
-35
lines changed

doc/radosgw/cloud-transition.rst

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Cloud Storage Class Tier Type
2424

2525
* ``tier-type`` (string)
2626

27-
The type of remote cloud service that will be used to transition objects.
28-
The below tier types are supported:
27+
The type of remote cloud service that will be used to transition objects.
28+
The below tier types are supported:
2929

30-
* ``cloud-s3`` : Regular S3 compatible object store service
30+
* ``cloud-s3`` : Regular S3 compatible object store service.
3131

32-
* ``cloud-s3-glacier`` : S3 Glacier or Tape storage services
32+
* ``cloud-s3-glacier`` : S3 Glacier or Tape storage services.
3333

3434

3535
Cloud Storage Class Tier Configuration
@@ -59,66 +59,66 @@ Cloud Transition Specific Configurables
5959

6060
* ``access_key`` (string)
6161

62-
The remote cloud S3 access key.
62+
The remote cloud S3 access key.
6363

6464
* ``secret`` (string)
6565

66-
The secret key for the remote cloud S3 service.
66+
The secret key for the remote cloud S3 service.
6767

6868
* ``endpoint`` (string)
6969

70-
URL of remote cloud S3 service.
70+
URL of remote cloud S3 service.
7171

7272
* ``region`` (string)
7373

74-
The remote cloud S3 service region name.
74+
The remote cloud S3 service region name.
7575

7676
* ``host_style`` (path | virtual)
7777

78-
Type of host style to be used when accessing the remote cloud S3 service (default: ``path``).
78+
Type of host style to be used when accessing the remote cloud S3 service (default: ``path``).
7979

8080
* ``acls`` (array)
8181

82-
Contains a list of ``acl_mappings``.
82+
Contains a list of ``acl_mappings``.
8383

8484
* ``acl_mapping`` (container)
8585

86-
Each ``acl_mapping`` structure contains ``type``, ``source_id``, and ``dest_id``. These
87-
define the ACL mutation to be done on each object. An ACL mutation makes it possible to
88-
convert a source userid to a destination userid.
86+
Each ``acl_mapping`` structure contains ``type``, ``source_id``, and ``dest_id``. These
87+
define the ACL mutation to be done on each object. An ACL mutation makes it possible to
88+
convert a source userid to a destination userid.
8989

9090
* ``type`` (id | email | uri)
9191

92-
ACL type: ``id`` defines userid, ``email`` defines user by email,
93-
and ``uri`` defines user by ``uri`` (group).
92+
ACL type: ``id`` defines userid, ``email`` defines user by email,
93+
and ``uri`` defines user by ``uri`` (group).
9494

9595
* ``source_id`` (string)
9696

97-
ID of user in the source zone.
97+
ID of user in the source zone.
9898

9999
* ``dest_id`` (string)
100100

101-
ID of user on the destination.
101+
ID of user on the destination.
102102

103103
* ``target_path`` (string)
104104

105-
A string that defines how the target path is constructed. The target path
106-
specifies a prefix to which the source bucket-name/object-name is appended.
107-
If not specified the ``target_path`` created is ``rgwx-${zonegroup}-${storage-class}-cloud-bucket``.
105+
A string that defines how the target path is constructed. The target path
106+
specifies a prefix to which the source bucket-name/object-name is appended.
107+
If not specified the ``target_path`` created is ``rgwx-${zonegroup}-${storage-class}-cloud-bucket``.
108108

109-
For example: ``target_path = rgwx-archive-${zonegroup}/``
109+
For example: ``target_path = rgwx-archive-${zonegroup}/``
110110

111111
* ``target_storage_class`` (string)
112112

113-
A string that defines the target storage class to which the object transitions.
114-
If not specified, the object is transitioned to the ``STANDARD`` storage class.
113+
A string that defines the target storage class to which the object transitions.
114+
If not specified, the object is transitioned to the ``STANDARD`` storage class.
115115

116116
* ``retain_head_object`` (true | false)
117117

118-
If ``true``, the metadata of the object transitioned to the cloud service is retained.
119-
If ``false`` (default), the object is deleted after the transition.
120-
This option is ignored for current-versioned objects. For more details,
121-
refer to the "Versioned Objects" section below.
118+
If ``true``, the metadata of the object transitioned to the cloud service is retained.
119+
If ``false`` (default), the object is deleted after the transition.
120+
This option is ignored for current-versioned objects. For more details,
121+
refer to the "Versioned Objects" section below.
122122

123123

124124
S3 Specific Configurables
@@ -135,17 +135,17 @@ when accessing cloud services::
135135

136136
* ``multipart_sync_threshold`` (integer)
137137

138-
Objects this size or larger will be transitioned to the cloud using multipart upload.
138+
Objects this size or larger will be transitioned to the cloud using multipart upload.
139139

140140
* ``multipart_min_part_size`` (integer)
141141

142-
Minimum part size to use when transitioning objects using multipart upload.
142+
Minimum part size to use when transitioning objects using multipart upload.
143143

144144

145145
How to Configure
146146
~~~~~~~~~~~~~~~~
147147

148-
See :ref:`adding_a_storage_class` for how to configure storage-class for a zonegroup. The cloud transition requires a creation of a special storage class with tier type defined as ``cloud-s3`` or ``cloud-s3-glacier``
148+
See :ref:`adding_a_storage_class` for how to configure storage-class for a zonegroup. The cloud transition requires a creation of a special storage class with tier type defined as ``cloud-s3`` or ``cloud-s3-glacier``.
149149

150150
.. note:: If you have not performed previous `Multisite Configuration`_,
151151
a ``default`` zone and zonegroup are created for you, and changes
@@ -352,9 +352,10 @@ attributes are added to the objects being transitioned:
352352
* ``x-rgw-cloud-keep-attrs`` : ``true`` / ``false``
353353

354354
If set to default ``true``, the cloud service should map and store all
355-
``the x-amz-meta-*`` attributes. If it cannot, then the operation should fail.
356-
if set to ``false``, the cloud service can ignore such attributes and
357-
just store the object data being sent.
355+
the ``x-amz-meta-*`` attributes. If it cannot, then the operation should fail.
356+
357+
If set to ``false``, the cloud service can ignore such attributes and
358+
just store the object data being sent.
358359

359360
By default, post-transition, the source object gets deleted. But it is possible
360361
to retain its metadata with updated values (including ``storage-class``
@@ -421,9 +422,9 @@ The objects transitioned to cloud can now be restored. For more information, ref
421422
Future Work
422423
-----------
423424

424-
* Send presigned redirect or read-through the objects transitioned to cloud
425+
* Send presigned redirect or read-through the objects transitioned to cloud.
425426

426-
* Support s3:RestoreObject operation on cloud transitioned objects.
427+
* Support ``s3:RestoreObject`` operation on cloud transitioned objects.
427428

428429
* Support transition to other cloud providers (like Azure).
429430

0 commit comments

Comments
 (0)