2013-08-05 21:13:52 +00:00
|
|
|
======================================
|
|
|
|
Ceph Object Gateway Config Reference
|
|
|
|
======================================
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
The following settings may added to the Ceph configuration file (i.e., usually
|
2013-09-04 20:28:34 +00:00
|
|
|
``ceph.conf``) under the ``[client.radosgw.{instance-name}]`` section. The
|
|
|
|
settings may contain default values. If you do not specify each setting in the
|
|
|
|
Ceph configuration file, the default value will be set automatically.
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2017-05-16 18:34:28 +00:00
|
|
|
Configuration variables set under the ``[client.radosgw.{instance-name}]``
|
|
|
|
section will not apply to rgw or radosgw-admin commands without an instance-name
|
|
|
|
specified in the command. Thus variables meant to be applied to all RGW
|
|
|
|
instances or all radosgw-admin commands can be put into the ``[global]`` or the
|
|
|
|
``[client]`` section to avoid specifying instance-name.
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2018-01-22 19:43:38 +00:00
|
|
|
``rgw frontends``
|
|
|
|
|
|
|
|
:Description: Configures the HTTP frontend(s). The configuration for multiple
|
|
|
|
frontends can be provided in a comma-delimited list. Each frontend
|
|
|
|
configuration may include a list of options separated by spaces,
|
|
|
|
where each option is in the form "key=value" or "key". See
|
|
|
|
`HTTP Frontends`_ for more on supported options.
|
|
|
|
|
|
|
|
:Type: String
|
|
|
|
:Default: ``civetweb port=7480``
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw data``
|
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
:Description: Sets the location of the data files for Ceph Object Gateway.
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: String
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: ``/var/lib/ceph/radosgw/$cluster-$id``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
``rgw enable apis``
|
|
|
|
|
|
|
|
:Description: Enables the specified APIs.
|
|
|
|
:Type: String
|
|
|
|
:Default: ``s3, swift, swift_auth, admin`` All APIs.
|
|
|
|
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw cache enabled``
|
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
:Description: Whether the Ceph Object Gateway cache is enabled.
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Boolean
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: ``true``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw cache lru size``
|
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
:Description: The number of entries in the Ceph Object Gateway cache.
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Integer
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: ``10000``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw socket path``
|
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
:Description: The socket path for the domain socket. ``FastCgiExternalServer``
|
2013-08-05 21:13:52 +00:00
|
|
|
uses this socket. If you do not specify a socket path, Ceph
|
|
|
|
Object Gateway will not run as an external server. The path you
|
|
|
|
specify here must be the same as the path specified in the
|
|
|
|
``rgw.conf`` file.
|
2013-04-18 01:26:33 +00:00
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: String
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: N/A
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2016-12-17 14:49:42 +00:00
|
|
|
``rgw fcgi socket backlog``
|
|
|
|
|
|
|
|
:Description: The socket backlog for fcgi.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``1024``
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
``rgw host``
|
|
|
|
|
|
|
|
:Description: The host for the Ceph Object Gateway instance. Can be an IP
|
|
|
|
address or a hostname.
|
|
|
|
|
|
|
|
:Type: String
|
|
|
|
:Default: ``0.0.0.0``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw port``
|
|
|
|
|
|
|
|
:Description: Port the instance listens for requests. If not specified,
|
|
|
|
Ceph Object Gateway runs external FastCGI.
|
|
|
|
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw dns name``
|
|
|
|
|
2015-04-15 01:12:18 +00:00
|
|
|
:Description: The DNS name of the served domain. See also the ``hostnames`` setting within regions.
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
``rgw script uri``
|
|
|
|
|
|
|
|
:Description: The alternative value for the ``SCRIPT_URI`` if not set
|
|
|
|
in the request.
|
|
|
|
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
|
|
|
``rgw request uri``
|
|
|
|
|
|
|
|
:Description: The alternative value for the ``REQUEST_URI`` if not set
|
|
|
|
in the request.
|
|
|
|
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw print continue``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: Enable ``100-continue`` if it is operational.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``true``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw remote addr param``
|
|
|
|
|
|
|
|
:Description: The remote address parameter. For example, the HTTP field
|
|
|
|
containing the remote address, or the ``X-Forwarded-For``
|
|
|
|
address if a reverse proxy is operational.
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: String
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``REMOTE_ADDR``
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw op thread timeout``
|
|
|
|
|
|
|
|
:Description: The timeout in seconds for open threads.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: 600
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw op thread suicide timeout``
|
|
|
|
|
|
|
|
:Description: The time ``timeout`` in seconds before a Ceph Object Gateway
|
2014-03-08 23:30:49 +00:00
|
|
|
process dies. Disabled if set to ``0``.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Type: Integer
|
|
|
|
:Default: ``0``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw thread pool size``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: The size of the thread pool.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: 100 threads.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2015-06-25 03:42:01 +00:00
|
|
|
``rgw num rados handles``
|
|
|
|
|
2017-02-10 11:04:17 +00:00
|
|
|
:Description: The number of `RADOS cluster handles`_ for Ceph Object Gateway.
|
2015-06-25 03:42:01 +00:00
|
|
|
Having a configurable number of RADOS handles is resulting in
|
|
|
|
significant performance boost for all types of workloads. Each RGW
|
|
|
|
worker thread would now get to pick a RADOS handle for its lifetime,
|
|
|
|
from the available bunch.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``1``
|
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw num control oids``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: The number of notification objects used for cache synchronization
|
|
|
|
between different ``rgw`` instances.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``8``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw init timeout``
|
|
|
|
|
|
|
|
:Description: The number of seconds before Ceph Object Gateway gives up on
|
|
|
|
initialization.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``30``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw mime types file``
|
|
|
|
|
|
|
|
:Description: The path and location of the MIME types. Used for Swift
|
|
|
|
auto-detection of object types.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
:Type: String
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``/etc/mime.types``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw gc max objs``
|
|
|
|
|
|
|
|
:Description: The maximum number of objects that may be handled by
|
|
|
|
garbage collection in one garbage collection processing cycle.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``32``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw gc obj min wait``
|
|
|
|
|
|
|
|
:Description: The minimum wait time before the object may be removed
|
|
|
|
and handled by garbage collection processing.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``2 * 3600``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw gc processor max time``
|
|
|
|
|
|
|
|
:Description: The maximum time between the beginning of two consecutive garbage
|
|
|
|
collection processing cycles.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``3600``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw gc processor period``
|
|
|
|
|
|
|
|
:Description: The cycle time for garbage collection processing.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``3600``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw s3 success create obj status``
|
|
|
|
|
|
|
|
:Description: The alternate success status response for ``create-obj``.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``0``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw resolve cname``
|
|
|
|
|
|
|
|
:Description: Whether ``rgw`` should use DNS CNAME record of the request
|
|
|
|
hostname field (if hostname is not equal to ``rgw dns name``).
|
|
|
|
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|
2015-07-14 15:53:20 +00:00
|
|
|
``rgw obj stripe size``
|
2013-09-04 20:28:34 +00:00
|
|
|
|
|
|
|
:Description: The size of an object stripe for Ceph Object Gateway objects.
|
|
|
|
See `Architecture`_ for details on striping.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``4 << 20``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw extended http attrs``
|
|
|
|
|
2015-09-17 16:15:14 +00:00
|
|
|
:Description: Add new set of attributes that could be set on an entity
|
|
|
|
(user, bucket or object). These extra attributes can be set
|
|
|
|
through HTTP header fields when putting the entity or modifying
|
|
|
|
it using POST method. If set, these attributes will return as
|
|
|
|
HTTP fields when doing GET/HEAD on the entity.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2015-09-17 16:15:14 +00:00
|
|
|
:Example: "content_foo, content_bar, x-foo-bar"
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw exit timeout secs``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: Number of seconds to wait for a process before exiting
|
|
|
|
unconditionally.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Type: Integer
|
|
|
|
:Default: ``120``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw get obj window size``
|
|
|
|
|
|
|
|
:Description: The window size in bytes for a single object request.
|
2013-08-05 21:13:52 +00:00
|
|
|
:Type: Integer
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``16 << 20``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw get obj max req size``
|
|
|
|
|
|
|
|
:Description: The maximum request size of a single get operation sent to the
|
|
|
|
Ceph Storage Cluster.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
:Type: Integer
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``4 << 20``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw relaxed s3 bucket names``
|
|
|
|
|
|
|
|
:Description: Enables relaxed S3 bucket names rules for US region buckets.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw list buckets max chunk``
|
|
|
|
|
|
|
|
:Description: The maximum number of buckets to retrieve in a single operation
|
|
|
|
when listing user buckets.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``1000``
|
|
|
|
|
|
|
|
|
2015-06-09 14:00:56 +00:00
|
|
|
``rgw override bucket index max shards``
|
|
|
|
|
|
|
|
:Description: Represents the number of shards for the bucket index object,
|
|
|
|
a value of zero indicates there is no sharding. It is not
|
|
|
|
recommended to set a value too large (e.g. thousand) as it
|
|
|
|
increases the cost for bucket listing.
|
2017-05-16 18:34:28 +00:00
|
|
|
This variable should be set in the client or global sections
|
|
|
|
so that it is automatically applied to radosgw-admin commands.
|
2015-06-09 14:00:56 +00:00
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``0``
|
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw curl wait timeout ms``
|
|
|
|
|
|
|
|
:Description: The timeout in milliseconds for certain ``curl`` calls.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``1000``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw copy obj progress``
|
|
|
|
|
|
|
|
:Description: Enables output of object progress during long copy operations.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``true``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw copy obj progress every bytes``
|
|
|
|
|
|
|
|
:Description: The minimum bytes between copy progress output.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``1024 * 1024``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
``rgw admin entry``
|
|
|
|
|
|
|
|
:Description: The entry point for an admin request URL.
|
|
|
|
:Type: String
|
|
|
|
:Default: ``admin``
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2015-04-24 17:49:16 +00:00
|
|
|
``rgw content length compat``
|
|
|
|
|
|
|
|
:Description: Enable compatability handling of FCGI requests with both CONTENT_LENGTH AND HTTP_CONTENT_LENGTH set.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``false``
|
|
|
|
|
2016-06-19 07:36:06 +00:00
|
|
|
|
2017-02-13 15:15:57 +00:00
|
|
|
``rgw bucket quota ttl``
|
|
|
|
|
|
|
|
:Description: The amount of time in seconds cached quota information is
|
|
|
|
trusted. After this timeout, the quota information will be
|
|
|
|
re-fetched from the cluster.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``600``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw user quota bucket sync interval``
|
|
|
|
|
|
|
|
:Description: The amount of time in seconds bucket quota information is
|
|
|
|
accumulated before syncing to the cluster. During this time,
|
|
|
|
other RGW instances will not see the changes in bucket quota
|
|
|
|
stats from operations on this instance.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``180``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw user quota sync interval``
|
|
|
|
|
|
|
|
:Description: The amount of time in seconds user quota information is
|
|
|
|
accumulated before syncing to the cluster. During this time,
|
|
|
|
other RGW instances will not see the changes in user quota stats
|
|
|
|
from operations on this instance.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``180``
|
|
|
|
|
|
|
|
|
2016-06-19 07:36:06 +00:00
|
|
|
``rgw bucket default quota max objects``
|
|
|
|
|
|
|
|
:Description: Default max number of objects per bucket. Set on new users,
|
|
|
|
if no other quota is specified. Has no effect on existing users.
|
2017-05-16 18:34:28 +00:00
|
|
|
This variable should be set in the client or global sections
|
|
|
|
so that it is automatically applied to radosgw-admin commands.
|
2016-06-19 07:36:06 +00:00
|
|
|
:Type: Integer
|
|
|
|
:Default: ``-1``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw bucket default quota max size``
|
|
|
|
|
|
|
|
:Description: Default max capacity per bucket, in bytes. Set on new users,
|
|
|
|
if no other quota is specified. Has no effect on existing users.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``-1``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw user default quota max objects``
|
|
|
|
|
|
|
|
:Description: Default max number of objects for a user. This includes all
|
|
|
|
objects in all buckets owned by the user. Set on new users,
|
|
|
|
if no other quota is specified. Has no effect on existing users.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``-1``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw user default quota max size``
|
|
|
|
|
|
|
|
:Description: The value for user max size quota in bytes set on new users,
|
|
|
|
if no other quota is specified. Has no effect on existing users.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``-1``
|
|
|
|
|
|
|
|
|
2017-05-26 09:01:49 +00:00
|
|
|
``rgw verify ssl``
|
|
|
|
|
|
|
|
:Description: Verify SSL certificates while making requests.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``true``
|
|
|
|
|
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
Multisite Settings
|
|
|
|
==================
|
2013-09-04 20:28:34 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
.. versionadded:: Jewel
|
2013-09-04 20:28:34 +00:00
|
|
|
|
|
|
|
You may include the following settings in your Ceph configuration
|
|
|
|
file under each ``[client.radosgw.{instance-name}]`` instance.
|
|
|
|
|
|
|
|
|
|
|
|
``rgw zone``
|
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
:Description: The name of the zone for the gateway instance. If no zone is
|
|
|
|
set, a cluster-wide default can be configured with the command
|
|
|
|
``radosgw-admin zone default``.
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: String
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: None
|
2012-08-28 20:25:44 +00:00
|
|
|
|
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
``rgw zonegroup``
|
|
|
|
|
|
|
|
:Description: The name of the zonegroup for the gateway instance. If no
|
|
|
|
zonegroup is set, a cluster-wide default can be configured with
|
|
|
|
the command ``radosgw-admin zonegroup default``.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
``rgw realm``
|
|
|
|
|
|
|
|
:Description: The name of the realm for the gateway instance. If no realm is
|
|
|
|
set, a cluster-wide default can be configured with the command
|
|
|
|
``radosgw-admin realm default``.
|
2013-09-04 20:28:34 +00:00
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
``rgw run sync thread``
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
:Description: If there are other zones in the realm to sync from, spawn threads
|
|
|
|
to handle the sync of data and metadata.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``true``
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
``rgw data log window``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
:Description: The data log entries window in seconds.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``30``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
``rgw data log changes size``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
:Description: The number of in-memory entries to hold for the data changes log.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``1000``
|
2013-09-04 20:28:34 +00:00
|
|
|
|
2016-03-23 06:19:43 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
``rgw data log obj prefix``
|
2016-03-23 06:19:43 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
:Description: The object name prefix for the data log.
|
2016-03-23 06:19:43 +00:00
|
|
|
:Type: String
|
2017-05-17 03:11:20 +00:00
|
|
|
:Default: ``data_log``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
``rgw data log num shards``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
:Description: The number of shards (objects) on which to keep the
|
|
|
|
data changes log.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2017-05-17 03:11:20 +00:00
|
|
|
:Type: Integer
|
|
|
|
:Default: ``128``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw md log max shards``
|
|
|
|
|
|
|
|
:Description: The maximum number of shards for the metadata log.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``64``
|
|
|
|
|
|
|
|
.. important:: The values of ``rgw data log num shards`` and
|
|
|
|
``rgw md log max shards`` should not be changed after sync has
|
|
|
|
started.
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
Swift Settings
|
|
|
|
==============
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw enforce swift acls``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: Enforces the Swift Access Control List (ACL) settings.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``true``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw swift token expiration``
|
|
|
|
|
|
|
|
:Description: The time in seconds for expiring a Swift token.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``24 * 3600``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw swift url``
|
|
|
|
|
|
|
|
:Description: The URL for the Ceph Object Gateway Swift API.
|
2013-08-05 21:13:52 +00:00
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2013-09-04 20:28:34 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw swift url prefix``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2016-03-14 15:29:44 +00:00
|
|
|
:Description: The URL prefix for the Swift StorageURL that goes in front of
|
|
|
|
the "/v1" part. This allows to run several Gateway instances
|
|
|
|
on the same host. For compatibility, setting this configuration
|
|
|
|
variable to empty causes the default "/swift" to be used.
|
|
|
|
Use explicit prefix "/" to start StorageURL at the root.
|
2016-06-23 13:43:49 +00:00
|
|
|
WARNING: setting this option to "/" will NOT work if S3 API is
|
|
|
|
enabled. From the other side disabling S3 will make impossible
|
|
|
|
to deploy RadosGW in the multi-site configuration!
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``swift``
|
2016-03-14 15:29:44 +00:00
|
|
|
:Example: "/swift-testing"
|
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw swift auth url``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: Default URL for verifying v1 auth tokens (if not using internal
|
|
|
|
Swift auth).
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw swift auth entry``
|
|
|
|
|
|
|
|
:Description: The entry point for a Swift auth URL.
|
2013-08-05 21:13:52 +00:00
|
|
|
:Type: String
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``auth``
|
|
|
|
|
|
|
|
|
2016-05-13 16:23:12 +00:00
|
|
|
``rgw swift versioning enabled``
|
|
|
|
|
|
|
|
:Description: Enables the Object Versioning of OpenStack Object Storage API.
|
|
|
|
This allows clients to put the ``X-Versions-Location`` attribute
|
|
|
|
on containers that should be versioned. The attribute specifies
|
|
|
|
the name of container storing archived versions. It must be owned
|
|
|
|
by the same user that the versioned container due to access
|
|
|
|
control verification - ACLs are NOT taken into consideration.
|
|
|
|
Those containers cannot be versioned by the S3 object versioning
|
|
|
|
mechanism.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
|
|
|
|
Logging Settings
|
|
|
|
================
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw log nonexistent bucket``
|
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
:Description: Enables Ceph Object Gateway to log a request for a non-existent
|
|
|
|
bucket.
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Boolean
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: ``false``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw log object name``
|
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
:Description: The logging format for an object name. See manpage
|
|
|
|
:manpage:`date` for details about format specifiers.
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Date
|
|
|
|
:Default: ``%Y-%m-%d-%H-%i-%n``
|
2012-06-26 15:21:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
``rgw log object name utc``
|
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
:Description: Whether a logged object name includes a UTC time.
|
|
|
|
If ``false``, it uses the local time.
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Boolean
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: ``false``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw usage max shards``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Description: The maximum number of shards for usage logging.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``32``
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
|
|
|
|
``rgw usage max user shards``
|
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
:Description: The maximum number of shards used for a single user's
|
|
|
|
usage logging.
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Integer
|
|
|
|
:Default: ``1``
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
|
|
|
|
``rgw enable ops log``
|
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
:Description: Enable logging for each successful Ceph Object Gateway operation.
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Boolean
|
2013-06-12 20:48:44 +00:00
|
|
|
:Default: ``false``
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw enable usage log``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Description: Enable the usage log.
|
|
|
|
:Type: Boolean
|
2013-06-12 20:48:44 +00:00
|
|
|
:Default: ``false``
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
``rgw ops log rados``
|
|
|
|
|
|
|
|
:Description: Whether the operations log should be written to the
|
|
|
|
Ceph Storage Cluster backend.
|
|
|
|
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``true``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw ops log socket path``
|
|
|
|
|
|
|
|
:Description: The Unix domain socket for writing operations logs.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
|
|
|
``rgw ops log data backlog``
|
|
|
|
|
|
|
|
:Description: The maximum data backlog data size for operations logs written
|
|
|
|
to a Unix domain socket.
|
|
|
|
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``5 << 20``
|
|
|
|
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw usage log flush threshold``
|
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
:Description: The number of dirty merged entries in the usage log before
|
|
|
|
flushing synchronously.
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Integer
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: 1024
|
|
|
|
|
|
|
|
|
|
|
|
``rgw usage log tick interval``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Description: Flush pending usage log data every ``n`` seconds.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``30``
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
|
2016-12-08 15:11:42 +00:00
|
|
|
``rgw log http headers``
|
|
|
|
|
|
|
|
:Description: Comma-delimited list of HTTP headers to include with ops
|
|
|
|
log entries. Header names are case insensitive, and use
|
|
|
|
the full header name with words separated by underscores.
|
|
|
|
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
:Example: "http_x_forwarded_for, http_x_special_k"
|
|
|
|
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
``rgw intent log object name``
|
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
:Description: The logging format for the intent log object name. See manpage
|
|
|
|
:manpage:`date` for details about format specifiers.
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Date
|
|
|
|
:Default: ``%Y-%m-%d-%i-%n``
|
|
|
|
|
2012-06-26 15:21:05 +00:00
|
|
|
|
|
|
|
``rgw intent log object name utc``
|
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
:Description: Whether the intent log object name includes a UTC time.
|
|
|
|
If ``false``, it uses the local time.
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
:Type: Boolean
|
2012-06-26 15:21:05 +00:00
|
|
|
:Default: ``false``
|
|
|
|
|
2012-08-28 20:25:44 +00:00
|
|
|
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
Keystone Settings
|
|
|
|
=================
|
2013-04-18 01:26:33 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw keystone url``
|
2013-04-18 01:26:33 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: The URL for the Keystone server.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2016-04-25 13:29:32 +00:00
|
|
|
``rgw keystone api version``
|
|
|
|
|
|
|
|
:Description: The version (2 or 3) of OpenStack Identity API that should be
|
|
|
|
used for communication with the Keystone server.
|
|
|
|
:Type: Integer
|
|
|
|
:Default: ``2``
|
|
|
|
|
|
|
|
|
|
|
|
``rgw keystone admin domain``
|
|
|
|
|
|
|
|
:Description: The name of OpenStack domain with admin privilege when using
|
|
|
|
OpenStack Identity API v3.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
|
|
|
``rgw keystone admin project``
|
|
|
|
|
|
|
|
:Description: The name of OpenStack project with admin privilege when using
|
|
|
|
OpenStack Identity API v3. If left unspecified, value of
|
|
|
|
``rgw keystone admin tenant`` will be used instead.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw keystone admin token``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2016-04-25 13:30:09 +00:00
|
|
|
:Description: The Keystone admin token (shared secret). In Ceph RadosGW
|
|
|
|
authentication with the admin token has priority over
|
|
|
|
authentication with the admin credentials
|
|
|
|
(``rgw keystone admin user``, ``rgw keystone admin password``,
|
|
|
|
``rgw keystone admin tenant``, ``rgw keystone admin project``,
|
|
|
|
``rgw keystone admin domain``). Admin token feature is considered
|
|
|
|
as deprecated.
|
2013-09-04 20:28:34 +00:00
|
|
|
:Type: String
|
|
|
|
:Default: None
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2016-01-12 09:43:46 +00:00
|
|
|
``rgw keystone admin tenant``
|
|
|
|
|
|
|
|
:Description: The name of OpenStack tenant with admin privilege (Service Tenant) when
|
|
|
|
using OpenStack Identity API v2
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
|
|
|
``rgw keystone admin user``
|
2016-07-18 13:29:09 +00:00
|
|
|
|
2016-01-12 09:43:46 +00:00
|
|
|
:Description: The name of OpenStack user with admin privilege for Keystone
|
|
|
|
authentication (Service User) when OpenStack Identity API v2
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
|
|
|
``rgw keystone admin password``
|
2016-07-18 13:29:09 +00:00
|
|
|
|
2016-01-12 09:43:46 +00:00
|
|
|
:Description: The password for OpenStack admin user when using OpenStack
|
|
|
|
Identity API v2
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw keystone accepted roles``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: The roles requires to serve requests.
|
|
|
|
:Type: String
|
|
|
|
:Default: ``Member, admin``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw keystone token cache size``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: The maximum number of entries in each Keystone token cache.
|
2013-08-05 21:13:52 +00:00
|
|
|
:Type: Integer
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``10000``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
``rgw keystone revocation interval``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
:Description: The number of seconds between token revocation checks.
|
2013-08-05 21:13:52 +00:00
|
|
|
:Type: Integer
|
2013-09-04 20:28:34 +00:00
|
|
|
:Default: ``15 * 60``
|
2013-08-05 21:13:52 +00:00
|
|
|
|
2013-04-18 01:26:33 +00:00
|
|
|
|
2016-05-06 09:20:40 +00:00
|
|
|
``rgw keystone verify ssl``
|
2016-03-01 10:56:29 +00:00
|
|
|
|
|
|
|
:Description: Verify SSL certificates while making token requests to keystone.
|
|
|
|
:Type: Boolean
|
|
|
|
:Default: ``true``
|
2013-04-18 01:26:33 +00:00
|
|
|
|
2017-02-15 23:47:32 +00:00
|
|
|
Barbican Settings
|
|
|
|
=================
|
|
|
|
|
|
|
|
``rgw barbican url``
|
|
|
|
|
|
|
|
:Description: The URL for the Barbican server.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
``rgw keystone barbican user``
|
|
|
|
|
|
|
|
:Description: The name of the OpenStack user with access to the `Barbican`_
|
|
|
|
secrets used for `Encryption`_.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
``rgw keystone barbican password``
|
|
|
|
|
|
|
|
:Description: The password associated with the `Barbican`_ user.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
``rgw keystone barbican tenant``
|
|
|
|
|
|
|
|
:Description: The name of the OpenStack tenant associated with the `Barbican`_
|
|
|
|
user when using OpenStack Identity API v2.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
``rgw keystone barbican project``
|
|
|
|
|
|
|
|
:Description: The name of the OpenStack project associated with the `Barbican`_
|
|
|
|
user when using OpenStack Identity API v3.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
``rgw keystone barbican domain``
|
|
|
|
|
|
|
|
:Description: The name of the OpenStack domain associated with the `Barbican`_
|
|
|
|
user when using OpenStack Identity API v3.
|
|
|
|
:Type: String
|
|
|
|
:Default: None
|
|
|
|
|
|
|
|
|
2013-09-04 20:28:34 +00:00
|
|
|
.. _Architecture: ../../architecture#data-striping
|
|
|
|
.. _Pool Configuration: ../../rados/configuration/pool-pg-config-ref/
|
2013-10-31 11:42:27 +00:00
|
|
|
.. _Cluster Pools: ../../rados/operations/pools
|
2015-06-25 03:42:01 +00:00
|
|
|
.. _Rados cluster handles: ../../rados/api/librados-intro/#step-2-configuring-a-cluster-handle
|
2017-02-15 23:47:32 +00:00
|
|
|
.. _Barbican: ../barbican
|
|
|
|
.. _Encryption: ../encryption
|
2018-01-22 19:43:38 +00:00
|
|
|
.. _HTTP Frontends: ../frontends
|