Print warning about deprecation OpenStack plugins

OpenStack plugins moved to the separate repository[1][2]. We need to
inform our consumers about this change.

[1] - https://pypi.python.org/pypi/rally-openstack
[2] - https://github.com/openstack/rally-openstack

Change-Id: I6cfe09ffba63c72a7aac855ae5fe6cbda42c91e9
This commit is contained in:
Andrey Kurilin 2018-03-28 14:28:54 +03:00
parent 6d159ad61d
commit 899bffe399

View File

@ -37,7 +37,11 @@ def load():
try:
import rally_openstack # noqa
except ImportError:
# print warnings when rally_openstack will be released
discover.LOG.warning(
"OpenStack plugins moved to the separate package "
"(see https://pypi.python.org/pypi/rally-openstack). In-tree "
"OpenStack plugins will be removed from the Rally main package"
" soon.")
discover.import_modules_from_package("rally.plugins.openstack")
discover.import_modules_from_package("rally.plugins.workload")