Add new options for 4.1 hotfix

Add new options for 4.1 hotfix package releaese and respect the
value of  use-internal-endpoints.

Change-Id: I688f562beabe3c37697a28facebad1ae5c928064
This commit is contained in:
Liam Young 2021-06-04 14:53:34 +00:00
parent e33ae80dee
commit 9cf1708b42
3 changed files with 30 additions and 0 deletions

View File

@ -41,6 +41,28 @@ options:
type: string
default:
description: NFS Shares mount source path
max-wait-for-upload:
type: int
default: 48
description: |
The amount of time(in hrs) that snapshot upload
operation should wait for the upload
This option is ignored if Trilio is before 4.1.94
client-retry-limit:
type: int
default: 3
description: |
This is the number of times wlm will try to connect to
OpenStack services.
This option is ignored if Trilio is before 4.1.94
misfire-grace-time:
type: int
default: 600
description: |
misfire_grace_time is the grace time in which the global job
scheduler will consider to trigger the missed snapshots
The value is in seconds
This option is ignored if Trilio is before 4.1.94
# UNSUPPORTED
tv-s3-secret-key:
type: string

View File

@ -37,6 +37,9 @@ paste.filter_factory = workloadmgr.api.middleware.auth:WorkloadMgrKeystoneContex
[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
{% if options.use_internal_endpoints -%}
interface = internal
{% endif %}
{% if identity_service.auth_host -%}
auth_host = {{ identity_service.auth_host }}
auth_port = {{ identity_service.auth_port }}

View File

@ -10,6 +10,7 @@ triliovault_hostnames = {{ ','.join(cluster.internal_addresses) }}
api_workers = {{ options.workers }}
workloads_workers = {{ options.workers }}
max_wait_for_upload = {{ options.max_wait_for_upload }}
config_status = configured
@ -121,3 +122,7 @@ memcached_servers = {{ options.memcache_url }}
[clients]
endpoint_type = internal
client_retry_limit = {{ options.client_retry_limit }}
[global_job_scheduler]
misfire_grace_time = {{ options.misfire_grace_time }}