This commit adds support to lib/tempest for configuring tempest to use the test accounts mechanism. It adds a new variable TEMPEST_USE_TEST_ACCOUNTS which will be used to trigger using test accounts. The generate tempest-account-generator utility packaged with tempest is used to generate the users and projects and write an accounts.yaml. Another option TEMPEST_CONCURRENCY is added to specify the the number of accounts to create, the value defaults to the number of processors on the system. The auth configuration section is moved to the bottom of the configure_tempest function to ensure the proper auth endpoint and catalog entries are all set in the tempest.conf file because the tempest-account-generator tool depends on tempest knowing how to talk to keystone to create the accounts. Change-Id: I8682f72ffe26fd133874f5c575df6389f787ffcc
27 KiB
27 KiB