238 lines
6.9 KiB
YAML
238 lines
6.9 KiB
YAML
project: swift_account_server
|
|
version: '2013.2.1'
|
|
parameters:
|
|
|
|
- name: bind_ip
|
|
type: string
|
|
default: '0.0.0.0'
|
|
|
|
- name: bind_port
|
|
type: string
|
|
default: '6002'
|
|
|
|
- name: bind_timeout
|
|
type: string
|
|
default: '30'
|
|
|
|
- name: backlog
|
|
type: string
|
|
default: '4096'
|
|
|
|
- name: user
|
|
type: string
|
|
default: 'swift'
|
|
|
|
- name: swift_dir
|
|
type: string
|
|
default: '/etc/swift'
|
|
|
|
- name: devices
|
|
type: string
|
|
default: '/srv/node'
|
|
|
|
- name: mount_check
|
|
type: string
|
|
default: 'true'
|
|
|
|
- name: disable_fallocate
|
|
type: string
|
|
default: 'false'
|
|
|
|
- name: workers
|
|
type: string
|
|
default: 'auto'
|
|
help: 'Use an integer to override the number of pre-forked processes that will accept connections.'
|
|
|
|
- name: max_clients
|
|
type: string
|
|
default: '1024'
|
|
help: 'Maximum concurrent requests per worker'
|
|
|
|
- name: account-reaper.log_name
|
|
type: string
|
|
default: 'account-reaper'
|
|
help: "You can override the default log routing for this app here (don't use set!):"
|
|
|
|
- name: account-reaper.log_facility
|
|
type: string
|
|
default: 'LOG_LOCAL0'
|
|
help: "You can override the default log routing for this app here (don't use set!):"
|
|
|
|
- name: account-reaper.log_level
|
|
type: string
|
|
default: 'INFO'
|
|
help: "You can override the default log routing for this app here (don't use set!):"
|
|
|
|
- name: account-reaper.log_address
|
|
type: string
|
|
default: '/dev/log'
|
|
help: "You can override the default log routing for this app here (don't use set!):"
|
|
|
|
- name: log_custom_handlers
|
|
type: string
|
|
default: ''
|
|
help: 'comma separated list of functions to call to setup custom log handlers. functions get passed: conf, name, log_to_console, log_route, fmt, logger, adapted_logger'
|
|
|
|
- name: log_udp_host
|
|
type: string
|
|
default: ''
|
|
help: 'If set, log_udp_host will override log_address'
|
|
|
|
- name: log_udp_port
|
|
type: string
|
|
default: '514'
|
|
help: 'If set, log_udp_host will override log_address'
|
|
|
|
- name: log_statsd_host
|
|
type: host
|
|
default: 'localhost'
|
|
help: 'You can enable StatsD logging here:'
|
|
|
|
- name: log_statsd_port
|
|
type: string
|
|
default: '8125'
|
|
help: 'You can enable StatsD logging here:'
|
|
|
|
- name: log_statsd_default_sample_rate
|
|
type: string
|
|
default: '1.0'
|
|
help: 'You can enable StatsD logging here:'
|
|
|
|
- name: log_statsd_sample_rate_factor
|
|
type: string
|
|
default: '1.0'
|
|
help: 'You can enable StatsD logging here:'
|
|
|
|
- name: log_statsd_metric_prefix
|
|
type: string
|
|
default: ''
|
|
help: 'You can enable StatsD logging here:'
|
|
|
|
- name: db_preallocation
|
|
type: string
|
|
default: 'off'
|
|
help: "If you don't mind the extra disk space usage in overhead, you can turn this on to preallocate disk space with SQLite databases to decrease fragmentation."
|
|
|
|
- name: eventlet_debug
|
|
type: string
|
|
default: 'false'
|
|
|
|
- name: fallocate_reserve
|
|
type: string
|
|
default: '0'
|
|
help: "You can set fallocate_reserve to the number of bytes you'd like fallocate to reserve, whether there is space for the given file size or not."
|
|
|
|
- name: pipeline:main.pipeline
|
|
type: string
|
|
default: 'healthcheck recon account-server'
|
|
|
|
- name: filter:recon.use
|
|
type: string
|
|
default: 'egg:swift#recon'
|
|
|
|
- name: app:account-server.set log_name
|
|
type: string
|
|
default: 'account-server'
|
|
help: 'You can override the default log routing for this app here:'
|
|
|
|
- name: app:account-server.set log_facility
|
|
type: string
|
|
default: 'LOG_LOCAL0'
|
|
help: 'You can override the default log routing for this app here:'
|
|
|
|
- name: app:account-server.set log_level
|
|
type: string
|
|
default: 'INFO'
|
|
help: 'You can override the default log routing for this app here:'
|
|
|
|
- name: app:account-server.set log_requests
|
|
type: string
|
|
default: 'true'
|
|
help: 'You can override the default log routing for this app here:'
|
|
|
|
- name: app:account-server.set log_address
|
|
type: string
|
|
default: '/dev/log'
|
|
help: 'You can override the default log routing for this app here:'
|
|
|
|
- name: app:account-server.auto_create_account_prefix
|
|
type: string
|
|
default: '.'
|
|
|
|
- name: app:account-server.replication_server
|
|
type: string
|
|
default: 'false'
|
|
help: "Configure parameter for creating specific server To handle all verbs, including replication verbs, do not specify 'replication_server' (this is the default). To only handle replication, set to a True value (e.g. 'True' or '1'). To handle only non-replication verbs, set to 'False'. Unless you have a separate replication network, you should not specify any value for 'replication_server'."
|
|
|
|
- name: filter:healthcheck.disable_path
|
|
type: string
|
|
default: ''
|
|
help: "An optional filesystem path, which if present, will cause the healthcheck URL to return '503 Service Unavailable' with a body of 'DISABLED BY FILE'"
|
|
|
|
- name: account-auditor.recon_cache_path
|
|
type: string
|
|
default: '/var/cache/swift'
|
|
|
|
- name: account-replicator.vm_test_mode
|
|
type: string
|
|
default: 'no'
|
|
|
|
- name: account-replicator.per_diff
|
|
type: string
|
|
default: '1000'
|
|
|
|
- name: account-replicator.max_diffs
|
|
type: string
|
|
default: '100'
|
|
|
|
- name: account-reaper.concurrency
|
|
type: string
|
|
default: '25'
|
|
|
|
- name: account-reaper.interval
|
|
type: string
|
|
default: '3600'
|
|
|
|
- name: account-replicator.error_suppression_interval
|
|
type: string
|
|
default: '60'
|
|
help: "How long without an error before a node's error count is reset. This will also be how long before a node is reenabled after suppression is triggered."
|
|
|
|
- name: account-replicator.error_suppression_limit
|
|
type: string
|
|
default: '10'
|
|
help: 'How many errors can accumulate before a node is temporarily ignored.'
|
|
|
|
- name: account-reaper.node_timeout
|
|
type: string
|
|
default: '10'
|
|
|
|
- name: account-reaper.conn_timeout
|
|
type: string
|
|
default: '0.5'
|
|
|
|
- name: account-replicator.reclaim_age
|
|
type: string
|
|
default: '604800'
|
|
help: 'The replicator also performs reclamation'
|
|
|
|
- name: account-replicator.run_pause
|
|
type: string
|
|
default: '30'
|
|
help: 'Time in seconds to wait between replication passes'
|
|
|
|
- name: account-auditor.accounts_per_second
|
|
type: string
|
|
default: '200'
|
|
|
|
- name: account-reaper.delay_reaping
|
|
type: string
|
|
default: '0'
|
|
help: 'Normally, the reaper begins deleting account information for deleted accounts immediately; you can set this to delay its work however. The value is in seconds; 2592000 = 30 days for example.'
|
|
|
|
- name: account-reaper.reap_warn_after
|
|
type: string
|
|
default: '2592000'
|
|
help: 'If the account fails to be be reaped due to a persistent error, the account reaper will log a message such as: Account <name> has not been reaped since <date> You can search logs for this message if space is not being reclaimed after you delete account(s). Default is 2592000 seconds (30 days). This is in addition to any time requested by delay_reaping.'
|
|
|