Remove the deprecated verify-tempest-config CLI

Tempest CLI verify-tempest-config was deprecated
4 years ago.

With assumption of all the users of this CLI have
moved to new CLI 'tempest verify_config', it is
time to remove the old deprecated CLI now.
'verify_tempest_config' should be now used as
'tempest verify_config'

The following commit gives the idea of deprecation
message:-
e45aa842bc

Signed-off by: Soniya Vyas<svyas@redhat.com>
Change-Id: Ic3dbd6f5e854e017a5bec4b1a625730ab68e767d
This commit is contained in:
Soniya Vyas 2019-12-13 23:29:10 +05:30
parent e459e0d448
commit 4acf175de7
3 changed files with 7 additions and 10 deletions

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
Remove the deprecated CLI ``verify-tempest-config`` in favour of
``tempest verify-config`` command.
You can use ``tempest verify-config`` CLI to verify the tempest
conf file.

View File

@ -28,7 +28,6 @@ data_files =
[entry_points]
console_scripts =
verify-tempest-config = tempest.cmd.verify_tempest_config:main
tempest-account-generator = tempest.cmd.account_generator:main
tempest = tempest.cmd.main:main
skip-tracker = tempest.lib.cmd.skip_tracker:main

View File

@ -433,11 +433,6 @@ def parse_args():
def main(opts=None):
print('Running config verification...')
if opts is None:
print("Use of: 'verify-tempest-config' is deprecated, "
"please use: 'tempest verify-config'")
opts = parse_args()
update = opts.update
replace = opts.replace_ext
global CONF_PARSER
@ -497,7 +492,3 @@ class TempestVerifyConfig(command.Command):
LOG.exception("Failure verifying configuration.")
traceback.print_exc()
raise
if __name__ == "__main__":
main()