Comment 7 for bug 1868586

Revision history for this message
Sam Wan (sam-wan) wrote :

Hi Maurice Escher and Douglas,

This issue can be worked out by using the 'test_accounts_file' approach provided by tempest:
https://specs.openstack.org/openstack/qa-specs/specs/tempest/implemented/test-accounts.html
o set use_dynamic_credentials=False
o Use test_accounts_file.yml with manually created openstack accounts, non-admin accounts should be put in non-admin projects and admin accounts should be put in admin project.
Below is an example test accounts file for MANILA_TEMPEST_CONCURRENCY=1
( Normally, 2 x MANILA_TEMPEST_CONCURRENCY non-admin users and MANILA_TEMPEST_CONCURRENCY * admin users are required for running tempest test cases successfully. )
========================
- domain_name: Default
  password: "password"
  project_name: demo
  resources:
    network: unity-net
  username: tempest_user1
- domain_name: Default
  password: "password"
  project_name: demo
  resources:
    network: unity-net
  username: tempest_user2
- domain_name: Default
  password: "password"
  project_name: admin
  resources:
    network: unity-net
  types:
  - admin
  username: tempest_admin1
=======================

Thanks and regards.
Sam