c6632efa75
It would be helpful to have the ability to populate the kolla-cli inventory file from any inventory file, not just the all-in-one file from kolla. To do this, The config reset command has been updated to take an optional --inventory path argument that will cause the new inventory to be generated from that anible inventory file. While doing this found a few things to fix: - renamed allineone.py & AllInOne to AnsibleInventory to better reflect what they are now doing. - In kolla_actions, preserve the empty globals.yml file (otherwise the soft linkage is broken) and fix the kolla-cli directory name. Change-Id: Ib250c5de8e00818b41c1a4539aba8c165a4ad2e2 |
||
---|---|---|
.. | ||
README.txt | ||
__init__.py | ||
common.py | ||
functional_test_setup.sh | ||
inventory_test_file | ||
test_client_upgrade.py | ||
test_config.py | ||
test_deploy.py | ||
test_destroy.py | ||
test_group.py | ||
test_host.py | ||
test_password.py | ||
test_property.py | ||
test_reconfigure.py | ||
test_service.py | ||
test_stop.py | ||
test_support.py |
README.txt
- As of change id: Id11cc1abcac6ac5b94176a1f17a8f5f82b6f00d5 removed all tests which expected remote systems to be available / configured. These tests should be revived at some point using Tempest or something similar to run more complete functional tests. - To run a single functional test, you will need to setup these environmental variables and the needed file structure: export KOLLA_ETC=/tmp/kollaclitest/etc/kolla/ export KOLLA_HOME=/tmp/kollaclitest/usr/share/kolla-ansible/ export KOLLA_TOOLS_DIR=./tools/ ./kolla_cli/tests/functional/functional_test_setup.sh Then you can run a single test, for eg: source .tox/functional/bin/activate stestr run -n kolla_cli.tests.functional.test_deploy.TestFunctional.test_deploy