[openstack-qa] [Tempest] Running tests without an admin account.

Jay Pipes jaypipes at gmail.com
Fri Mar 8 15:32:27 UTC 2013


On 03/07/2013 09:07 PM, Jesusaurus Rex wrote:
> Hey all,
> 
> I'd really like to be able to run some basic tempest tests without using
> an admin account, but tempest is not really geared for that right now.
> Currently, the admin credentials are the default credentials for tests
> and identity_client is hard-coded to use the adminURL. How do you all
> feel about only using admin credentials in tests that really need them?
> That way we could move towards a switch to run client-only tests as well
> as the full suite.

Hi!

So, the compute tests only use the admin user to create non-admin users
and tenants that execute the compute tests. In addition, there are a few
tests in compute that require admin privileges and the admin user is
used for those as well.

No idea about the identity tests -- I think a number of new ones have
been added recently, but AFAIK, there are only a few Keystone API
operations (v2 OR v3) that do NOT require admin privileges to execute.

If you set enable_tenant_isolation=False in the config file, Tempest
will NOT attempt to create users and tenants for the compute tests and
should use the regular user credentials in the config file's [identity]
section (username/password/tenant_name and
alt_username/alt_password/alt_tenant_name).

Best,
-jay



More information about the openstack-qa mailing list