Removal of deprecated command and deprecated optional argument
lib/tempest uses 'tempest-account-generator'
which is deprecated 4 years back.
In addition to above, lib/tempest also uses
'os-tenant-name' which is also deprecated.
Use of 'tempest account-generator' and
'os-project-name' should be done now.
Signed-off by: Soniya Vyas<svyas@redhat.com>
Change-Id: I624e1dc57a3d3533322fb298c01f70241d0400ed
(cherry picked from commit 7634c78002
)
This commit is contained in:
parent
d5906687a3
commit
ef44118eb8
@ -614,9 +614,9 @@ function configure_tempest {
|
|||||||
iniset $TEMPEST_CONFIG auth tempest_roles "member"
|
iniset $TEMPEST_CONFIG auth tempest_roles "member"
|
||||||
if [[ $TEMPEST_USE_TEST_ACCOUNTS == "True" ]]; then
|
if [[ $TEMPEST_USE_TEST_ACCOUNTS == "True" ]]; then
|
||||||
if [[ $TEMPEST_HAS_ADMIN == "True" ]]; then
|
if [[ $TEMPEST_HAS_ADMIN == "True" ]]; then
|
||||||
tox -evenv-tempest -- tempest-account-generator -c $TEMPEST_CONFIG --os-username $admin_username --os-password "$password" --os-tenant-name $admin_project_name -r $TEMPEST_CONCURRENCY --with-admin etc/accounts.yaml
|
tox -evenv-tempest -- tempest account-generator -c $TEMPEST_CONFIG --os-username $admin_username --os-password "$password" --os-project-name $admin_project_name -r $TEMPEST_CONCURRENCY --with-admin etc/accounts.yaml
|
||||||
else
|
else
|
||||||
tox -evenv-tempest -- tempest-account-generator -c $TEMPEST_CONFIG --os-username $admin_username --os-password "$password" --os-tenant-name $admin_project_name -r $TEMPEST_CONCURRENCY etc/accounts.yaml
|
tox -evenv-tempest -- tempest account-generator -c $TEMPEST_CONFIG --os-username $admin_username --os-password "$password" --os-project-name $admin_project_name -r $TEMPEST_CONCURRENCY etc/accounts.yaml
|
||||||
fi
|
fi
|
||||||
iniset $TEMPEST_CONFIG auth use_dynamic_credentials False
|
iniset $TEMPEST_CONFIG auth use_dynamic_credentials False
|
||||||
iniset $TEMPEST_CONFIG auth test_accounts_file "etc/accounts.yaml"
|
iniset $TEMPEST_CONFIG auth test_accounts_file "etc/accounts.yaml"
|
||||||
|
Loading…
Reference in New Issue
Block a user