63befd034d
* Adding the proper taskmanager bin script * Adding a taskmanager impl (needs to be a proper baseclass) * Adding novas LoopingCall to utils * Updating dummy rpc cast in the database service so it sends to the task manager
96 lines
3.0 KiB
Plaintext
96 lines
3.0 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 = 8778
|
|
|
|
# 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:///reddwarf_test.sqlite
|
|
# sql_connection = mysql://root:root@localhost/reddwarf
|
|
#sql_connection = postgresql://reddwarf:reddwarf@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"
|
|
|
|
# Path to the extensions
|
|
api_extensions_path = reddwarf/extensions
|
|
|
|
# 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.TaskManager
|
|
|
|
# ============ 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
|
|
|
|
[composite:reddwarf-taskmanager]
|
|
use = call:reddwarf.common.wsgi:versioned_urlmap
|
|
/: versions
|
|
/v0.1: reddwarf-taskmanagerapi
|
|
|
|
[app:versions]
|
|
paste.app_factory = reddwarf.versions:app_factory
|
|
|
|
[pipeline:reddwarf-taskmanagerapi]
|
|
pipeline = taskmanagerapp
|
|
#pipeline = debug extensions reddwarfapp
|
|
|
|
[filter:extensions]
|
|
paste.filter_factory = reddwarf.common.extensions:factory
|
|
|
|
[filter:tokenauth]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
service_protocol = http
|
|
service_host = 127.0.0.1
|
|
service_port = 5000
|
|
auth_host = 127.0.0.1
|
|
auth_port = 35357
|
|
auth_protocol = http
|
|
auth_uri = http://127.0.0.1:5000/
|
|
admin_token = be19c524ddc92109a224
|
|
|
|
[filter:authorization]
|
|
paste.filter_factory = reddwarf.common.auth:AuthorizationMiddleware.factory
|
|
|
|
[app:taskmanagerapp]
|
|
paste.app_factory = reddwarf.taskmanager.service:app_factory
|
|
|
|
#Add this filter to log request and response for debugging
|
|
[filter:debug]
|
|
paste.filter_factory = reddwarf.common.wsgi:Debug
|