b3c32e3f87
-API controller for backups -adding swift url to the config -Fixing failing tests -Renaming 'instance' param. Checking for NotFound models so that the returned error is friendly -adding feature to list all backups from a specific instance -Adding checks for creating/deleting/restoring backups when it is not completed -Adding unit tests for backup controller -adding check to see if file is in swift -Adding skeleton code for delete backup in the task manager -Fixed backups API to pass in the backup_id during create_backup. -adding int tests for backup controller -Adding backup list and delete int tests -Adding list backups for instance test -Adding quota for create backup BP: https://blueprints.launchpad.net/reddwarf/+spec/consistent-snapshots Change-Id: I35c2fefcce4b3009e76ba7232c52dabf502a3ac0
79 lines
2.6 KiB
Plaintext
79 lines
2.6 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
|
|
|
|
# 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 = mysql://root:e1a2c042c828d3566d0a@localhost/reddwarf
|
|
# sql_connection = mysql://root:root@localhost/reddwarf
|
|
|
|
# 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 = reddwarf.db.sqlalchemy.api
|
|
|
|
# Configuration options for talking to nova via the novaclient.
|
|
reddwarf_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 options for enabling volume service
|
|
reddwarf_volume_support = True
|
|
block_device_mapping = vdb
|
|
device_path = /dev/vdb
|
|
mount_point = /var/lib/mysql
|
|
volume_time_out=30
|
|
server_delete_time_out=480
|
|
|
|
# Configuration options for talking to nova via the novaclient.
|
|
# These options are for an admin user in your keystone config.
|
|
# It proxy's the token received from the user to send to nova via this admin users creds,
|
|
# basically acting like the client via that proxy token.
|
|
reddwarf_proxy_admin_user = admin
|
|
reddwarf_proxy_admin_pass = 3de4922d8b6ac5a1aad9
|
|
reddwarf_proxy_admin_tenant_name = admin
|
|
reddwarf_auth_url = http://0.0.0.0:5000/v2.0
|
|
|
|
# Manager impl for the taskmanager
|
|
taskmanager_manager=reddwarf.taskmanager.manager.Manager
|
|
|
|
# Reddwarf DNS
|
|
reddwarf_dns_support = False
|
|
|
|
# Guest related conf
|
|
agent_heartbeat_time = 10
|
|
agent_call_low_timeout = 5
|
|
agent_call_high_timeout = 150
|
|
|
|
# Whether to use nova's contrib api for create server with volume
|
|
use_nova_server_volume = False
|
|
|
|
# ============ 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
|
|
|
|
# ============ Logging information =============================
|
|
#log_dir = /integration/report
|
|
#log_file = reddwarf-taskmanager.log
|