460aa6abde
Addresses comments from a previous review Leave configs in configs! Cleaned up unit test, removed mock too Implements: blueprint create-restricted-root-account Change-Id: I43327c97c7b80dc99a2cfe071562d01f2d0f54a4
65 lines
2.3 KiB
Plaintext
65 lines
2.3 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:e1a2c042c828d3566d0a@10.0.0.1/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
|
|
guestagent_manager=reddwarf.guestagent.manager.Manager
|
|
|
|
# Root configuration
|
|
root_grant = ALL
|
|
root_grant_option = True
|
|
|
|
#root_grant = ALTER ROUTINE, CREATE, ALTER, CREATE ROUTINE, CREATE TEMPORARY TABLES, CREATE VIEW, CREATE USER, DELETE, DROP, EVENT, EXECUTE, INDEX, INSERT, LOCK TABLES, PROCESS, REFERENCES, SELECT, SHOW DATABASES, SHOW VIEW, TRIGGER, UPDATE, USAGE
|
|
#root_grant_option = False
|
|
|
|
# ============ kombu connection options ========================
|
|
|
|
rabbit_host=10.0.0.1
|
|
|
|
# ============ Logging information =============================
|
|
log_dir = /tmp/
|
|
log_file = logfile.txt
|