f8026418b1
This commit fixes an inconsistent behavior when tempest init fails. For example:: $ tempest init /foobar ERROR tempest [-] [Errno 13] Permission denied: '/foobar' $ tempest init /foobar A workspace already exists with name: foobar. $ tempest workspace list +------+------+ | Name | Path | +------+------+ +------+------+ The error message indicates that the workspace already exists but we cannot see it with the tempest workspace list command. I think users might be confused with this behavior. And this commit also fixes --show-global-config-dir,-s option behavior as a side effect. The original behavior was registering a current directory as a workspace when the option was specified. However, I think users don't expect the behavior. Change-Id: I04ed102a4ad3c3aa678128f0004eb0ba09a05ea7 |
||
---|---|---|
.. | ||
__init__.py | ||
account_generator.py | ||
cleanup.py | ||
cleanup_service.py | ||
config-generator.tempest.conf | ||
init.py | ||
list_plugins.py | ||
main.py | ||
run.py | ||
run_stress.py | ||
subunit_describe_calls.py | ||
verify_tempest_config.py | ||
workspace.py |