2019-07-06 02:24:28 -04:00
|
|
|
---
|
2020-02-08 19:16:19 -05:00
|
|
|
# pvcapid configuration file example
|
2019-07-06 01:48:45 -04:00
|
|
|
#
|
2020-02-08 19:16:19 -05:00
|
|
|
# This configuration file specifies details for the PVC API daemon running on
|
2019-07-06 01:48:45 -04:00
|
|
|
# this machine. Default values are not supported; the values in this sample
|
|
|
|
# configuration are considered defaults and can be used as-is.
|
|
|
|
#
|
2020-02-08 19:16:19 -05:00
|
|
|
# Copy this example to /etc/pvc/pvcapid.conf and edit to your needs
|
2019-07-06 01:48:45 -04:00
|
|
|
|
|
|
|
pvc:
|
2019-07-25 15:42:17 -04:00
|
|
|
# debug: Enable/disable API debug mode
|
|
|
|
debug: True
|
2019-07-06 02:35:37 -04:00
|
|
|
# coordinators: The list of cluster coordinator hostnames
|
|
|
|
coordinators:
|
2020-01-12 21:33:15 -05:00
|
|
|
- pvchv1
|
|
|
|
- pvchv2
|
|
|
|
- pvchv3
|
2019-07-06 01:48:45 -04:00
|
|
|
# api: Configuration of the API listener
|
|
|
|
api:
|
|
|
|
# listen_address: IP address(es) to listen on; use 0.0.0.0 for all interfaces
|
|
|
|
listen_address: "127.0.0.1"
|
|
|
|
# listen_port: TCP port to listen on, usually 7370
|
|
|
|
listen_port: "7370"
|
|
|
|
# authentication: Authentication and security settings
|
|
|
|
authentication:
|
2019-07-07 00:15:05 -04:00
|
|
|
# enabled: Enable or disable authentication (True/False)
|
|
|
|
enabled: False
|
|
|
|
# secret_key: Per-cluster secret key for API cookies; generate with uuidgen or pwgen
|
|
|
|
secret_key: ""
|
2019-07-07 00:08:02 -04:00
|
|
|
# tokens: a list of authentication tokens; leave as an empty list to disable authentication
|
|
|
|
tokens:
|
|
|
|
# description: token description for management
|
|
|
|
- description: "testing"
|
|
|
|
# token: random token for authentication; generate with uuidgen or pwgen
|
|
|
|
token: ""
|
2019-07-06 23:28:29 -04:00
|
|
|
# ssl: SSL configuration
|
|
|
|
ssl:
|
2019-07-07 00:15:05 -04:00
|
|
|
# enabled: Enabled or disable SSL operation (True/False)
|
2019-07-06 23:28:29 -04:00
|
|
|
enabled: False
|
|
|
|
# cert_file: SSL certificate file
|
|
|
|
cert_file: ""
|
|
|
|
# key_file: SSL certificate key file
|
|
|
|
key_file: ""
|
2019-12-14 14:12:55 -05:00
|
|
|
# provisioner: Configuration of the Provisioner API listener
|
|
|
|
provisioner:
|
|
|
|
# database: Backend database configuration
|
|
|
|
database:
|
|
|
|
# host: PostgreSQL hostname, usually 'localhost'
|
2020-01-12 21:33:15 -05:00
|
|
|
host: localhost
|
2019-12-14 14:12:55 -05:00
|
|
|
# port: PostgreSQL port, invariably '5432'
|
|
|
|
port: 5432
|
|
|
|
# name: PostgreSQL database name, invariably 'pvcprov'
|
|
|
|
name: pvcprov
|
|
|
|
# user: PostgreSQL username, invariable 'pvcprov'
|
|
|
|
user: pvcprov
|
|
|
|
# pass: PostgreSQL user password, randomly generated
|
|
|
|
pass: pvcprov
|
|
|
|
# queue: Celery backend queue using the PVC Zookeeper cluster
|
|
|
|
queue:
|
|
|
|
# host: Redis hostname, usually 'localhost'
|
|
|
|
host: localhost
|
|
|
|
# port: Redis port, invariably '6279'
|
|
|
|
port: 6379
|
|
|
|
# path: Redis queue path, invariably '/0'
|
|
|
|
path: /0
|
2020-01-16 22:35:16 -05:00
|
|
|
# ceph_cluster: Information about the Ceph storage cluster
|
|
|
|
ceph_cluster:
|
2019-12-14 14:12:55 -05:00
|
|
|
# storage_hosts: The list of hosts that the Ceph monitors are valid on; if empty (the default),
|
|
|
|
# uses the list of coordinators
|
|
|
|
storage_hosts:
|
2020-01-12 21:33:15 -05:00
|
|
|
- pvchv1
|
|
|
|
- pvchv2
|
2020-02-18 14:42:32 -05:00
|
|
|
- pvchv3
|
2019-12-14 14:12:55 -05:00
|
|
|
# storage_domain: The storage domain name, concatenated with the coordinators list names
|
|
|
|
# to form monitor access strings
|
2020-01-12 21:33:15 -05:00
|
|
|
storage_domain: "pvc.storage"
|
2020-01-16 22:35:16 -05:00
|
|
|
# ceph_monitor_port: The port that the Ceph monitor on each coordinator listens on
|
|
|
|
ceph_monitor_port: 6789
|
|
|
|
# ceph_storage_secret_uuid: Libvirt secret UUID for Ceph storage access
|
|
|
|
ceph_storage_secret_uuid: ""
|