Browse code

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

Soniya Vyas authored on 2019/12/26 20:29:56
Showing 1 changed files
... ...
@@ -617,9 +617,9 @@ function configure_tempest {
617 617
     iniset $TEMPEST_CONFIG auth tempest_roles "member"
618 618
     if [[ $TEMPEST_USE_TEST_ACCOUNTS == "True" ]]; then
619 619
         if [[ $TEMPEST_HAS_ADMIN == "True" ]]; then
620
-            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
620
+            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
621 621
         else
622
-            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
622
+            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
623 623
         fi
624 624
         iniset $TEMPEST_CONFIG auth use_dynamic_credentials False
625 625
         iniset $TEMPEST_CONFIG auth test_accounts_file "etc/accounts.yaml"