Add info how to avoid issues with token expiration
This commit adds strings that describe how to prevent situations related to the issues with token expiration during big file upload. DocImpact Change-Id: Iddc78a8ce32b78aefe5b702d35b30c13935117bf Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com>
This commit is contained in:
parent
b682d5de77
commit
ec1b187544
@ -272,6 +272,9 @@ specified (see below). If admin credentials are specified then they are
|
||||
used to generate a token; this token rather than the original user's
|
||||
token is used for requests to the registry.
|
||||
|
||||
To prevent failures with token expiration during big files upload,
|
||||
it is recommended to set this parameter to False.
|
||||
|
||||
* ``admin_user=USER``
|
||||
If 'use_user_token' is not in effect then admin credentials can be
|
||||
specified. Use this parameter to specify the username.
|
||||
|
@ -54,7 +54,12 @@ registry_client_opts = [
|
||||
registry_client_ctx_opts = [
|
||||
cfg.BoolOpt('use_user_token', default=True,
|
||||
help=_('Whether to pass through the user token when '
|
||||
'making requests to the registry.')),
|
||||
'making requests to the registry. To prevent '
|
||||
'failures with token expiration during big '
|
||||
'files upload, it is recommended to set this '
|
||||
'parameter to False.'
|
||||
'If "use_user_token" is not in effect, then '
|
||||
'admin credentials can be specified.')),
|
||||
cfg.StrOpt('admin_user', secret=True,
|
||||
help=_('The administrators user name. '
|
||||
'If "use_user_token" is not in effect, then '
|
||||
|
Loading…
Reference in New Issue
Block a user