Tempest test accounts for parallel execution

Registered by Andrea Frittoli on 2014-06-06

Tempest relies on tenant isolation for parallel test executions. Test accounts are provisioned on the fly for each test class to ensure isolation. This approach requires an identity admin account being available for the provisioning.
The aim of this blueprint is to provide an alternative solution, specifically pre-provisioned accounts, and to solve the problems related to this approach: how test accounts are allocated to different test processes spawned by testr, including alt user and other test accounts, and how we can support both tenant isolation and this new implementation in tempest, and easily switch between the two.

Blueprint information

Status:
Complete
Approver:
Matthew Treinish
Priority:
Medium
Drafter:
Andrea Frittoli
Direction:
Approved
Assignee:
Andrea Frittoli
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon juno-3
Started by
Matthew Treinish on 2014-08-02
Completed by
Andrea Frittoli on 2014-10-14

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/test-accounts,n,z

Addressed by: https://review.openstack.org/98400
    add bp:test-accounts

Addressed by: https://review.openstack.org/107348
    Add base class for all credential providers

Gerrit topic: https://review.openstack.org/#q,topic:test-accounts,n,z

Addressed by: https://review.openstack.org/107371
    Add a new credential provider to use a list of creds

Addressed by: https://review.openstack.org/107685
    Add Credentials Provider factory

Addressed by: https://review.openstack.org/107758
    Add tool to prepare fixed isolated accounts

Addressed by: https://review.openstack.org/114578
    Force use of Accounts for test purposes

Addressed by: https://review.openstack.org/114609
    Add lock_path to TempestPrivateConfig

Addressed by: https://review.openstack.org/114636
    Fix use of nonexistent class variable in accounts.py

Gerrit topic: https://review.openstack.org/#q,topic:bp/test-accounts-patch2,n,z

Addressed by: https://review.openstack.org/115123
    Make class setup safe in compute base admin class

Addressed by: https://review.openstack.org/118635
    Add a NotLockingAccounts credentials provider

Addressed by: https://review.openstack.org/119060
    Backward compatibility to credentials in conf

Gerrit topic: https://review.openstack.org/#q,topic:bp/test-accounts-patch5,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.