a few minor fixes to improve tempest configs

This commit adds two additional bits of config to the
tempest.conf file.

1. set up user for glance, it is configured to use one of
existing non admin users.

2. configure nova db credentials to be the correct default
and make it configurable.
This commit is contained in:
Dan Bode 2013-02-25 14:07:44 -08:00
parent 00dbe9ff0f
commit 9342a52eea
2 changed files with 6 additions and 4 deletions

View File

@ -36,6 +36,8 @@ class tempest(
$admin_password = 'ChangeMe',
$admin_tenant_name = 'openstack',
$nova_db_uri = 'mysql://nova:nova_db_password@127.0.0.1/nova',
# testing features that are supported
$resize_available = false,
$change_pw_available = false,

View File

@ -125,7 +125,7 @@ bin_dir = /usr/local/bin
path_to_private_key = /home/user/.ssh/id_rsa
# Connection string to the database of Compute service
db_uri = mysql://user:pass@localhost/nova
db_uri = <%= nova_db_uri %>
[image]
# This section contains configuration options used when executing tests
@ -146,11 +146,11 @@ host = 127.0.0.1
port = 9292
# This should be the username of a user WITHOUT administrative privileges
username = demo
username = <%= username %>
# The above non-administrative user's password
password = pass
password = <%= password %>
# The above non-administrative user's tenant name
tenant_name = demo
tenant_name = <%= tenant_name %>
[compute-admin]
# This section contains configuration options for an administrative