Назад | Перейти на главную страницу

ошибка ралли установки openstack

У меня проблема с установкой openstack в VM Centos7

ошибка:

[root@localhost ~(keystone_admin)]# rally deployment create --fromenv --name=existing
Command failed, please check log for more info
2019-09-02 01:58:54.144 17869 CRITICAL rally [-] ImportError: cannot import name VariableManager
2019-09-02 01:58:54.144 17869 ERROR rally Traceback (most recent call last):
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/bin/rally", line 10, in <module>
2019-09-02 01:58:54.144 17869 ERROR rally     sys.exit(main())
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/rally/cli/main.py", line 38, in main
2019-09-02 01:58:54.144 17869 ERROR rally     return cliutils.run(sys.argv, categories)
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/rally/cli/cliutils.py", line 661, in run
2019-09-02 01:58:54.144 17869 ERROR rally     ret = fn(*fn_args, **fn_kwargs)
2019-09-02 01:58:54.144 17869 ERROR rally   File "<string>", line 2, in create
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/rally/plugins/__init__.py", line 42, in ensure_plugins_are_loaded
2019-09-02 01:58:54.144 17869 ERROR rally     load()
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/rally/plugins/__init__.py", line 32, in load
2019-09-02 01:58:54.144 17869 ERROR rally     discover.import_modules_from_package("rally.plugins")
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/rally/common/plugin/discover.py", line 60, in import_modules_from_package
2019-09-02 01:58:54.144 17869 ERROR rally     module_name)
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 73, in import_module
2019-09-02 01:58:54.144 17869 ERROR rally     __import__(import_str)
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/rally/plugins/openstack/hook/fault_injection.py", line 16, in <module>
2019-09-02 01:58:54.144 17869 ERROR rally     import os_faults
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/os_faults/__init__.py", line 21, in <module>
2019-09-02 01:58:54.144 17869 ERROR rally     from os_faults.ansible import executor
2019-09-02 01:58:54.144 17869 ERROR rally   File "/usr/lib/python2.7/site-packages/os_faults/ansible/executor.py", line 24, in <module>
2019-09-02 01:58:54.144 17869 ERROR rally     from ansible.vars import VariableManager
2019-09-02 01:58:54.144 17869 ERROR rally ImportError: cannot import name VariableManager
2019-09-02 01:58:54.144 17869 ERROR rally 

Я искал в Интернете, но не нашел решений

Спасибо за вашу помощь

Дальнейшая проверка, установили ли вы пакет "python-octaviaclient". Также пробовали ли вы: "rally db воссоздать"

похоже, что вы собираетесь использовать ралли 0.9.1, так что увеличьте свою доступную версию. Например pip install ansible==2.3