127 lines
3.4 KiB
Plaintext
127 lines
3.4 KiB
Plaintext
[DEFAULT]
|
|
# Show more verbose log output (sets INFO log level output)
|
|
verbose = True
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = True
|
|
|
|
# Address to bind the API server
|
|
bind_host = 0.0.0.0
|
|
|
|
# Port the bind the API server to
|
|
bind_port = 8779
|
|
|
|
# Number of child processes to run
|
|
#trove_api_workers=5
|
|
|
|
# AMQP Connection info
|
|
rabbit_password=f7999d1955c5014aa32c
|
|
|
|
# SQLAlchemy connection string for the reference implementation
|
|
# registry server. Any valid SQLAlchemy connection string is fine.
|
|
# See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
|
|
# sql_connection = sqlite:///trove_test.sqlite
|
|
sql_connection = mysql://root:e1a2c042c828d3566d0a@localhost/trove
|
|
#sql_connection = postgresql://trove:trove@localhost/trove
|
|
|
|
# Period in seconds after which SQLAlchemy should reestablish its connection
|
|
# to the database.
|
|
#
|
|
# MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
|
|
# idle connections. This can result in 'MySQL Gone Away' exceptions. If you
|
|
# notice this, you can lower this value to ensure that SQLAlchemy reconnects
|
|
# before MySQL can drop the connection.
|
|
sql_idle_timeout = 3600
|
|
|
|
#DB Api Implementation
|
|
db_api_implementation = "trove.db.sqlalchemy.api"
|
|
|
|
# Path to the extensions
|
|
api_extensions_path = trove/extensions
|
|
|
|
# Configuration options for talking to nova via the novaclient.
|
|
trove_auth_url = http://0.0.0.0:5000/v2.0
|
|
nova_compute_url = http://localhost:8774/v2
|
|
nova_volume_url = http://localhost:8776/v1
|
|
swift_url = http://localhost:8080/v1/AUTH_
|
|
|
|
# Config option for showing the IP address that nova doles out
|
|
add_addresses = True
|
|
|
|
# Config options for enabling volume service
|
|
trove_volume_support = True
|
|
block_device_mapping = vdb
|
|
device_path = /dev/vdb
|
|
mount_point = /var/lib/mysql
|
|
max_accepted_volume_size = 10
|
|
max_instances_per_user = 5
|
|
max_volumes_per_user = 100
|
|
max_backups_per_user = 5
|
|
volume_time_out=30
|
|
|
|
# Config options for rate limits
|
|
http_get_rate = 200
|
|
http_post_rate = 200
|
|
http_put_rate = 200
|
|
http_delete_rate = 200
|
|
|
|
# Trove DNS
|
|
trove_dns_support = False
|
|
|
|
# Taskmanager queue name
|
|
taskmanager_queue = taskmanager
|
|
|
|
# Auth
|
|
admin_roles = admin
|
|
|
|
# Users to ignore for user create/list/delete operations
|
|
ignore_users = os_admin, root
|
|
ignore_dbs = lost+found, mysql, information_schema
|
|
|
|
# Guest related conf
|
|
agent_heartbeat_time = 10
|
|
agent_call_low_timeout = 5
|
|
agent_call_high_timeout = 150
|
|
|
|
# Reboot time out for instances
|
|
reboot_time_out = 60
|
|
|
|
# Trove Security Groups for Instances
|
|
trove_security_groups_support = True
|
|
trove_security_group_rule_protocol = tcp
|
|
trove_security_group_rule_port = 3306
|
|
|
|
# Trove api-paste file name
|
|
api_paste_config = api-paste.ini
|
|
|
|
|
|
# ============ notifer queue kombu connection options ========================
|
|
|
|
notifier_queue_hostname = localhost
|
|
notifier_queue_userid = guest
|
|
notifier_queue_password = guest
|
|
notifier_queue_ssl = False
|
|
notifier_queue_port = 5672
|
|
notifier_queue_virtual_host = /
|
|
notifier_queue_transport = memory
|
|
|
|
control_exchange = trove
|
|
|
|
# ============ Logging information =============================
|
|
#log_dir = /integration/report
|
|
#log_file = trove-api.log
|
|
|
|
|
|
# ============ SSL configuration (and enablement) =============================
|
|
# In order to enable SSL for the trove api server, uncomment
|
|
# the cert_file and key_file - and of course have those files
|
|
# accessible. The existance of those setting and files will
|
|
# enable SSL.
|
|
|
|
[ssl]
|
|
|
|
#cert_file = /path/to/server.crt
|
|
#key_file = /path/to/server.key
|
|
#optional:
|
|
#ca_file = /path/to/ca_file
|